On Thu, 2005-03-31 at 00:44 +1200, Kim Robertson wrote:
> Hi,
> Ok the subject is a little misleading, what I am looking to do is have 
> an internet connection on one ethernet card, an external network on 
> another card and the internal network on yet another card.
>                            ----------------------
>                            |                           | --------- 
> External Network
> Internal---------|   Linux Box      |
>                            |                           | --------- 
> Internet
>                            ----------------------
> The external network has 2 set address ranges lets call them 172.x.x.x 
> and 173.x.x.x
> I want the traffic on those to ranges to go via the External Network 
> NIC and all other to go via the Internet
> So far researching on how to do this it looks link I need to use 
> iptables and do some advanced routing.

I don't think your routing needs are too advanced. Simply adding two
routes to the normal setup, so that all traffic on the 172.x.x.x and
173.x.x.x subnets are sent out that particular interface, should do the
trick. Also you will have the standard route for the internal network
and a default route to he internet at large.

By the way is 173.x.x.x a valid routable internet address? Its not in
the "private" range (10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16). 

> 
> Currently I am experimenting with slackware 10.1 as the base, but if 
> another dist is better I will get it.
> Can anyone point me in the right direction or give me some 
> pointers/help?
> 
> Thanks,
>  From Kim
> 
-- 
Nick Rout <[EMAIL PROTECTED]>

Reply via email to