OpenVZ Forum


Home » Mailing lists » Users » VLAN Setup
VLAN Setup [message #12751] Tue, 08 May 2007 17:10
Rudy Setiawan is currently offline  Rudy Setiawan
Messages: 4
Registered: April 2007
Junior Member
Hi all,

is there an easy way adding an IP into a VE who has VLAN/VENET?

The way that I am currently doing it:
(just like in the wiki)
host # vconfig add eth0 <vlan_id>
host # vzctl set <VEID> --netdev_add eth0.<vlan_id> --save

Then enter the <VEID> and bring up the eth0.<vlan_id> interface with the associated IP and add the route statement in it.

So it's kind a manual way to do it, is there a command in vzctl that I can use to have all those configured on the fly?

And what vars that I need to put into the <veid>.conf file in order to have that IP attach to the netdev?

Thank you all.

Regards,
Rudy
Previous Topic: new version of vznetaddroute script
Next Topic: error from RkHunter and ChkRootKit
Goto Forum:
  


Current Time: Tue May 21 16:11:30 GMT 2024

Total time taken to generate the page: 0.01501 seconds