Forums

Skip to content

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

Tunnel adapter

Having problems getting connected to the internet or running a server? Wondering about securing your box? Ask here.
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
JROCK2004
Guru
Guru
User avatar
Posts: 450
Joined: Tue Mar 02, 2004 5:31 am
Location: PA
Contact:
Contact JROCK2004
Website

Tunnel adapter

  • Quote

Post by JROCK2004 » Fri Mar 08, 2013 9:55 pm

Ok so I finally got my tunneling down in Gentoo, but the problem I have is when I reboot I am not getting online. I have to do the following everytime. Any ideas on how I can fix this?

Code: Select all

tunctl -d tap0
tunctl -b
brctl addifbr0 tap0

Here is my /etc/conf.d/net

Code: Select all

config_br0="dhcp"
bridge_br0="dhcp"
config_tap0="dhcp"
Thanks
Top
syn0ptik
Apprentice
Apprentice
User avatar
Posts: 267
Joined: Wed Jan 09, 2013 9:44 am

  • Quote

Post by syn0ptik » Sat Mar 09, 2013 12:11 am

I think so interface br0 shouldnt' be with dhcp, just end interfaces.
Top
Mad Merlin
Veteran
Veteran
Posts: 1155
Joined: Mon May 09, 2005 7:37 pm
Contact:
Contact Mad Merlin
Website

  • Quote

Post by Mad Merlin » Sat Mar 09, 2013 12:53 am

Two things:

1) You need your tap to be part of your bridge.
2) You can't run a dhcp client on both the tap and the bridge, run it only on the bridge.

Like this:

Code: Select all

tuntap_tap0="tap"
config_tap0="null"

config_eth0="null"

rc_need_br0="net.tap0 net.eth0"
bridge_br0="eth0 tap0"
config_br0="dhcp"
brctl_br0="setfd 0
sethello 0"
Also, make sure all of /etc/init.d/net.{tap0,br0,eth0} exist and are all symlinks to net.lo.
Game! - Where the stick is mightier than the sword!
Top
Post Reply

3 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