Nelson Serafica writes:
> I don't see it in my /etc, could I see some sample file so that I can create
> one?
You'll have /etc/defaultrouter only if you manually configured a
static default router. You shouldn't have one otherwise. It's just a
simple text file with a list of IPv4 addresses, one per line, like
this:
10.0.0.1
Other possible sources of routes include:
- "route -p add ..." -- persistent routes; use "route -p show" to
display any persistent routes that might be configured, and see
the route(1M) man page for details.
- DHCP can install routes. Check to see if you have any files named
/etc/dhcp.*. If you do, then you're using DHCP. Use
"/sbin/dhcpinfo Router" to display the default router address
supplied to you by the DHCP server.
- You can get routes via ICMP Router Discovery and via RIP. Use
"routeadm" to find out if you have IPv4 routing enabled.
--
James Carlson, Solaris Networking <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
_______________________________________________
networking-discuss mailing list
[email protected]