View previous topic :: View next topic |
Author |
Message |
JROCK2004 Guru
Joined: 02 Mar 2004 Posts: 450 Location: PA
|
Posted: Fri Mar 08, 2013 9:55 pm Post subject: Tunnel adapter |
|
|
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: |
tunctl -d tap0
tunctl -b
brctl addifbr0 tap0
|
Here is my /etc/conf.d/net
Code: |
config_br0="dhcp"
bridge_br0="dhcp"
config_tap0="dhcp"
|
Thanks |
|
Back to top |
|
|
syn0ptik Apprentice
Joined: 09 Jan 2013 Posts: 267
|
Posted: Sat Mar 09, 2013 12:11 am Post subject: |
|
|
I think so interface br0 shouldnt' be with dhcp, just end interfaces. |
|
Back to top |
|
|
Mad Merlin Veteran
Joined: 09 May 2005 Posts: 1155
|
Posted: Sat Mar 09, 2013 12:53 am Post subject: |
|
|
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: |
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! |
|
Back to top |
|
|
|