Table G-4 shows differences in Linux and Solaris network management and configuration tasks.
Table G-4. [*] 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 | ifconfig | ip ifconfig |
Check various network statistics | netstat | netstat |
Change resolver | vi /etc/resolv.conf | vi /etc/resolv.conf |
Configure name services | vi /etc/nsswitch.conf | 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 | ndd | ethtool mii-tool |
Rename a network interface | N/A | ip |
Check routing table | netstat -r | netstat -r route |
Test for connectivity | ping | ping |
Check IP path | traceroute | traceroute |
Capture network packets | snoop | tcpdump tethereal ethereal |