Re: Ethernet bridging with bridge-utils kills WAN
- From: Nikos Chantziaras <realnc@xxxxxxxx>
- Date: Mon, 26 Nov 2007 01:42:45 +0200
Pascal Hambourg wrote:
Hello,
Nikos Chantziaras a écrit :
The script works; the br0 bridge is established (bridging eth0 and the virtual tap0) and openvpn can be started. Clients can connect OK and become part of the VPN.
The problem lies elsewhere. After executing the script, the server can not connect to the WAN anymore:
> ping www.google.com
connect: Network is unreachable
My guess is that you forgot to recreate a default route using br0
instead of eth0. Note that letting a DHCP client daemon (dhclient or
other) running on eth0 may interfere with the bridge. If you want to
keep using DHCP, IMO you should :
- stop eth0 and its DHCP client
- create the bridge
- run the DHCP client on br0 to get the IP settings including the
default gateway.
DHCP has to be used (for now; in the future a static IP will be used, reserved for this box).
Anyway, this seemed to cure it:
route add default gw $gw_addr
(gw_addr is the gateway IP)
though it takes about 15 seconds for the connectivity to come back.
Now I'm left with some other problems; OpenVPN-related though. Clients can ping each other in the 10.8.0.1-50 range, but UDP broadcast doesn't seem to work. For example, computer games use it to host a game in a LAN. But since no one seems to actually see the started hosts, I assume UDP broadcast isn't working...
It's the first time I deal with setting up a VPN and I'm still a bit clueless :P
.
- Follow-Ups:
- Re: Ethernet bridging with bridge-utils kills WAN
- From: Pascal Hambourg
- Re: Ethernet bridging with bridge-utils kills WAN
- References:
- Ethernet bridging with bridge-utils kills WAN
- From: Nikos Chantziaras
- Re: Ethernet bridging with bridge-utils kills WAN
- From: Pascal Hambourg
- Ethernet bridging with bridge-utils kills WAN
- Prev by Date: Re: comments abour outgoing SSH blocking
- Next by Date: Re: Wireless security
- Previous by thread: Re: Ethernet bridging with bridge-utils kills WAN
- Next by thread: Re: Ethernet bridging with bridge-utils kills WAN
- Index(es):
Relevant Pages
|