create a private network. [message #13182] |
Wed, 23 May 2007 05:48 |
pringleso
Messages: 7 Registered: May 2007
|
Junior Member |
|
|
Hi,
I've used http://wiki.openvz.org/Using_NAT_for_VE_with_private_IPs to give my VEs internet access, great it works. Now i want to create a private LAN between all the VEs (since some people want to do things like NFS) but not using their current ips since i monitor internet->ve and ve->internet traffic.
I've looked at http://wiki.openvz.org/Virtual_Ethernet_device but it doesnt seem to hint as to how to do that. Can anybody help?
thanks a lot.
edit:
i read the guide http://wiki.openvz.org/Virtual_Ethernet_device again and i got a small lan between the hn and a ve, however, i get this error when i want to add another ve to the lan
[root@hostnode] vzctl set 102 --netif_add eth0,00:12:34:56:78:9C,veth101.0,00:12:34:56:78:9A --save
Configure veth devices: veth101.0
Unable to create veth: File exists
Saved parameters for VE 102
the problem is that i already created veth when i copy pasted the command for VEID 101
can anybody help
thanks
[Updated on: Wed, 23 May 2007 15:46] Report message to a moderator
|
|
|
|
|
|
|
Re: create a private network. [message #13419 is a reply to message #13182] |
Sat, 26 May 2007 09:28 |
kingneutron
Messages: 30 Registered: May 2007 Location: NE IL, USA
|
Member |
|
|
[[
> vzctl set 102 --netif_add eth0,00:12:34:56:78:9C,veth101.0,00:12:34:56:78:9A --save
Configure veth devices: veth101.0
Unable to create veth: File exists
Saved parameters for VE 102
]]
--Note that if you are modifying parms for VE 102, you should use "veth102.0" in vzctl line, and a different MAC address.
|
|
|