05.08.2013 Views

[PDF] Parallels Server 5 Bare Metal

[PDF] Parallels Server 5 Bare Metal

[PDF] Parallels Server 5 Bare Metal

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Creating VLAN Adapters<br />

Managing <strong>Parallels</strong> <strong>Server</strong> <strong>Bare</strong> <strong>Metal</strong> Network<br />

<strong>Parallels</strong> <strong>Server</strong> <strong>Bare</strong> <strong>Metal</strong> allows you to create new VLAN adapters on the <strong>Parallels</strong> server. You<br />

can use these adapters later on to connect your virtual machines and Containers to any of the<br />

available Virtual Networks (for more information on Virtual Networks, see Managing Virtual<br />

Networks (p. 175)). VLAN adapters can be made using the vznetcfg vlan add command. To<br />

create a new VLAN adapter, you need to specify two parameters.<br />

• VLAN ID—an arbitrary integer number which will uniquely identify the virtual LAN among other<br />

VLANs on the server.<br />

• Physical network adapter on the server to which the VLAN is to be bound.<br />

For example, you can execute the following command to make a new VLAN adapter, associate it<br />

with a VLAN having the ID of 5 (i.e. with VLAN 5), and attach the VLAN adapter to the eth0<br />

physical adapter on the server:<br />

# vznetcfg vlan add eth0 5<br />

To check that the VLAN adapter has been successfully created, execute the following command:<br />

# vznetcfg if list<br />

Name Type Network ID Addresses<br />

eth0 nic 192.168.0.150/22,dhcp<br />

eth0.5 vlan<br />

...<br />

VLAN adapters can be easily identified by the vlan designation shown in the Type column of the<br />

command output. As you can see, only one VLAN adapter currently exists on the server. It is<br />

assigned the name of eth0.5. This name is generated automatically on the basis of the specified<br />

VLAN ID and the name of the physical adapter to which the VLAN adapter is tied.<br />

At any time, you can delete the eth0.5 VLAN adapter and thus destroy VLAN 5 by issuing the<br />

following command:<br />

# vznetcfg vlan del eth0.5<br />

Networking Modes in <strong>Parallels</strong> <strong>Server</strong> <strong>Bare</strong> <strong>Metal</strong><br />

In <strong>Parallels</strong> <strong>Server</strong> <strong>Bare</strong> <strong>Metal</strong>, any virtual machine and Container can operate in one of the two<br />

networking modes:<br />

• host-routed<br />

• virtual network<br />

Detailed information on these modes is given in the following sections.<br />

167

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!