Bug 561589 - NetworkManager fails to set up wired alias device.
Summary: NetworkManager fails to set up wired alias device.
Keywords:
Status: CLOSED DUPLICATE of bug 443968
Alias: None
Product: Fedora
Classification: Fedora
Component: NetworkManager
Version: 12
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Dan Williams
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-02-04 00:51 UTC by Björn Augustsson
Modified: 2010-02-09 01:42 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-09 01:42:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Björn Augustsson 2010-02-04 00:51:52 UTC
Description of problem:

NetworkManager fails to set up a wired alias device.

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

NetworkManager-0.7.997-2.git20091214.fc12.i686
But it also happens on 
NetworkManager-0.7.2-2.git20091223.fc11.i586
 (current F11)

How reproducible:

Totally.

Steps to Reproduce:
1. Use the files below
2. Reboot or service NetworkManager start
3. Check the interfaces
  
Actual results:

$ route -n
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth0
$

Expected results:

$ route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
my.isp.net.0    0.0.0.0         255.255.255.0   U     0      0        0 eth0
169.254.0.0     0.0.0.0         255.255.0.0     U     1002   0        0 eth0
10.0.0.0        0.0.0.0         255.0.0.0       U     0      0        0 eth0
0.0.0.0         my.isp.net.1    0.0.0.0         UG    0      0        0 eth0
$

Additional info:

/etc/sysconfig/network-scripts/ifcfg-eth0

DEVICE=eth0
BOOTPROTO=dhcp
HWADDR=00:10:18:0B:33:07
ONBOOT=yes
TYPE=Ethernet
IPV6INIT=no
USERCTL=no
DEFROUTE=yes

/etc/sysconfig/network-scripts/ifcfg-eth0:1

DEVICE=eth0:1
BOOTPROTO=none
NETMASK=255.0.0.0
TYPE=Ethernet
IPADDR=10.0.0.1
ONPARENT=yes
IPV6INIT=no
USERCTL=no
PREFIX=8
DEFROUTE=no
NAME="System eth0:1"
UUID=7758ac79-c4a2-dd87-1760-71284a316d00
ONBOOT=yes


I fiddled with the 
NM_CONTROLLED (seems to have no effect) and
ONBOOT (seems wrong for an alias, but it keeps getting readded)
variables, but that didn't help.

This is a very simple network setup. Since my ISP, in their infinite wisdom,
likes to give me DHCP addresses in different networks(!), causing all 
traffic to go via them ,(Hello Cablecom! CaseID 1970915) I have the aliases
set up so I can sanely move stuff around internally.


Workaround is to 
chkconfig NetworkManager off
chkconfig network on

Comment 1 Dan Williams 2010-02-09 01:42:44 UTC
See bug 443968.  Note that you can include multiple IP addresses in one ifcfg file these days, so you really don't need device aliases at all any more.

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


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