Re: Linux routing question



Something I probably should have mentioned before that you may or may not
have been able to glean out of the original post. The internal LAN is
really a WAN, with each remote office having a dedicated T1 link going from
the remote -> HQ. The HQ has a dedicated T1 to the internet. One remote
office also has a dedicated T1 to the internet which is what the secondary
internet connection I was referring to would be. The primary internet
connection is the one at HQ.

Dave

Dave Hammond wrote:

Good morning,

I have a linux routing question to ask. I am working on a linux server,
slackware 10.2 w/2.6.16 kernel, that has 2 ethernet cards in it. This
server is used for network monitoring of a LAN with mrtg and nagios. The
first NIC, eth0, is connected to a switch in the DMZ and has a public
routable IP address to the internet. The second NIC, eth1, is connected
to the internal network switches and has a private 10.x.x.x address to the
local LAN. The default route as of right now points to the internet
gateway router which is what I want. I have a network route set up on the
linux server to the 10.0.0.0 subnet for eth1 to talk to devices in the
private network. So as of right now I can ping and talk to everything I
need to.

Now, here is the wrinkle, this server does device failure notifications
via
e-mail to specific persons. If the primary internet connection fails,
obviously, the notifications will not make it anywhere. I have learned
that there is a second internet connection available at a remote office.
I can contact that remote office network through the internal lan routing
with ping and my question is, how can I make this linux server routing
automatically fail-over to use that secondary internet connection if the
primary connection fails?

I am working on this server from 400 miles away where it is physically
located and would prefer to not have to call them to reset it 10,000 times
when I dink the routing table trying to figure it out.

Here is a copy of my current routing table as of right now, I have
replaced any public IP address info with XXX.XXX.XXX.XXX for obvious
reasons.

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use
Iface
localnet * 255.255.255.240 U 0 0 0
eth0
10.1.2.0 * 255.255.255.0 U 0 0 0
eth1
10.0.0.0 10.1.2.254 255.0.0.0 UG 0 0 0
eth1
loopback * 255.0.0.0 U 0 0 0 lo
default XXX.XXX.XXX.XXX 0.0.0.0 UG 1 0 0
eth0

Any idea's would be great,
Thanks,
Dave

.



Relevant Pages

  • Re: Any VMware experts on a Vista site?
    ... I'm glad you got the internet connection sorted, as I said it is simply a case of 'playing around' with the different option to see which one 'finally' works. ... My VM only contains Windows XP and it is only there in case I need to access it for support questions, ... The information in this mail/post is supplied "as is". ...
    (microsoft.public.windows.vista.general)
  • Linux routing question
    ... I have a linux routing question to ask. ... The default route as of right now points to the internet ... linux server to the 10.0.0.0 subnet for eth1 to talk to devices in the ... that there is a second internet connection available at a remote office. ...
    (comp.os.linux.networking)
  • Re: Internet Connection - Validation?
    ... |> microsoft.public.windowsxp.general nass ... First, try to clean up your caches, Internet files and delete cookies ... |I will try to uninstall the weather Bug application and clean up all traces ... "internet connection" problem. ...
    (microsoft.public.windowsxp.general)
  • RE: Internet connection via 2nd network card without ISA
    ... Thank you for posting to the SBS Newsgroup. ... Please explain in detail what exact "internet connection" you want to ... Configure E-mail and Internet Connection Wizard for detailed steps. ...
    (microsoft.public.windows.server.sbs)
  • Re: Broadband connection sharing
    ... which says enable internet connection sharing. ... But at no point can i ever get an internet connection from PC2. ... Does the switch you are using provide DHCP services to clients? ... Question 4 -- Yes you can share the Internet access without a router as ...
    (microsoft.public.windowsxp.network_web)