Which Solaris release are you talking about here?
/etc/init.d/network hasn't existed since Solaris 9, and there is no "restart" option anyway.
If Solaris 10 or OpenSolaris with nwam disabled, then either of the two methods below will add the router, but method #2 will only persist until you reboot. For method #1, use "svcadm restart network/physical:default" in place of your /etc/init.d/network command.
Regards, Brian Peter Taps wrote:
Folks, It appears there are two ways to specify default router: 1. Modify defaultrouter file # Create /etc/defaultrouter file and add the ip address of the default gateway in the file. # /etc/init.d/network restart 2. Just add the router IP to default route table # route add default 192.168.100.1 Can someone please tell me which method is preferred? Thank you in advance for your help. Regards, Peter
-- Brian Ruthven Solaris Network RPE (Sustaining) Oracle UK _______________________________________________ networking-discuss mailing list networking-discuss@opensolaris.org