Re: [squid-users] Squid Server multiple Nics

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Wed, 19 Nov 2003 23:16:26 +0100 (CET)

On Wed, 19 Nov 2003 Jim_Brouse/PYT@PASCUAYAQUITRIBE.ORG wrote:

>
> Here is what is in my route table I output this by entering route at the
> command prompt.
>
>
> 55.0.0.2 * 255.255.255.128 U 0 0 0 eth1
> 24.0.0.2 * 255.255.255.0 U 0 0 0 eth0
> 55.0.0.2 55.0.0.3 255.0.0.0 UG 0 0 0 eth1
> 24.0.0.2 24.0.0.3 255.0.0.0 UG 0 0 0 eth0
> default 55.0.0.3 0.0.0.0 UG 0 0 0 eth1
> default 24.0.0.3 0.0.0.0 UG 0 0 0 eth0
>
>
> With a route table like this considering that the dns server address is on
> the 55.0.0.x network will it try to gain internet access from 55.0.0.x or
> will it attempt to gain access from either nic?

Hard to tell, but I guess it will use the first default route. Normally
you can only have one route per destination.

Is this a Linux system? If so then the output of "ip route" is better
expressing your actual routing table. The ip route command also have an
option where you can ask what route will be used for a given destination.

  ip route get ip.of.selected.destination

Regards
Henrik
Received on Wed Nov 19 2003 - 15:16:39 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 17:21:23 MST