root@OpenWrt:/# uname -a
Linux OpenWrt 3.2.15-00054-g0fccead-dirty #6 Thu Jun 20 22:19:27 IST 2013 
x86_64 GNU/Linux

I have a configured a bridge and a tap interface on the host system. The tap 
interface is bridged with eth1 of the UML.

user@ubuntu-10784976:/etc/init.d$ ifconfig br1
br1       Link encap:Ethernet  HWaddr 1a:65:a0:13:71:84
          inet6 addr: 2001:220:abcd:70::1/64 Scope:Global
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

user@ubuntu-10784976:/etc/init.d$ ifconfig tap2
tap2      Link encap:Ethernet  HWaddr 1a:65:a0:13:71:84
          inet6 addr: fe80::1865:a0ff:fe13:7184/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:90644 errors:0 dropped:0 overruns:0 frame:0
          TX packets:116 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500
          RX bytes:36438888 (36.4 MB)  TX bytes:13932 (13.9 KB)

user@ubuntu-10784976:/etc/init.d$ sudo brctl show
bridge name     bridge id               STP enabled     interfaces
br0             8000.6af7bb7f21a5       no              tap0
                                                        tap1
br1             8000.1a65a0137184       no              tap2



________________________________
 From: madhusudan r <madhu...@yahoo.com>
To: "user-mode-linux-user@lists.sourceforge.net" 
<user-mode-linux-user@lists.sourceforge.net> 
Sent: Monday, 24 June 2013 10:03 AM
Subject: [uml-user] Configure UML to work in IPv6 mode
 


I'm trying to run an UML in IPv6 mode on a Linux (Ubuntu) box, and have not 
been successful with it. I could get the UML to boot up alright, but the 
interfaces do not 
seem to accept IPv6 addresses. The file /etc/config/network looks like 
this:

config interface lan
        option ifname   'eth1'
        option proto    'static'
        option ip6addr  '2001:220:abcd:70::10/64'

Adding it manually doesn’t seem to help either:

root@OpenWrt:/# ifconfig eth1 add 2001:220:abcd:70::10/64
ifconfig: socket(AF_INET6,2,0): Address family not supported by protocol
root@OpenWrt:/# ip -f inet6 addr add dev eth1 2001:220:abcd:70::10/64
RTNETLINK answers: Operation not supported
root@OpenWrt:/# ip -f inet6 addr add dev eth1 2001:220:abcd:70::10
RTNETLINK answers: Operation not supported
root@OpenWrt:/# ip addr add dev eth1 2001:220:abcd:70::10/64
RTNETLINK
 answers: Operation not supported

I referenced a few OpenWRT links that talk about how to enable IPv6 on 
the system, and believe I have it in place. Could you please help me 
understand what is missing or what is the problem? 


I'm not sure what relevant information to provide. Please let me know.

This is what is displayed as the startup banner:

BusyBox v1.19.4 (2013-02-10 13:17:40 GMT) built-in shell (ash)
Enter 'help' for a list of built-in commands.
  _______                     ________        __
|       |.-----.-----.-----.|  |  |  |.----.|  |_
|   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
|_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
-----------------------------------------------------
ATTITUDE ADJUSTMENT (Bleeding Edge, r33315)
-----------------------------------------------------
  * 1/4 oz Vodka      Pour all ingredients into
 mixing
  * 1/4 oz Gin        tin with ice, strain into glass.
  * 1/4 oz Amaretto
  * 1/4 oz Triple sec
  * 1/4 oz Peach schnapps
  * 1/4 oz Sour mix
  * 1 splash Cranberry juice
-----------------------------------------------------
root@OpenWrt:/#
root@(none):/# opkg install kmod-ipv6
Package kmod-ipv6 (3.2.15-1) installed in root is up to date.
root@OpenWrt:/#

Thanks!
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user

Reply via email to