Skip to contentSkip to conversation

Bridging OpenVPN on an interface that has multiple virtual aliases]

Openvpn-devel Emrah 2 participants 2 messages Jul 14, 2009

lore
Share & tools
lore

Emrah

author
#0 lore raw

Hello Dev guys,

Any idea here about my issue?

Best regards,
Emrah

Hi,

I am trying to use OpenVPN in bridge mode on a box that has multiple IP aliases. eth0, eth0:0, eth0:1 and so on.
My questions are:
* What are the interfaces I am supposed to bridge? Only eth0 or additional stuff?
* Once eth0 and tap0 become br0, how do I listen to my IP addresses like I used to do with eth0:x?

For instance, when I bridge eth0 and I boot a virtual server that is supposed to listen on eth0:0, my ifconfig shows br0 with the main IP and eth0 with the alias IP address. Both are reachable but users are not bridged anymore.

Your help will be greately appreciated. I'm stuck!

Cheers,
Emrah

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

#1 lore raw

I use aliases of the bridge device instead.

So instead of eth0:0, eth0:1, I have br0:0, br0:1, etc. Works fine for me. I have a startup script that sets up the interfaces and starts OpenVPN.

It starts the bridge between eth0 and tap0, then adds aliases to the new br0 interface.

Works fine for me on a bunch of boxes.

Andy.

Quoted 48 lines · Emrah

Hello Dev guys,

Any idea here about my issue?

Best regards,
Emrah

I am trying to use OpenVPN in bridge mode on a box that has multiple IP aliases. eth0, eth0:0, eth0:1 and so on.
My questions are:
* What are the interfaces I am supposed to bridge? Only eth0 or additional stuff?
* Once eth0 and tap0 become br0, how do I listen to my IP addresses like I used to do with eth0:x?

For instance, when I bridge eth0 and I boot a virtual server that is supposed to listen on eth0:0, my ifconfig shows br0 with the main IP and eth0 with the alias IP address. Both are reachable but users are not bridged anymore.

Your help will be greately appreciated. I'm stuck!

Cheers,
Emrah

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Openvpn-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-users

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel