[OpenVPN home] [Date Prev] [Date Index] [Date Next]
[OpenVPN mailing lists] [Thread Prev] [Thread Index] [Thread Next]
Google
 
Web openvpn.net

[Openvpn-users] Ethernet Bridge not quite working


  • Subject: [Openvpn-users] Ethernet Bridge not quite working
  • From: andy liebman <andyliebman@xxxxxxx>
  • Date: Thu, 05 Jan 2006 16:43:19 -0500

Hi.

I have set up an Ethernet bridge with the server on Linux (Mandriva 2006) and the client on Windows.

I start up openvpn on the Linux machine. Start up messages indicate that it starts fine. Start up the client on the Windows machine. Initiate a connection to the Linux server and the two machines connect fine over the Internet. The Windows machine TAP device gets an IP address (10.8.0.50).

However, I can't ping the Linux server from the Windows machine, and I can't reach any other addresses on the Linux network.

I'm wondering if I configured the bridge startup script or server.conf file incorrectly. It seems to me that the bridge (br0) might have the wrong IP address. When I do an "ipconfig", I get back that IT has the address 192.168.1.90. Should the bridge take the IP address from the physical device that is being bridged? Should I be seeing the TAP device having an IP address (i.e., 10.8.0.4)?

The other weird thing is that ipconfig tells me the bridge is being made with an Intel e100 (which is a NIC associated with eth2, not eth1). Eth1 is a Gigabit NIC and it uses the e1000 driver.

The particulars of my set up are as follows.

The Linux box has 2 Ethernet ports and a IEEE 1394 port.
-- eth0 is associated with the IEEE 1394 port
-- eth1 is assocaited with an Intel Pro 1000 Gigabit NIC and has IP
   address 192.168.1.90, by which the machine connects to the Office
   network
-- eth2 is associated with a 10/100 Intel NIC (e100)

I set up the bridgestarup.sh script as follows:

   # Define Bridge Interface
   br="br0"

# Define list of TAP interfaces to be bridged,
# for example tap="tap0 tap1 tap2".
tap="tap0"
# Define physical ethernet interface to be bridged
# with TAP interface(s) above.
eth="eth1"
eth_ip="192.168.1.90"
eth_netmask="255.255.255.0"
eth_broadcast="192.168.1.255"




In the server.conf script, I set up the server-bridge line as follows.

   server-bridge 10.8.0.4 255.255.255.0 10.8.0.50 10.8.0.100

I don't currently have a firewall running on the Linux server -- it is behind a CableDSL router using NAT, with the openvpn port forwarded to the Linux box.

Any good suggestions on how to resolve this problem would be appreciated.

____________________________________________
Openvpn-users mailing list
Openvpn-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/openvpn-users


Warning: require_once(../../../archive_common.php) [function.require-once]: failed to open stream: No such file or directory in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00108.html on line 225

Fatal error: require_once() [function.require]: Failed opening required '../../../archive_common.php' (include_path='/usr/local/lib/php') in /home/openvpn/domains/openvpn.net/public_html/archive/openvpn-users/2006-01/msg00108.html on line 225