Subject: Re: Advanced Routing
To: Paul Newhouse <newhouse@rockhead.com>
From: Diego Linke - GAMK <linke@calnet.com.br>
List: netbsd-help
Date: 03/23/2002 18:12:45
Hi
See below:
My objective is, the machine 192.168.0.11 out via ADSL, and other machines (192.168.0.X) out via link.
My interfaces address:
xl0 - 200.200.200.5 (Link Router 200.200.200.1)
xl1 - 192.168.0.1
xl2 - 192.168.200.8 (ADSL Router 192.168.200.254)
Default gateway is 200.200.200.1 (link)
ipnat.conf:
map xl2 192.168.0.11/32 -> 192.168.200.8/32
map xl0 192.168.0.0/24 -> 200.200.200.5/32
ipf.conf:
pass out quick on xl0 to xl2:192.168.200.254 from 192.168.0.11/32 to any
The problem is the machine 192.168.0.11 the conection Time out... (not conection to internet via ADSL).
Do you have any idea ?
Thanks :-)
--
Atenciosamente,
--
[ Diego Linke - GAMK ]
System/Network Administrator
Curitiba - Parana - Brazil
E-Mail: gamk@gamk.com.br
Web Site: http://www.gamk.com.br
Phone Number: (+5541) 9967-3464
On Wed, 20 Mar 2002 10:58:46 -0800
Paul Newhouse <newhouse@rockhead.com> wrote:
> >
> > >> I need to NAT the internal network, being able to choose which IPs go
> > >> "nated" for the ADSL or for the leased line. The company's Directors
> > already
> > >> asked me to return to Linux, since it has "ip advanced routing". I'm
> > struggling
> > >
> > >First off, Linux doesn't contain any "advanced IP routing", in fact, Linux
> > >is complete trash and you'd be crazy to re-install it.
> >
> > Yessss, I just love this kind of well argumented sentences.
>
> It seems to me it would be more useful for the "Directors" to spell out what
> "ip advanced routing" capabilities they think are needed. I'm guessing they
> don't know which are unique to Linux. Maybe they just like the command
> names?
>
> Paul
>
> > For the source routing problem, you can tune ipnat.conf
> > It is okay for small netwoks. Big ones are ok too if you have some
> > separate adresses pool i.e. 192.168.1.0/24 and 192.168.2.0/24
> >
>