TCLUG Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [TCLUG:11279] Hit The Routes!!!



I've subsequently removed all static routes.... heres my current routing table.
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
205.218.57.25   *               255.255.255.255 UH    0      0        0 eth0
205.218.57.18   *               255.255.255.255 UH    0      0        0 eth1
192.168.6.2     *               255.255.255.255 UH    0      0        0 eth2
205.218.57.16   *               255.255.255.240 U     0      0        0 eth1
192.168.6.0     *               255.255.255.0   U     0      0        0 eth2
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         gw.bbros.com    0.0.0.0         UG    0      0        0 eth0


>>
> What happens when you don't put any static routes in?  I've run dual
> network cards for quite some time and it seems that if I add things to
> static routes I get in all kinds of trouble.

So, everything appears to be how I want it...machines on each subnet can talk to
their own, andthe firewall machine.  Now, I need to get machines behind the
firewall to talk to the rest of the internet....,

And, I still need to figure out how to get the interfaces up at boot time
without all the extra stuff it gets....at boot, this is what the route table
looks like...
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
205.218.57.25   *               255.255.255.255 UH    0      0        0 eth0
205.218.57.18   *               255.255.255.255 UH    0      0        0 eth1
192.168.6.2     *               255.255.255.255 UH    0      0        0 eth2
205.218.57.16   205.218.57.25   255.255.255.240 UG    0      0        0 eth0
205.218.57.16   *               255.255.255.240 U     0      0        0 eth0
205.218.57.16   *               255.255.255.240 U     0      0        0 eth1
192.168.6.0     192.168.6.2     255.255.255.0   UG    0      0        0 eth2
192.168.6.0     *               255.255.255.0   U     0      0        0 eth2
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         gw.bbros.com    0.0.0.0         UG    0      0        0 eth0

and then I disable all three interfaces, and bring up eth0, eth1 and then eth2,
and get this route table:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
205.218.57.25   *               255.255.255.255 UH    0      0        0 eth0
205.218.57.18   *               255.255.255.255 UH    0      0        0 eth1
192.168.6.2     *               255.255.255.255 UH    0      0        0 eth2
205.218.57.16   *               255.255.255.240 U     0      0        0 eth0
205.218.57.16   *               255.255.255.240 U     0      0        0 eth1
192.168.6.0     *               255.255.255.0   U     0      0        0 eth2
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         gw.bbros.com    0.0.0.0         UG    0      0        0 eth0

then I do a:
%route del -net 205.218.57.16 netmask 255.255.255.240 eth0

and I've got the table I [think I] want, the one listed at top.

I know that there are some config files to check and modify, but I can't seem to
hunt them down....

Brian