Bug 84442

Summary: bad: Install IP-Alias result in 3x default route to gateway
Product: [Retired] Red Hat Linux Reporter: michael mosmann <michael>
Component: initscriptsAssignee: Bill Nottingham <notting>
Status: CLOSED DUPLICATE QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0CC: rvokal
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
URL: http://217.7.11.41
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-02-21 18:51:50 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:
Attachments:
Description Flags
/etc/sysconfig/network - working
none
/etc/sysconfig/network-scripts/ifcfg-eth0 - working
none
/etc/sysconfig/network-scripts/ifcfg-eth0:1 - working
none
new error while try to reproduce the error none

Description michael mosmann 2003-02-17 10:33:06 UTC
From Bugzilla Helper:


User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MSIE 5.5; Windows NT 4.0) Opera 
7.01  [en]




Description of problem:


After installing eth0:1 config will setup 3x default routes to gateway so 
network will hang




Version-Release number of selected component (if applicable):






How reproducible:


Always




Steps to Reproduce:


Install eth0 with 192.168.2.141/255.255.255.0 gw 192.168.2.2


Everything is ok.




Install eth0:1 with 217.7.11.41/255.255.255.224


After service network restart 






    




Actual Results:  Ziel            Router          Genmask         Flags   MSS 
Fenster irtt Iface


217.7.11.32     *               255.255.255.224 U        40 0          0 eth0


192.168.2.0     *               255.255.255.0   U        40 0          0 eth0


127.0.0.0       *               255.0.0.0       U        40 0          0 lo


default         192.168.2.2        0.0.0.0         UG       40 0          0 eth0


default         192.168.2.2        0.0.0.0         UG       40 0          0 eth0


default         192.168.2.2        0.0.0.0         UG       40 0          0 eth0






Expected Results:  Ziel            Router          Genmask         Flags   MSS 
Fenster irtt Iface


217.7.11.32     *               255.255.255.224 U        40 0          0 eth0


192.168.2.0     *               255.255.255.0   U        40 0          0 eth0


127.0.0.0       *               255.0.0.0       U        40 0          0 lo


default         192.168.2.2        0.0.0.0         UG       40 0          0 eth0








Additional info:




Workaround 1: 


3x route del default


route add -net 0.0.0.0 gw 192.168.2.2


only 2x route del default wont work




Workaround 2:


delete gw in eth0: and remove route 0.0.0.0 0.0.0.0 192.168.2.2 in 
Systemconfig/network before save!


After this 1x default route still exsist(route -e and Systemconfig/network)




You know Workaround 1 can not work after reboot, so you must use Workaround 2.

Comment 1 Harald Hoyer 2003-02-17 14:25:56 UTC
please attach:
/etc/sysconfig/network
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth0:1

The first Gateway could come from /etc/sysconfig/network,
the second from ifcfg-eth0 and the third because ifcfg-eth0 is automatically
included by the alias devices.
But this is a flaw in the initscripts then...

Comment 2 michael mosmann 2003-02-17 14:38:57 UTC
Created attachment 90127 [details]
/etc/sysconfig/network - working

working config file after workaround 2

Comment 3 michael mosmann 2003-02-17 14:41:03 UTC
Created attachment 90128 [details]
/etc/sysconfig/network-scripts/ifcfg-eth0 - working

Comment 4 michael mosmann 2003-02-17 14:44:11 UTC
Created attachment 90129 [details]
/etc/sysconfig/network-scripts/ifcfg-eth0:1 - working

Comment 5 michael mosmann 2003-02-17 14:51:09 UTC
Created attachment 90130 [details]
new error while try to reproduce the error

when i try to reproduce the error - and the errornous configfiles - this error
occur

Comment 6 Bill Nottingham 2003-09-04 01:45:44 UTC

*** This bug has been marked as a duplicate of 88826 ***

Comment 7 Red Hat Bugzilla 2006-02-21 18:51:50 UTC
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.