OpenVZ Forum


Home » General » Support » support for bridging?
support for bridging? [message #1613] Thu, 16 February 2006 01:48 Go to next message
snowdeal is currently offline  snowdeal
Messages: 22
Registered: February 2006
Junior Member
i need support for bridging within the vps ( ultimately so i can set up a bridged vpn with a tap interface using openvpn [1]. i've already tested a routed vpn with a tun interface and that's working perfectly. ) i noticed that it doesn't appear that the the standard openvz kernel supports bridging [2], but that "dev" kindly offered to "build a test kernel for you if required." [2]

is this offer still available Smile

if not i might need a little hand holding for modifying the kernel on my smp machine. i'm assuming i can just install the sources from the from src rpm [3] and use the smp config [4] to get things done.

eric

[1] http://openvpn.net/
[2] http://forum.openvz.org/index.php?t=tree&th=131&mid= 967&&rev=&reveal=
[3] http://download.openvz.org/kernel/022stab064.1/ovzkernel-2.6 .8-022stab064.1.src.rpm
[4] http://download.openvz.org/kernel/022stab064.1/configs/kerne l-2.6.8-022stab064-i686-smp.config.ovz

[Updated on: Thu, 16 February 2006 03:37]

Report message to a moderator

Re: support for bridging? [message #1624 is a reply to message #1613] Thu, 16 February 2006 11:19 Go to previous messageGo to next message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

snowdeal,

I will be able to help only at the beginning of the next week Sad
but sure, my offer is still valid, though I foresee problems bridging Surprised
Just to make it sure once again, you want to bridge tun net device with some ethX, given for exclusive usage for VPS?

BTW, have you tried proxyarp?


http://static.openvz.org/userbars/openvz-developer.png
Re: support for bridging? [message #1635 is a reply to message #1624] Thu, 16 February 2006 16:24 Go to previous messageGo to next message
snowdeal is currently offline  snowdeal
Messages: 22
Registered: February 2006
Junior Member
dev wrote on Thu, 16 February 2006 06:19


I will be able to help only at the beginning of the next week Sad
but sure, my offer is still valid, though I foresee problems bridging Surprised
Just to make it sure once again, you want to bridge tun net device with some ethX, given for exclusive usage for VPS?

BTW, have you tried proxyarp?



thanks for the offer to help. but maybe i should check to see if it's possible first!

within a vps, i'd like to setup a "dummy nic" that i use to create a tap ( not tun ) bridge.

on a non-vps system, i would issue the following commands to create the bridge:

ifconfig dummy0 hw ether de:ad:be:ef:00:00
openvpn --mktun --dev tap0
brctl addbr br0
brctl addif br0 tap0
brctl addif br0 dummy0
ifconfig tap0 0.0.0.0 promisc up
ifconfig dummy0 0.0.0.0 promisc up
ifconfig br0 10.8.1.1 netmask 255.255.255.0 broadcast 10.8.1.255

but my end goal is just to be able to have a vpn that supports network broadcasts and allows browsing of windows file shares across the vpn without setting up a samba. if i can do that with a routed tun network ( which already appears to be working properly in the vps ) and proxyarp then i'd be happy since a bridged network is more complicated to set up and tear down than a routed one in openvpn.
Re: support for bridging? [message #1786 is a reply to message #1624] Fri, 24 February 2006 00:48 Go to previous message
snowdeal is currently offline  snowdeal
Messages: 22
Registered: February 2006
Junior Member
dev wrote on Thu, 16 February 2006 06:19

I will be able to help only at the beginning of the next week Sad
but sure, my offer is still valid


thanks for the offer to build a custom rpm, but with the release of the 022stab070.1 kernel, i took the opportunity to just recompile the kernel from sources with bridging enabled.
Previous Topic: Complie kernel 022stab070.1 warnings.
Next Topic: LVM snapshots on 2.6.8-022stab064.1-enterprise
Goto Forum:
  


Current Time: Sat May 04 23:14:45 GMT 2024

Total time taken to generate the page: 0.02827 seconds