: }On solaris 2.4, when I run the command "netstat -r" it displays:
: }Destination Gateway Flags Ref Use Interface
: }default router1 UG 0 1902
: }Since the network is connecting to a BCN router, how do I can tell
: }what the IP address "default" point to since the system still show
: }"default" when I run "netstat -nr".
: "default" points to all addresses not pointed to by other routes.
: (It's 0.0.0.0, but that's only by convention)
Perhaps you mean what is the ip address towards which the default points...
Well, it kind of does this, from one frame of mind:
default --> 0.0.0.0 -> router1 -> 10.1.1.1
^ Pretending that router1s
IP address is 10.1.1.1.
Of course, you could obtain the IP address of router1 by doing one of the
1) cat /etc/defaultrouter
2) nslookup router1
I just thought you meant how do you know what ip the gateway is, since
that is what the default points to.....
Network Systems Administrator Voice: (402) 472-0239
MIDnet, Lincoln NOC Office Fax: (402) 472-0240
While most peoples' opinions change, the conviction of their
correctness never does.