View previous topic :: View next topic |
Author |
Message |
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Wed Feb 05, 2014 6:30 am Post subject: ipv6 doesnt work through bridged tun device. |
|
|
I got a Fedora VM running on Gentoo host; the vm connects to a tun device and uses IPv6. It all works well until I bridge the tun device with the physical interface to get the VM Internet access.
Once that happens, I cant access the VM via ipv6; but it works for ipv4 and there's Internet access too.
The physical interface does not have ipv6 address and the Internet works on ipv4.
Following commands were used --
modprobe tun
/etc/init.d/NetworkManager stop
brctl addbr br
ip tuntap add mode tap veth
ifconfig eth1 0.0.0.0
brctl addif br veth eth1
ifconfig veth up
ifconfig eth1 up
ifconfig br up
dhcpcd br
echo "nameserver 8.8.8.8" > /etc/resolv.conf
ifconfig veth add fc00::1001/124
The VM has address fc00::1002/124 _________________ My blog |
|
Back to top |
|
|
AngelKnight Tux's lil' helper
Joined: 14 Jan 2003 Posts: 127
|
Posted: Thu Feb 06, 2014 8:45 am Post subject: |
|
|
On the host, assign the ipv6 addresses to the bridge (br) not the members (veth eth1). ipv4 works because dhcpcd assigned an ipv4 addresss to the bridge. |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Fri Feb 07, 2014 5:05 pm Post subject: |
|
|
AngelKnight wrote: | On the host, assign the ipv6 addresses to the bridge (br) not the members (veth eth1). ipv4 works because dhcpcd assigned an ipv4 addresss to the bridge. |
Yeah, I realized that. But it still doesn't work.
I'll experiment more and update. _________________ My blog |
|
Back to top |
|
|
dE_logics Advocate
Joined: 02 Jan 2009 Posts: 2253 Location: $TERM
|
Posted: Sat Feb 08, 2014 3:53 am Post subject: |
|
|
Ok, now it's working. _________________ My blog |
|
Back to top |
|
|
|