[Bug 508996] Re: 'SIOCSIFFLAGS: Cannot assign requested address' when setting up IPv6 alias
Thiago Martins
thiagocmartinsc at gmail.com
Sat Jan 25 04:07:46 UTC 2014
Ubuntu Server 14.04 (or Debian) definitely needs a much better IPv6
support for ifupdown (or something entirely new), it is very hard to
maintain a huge IPv6-based /etc/network/interfaces files these days...
Basically, no IPv6 Alias or VLANs support for ifupdown... :-(
I'm trying to install Ubuntu Server 14.04 (or 12.04) in a IPv6-Only
network and it is a pain (Ubuntu Desktop, Windows and Mac works okay)...
IPv6 management is very easy when with Ubuntu Desktop but, when with
Server, it needs much more work to become more admin-friendly. =)
I know that you can have everything of your IPv6 network up and running
using "up ip -6 addr add xxxx/64 dev $IFACE and etc" but, it kills the
purpose of the /etc/network/interfaces file (if you use it just like a
Bash script)...
Long life for Ubuntu / Debian! Lets move to a IPv6-Only-World guys!!
IPv4 is a thing of the past... =P
Best,
Thiago
--
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/508996
Title:
'SIOCSIFFLAGS: Cannot assign requested address' when setting up IPv6
alias
Status in “ifupdown” package in Ubuntu:
Fix Released
Status in “ifupdown” source package in Precise:
Triaged
Status in “ifupdown” package in Debian:
Fix Released
Bug description:
Binary package hint: ifupdown
This is very similar to Bug #123773, but is specific to IPv6 and
should probably be tracked separately.
I don't have an instance ready to retest on, but this apparently
worked on Jaunty (9.04) and broke on Karmic (9.10). I'm actually re-
using the "/etc/network/interfaces" file that I used successfully
under Jaunty before upgrading to Karmic.
Per the IFCONFIG(8) man page, I'm attempting to define an IP alias in
/etc/network/interfaces:
auto eth0
iface eth0 inet static
address 192.168.1.1
netmask 255.255.255.0
auto eth0:0
iface eth0:0 inet6 static
address 2001:db8::1
netmask 64
(2001:db8::1 is only an example address.)
Attempting to perform an "ifup eth0:0" results in:
SIOCSIFFLAGS: Cannot assign requested address
Failed to bring up eth0:0.
Unlike Bug #123773, this is not coming from the wireless-tools or
other event scripts, as disabling them does not change the result.
The following command is a work-around, and works as a post-up command in /etc/network/interfaces:
ip addr add 2001:db8::1/64 dev eth0
Defining an IPv4 alias also works correctly using either the alias
stanza or the "ip addr add" command.
uname: Linux 2.6.31-17-generic #54-Ubuntu SMP Thu Dec 10 17:01:44 UTC 2009 x86_64 GNU/Linux
ifupdown package version is 0.6.8ubuntu21
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/508996/+subscriptions
More information about the foundations-bugs
mailing list