Problems routing table - Losing default gateway - ISDN

Problems routing table - Losing default gateway - ISDN

Post by Nando Santaga » Wed, 04 Mar 1998 04:00:00



: I have setup my linux machine to be the default gateway for a small network
: with IP Masquerading using ISDN. Most of the time it's working fine.
: On the linux machine the default gateway is the ip adress of the ippp0
: adapter. Like this a connection to my ISP is made whenether any IP accesses
: take place.
: Problem:
: When the connection to the ISP is closed because of the hangup time - also the
: value for the default gateway in the kernel routing table disappears.

For what I know this is the correct behaviour.
Add a "route add default..." in the ip-down script.

--

Nando Santagata: Telemastica & infornatica

Key fingerprint = C2 D9 C0 8E D5 B7 04 97  AF E8 3F 3E AF 4E 7F 9E

 
 
 

1. RH 5.2: Routing table losing default route/gateway

We're running RH 5.2 Apollo, 1 NIC.

Here's what our working routing table looks like:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
206.100.166.128 *               255.255.255.192 U     0      0     1521 eth0
127.0.0.0       *               255.0.0.0       U     0      0       41 lo
default         206.100.166.190 0.0.0.0         UG    0      0     4935 eth0

this box was just setup and configured.  It seems to spontaneously/ramdomly
loose it's default route.

I'm no linux expert so I'm not too sure if this is the right way or not, but
the only way we can seem to get the route back is by doing the following:

route -add default netmask 0.0.0.0 dev eth0
route -add default netmask 0.0.0.0 gw 206.100.166.190 dev eth0

then the table looks like:

Kernel IP routing table

Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
206.100.166.128 *               255.255.255.192 U     0      0     1521 eth0
127.0.0.0       *               255.0.0.0       U     0      0       41 lo
default         *               0.0.0.0         U     0      0       42 eth0
default         206.100.166.190 0.0.0.0         UG    0      0     4935 eth0

Any ideas?

Thanks
Charlie

2. DTC 3150v SCSI Controller

3. How automatic route trafic from default gateway to second gateway then connect to default will broken

4. Any g(n)uru's here? (NCR53c875J + Plextor PX-R412C problem)

5. Default gateway in route table

6. How to format man pages to lpr --- reasonably?

7. diald routing problem, no default route for ppp0 with correct gateway

8. HELP! SCO UNIX 3.2v2 on Pentium 120

9. How to set up routing table or gateway tables for ppp?

10. pppd not setting up default route in routing table

11. default route entry vanishing from routing table

12. Routing table default route entry question

13. Lost default gateway problem with Bonded interface