Re: route to separate network through different gateway

"David Henry" <[email protected]>
Newsgroups gmane.network.nocat
Organization Nautical Landings LLC
Message-ID <001e01c59dac$266cd6d0$9601a8c0@an1x>
Hi Jeremy,

Depends.

If you have two NICs in the gateway then you will need to add another virtual interface for the 192.168.1.x traffic on the inside.  If you have eth0 as the 172.x NIC then you can simply do:

ifconfig eth0:0 192.168.1.10 netmask 255.255.255.0

That will add a sub-interface.  Then you simply set up your routing like the following.

route add x.x.x.x gw 192.168.1.1 eth0:0

x.x.x.x should be the network that you want to forward traffic for.

You may also have to add an entry to the "Allowed Networks" in your initialize.fw. or perhaps define another interface.  

I don't have a NoCat system in front of me but a combo of the above things should work.

Let me know how you make out.

Best regards,
David
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.