Networking
This page contains information about the similarities and differences between different versions of Unix.
Location of Network Info
| AIX 4.X | HP-UX 11.X | IRIX 6.X | Linux | Solaris 2.X | |
|---|---|---|---|---|---|
| Hostname | /etc/hosts, system conf. database (ODM) |
/etc/hosts /etc/rc.config.d/netconf |
/etc/hosts, /etc/sys_id |
/etc/hosts, /etc/sysconfig/network |
/etc/hosts, /etc/hostname.*, /etc/nodename, /etc/net/*/hosts |
| IP address | /etc/hosts, system conf. database (ODM) |
/etc/hosts /etc/rc.config.d/netconf |
/etc/hosts, /etc/config/netif.options |
/etc/hosts, /etc/sysconfig/network-scripts/ifcfg-eth* |
/etc/hosts |
| Netmask | system conf. database (ODM) | /etc/rc.config.d/netconf | /etc/config/ifconfig-#.options | /etc/sysconfig/network-scripts/ifcfg-eth* | /etc/netmasks |
| Gateway | system conf. database (ODM) | /etc/rc.config.d/netconf | /etc/config/netif.options | /etc/sysconfig/network | /etc/defaultrouter (or router discovery if no /etc/defaultrouter file) |
Examples of Network Interface Names
| AIX 4.X | HP-UX 11.X | IRIX 6.X | Linux | Solaris 2.X |
|---|---|---|---|---|
| en0 | lan0 ether0 |
enp0 ec0 ipg0 |
eth0 | le0 hme0 |
Network-Related Boot Scripts
| AIX 4.X | HP-UX 11.X | IRIX 6.X | Linux | Solaris 2.X |
|---|---|---|---|---|
| /etc/rc.net /etc/rc.tcpip |
/sbin/init.d/net | /etc/init.d/network | /etc/rc.d/init.d/network | /etc/init.d/inetinit |
Domain Name Service (DNS) Clients
| AIX 4.X | HP-UX 11.X | IRIX 6.X | Linux | Solaris 2.X | |
|---|---|---|---|---|---|
| Indicator that DNS resolution is to be used | existence of /etc/resolv.conf | /etc/nsswitch.conf | /etc/config/named.options | /etc/nsswitch.conf | /etc/nsswitch.conf |
| Configuration file | /etc/resolv.conf | /etc/resolv.conf | /etc/resolv.conf | /etc/resolv.conf | /etc/resolv.conf |
| Order of name resolution sources | NIS, DNS, /etc/hosts | determined by /etc/nsswitch.conf | NIS, DNS, /etc/hosts (unless /etc/resolv.conf has hostresorder keyword) |
determined by /etc/host.conf or /etc/nsswitch.conf | determined by /etc/nsswitch.conf |


