Re: [squid-users] Squid Server multiple Nics

From: unixware <datareactor@dont-contact.us>
Date: Mon, 17 Nov 2003 16:19:39 -0800 (PST)

Dear Jim

its depend on your default gateway you are using for
yr machine check with route command on linux based
systems

[root@cache root]# route
Kernel IP routing table
Destination Gateway Genmask Flags
Metric Ref Use Iface
192.168.1.0 * 255.255.255.128 U 0
     0 0 eth1
192.168.1.128 * 255.255.255.128 U 0
     0 0 eth1
169.254.0.0 * 255.255.0.0 U
0 0 0 eth1
127.0.0.0 * 255.0.0.0 U
0 0 0 lo
default 192.168.1.1 0.0.0.0 UG 0
  0 0 eth1

that is showing it is using eth1 as default gateway to
all other networks

you can add default route with following commmadn

route add default gw 192.168.1.1 eth1

Regards

UW

--- Jim_Brouse/PYT@PASCUAYAQUITRIBE.ORG wrote:
>
> eth0 ip address is 24.0.0.2
> eth1 ip address is 55.0.0.2
>
>
> We have a squid server with 2 nics, if the DNS
> server is at 55.0.0.5.
>
> How does the squid server know which nic to gain
> Internet access from?
>
> Will it gain Internet access from the same nic that
> the DNS server is
> listed on? What stops squid from resolving
> www.domain.com to an IP address
> and then choosing either of the nics to get internet
> access from.
>
> I only want squid to gain Internet access on eth1
>
>
> Jim
>

__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree
Received on Mon Nov 17 2003 - 17:19:43 MST

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