root on RedHat\Fedora or using sudo on Ubuntu\DebianDisplay Current Config for all NIC's:
ifconfigDisplay Current Config for eth0:
ifconfig eth0Assign IP:
ifconfig eth0 192.168.1.2Assign IP/Subnet:
ifconfig eth0 192.168.1.2 netmask 255.255.255.0Assign Default Gateway:
route add default gw 192.168.1.1Assign multiple IP's:
ifconfig eth0:0 192.168.1.2Assign second IP:
ifconfig eth0:1 192.168.1.3Disable network card:
ifconfig eth0 downEnable network card:
ifconfig eth0 upView current routing table:
route "or" route -nView arp cache:
arp "or" arp -nPing:
ping -c 3 192.168.1.1Trace Route:
traceroute www.whatismyip.comTrace Path:
tracepath www.whatismyip.comDNS Test:
host www.whatismyip.comAdvanced DNS Test:
dig www.whatismyip.comReverse Lookup:
host 66.11.119.69Advanced Reverse Lookup:
dig -x 66.11.119.69