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

Nils Pascal Illenseer 876829 at bugs.launchpad.net
Fri Oct 21 12:59:19 UTC 2011


Before oneiric ifupdown used ifconfig to set the network interface and
with oneiric iproute2 is used. iproute2 assigns new IPs directly to the
interface, e.g. eth0, if you like to have a virtual interface eth0:0,
you have to add a label explicitly.

ifconfig eth0:0 x.x.x.x up
vs.
ip addr add x.x.x.x/x dev eth0 label eth0:0

I assume ifupdown misses to set the label with iproute2.

-- 
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