Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Networking & Security
  • Search

ipv6 doesnt work through bridged tun device.

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
dE_logics
Advocate
Advocate
User avatar
Posts: 2350
Joined: Fri Jan 02, 2009 3:20 am
Location: $TERM
Contact:
Contact dE_logics
Website

ipv6 doesnt work through bridged tun device.

  • Quote

Post by dE_logics » Wed Feb 05, 2014 6:30 am

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
Top
AngelKnight
Tux's lil' helper
Tux's lil' helper
Posts: 127
Joined: Tue Jan 14, 2003 3:21 am

  • Quote

Post by AngelKnight » Thu Feb 06, 2014 8:45 am

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.
Top
dE_logics
Advocate
Advocate
User avatar
Posts: 2350
Joined: Fri Jan 02, 2009 3:20 am
Location: $TERM
Contact:
Contact dE_logics
Website

  • Quote

Post by dE_logics » Fri Feb 07, 2014 5:05 pm

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
Top
dE_logics
Advocate
Advocate
User avatar
Posts: 2350
Joined: Fri Jan 02, 2009 3:20 am
Location: $TERM
Contact:
Contact dE_logics
Website

  • Quote

Post by dE_logics » Sat Feb 08, 2014 3:53 am

Ok, now it's working.
My blog
Top
Post Reply

4 posts • Page 1 of 1

Return to “Networking & Security”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic