Bug 84442 - bad: Install IP-Alias result in 3x default route to gateway
bad: Install IP-Alias result in 3x default route to gateway
Status: CLOSED DUPLICATE of bug 88826
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
8.0
i686 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
Brock Organ
http://217.7.11.41
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2003-02-17 05:33 EST by michael mosmann
Modified: 2014-03-16 22:34 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-02-21 13:51:50 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
/etc/sysconfig/network - working (48 bytes, text/plain)
2003-02-17 09:38 EST, michael mosmann
no flags Details
/etc/sysconfig/network-scripts/ifcfg-eth0 - working (161 bytes, text/plain)
2003-02-17 09:41 EST, michael mosmann
no flags Details
/etc/sysconfig/network-scripts/ifcfg-eth0:1 - working (262 bytes, text/plain)
2003-02-17 09:44 EST, michael mosmann
no flags Details
new error while try to reproduce the error (630 bytes, text/plain)
2003-02-17 09:51 EST, michael mosmann
no flags Details

  None (edit)
Description michael mosmann 2003-02-17 05:33:06 EST
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 09:25:56 EST
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 09:38:57 EST
Created attachment 90127 [details]
/etc/sysconfig/network - working

working config file after workaround 2
Comment 3 michael mosmann 2003-02-17 09:41:03 EST
Created attachment 90128 [details]
/etc/sysconfig/network-scripts/ifcfg-eth0 - working
Comment 4 michael mosmann 2003-02-17 09:44:11 EST
Created attachment 90129 [details]
/etc/sysconfig/network-scripts/ifcfg-eth0:1 - working
Comment 5 michael mosmann 2003-02-17 09:51:09 EST
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-03 21:45:44 EDT

*** This bug has been marked as a duplicate of 88826 ***
Comment 7 Red Hat Bugzilla 2006-02-21 13:51:50 EST
Changed to 'CLOSED' state since 'RESOLVED' has been deprecated.

Note You need to log in before you can comment on or make changes to this bug.