Table G-4 shows differences in Linux and Solaris network management and configuration tasks.
Task
Solaris
Linux
Run multiple tasks in a GUI environment
N/A
system-config-network in RHEL, yast2 in SLES
Configure TCP/IP
Edit the following files: /etc/hostname.[*] /etc/inet/[*] /etc/defaultrouter /etc/defaultdomain /etc/nodename /etc/netmasks
RHEL: /etc/sysconfig/network and/etc/sysconfig/networking/[*]SLES: /etc/sysconfig/network/[*]
Display interface settings
ifconfig
ip ifconfig
Display interface status and statistics
netstat -i
netstat -i ifconfig
Configure interface
Check various network statistics
netstat
Change resolver
vi /etc/resolv.conf
Configure name services
vi /etc/nsswitch.conf
Display kernel network parameters
ndd /dev/ip \? ndd /dev/tcp \?
sysctl -a | grep ^net
Configure kernel network parameters
ndd
sysctl -w variable=value
Check for network link
ethtool mii-tool
Rename a network interface
ip
Check routing table
netstat -r
netstat -r route
Test for connectivity
ping
Check IP path
traceroute
Capture network packets
snoop
tcpdump tethereal ethereal
[*] Table A-6 of IBM Redbook