Netdev List
 help / color / mirror / Atom feed
From: Marc Haber <mh+netdev@zugschlus.de>
To: netdev@vger.kernel.org
Subject: cannot assign IPv6 address to dummy interface
Date: Sun, 25 Sep 2011 12:13:00 +0200	[thread overview]
Message-ID: <20110925101300.GA3316@torres.zugschlus.de> (raw)

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

                 reply	other threads:[~2011-09-25 10:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110925101300.GA3316@torres.zugschlus.de \
    --to=mh+netdev@zugschlus.de \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox