Table G-13 provides network troubleshooting information, highlighting differences in methods and configuration file locations between Solaris and Linux (RHEL, SLES).
Tasks
Solaris
Linux
Display interface settings
ifconfig
ip ifconfig
Display interface status and statistics
netstat -i
netstat -i ifconfig
Configure interface
Check various network statistics
netstat
Check DNS resolver
more /etc/resolv.conf
Check name services config
more /etc/nsswitch.conf
Display kernel network parameters
ndd /dev/ip (\?) parameter ndd /dev/tcp (\?) parameter
sysctl -a | grep ^net
Configure kernel network parameters
ndd -set driver parameter
sysctl -w variable=value
Check for network link
ndd driver link_status
ethtool mii-tool
Query DNS
nslookup dig
Check routing table
netstat -r
netstat -r route
Check ARP entries
arp -a
arp
Testing for connectivity
ping
Check IP path
traceroute
Capturing network packets
snoop
tcpdump tethereal ethereal
[*] Table A-20 of IBM Redbook