[SATLUG] Network Issue

Brad Taylor linuxinfo at satx.rr.com
Mon Dec 10 22:44:13 CST 2007


	I am having a problem with pinging stations inside my home network. I 
have a Linux box acting as my gateway with 2 NICs. Eth0 is connected to 
the WAN (Cable Modem)and has my public ip. Eth1 is connected to a 
Linksys router which is handling the DHCP. Eth1 has a private ip of 
192.168.2.1 which connects to the router at 192.168.2.2. 	 The internal 
LAN has a range of 6 IPs 192.168.1.1 - 192.168.1.6. I can ping from a 
station inside of the LAN to Eth0, but I cannot ping from Eth0 to any of 
the stations. I thought I added my routes correctly using:
sudo route add -net 192.168.1.0 netmask 255.255.255.248 dev eth1
but when I attempt to ping an IP I am still not able to get through. I 
checked the PC and router firewall and I am not blocking anything. My 
netstat shows:
owner at BigBoss:~$ netstat -r
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt 
  Iface
192.168.2.0     *               255.255.255.252 U         0 0          0 
eth1
192.168.1.0     *               255.255.255.248 U         0 0          0 
eth1
xx.x.x.x       *               255.255.248.0   U         0 0          0 eth0
default         cpe-xx-x-x-x.s 0.0.0.0         UG        0 0          0 eth0


More information about the SATLUG mailing list