[TriLUG] Linux Routing - why isn't it working?

Joseph Mack NA3T jmack at wm7d.net
Fri Sep 5 13:44:45 EDT 2014


On Fri, 5 Sep 2014, Brian Blater wrote:

> Hi all,
>
> I know this has got to be something simple, but I just can't figure out
> what is wrong.
>
> I have an Ubuntu 12.04 server that has two nics. Eth0 connects to the main
> network and Eth1 connects to a small/private network. Eth0 is on the inside
> network of a PIX 515e and has internet access. Here's a simple pic:
>
> internet --- PIX --- (192.168.9.0/24) --- Ubuntu --- (192.168.8.0/24)
>
> The PIX is the default gateway for ubuntu eth0 as well as all the host on
> the .9 network. I have added a route on the PIX to send traffic from the .9
> network to the IP of the ubuntu box. From the PIX I can ping eth1 of the
> ubuntu box, but not a device on that .8 network.
>
> I've enable routing on the ubuntu box (ip_forward is set to 1).
>
> No other boxes on the .9 network can even ping eth1 on the ubuntu box.
>
> What in the world am I missing here? I've done several google searches and
> all of them point to enabling ip_forward and make sure iptables is not
> blocking anything. IP tables is currently off on the ubuntu box.
>
> Anyone have any ideas?

do the machines you're pinging from have a route to 192.168.8.0/24 or are all 
the pings being sent to the default gw?

Joe

>
> Thanks,
> Brian
>

-- 
Joseph Mack NA3T EME(B,D), FM05lw North Carolina
jmack (at) wm7d (dot) net - azimuthal equidistant map
generator at http://www.wm7d.net/azproj.shtml
Homepage http://www.austintek.com/ It's GNU/Linux!


More information about the TriLUG mailing list