Solaris 10 networking configuration tips

Files:
/etc/hostname.$interface - ip address /mask configuration of specific interface.
/etc/dhcp.$interface - if this file exists then dhcp agent will configure this $interface.
/etc/default/dhcpagent - dhcpagent configuration.
/etc/defaultrouter - containing hostnames or ip addresses of default routers.
/etc/nodename - hostname configuration
/etc/inet/ipnodes is a symlink on /etc/inet/hosts in Solaris 10.

Services:
svc:/network/physical:default - responsible for configuring network interfaces

Progs:
ndd - configures and provides information about tcp/ip settings (enable/disable ip forwarding .....)
ifconfig plumb $interface enables physical device.

Static routes:

# route -p add 192.168.15.0 192.168.15.1

The static routes will be stored in file /etc/inet/static_routes.

Interface multipathing(non probe based):

hostname.qfe0
hostname group groupname up

hostname.qfe4
group groupname up

for non-persistant configuration:

ifconfig qfe0 plumb; ifconfig qfe0 ip mask group groupname up

ifconfig qfe4 plumb;ifconfig qfe4 group groupname up

Comments