September 2003
Intermediate to advanced
432 pages
8h 53m
English
You can use various commands to troubleshoot IPv4 to diagnose a problem; the most common ones are ifconfig, ping, and traceroute. These commands are each discussed briefly below.
Use the ifconfig -a command to view the current network interface configuration. The output from the command includes all physical and logical interfaces that are configured as shown here, where there are two logical interfaces:
#ifconfig -a lo0: flags=1000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4> mtu 8232 index 1 inet 127.0.0.1 netmask ff000000 hme0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index 2 inet 192.168.28.28 netmask ffffff00 broadcast 192.168.28.255 ether 8:0:20:b3:41:13 hme0:1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> ...