Unix Syntax Comparison: Network

The following are pages that list various commands and tools for Solaris, Linux, HP-UX, and AIX.

Task Solaris Linux HP-UX AIX
Network IP
lsattr -E -l inet0
Host IP Addresses /etc/inet/hosts /etc/hosts /etc/hosts /etc/hosts
Name Service Switch /etc/nsswitch.conf /etc/nsswitch.conf /etc/nsswitch.conf /etc/netsvc.conf
Network Parameters ndd /dev/[tcp|ip] ? sysctl -a | grep net ndd -h no -a
Routing Daemon in.routed routed gated gated
NIC Configurations ifconfig -a ifconfig -a lanscan -v ifconfig -a
Secondary IP Address ifconfig hme0:1 IP up modprobe ip_alias
ifconfig eth0:1 IP
ifconfig lan0:1 IP ifconfig en0 alias IP