[Bug 876829] Re: Oneiric's ifupdown breaks ip aliases

Mike Vastola Michael.Vastola at tufts.edu
Fri Nov 11 22:40:33 UTC 2011


I'm experiencing the same behavior as LStranger.  My IP aliases are
coming up, but they're just not reflected  anywhere as online (in either
ifconfig or ip).

I can do the following and see the actual commands being run to bring up
the interfaces, which as far as I can tell are working correctly except
for the whole "showing the interfaces as up" thing.

root at server_name:~# ifdown -av && ifup -av
[ . . . ]
 ip route del default via xxx.yyy.100.1 metric 100 dev eth0 2>&1 1>/dev/null || true
ip -4 addr flush dev eth0
ip link set dev eth0 down
run-parts --verbose /etc/network/if-post-down.d
Configuring interface eth0:1=eth0:1 (inet)
run-parts --verbose /etc/network/if-down.d
run-parts: executing /etc/network/if-down.d/postfix
run-parts: executing /etc/network/if-down.d/upstart

ip -4 addr flush dev eth0:1
ip link set dev eth0:1 down
run-parts --verbose /etc/network/if-post-down.d

[ . . . ]
Configuring interface eth0=eth0 (inet)
iptables-restore < /etc/iptables.rules
run-parts --verbose /etc/network/if-pre-up.d
ip addr add xxx.yyy.100.11/255.255.255.0 broadcast xxx.yyy.100.255         dev eth0
ip link set dev eth0   up
 ip route add default via xxx.yyy.100.1 metric 100 dev eth0
[ . . . ]
Configuring interface eth0:1=eth0:1 (inet)
run-parts --verbose /etc/network/if-pre-up.d
ip addr add xxx.yyy.100.23/255.255.255.0          dev eth0:1
ip link set dev eth0:1   up
[ . . . ]

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/876829

Title:
  Oneiric's ifupdown breaks ip aliases

Status in “ifupdown” package in Ubuntu:
  Triaged
Status in “ifupdown” source package in Oneiric:
  Triaged
Status in “ifupdown” source package in Precise:
  Triaged
Status in “ifupdown” package in Debian:
  New

Bug description:
  Using the following /etc/network/interfaces file doesn't create the ip
  alias, when the same file works fine in natty and lower:

  auto lo
  iface lo inet loopback

  auto eth0
  iface eth0 inet static
  address 192.168.122.201
  netmask 255.255.255.0
  broadcast 192.168.122.255
  gateway 192.168.122.1

  auto eth0:0
  iface eth0:0 inet static
  address 10.102.0.200
  netmask 255.255.255.0
  broadcast 10.102.0.255

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: ifupdown 0.7~alpha5.1ubuntu5
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Mon Oct 17 16:15:53 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20110302)
  SourcePackage: ifupdown
  UpgradeStatus: Upgraded to oneiric on 2011-08-16 (62 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/876829/+subscriptions




More information about the foundations-bugs mailing list