Netdev List
 help / color / mirror / Atom feed
* cannot assign IPv6 address to dummy interface
@ 2011-09-25 10:13 Marc Haber
  0 siblings, 0 replies; only message in thread
From: Marc Haber @ 2011-09-25 10:13 UTC (permalink / raw)
  To: netdev

Hi,

this is a locally compiled vanilla 3.0.4 kernel on Debian sid.

$ uname -a
Linux swivel 3.0.4-zgws1 #2 SMP PREEMPT Sat Sep 24 12:34:50 UTC 2011 x86_64 GNU/Linux
$ ip addr show dev dummy0
7: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue master br0 state UNKNOWN
    link/ether 06:b8:41:e5:aa:aa brd ff:ff:ff:ff:ff:ff
$ sudo ip addr add dev dummy0 192.168.18.254/24 brd +
$ sudo ip addr add dev dummy0 2a01:238:4071:321f::100/64
RTNETLINK answers: Permission denied
$ sudo ip addr add dev eth0 2a01:238:4071:321f::100/64
$ ip addr show dev eth0
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether f0:de:f1:79:90:1c brd ff:ff:ff:ff:ff:ff
    inet6 2a01:238:4071:321f::100/64 scope global tentative
       valid_lft forever preferred_lft forever
$ ip addr show dev dummy0
7: dummy0: <BROADCAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc noqueue master br0 state UNKNOWN
    link/ether 06:b8:41:e5:aa:aa brd ff:ff:ff:ff:ff:ff
    inet 192.168.18.254/24 brd 192.168.18.255 scope global dummy0
$

Why is root not allowed to assign an IPv6 address to a dummy interface?

Greetings
Marc

-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Mannheim, Germany  |  lose things."    Winona Ryder | Fon: *49 621 72739834
Nordisch by Nature |  How to make an American Quilt | Fax: *49 3221 2323190

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-09-25 10:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-25 10:13 cannot assign IPv6 address to dummy interface Marc Haber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox