-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Is it really necessary to define the gateway on eth1 too ???????
rrs On Thu, 25 Mar 2004 19:15:44 +0530 Yashpal Nagar <[EMAIL PROTECTED]> wrote: > >the config of eth0 > >ip 172.16.12.146 > >subnet mask 255.255.255.0 > >default gateway 172.16.50.1 > > > >the config of eth1 > >ip 192.168.0.3 > >subnet mask 255.255.255.0 > > > > > Put the Gateway of this (eth1)interface too 172.16.12.146 > And then use SNAT > > /sbin/iptable -t nat -A POSTROUTING -s 192.168.0.0/24 -j SNAT > --to-source 172.16.12.146 > > man iptables for more info, > Have you done packet fwding ?? > > HTH > > Regards, > Yash - -- Ritesh Raj Sarraf RESEARCHUT (www.researchut.com) Happy GNU/Linux user since 1998 - ------ FORTUNE ! Pardon this fortune. Database under reconstruction. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAYw1Q4Rhi6gTxMLwRAoPBAJsF0oYhnMIZ0K0OJq8mWvsFOIFGtwCdH+ki fxWU6SbfPa/4kG5VqUQW0M0= =8jKH -----END PGP SIGNATURE----- _______________________________________________ ilugd mailinglist -- [EMAIL PROTECTED] http://frodo.hserus.net/mailman/listinfo/ilugd Archives at: http://news.gmane.org/gmane.user-groups.linux.delhi http://www.mail-archive.com/[EMAIL PROTECTED]/