multi-homed host routing problem

Perica Veljanovski FreeBSD at euro.net.mk
Sun Nov 14 15:02:34 GMT 2004


Hi all

I have a fbsd 4.7 box that has 2 nics rl0 & rl1. On rl0 i have a public
ip address and on rl1 I have a private 10.20.30.0/24, and I'm running
squid proxy for my private ip's. 
Now i've added a 3rd nic rl2 which has an ADSL router connected to it
(another internet source).

What I wanted to do is use squid's tcp_outgoing_address to divide
traffic by splitting the private ip class with squid's acl's. However
this does not work.

My question is: How do i route part of the private ip's trough rl0 and
the other part trough rl2. Can it be done only by routing or should i
use nat (on the rl2 side there is no need for nat, the adsl router has
natd)? 

10x ahead,

-- 
 <>




More information about the freebsd-questions mailing list