[ale] default devices or routes

rob hoppe hoppe at mindspring.com
Sun Nov 4 12:16:16 EST 2001


I believe the answer is in the ipchain that Chris Fowler is looking for help
on.  I have a server with NT behind it.  The server has eth0,eth1.  eth1
goes to the internet and eth0 goes to the itranet.  The NT mach. can browse
without a problem.  Mike Still setup the ipchains for me and the ssh.

Rob
----- Original Message -----
> John Wells wrote:
> >
> > I have two NICs (eth0 as external to internet, eth1 as internal to
internal net).  I have the default route set up as going out through eth0
(external).
> >
> > How do networked applications determine which device to use?  I can ping
my external DNS server but mozilla won't resolve hosts, and in order to ping
a host by
> > hostname I have to specify "ping -I eth0 www.yahoo.com".  Do mozilla and
the like use the routing table, or am I mistaken in my thinking?
>
> The proper interface is determined by IP address.  Your routing tables
must enable the machine to decide the proper interface for any IP. If you
have a default route specified, any packet whose
> destination cannot be determined by looking at the routing table is sent
to the default destination for further routing. The default route must
indicate a host that will be able to route packets to their destination, not
just an interface; and the default host must be reachable on a physical
network segment to which your machine is connected.
>
> Cheers,
>
> -- Joe



---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list