Re: VLAN in Guest with DHCP [message #21630 is a reply to message #21407] |
Fri, 12 October 2007 12:10  |
khorenko
Messages: 533 Registered: January 2006 Location: Moscow, Russia
|
Senior Member |
|
|
Hi Mark,
i suppose the most simple way for you is to create the following configuration:
* let's Hardware Node (HN) has a physical interface eth0
* create a VLAN device (let it be 'eth0.222') on the HN
* create a virtual eth (veth) device for each VE which you want to use VLAN device
* on the HN create a bridge containing VLAN device (eth0.222) and virtual eth devices of the VEs (for example veth101.0, veth102.0, etc.)
After that you can configure veth interfaces inside VEs with internal VPN IPs (or use DHCP, as you mentioned).
The following article might be useful for you:
http://wiki.openvz.org/Using_private_IPs_for_Hardware_Nodes
Hope this helps.
Regards
--
Konstantin.
If your problem is solved - please, report it!
It's even more important than reporting the problem itself...
|
|
|