Solaris sys-unconfig and /etc/defaultrouter

One caveat about sys-unconfig:

When running sys-unconfig on a Solaris 8 system, rebooting, and reconfiguring the system, I was not prompted for a default gateway. Therefore, the RIP daemon (in.routed) was running after the reboot. In our environment, RIP is not used, so I had to recreate /etc/defaultrouter (for future reboots) and manually add a default route (for the current boot).

# ps -ef | grep route
    root   116     1  0 15:31:00 ?        0:00 /usr/sbin/in.routed -q

# ls -l /etc/defaultrouter
/etc/defaultrouter: No such file or directory

# echo 192.168.1.1 > /etc/defaultrouter
# route add default 192.168.1.1

Back to brandonhutchinson.com.
Last modified: 2007/08/06