Bug 71188

Summary: initscripts adds default route per secondary address
Product: [Retired] Red Hat Linux Reporter: Daniel Senie <dts>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED RAWHIDE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.2CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2002-08-09 18:37:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Daniel Senie 2002-08-09 18:37:22 UTC
Description of Problem:

The initscripts are placing a separate default route in the kernel routing 
table for each address in a range. These routes are all identical and 
redundant. This was not the case with RedHat 7.0. Example output of netstat -nr:


Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
172.17.xxx.0    0.0.0.0         255.255.255.0   U        40 0          0 eth1
xxx.xx.xx.0    0.0.0.0         255.255.255.0   U        40 0          0 eth0
127.0.0.0       0.0.0.0         255.0.0.0       U        40 0          0 lo
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
0.0.0.0         xxx.xxx.xx.1    0.0.0.0         UG       40 0          0 eth0
Version-Release number of selected component (if applicable):


How Reproducible:

100%

Steps to Reproduce:
1. add a range of IP addresses (in my case, on same subnet as base interface)
2. reboot or restart networking
3. netstat -nr

Actual Results:


Expected Results:

Expected only a single default route, since that is quite sufficient.

Additional Information:

Comment 1 Bill Nottingham 2002-08-14 01:36:12 UTC
This should be fixed in the current rawhide initscripts (6.88-1, or later).