Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
- Join Date
- Jun 2006
Internet sharing eth0 + eth1 + netgear router (internet on local lan not enabled)
I have a Linux box with 2 ethernet cards.
eth0 -> external network (cable 67.xxx.xxx.xxx with 67.xxx.xxx.1 as gateway)
eth1 -> 192.168.10.1/255.255.255.0
I am using firestarter and using dhcpd on eth1.
eth1 is connected to netgear router.
Netgear picks up the IP properly as 192.168.10.150/255.255.255.0 with gateway as 192.168.10.1
and dns as 167.xxx.xxx.xxx given by the ISP. (checked this and they are same as /etc/resolv.conf)
my local windows pcs are connected to the router and they are getting IPs as 10.1.1.2/255.255.255.0 (if lan segment is starting at 10.1.1.1)
192.168.1.2/255.255.255.0 (if lan segment changed to 192.168.1.1)
-----eth1 (192.168.10.1 with dhcpd server)
netgear router (192.168.10.150 from eth1)
RIP direction disabled by default
(RIP 2B or 2M enabled - tried both)
| | | |
pc1 pc2 pc3 (vonage)
I am not getting internet on the pcs even though i did all the IP Masquerading etc.
Steps that i have done:
/sbin/iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
(/sbin/chkconfig iptables on # is on)
/sbin/chkconfig --add iptables
Please let me know what is wrong here!