On Mon, Jun 30, 2008 at 07:18:20PM -0700, ??? wrote: > help: > In one book,refer to configuring network manually, only configure one default > gateway. It means only the fist line of /etc/defautrouter is useful.other > line is > useless. If have two gateway,need to create /etc/gateway or create script by > using command route. > In OpenSolaris2008.05,When I use command sys-unconfig to config network > parameter found there is two line in /etc/defaultrouter.in the same way,the > command netstat -rn can see two default gateway. > I can't find the related documents about this. > Please help: > which difference is /etc/defaultrouter between OpenSolaris08.05&other version > of Solaris(for example: Solaris 8,Solaris 9 or other version)?
On 2008.05, /etc/defaultrouter definitely permits one or more default routing entries to be configured. % man defaultrouter is one such related document. But, I believe this multi-entry behavior has been the same since or before Solaris 8. I think you meant /etc/gateways instead of /etc/gateway, which is used to control behavior iof the RIP (/usr/sbin/in.routed) daemon. See if the gateways(4) and in.routed(1m) man pages clear things up for you.
