hi
yes i had enable ip-forwadind will try your suggestion
and get back to you

thanks
srinivas
--- Ritesh Raj Sarraf <[EMAIL PROTECTED]>
wrote:
> -----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]/


=====
T.Srinivasa Rao
Head Tech Support
Microworld software Pvt Ltd
Delhi
Cell phone :  9811112415

__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html

_______________________________________________
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]/

Reply via email to