Section G.4. Network Management and Configuration


G.4. Network Management and Configuration

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


[*] Table A-6 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