9 replies
by igor shulz
I think you should set default gateway address (default route) in Cisco routers:
- router in Tuscon should have IP address of another router (address of its nearest to Tuscon interface) as default gateway
- router in Phoenix should have IP addressof your gate to internet (your Linux box?)as default gateway
by mnsain
by randyarnold
Look at the cisco in Tucson " show ip route" and see if the wan port of that router is the default gateway - it needs to be. The router in Phoenix nees to have the address of the "internal" network card on the masq box as it's default gateway.
On the masq box, be sure that it has a route to the local router "/sbin/route".
All client Pc's need to have thier local router as thier default gateway.
Randy
by mnsain
by green
First of all, NAT (in this context) is
Network Address Translation (and is the same as io masquerading), and has nothing to do with Transparent Proxy.
You have not described your setup much.
Let's assume you have router in Tuscon.
eth0 is local net with fake IPs (let's assume 192.168.1.0/24 subnet) and eth1 is interface to outer world.
you need to issue "ipchains -A forward -s 192.168.1.0/24 -d 0.0.0.0/0 -j MASQ"
this will enable IP masquerading for your local subnet.
Also make sure thatyou have default route on your linux box, that points to your Cisco router (through eth1 in assumed setup)
You can also obtain a lot of useful info from IP-Masquerade mini-HOWTO.
by mnsain
by linuxian
by mnsain
by mnsain
This discussion is closed to new replies.
Trending Linux posts
Sort by Trending