RE: Routing with two internet gateways

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm, this may be a dumb answer but you wouldn't be the first one.
Are you sure you haven't forgotten to enable routing?

echo 1 > /proc/sys/net/ipv4/ip_forward

Also check your access-lists. I've stumbled on that one way too many
times :)

Serge Maandag.

-----Original Message-----
From: Jacob Anawalt [mailto:anawaltaj@qwest.net]
Sent: vrijdag 19 januari 2001 7:20
To: linux-net@vger.kernel.org
Subject: Routing with two internet gateways


I am having a tough time with a RH6.2 system's routing tables. We have 2
gateways to the internet, and I am only defining one default route.

I am dealing with 3 networks, ISP1, ISP2, and a private network.

On a RH7 machine, using the ISP1 gateway, I can telnet in from outside
to either ip address and be just fine. On the RH6.2 machine, ISP2 is the
default gw, and I don't get any response pinging or trying to telnet to
it's card on ISP1's network.

Here are the routing tables:

7.0box:
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
63.230.15.176   0.0.0.0         255.255.255.248 U     0      0        0
eth2
207.224.221.0   0.0.0.0         255.255.255.0   U     0      0        0
eth0
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         207.224.221.52  0.0.0.0         UG    0      0        0
eth0

6.2 box
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
63.230.15.176   0.0.0.0         255.255.255.248 U     0      0        0
eth2
207.224.221.0   0.0.0.0         255.255.255.0   U     0      0        0
eth0
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         63.230.15.182   0.0.0.0         UG    0      0        0
eth2

Any ideas? Thanks in advance for your attention to this.
Jacob Anawalt,
anawaltaj@qwest.net

-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org
-
: send the line "unsubscribe linux-net" in
the body of a message to majordomo@vger.kernel.org


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux 802.1Q VLAN]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Git]     [Bugtraq]     [Yosemite News and Information]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux PCI]     [Linux Admin]     [Samba]

  Powered by Linux