Re: Ethernet bridging with bridge-utils kills WAN



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
.



Relevant Pages

  • Re: remote desktop and VPN
    ... My plan is to use a VPN to connect to work, ... > remote desktop client to do a remote control. ... We did this with openvpn which is a debian package. ...
    (Debian-User)
  • Re: DHCP startup problems
    ... You won't get a lease, if you start DHCP client after ... But the address is the only way to identify the client. ... The DHCP client obtains/uses the DECnet address instead ... Address (and DECnet uses the DECnet address in parallel). ...
    (comp.os.vms)
  • Re: Is WEP the most secure encryption in wireless network security?
    ... I use OpenVPN, which comes with Linux and is also ... > available for Windows. ... both server and client, I don't know what I am doing. ... I am not familar with VPN. ...
    (alt.internet.wireless)
  • Re: DHCP Issue
    ... I'm bothered by the underlying problem of why using another network would ... but when you restart the DHCP client service. ...
    (microsoft.public.windowsxp.network_web)
  • Re: OpenVPN mit ISA2004
    ... sehe ich das OpenVPN ein SSL/TLS VPN fuer Session ... Ich koennte Dir sagen, wie Du mit einem VPN Client eine VPN ... Auf der OpenVPN Seite gibt es ein paar nette HowTo's ...
    (microsoft.public.de.german.isaserver)