Srinivasa Rao wrote:
i had installed redhat 9 on my machine which is having two network cards rtl8139(both) eth1 is connected to my local lan through hub and the other card (eth0) is connected to the hub of cable guy who provides net access to us ;after activating cards with the following configuration i am unable to ping to my cable guys gateway 172.16.50.1 says network unreachable
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
connected to local lan and working fine
the same config i have on windows which works fine pls suggest
regds srinivas
===== 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]/
_______________________________________________ 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]/