Networking Forums

Networking Forums > Computer Networking > Linux Networking > Bridging and OpenVPN

Reply
Thread Tools Display Modes

Bridging and OpenVPN

 
 
André Hänsel
Guest
Posts: n/a

 
      06-14-2007, 07:23 PM
Hi,

while installing OpenVPN to integrate a remote client into a LAN some
questions came up:

The remote client should get a LAN IP. But even when I set an explicit
route to the remote client over the TAP device and enter ARP entries
manually, routing does not function properly. Has just something gone
wrong or will this a priori not work? Why does it work with a ppp
device?

I tried to set up a bridge to link the TAP device to eth0, but
apparently eth0 does not work any longer when it is part of a bridge.
Correct?

Regards,
André

 
Reply With Quote
 
 
 
 
Lasse Jensen
Guest
Posts: n/a

 
      06-14-2007, 08:09 PM
André Hänsel wrote:

> Hi,
>
> while installing OpenVPN to integrate a remote client into a LAN some
> questions came up:
>
> The remote client should get a LAN IP. But even when I set an explicit
> route to the remote client over the TAP device and enter ARP entries
> manually, routing does not function properly. Has just something gone
> wrong or will this a priori not work? Why does it work with a ppp
> device?
>
> I tried to set up a bridge to link the TAP device to eth0, but
> apparently eth0 does not work any longer when it is part of a bridge.
> Correct?


You have to ifconfig eth0 down; ifconfig eth0 up 0.0.0.0; ifconfig tap0
down; ifconfig tap0 up 0.0.0.0; brctl addbr br0; btcrl addif eth0; brctl
addif tap0; ifconfig br0 up the.ip.you.want

--
Lasse Jensen [fafler at g mail dot com]
Linux, the choice of a GNU generation.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
openvpn problem Marco Linux Networking 2 11-21-2008 05:35 AM
help setting up first openvpn Dave Linux Networking 4 12-22-2007 10:19 AM
OpenVPN Problems PLZ Help !!! TIA Snoopy :-)) Linux Networking 2 06-27-2007 11:38 PM
openvpn v. freeswan /dev/null Linux Networking 2 12-07-2004 01:23 AM
OpenVPN - Implementation ?'s tonydm Linux Networking 1 11-22-2004 03:13 PM



1 2 3 4 5 6 7 8 9 10 11