Section G.11. Network Troubleshooting


G.11. Network Troubleshooting

Table G-13 provides network troubleshooting information, highlighting differences in methods and configuration file locations between Solaris and Linux (RHEL, SLES).

Table G-13. [*] Network Troubleshooting Methods and File Locations

Tasks

Solaris

Linux

Display interface settings

ifconfig

ip ifconfig

Display interface status and statistics

netstat -i

netstat -i ifconfig

Configure interface

ifconfig

ip ifconfig

Check various network statistics

netstat

netstat

Check DNS resolver

more
/etc/resolv.conf

more
/etc/resolv.conf

Check name services config

more
/etc/nsswitch.conf

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

nslookup dig

Check routing table

netstat -r

netstat -r route

Check ARP entries

arp -a

arp

Testing for connectivity

ping

ping

Check IP path

traceroute

traceroute

Capturing network packets

snoop

tcpdump
tethereal
ethereal


[*] Table A-20 of IBM Redbook




UNIX to Linux Porting. A Comprehensive Reference
UNIX to Linux Porting: A Comprehensive Reference
ISBN: 0131871099
EAN: 2147483647
Year: 2004
Pages: 175

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net