default route

default route

Post by lewis l » Mon, 17 Jul 1995 04:00:00



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".

Thanks for your help !

 
 
 

default route

Post by Casper H.S. D » Mon, 17 Jul 1995 04:00:00



}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)

Casper
--
Casper Dik - Network Security Engineer - Sun Microsystems
This article is posted from my guest account at the University

Opinions expressed here are mine (but you're welcome to share them with me)

 
 
 

default route

Post by Alan Hann » Mon, 17 Jul 1995 04:00:00




: }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
following:

        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.

 
 
 

default route

Post by lewis l » Tue, 18 Jul 1995 04:00:00


What is the purpose of having the default point to '0.0.0.0' ?
With the BCN router, it can route to many different network. If
the default point to '0.0.0.0', how can the system reach the
other network using this default value ?  Note that we do not have
the file /etc/defaultroute. The solaris machine discover this default
using router discovery protocol.

 
 
 

1. Two interfaces: Set default default route?

OK, I have two interfaces, one slow, one fast.  I want to use the fast
one as the default (obviously), but I need to have the other one
available for some people that can only reach me through that one.
How can I tell the machine to use the fast one by default.  Am I
correct in saying that if I nix the default route for the slow
connection that people from the slow net that are not on the same
subnet would not be able to contact me?

Thanks!

--Dan

2. Problem with non-blocking writing using sockets

3. Default Route always sets default interface

4. kernal compile from floppy

5. defunct routes (was Re: multiple default routes appear in solaris 2.5.1)

6. "Can't handle paging request" , 99p7-8

7. routed adds wrong default route

8. bli-eeep!

9. Routing Problem with pppd default route option.

10. diald routing problem, no default route for ppp0 with correct gateway

11. routed kills default route from pppd

12. dynamic routing - discovery of default routes?

13. routed killing my default route