OpenVZ Forum


Home » General » Support » Create private network between VPS not bound to NIC
Create private network between VPS not bound to NIC [message #12504] Tue, 01 May 2007 20:09 Go to next message
abachn is currently offline  abachn
Messages: 6
Registered: April 2007
Junior Member
I have a host machine with 2 NIC's, one connected to the public (internet) and one connected to a private (lan).

Is it possible to create a virtual network between some of the VPS on a server ?

Is it possible to have several of these virtual networks?

And finally, how do I do ?

/Anders
Re: Create private network between VPS not bound to NIC [message #12619 is a reply to message #12504] Fri, 04 May 2007 13:08 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

If I understand you right, then it is surely doable:

1. via routing and venet network devices you can setup appropriate routing rules in VE0. Take a look at this also http://wiki.openvz.org/Source_based_routing

2. Or via veth network devices and bridges. Using veth it is possible to create more looking like a real-life configurations via bridges. Search for veth, vznetcfg etc. on forum and wiki:
http://wiki.openvz.org/Virtual_Ethernet_device
http://wiki.openvz.org/Multiple_Network_Interfaces_And_ARP_F lux


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: Oopses in Glibc...
Next Topic: Anyone tried to create a Centos-5-beta os template?
Goto Forum:
  


Current Time: Wed Feb 21 00:52:07 GMT 2024

Total time taken to generate the page: 0.03074 seconds