Hello Victor,

Friday, June 11, 2004, 5:21:05 PM, you wrote:

VC> +-------------------+
VC> |debian13           |
VC> |eth0:192.168.0.13  |
VC> +-------------------+
VC>          |eth0
VC>          |
VC>          |eth0
VC> +--------------------------+
VC> |firewall/router(linux-box)|
VC> |which configuration here? |
VC> +--------------------------+
VC>          |eth1
VC>          |
VC>          +----------------------+
VC>          |                      |
VC>          |eth0                  |eth0
VC> +-------------------+  +-------------------+
VC> |eth0:192.168.0.15  |  |eth0:192.168.0.16  |
VC> |debian15           |  |debian16           |
VC> +-------------------+  +-------------------+

Transparent proxiing will do the trick.
You even wont have to change the default routes on .15 and .16.

1) Assign 192.168.0.14 for the eth0 interface on the router.
2) Assing 0.0.0.0 for eth1 interface on the router.
3) Add routes .15 and .16 via eth1
4) Add a default gw (via eth0,since we gave only that interface an ip)
5) echo 1 > /proc/sys/net/ipv4/conf/all/proxy_arp


P.Krumins

_______________________________________________
LARTC mailing list / [EMAIL PROTECTED]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

Reply via email to