Home | Detailed Information | Windows IP Commands | Linux IP Commands
Your Ip Address Is
Linux IP Address Commands
Step 1 - Open a Terminal session (If using a GUI Distribution of Linux, such as Ubuntu, Knoppix, etc.)
Step 3 - Type (or copy and paste) any of the commands below (one at a time) and press enter to see the results.
ip route add default via x.x.x.x
Sets the Default Gateway to the value specified.
ip route show
Lists the present routing table.
ip addr add x.x.x.x/xx brd + dev eth0
Adds the specified IP address and subnet mask (in 2-digit notation) to the interface specified. (ethernet 0, in this case).
ip addr show
Lists the IP addresses presently associated with detected interfaces.
ip link set dev eth0 up
Activates the interface specified (Ethernet 0, in the example).
p link set dev eth0 name Wired
Renames the interface specified to the value specified. (renames Ethernet 0 to Wired, in the example)
ip link show
Lists detected network interfaces.
Lists detected wireless networks.
iwconfig eth1 rate 2Mb/s fixed
Sets the network interface speed. (Sets it to 2 megabits per second, in the example)
Shows the status of the default wireless adapter.
Verifies that you are able to reach the internet.
Copyright 2008 | ShowMyIP.ws