Issues with 2 instances of NATD

Ruben de Groot mail25 at bzerk.org
Mon Oct 4 01:14:12 PDT 2004


On Mon, Oct 04, 2004 at 10:32:35AM +0300, Joseph Begumisa typed:
> On Mon, 4 Oct 2004, Haulmark, Chris wrote:
> 
> >
> >
> >>-----Original Message-----
> >>From: owner-freebsd-questions at freebsd.org
> >>[mailto:owner-freebsd-questions at freebsd.org] On Behalf Of
> >>Joseph Begumisa
> >>Sent: Monday, October 04, 2004 2:26 AM
> >>To: freebsd-questions at freebsd.org
> >>Subject: Issues with 2 instances of NATD
> >>
> >>
> >>I want traffic from one machine on the LAN with ip address
> >>169.254.0.18 to
> >>go out through ISP2 and traffic from the rest of the machines
> >>on the LAN
> >>o go through ISP1.  However, traffic from all machines
> >>including that one
> >>goes through ISP1.  Perhaps I'm missing something. Below is
> >>my setup and
> >>configuration details:
> >
> >This is because of your default route which is assigning all the packets
> >to go through the ISP1.
> 
> i thought about this too.  how then would I go about this to achieve my 
> goal?

I believe you need a firewall rule; something like this:

ipfw add fwd <ip.of.ISP2> ip from 169.254.0.18 to any

Ruben


More information about the freebsd-questions mailing list