Double Route entries?

Double Route entries?

Post by Jerry Gu » Mon, 01 Feb 1999 04:00:00



Kernel 2.2.1 on RH5.2
ipchains-masq
Intel EtherExpress eth1 local net
3com950 eth0  internet DHCP

After upgrading the kernel my routing table shows double entries,


Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt
Iface
192.168.1.1     0.0.0.0         255.255.255.255 UH        0 0          0
eth1
204.210.134.0   0.0.0.0         255.255.255.0   U         0 0          0
eth0
204.210.134.0   0.0.0.0         255.255.255.0   U         0 0          0
eth0
192.168.1.0     0.0.0.0         255.255.255.0   U         0 0          0
eth1
192.168.1.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         204.210.134.1   0.0.0.0         UG        0 0          0
eth0

SIOCDELRT: No such process

Attempting to remove redundant routes results in the above error.

  here's the ifconfig

eth0      Link encap:Ethernet  HWaddr 00:60:97:32:66:7E
          inet addr:204.210.134.84  Bcast:204.210.134.255
Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:26654 errors:0 dropped:0 overruns:0 frame:0
          TX packets:17964 errors:0 dropped:0 overruns:0 carrier:0
          collisions:67 txqueuelen:100
          Interrupt:19 Base address:0xfc40

eth1      Link encap:Ethernet  HWaddr 00:A0:C9:82:C4:4A
          inet addr:192.168.1.1  Bcast:192.168.1.255  Mask:255.255.255.0

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:66176 errors:0 dropped:0 overruns:0 frame:0
          TX packets:69468 errors:0 dropped:0 overruns:0 carrier:0
          collisions:26 txqueuelen:100
          Interrupt:19 Base address:0xfcc0

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:3924  Metric:1
          RX packets:283 errors:0 dropped:0 overruns:0 frame:0
          TX packets:283 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0

If i take the device down (ifconfig eth1 down) and bring it back up the
redundant routes are gone,
so I suspect something in the RH init scripting.
Any help with eliminating the redundant routing?

Jerry

 
 
 

1. double route entries - how could this happen?

Hello,

i have got some double entries in the route table

1)

# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    
Use Iface
192.168.111.3   *               255.255.255.255 UH    0      0        
0 plip1
192.168.111.3   *               255.255.255.255 UH    0      0        
0 plip1
192.168.111.1   *               255.255.255.255 UH    0      0        
0 dummy0
192.168.111.1   *               255.255.255.255 UH    1      0        
0 dummy0
loopback        *               255.0.0.0       U     0      0        
0 lo

2)

#route -C
Kernel IP routing cache
Source          Destination     Gateway         Flags Metric Ref    
Use Iface
groucho.dresche groucho.dresche groucho.dresche l     0      0      
213 lo
groucho.dresche groucho.dresche groucho.dresche l     0      0      
120 lo
localhost       localhost       localhost       l     0      0        
2 lo
localhost       localhost       localhost       l     0      0        
2 lo

Is it normal? How can that happen??

Thanks, Thomas.

2. Dual Boot Linux/NT Problem

3. 2nd nic can't ping route table messed double entry

4. Graphic resolutions in Solaris

5. How to delete route entry from routing table

6. Bus Error

7. default route entry vanishing from routing table

8. Mounting Cd on HP force845CD?

9. Routing table default route entry question

10. How Do Routing Table Entries Get Added to Routing Table at Bootup?

11. double smitty entries

12. Double Entry Bookkeeping?

13. Double entries in /etc/passwd