[Bug 492650] Re: cannot configure an interface which only uses IPv6 router advertisements
Colin Watson
cjwatson at canonical.com
Tue Aug 9 13:51:03 UTC 2011
I've just uploaded ifupdown 0.7~alpha5.1ubuntu1 to Oneiric, containing
the IPv6 'auto' method.
** Changed in: ifupdown (Ubuntu)
Status: In Progress => Fix Released
--
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/492650
Title:
cannot configure an interface which only uses IPv6 router
advertisements
Status in “ifupdown” package in Ubuntu:
Fix Released
Bug description:
Binary package hint: ifupdown
I'm unable to configure an interface which has NO IPv4 address, but
only a dynamic IPv6 address which is assigned using IPv6 router
advertisements (using radvd or similar tools).
/etc/network/interfaces lacks a way to define an interface as an IPv6
only interface which uses router advertisements. If the interface has
an IPv4 address, router advertisement for IPv6 works, without an IPv4
address configured on the interface, it fails.
There's no such thing as the following possible in
/etc/network/interfaces
iface eth0 inet6 dhcp
(fails as invalid command)
The only way to fix this is by defining the interface manually:
auto eth0
eth0 inet6 manual
however, this only works after running 'ifup eth0' manually, so the
IPv6 address won't be available on the interface after a reboot even
though 'auto eth0' has been specified, but it gives the desired
result:
% ip addr ls dev eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 54:52:00:4c:e9:e7 brd ff:ff:ff:ff:ff:ff
inet6 2001:7b8:3:47:5652:ff:fe4c:e9e7/64 scope global dynamic
valid_lft 2591979sec preferred_lft 604779sec
inet6 fe80::5652:ff:fe4c:e9e7/64 scope link
valid_lft forever preferred_lft forever
I tested this on both Jaunty and Karmic.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/492650/+subscriptions
More information about the foundations-bugs
mailing list