What am I doing wrong on my bridged settings?

Need help configuring your VPN? Just post here and you'll get that help.

Moderators: TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech, TinCanTech

Forum rules
Please use the [oconf] BB tag for openvpn Configurations. See viewtopic.php?f=30&t=21589 for an example.
Post Reply
kn6
OpenVpn Newbie
Posts: 4
Joined: Tue Aug 30, 2011 9:19 pm

What am I doing wrong on my bridged settings?

Post by kn6 » Tue Aug 30, 2011 9:39 pm

I have my LAN connection set with a static ip via the tcp/ip settings.

LAN settings below:


Image

Now here is my bridge settings.
(only has the tap adapter bridged)

Image

However, the moment I add the LAN to the bridge everything stops working and I get a connectivity error.

If I use DHCP with the bridge (obtain ip address automatically), and let the bridge assign it's own ip with the LAN bridged everything works fine.

I don't get it. The tutorial says to give the bridge an IP & network mask and nothing more.

So what am I doing wrong?

LAN Gateway IP: 10.0.1.1
LAN IP: 10.0.1.210
BRIDGE IP: 10.0.1.211
<---- should this be something different?

Is there no way to assign a static IP once you bridge the LAN?

I have to be doing something wrong.

Thx,
KN

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: What am I doing wrong on my bridged settings?

Post by Mimiko » Wed Aug 31, 2011 5:31 am

everything stops working
Even the mouse does not move? Be more specific please.
I get a connectivity error.
Because you don't specify the default gateway 10.0.1.1 and your computer does not know where the internet is.

When you connect two adapters in a bridge, you can set IP only for the bridge, not for per adapter appart.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: What am I doing wrong on my bridged settings?

Post by janjust » Wed Aug 31, 2011 7:47 am

first bind the tap-win32 and ethernet adapters, then assign a static IP to the newly formed bridge.

kn6
OpenVpn Newbie
Posts: 4
Joined: Tue Aug 30, 2011 9:19 pm

Re: What am I doing wrong on my bridged settings?

Post by kn6 » Thu Sep 01, 2011 1:27 am

Even the mouse does not move? Be more specific please.
Sorry disregard this. I just lose connectivity.
Because you don't specify the default gateway 10.0.1.1 and your computer does not know where the internet is.
When you connect two adapters in a bridge, you can set IP only for the bridge, not for per adapter appart.
Yes. But I was following the openvpn tutorial for bridging and it only said to add the ip & mask, this is why I was getting confused. Even with the gateway added things still did not work.

However, I got it to work by filling all the settings in, including the DNS.

Is that normal? Maybe I misunderstood the tutorial but I was under the impression you were only supposed to put the ip and network mask and not fill in anything else on the bridge.

Everything seems to be working fine with the IP/NetworkMask/Gateway/DNS all filled with the correct info.
first bind the tap-win32 and ethernet adapters, then assign a static IP to the newly formed bridge.
Yes, I just kept trying it different ways because it wouldn't work. I saw a tip in the tutorial about losing settings due to not filling in the bridge tcp settings first before connecting LAN? So I was trying it that way.

Anyways see above. I just want to make sure it's ok to use my DNS & gateway on the bridge settings.

Thanks again.
KN

User avatar
Mimiko
Forum Team
Posts: 1564
Joined: Wed Sep 22, 2010 3:18 am

Re: What am I doing wrong on my bridged settings?

Post by Mimiko » Thu Sep 01, 2011 5:48 am

But I was following the openvpn tutorial for bridging and it only said to add the ip & mask,
The tutorial covers the OpenVPN minimal part needed to run it, not the basic knowledge on working with adapters and internet.
this is why I was getting confused. Even with the gateway added things still did not work.
I didnt seen your configuration file, may be you use canonical name in config insteed of ip, thats why a dns server is needed. This will not be covered in OpenVPN tutorial, because the one who implement VPN must know how networking works.

Post Reply