Bug 11400 - ifup virtual interface bug
ifup virtual interface bug
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: initscripts (Show other bugs)
6.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Bill Nottingham
: FutureFeature
: 11602 (view as bug list)
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2000-05-13 15:28 EDT by thomas.mangin
Modified: 2014-03-16 22:13 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-06-01 04:41:25 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description thomas.mangin 2000-05-13 15:28:20 EDT
Using ifup to bring a new virtual interface (eth0:0) can in some case add a
second 0.0.0.0 route which screw up the network.
Comment 1 Bill Nottingham 2000-05-31 17:26:37 EDT
*** Bug 11602 has been marked as a duplicate of this bug. ***
Comment 2 thomas.mangin 2000-06-01 04:41:24 EDT
I disagree with the status of the bug resolution. I experience my problem with 
a redhat 6.2.
The problem appear if the interface is not started a boot time but added by 
hand with 
"ifconfig eth0:0 up" later on.

Configuration :

DEVICE=eth0
BOOTPROTO=static
BROADCAST=194.164.71.63
IPADDR=194.164.71.52
NETMASK=255.255.255.192
NETWORK=194.164.71.0
ONBOOT=yes

DEVICE=eth0:0
BOOTPROTO=static
BROADCAST=194.164.71.63
IPADDR=194.164.71.50
NETMASK=255.255.255.192
NETWORK=194.164.71.0
ONBOOT=no

DEVICE=eth1
BOOTPROTO=static
BROADCAST=192.168.0.255
IPADDR=192.168.0.1
NETMASK=255.255.255.0
NETWORK=192.168.0.0
ONBOOT=yes


Before :

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.2     0.0.0.0         255.255.255.255 UH    0      0        0 eth1
194.164.71.52   0.0.0.0         255.255.255.255 UH    0      0        0 eth0
194.164.71.0    0.0.0.0         255.255.255.192 U     0      0        0 eth0
192.168.0.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         194.164.71.62   0.0.0.0         UG    0      0        0 eth0

ifup eth0:0

After:

Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
194.164.71.50   0.0.0.0         255.255.255.255 UH    0      0        0 eth0
192.168.0.2     0.0.0.0         255.255.255.255 UH    0      0        0 eth1
194.164.71.52   0.0.0.0         255.255.255.255 UH    0      0        0 eth0
194.164.71.0    0.0.0.0         255.255.255.192 U     0      0        0 eth0
192.168.0.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         194.164.71.62   0.0.0.0         UG    0      0        0 eth0
0.0.0.0         194.164.71.62   0.0.0.0         UG    0      0        0 eth0

The 194.164.71.62 is here twice ...

Thomas
Comment 3 Bill Nottingham 2000-06-01 11:38:31 EDT
This bug will be fixed in initscripts-5.14-1.

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