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

Brian Blater brb.lists at gmail.com
Fri Sep 5 13:41:48 EDT 2014


Correct, I've only got one default gateway define.

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
0.0.0.0         192.168.99.1    0.0.0.0         UG    100    0        0 eth0
192.168.98.0    0.0.0.0         255.255.255.0   U     0      0        0 eth1
192.168.99.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0



On Fri, Sep 5, 2014 at 1:25 PM, Matt Flyer <matt at noway2.thruhere.net> wrote:

> Do you have more than one default gateway assigned?  That will create
> which way to go confusion and traffic goes nowhere even with a metric value.
>
> Sent from my iPad
>
> > On Sep 5, 2014, at 1:12 PM, Brian Blater <brb.lists at gmail.com> 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?
> >
> > Thanks,
> > Brian
> > --
> > This message was sent to: Matt Flyer <matt at noway2.thruhere.net>
> > To unsubscribe, send a blank message to trilug-leave at trilug.org from
> that address.
> > TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> > Unsubscribe or edit options on the web    :
> http://www.trilug.org/mailman/options/trilug/matt%40noway2.thruhere.net
> > Welcome to TriLUG: http://trilug.org/welcome
> --
> This message was sent to: Brian Blater <brb.lists at gmail.com>
> To unsubscribe, send a blank message to trilug-leave at trilug.org from that
> address.
> TriLUG mailing list : http://www.trilug.org/mailman/listinfo/trilug
> Unsubscribe or edit options on the web  :
> http://www.trilug.org/mailman/options/trilug/brb.lists%40gmail.com
> Welcome to TriLUG: http://trilug.org/welcome
>


More information about the TriLUG mailing list