You're right about 'ifconfig' belonging to busybox. But things work fine for IPv4 with exactly the same procedure.

Also, in IPv6, eth1 comes up with link-local address; it just doesn't get assigned the specified address. Assigning the v6 address from the command-line works fine though.


From: Michael Richardson <mcr@sandelman.ca>
To: madhusudan r <madhurjf@yahoo.com>
Cc: "user-mode-linux-user@lists.sourceforge.net" <user-mode-linux-user@lists.sourceforge.net>
Sent: Monday, 24 June 2013 8:17 PM
Subject: Re: [uml-user] Configure UML to work in IPv6 mode


Since you seem to have IPv6 module loaded, and IPv6 addresses in your
ifconfig output, but your ifconfig won't add it.
If your 'ifconfig' from busybox?  Maybe it is too limited to do the work.
You mention WRT, which is why I suspect ifconfig is really at fault.

But, your ifconfig line seems wrong to me:
    ifconfig eth1 inet6 2001:220:abcd:70::10/64 up

would seem to be the right incantation.

I usually do:
  ip -6 add addr 2001:220:abcd:70::10/64 dev eth1

--
]              Never tell me the odds!                | ipv6 mesh networks [
]  Michael Richardson, Sandelman Software Works        | network architect  [
]    mcr@sandelman.ca  http://www.sandelman.ca/       |  ruby on rails    [