Hi All,
Since I'm such a dingbat, amybe someone can explain this in dingbat
terms to me so I understand it.
I have a Linux box (Mandrake 9.2). It has 2 NIC's. I have 2
different DSL providers. Thus I have 2 routers, 1 switch and 2 DSL
modems.
Below is my routing table. What is a default route? Basically, does
this mean that ALL traffic on your network goes out to the internet
via this route? If that is true, then why have multiple NIC's?
Is the following correct?
eth0 (192.168.1.110)
------\
\
===> default route (192.168.1.1) OR (192.168.0.1)
/
------/
eth1 (192.168.0.110)
Thus is the default route goes down, there is no internet traffic.
Maybe that is wrong? Perhaps it is this?
eth0 (192.168.1.110)
------\
\
===> default route (192.168.1.1) AND (192.168.0.1)
/
------/
eth1 (192.168.0.110)
If the second diagram is true, then I should have automatic failover.
I should be able to use both routes regardless.
Should the same not be true for incoming connections? Why can't I
SSH or TELNET into both like this:
/ <-- 206.126.232.53
eth0 /
=========
eth1 \
\ <-- 64.36.28.114
That does not work. I can only come in one 1 connection, not both.
So, it seems to me that regardless on how many NIC's or routers or
whatever I have, if the default route does down, I'm out of luck.
Thus, there is really only one way out to the internet? And, only
one way into my box??
eth0 / eth1 <======> 206.126.232.53 OR 64.36.28.114
Can someone please, please explain this in dingbat terms for me?
Basically I have 2 DSL lines and 2 NIC's. I should be able to go out
over either one and come in over either one. And, if one goes down,
the other should take over and I can stil get in and out over that
one.....that is what I really want.
Oh yeah, my routing table:
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref
Use Iface
192.168.1.0 192.168.1.1 255.255.255.0 UG 0 0
0 eth0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0
0 eth0
192.168.0.0 192.168.0.1 255.255.255.0 UG 0 0
0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0
0 eth1
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0
0 lo
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0
0 eth1
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0
0 eth0
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0
0 eth0
Thanks in advance,
-A