OpenVZ Forum


Home » General » Support » 2 eth interfaces on hardware node, need to access them both in vz's
2 eth interfaces on hardware node, need to access them both in vz's [message #33502] Fri, 17 October 2008 23:37 Go to next message
orait1 is currently offline  orait1
Messages: 1
Registered: October 2008
Location: work
Junior Member
Hello all,

I'm new to the list so please forgive my noobiness.

I have a host node that has 2 ethernet devices each connected to a seperate subnet. (1 subnet is an internal net, the other is the internet).
I need to let each of the vz's see both networks and default to routing out the internet interface.
I have scoured the docs, but everything I've read so far talks about having 3 interfaces all on the same subnet?

Does anybody have any ideas how I can do this?

Thanks in advance.
Re: 2 eth interfaces on hardware node, need to access them both in vz's [message #33503 is a reply to message #33502] Sat, 18 October 2008 09:13 Go to previous messageGo to next message
piavlo is currently offline  piavlo
Messages: 159
Registered: January 2007
Senior Member
you can create 2 bridges and assign each interface to separate bridge, then for each VE create 2 veth interfaces and assign each
to separate bridge

http://wiki.openvz.org/Differences_between_venet_and_veth
Re: 2 eth interfaces on hardware node, need to access them both in vz's [message #33546 is a reply to message #33502] Mon, 20 October 2008 21:46 Go to previous message
locutius is currently offline  locutius
Messages: 125
Registered: August 2007
Senior Member
"Let's asume we have a computer with 2 network cards, one connected to internet router, has IP address 5.88.52.189/27 and it's default route should gateway via 5.88.52.161. And second network connected to local area network 10.61.0.0/24. We want to create multiple OpenVZ Virtual Environments there with 2 virtual cards each, one with public IP from 5.88.52.0/27 range and other connected to local network."

http://vireso.blogspot.com/2008/02/2-veth-with-2-brindges-on -openvz-at.html
Previous Topic: ipTables - SSH
Next Topic: Bridge e networking problem
Goto Forum:
  


Current Time: Sun May 12 13:10:14 GMT 2024

Total time taken to generate the page: 0.01503 seconds