Previous page

Next page

Locate page in Contents

Print this page

Assigning a Virtuozzo virtual network ID to a physical network adapter or to a non-Virtuozzo virtual network.

WindowsAvailable in Windows only.

Before you can set a virtual ethernet adapter inside a Container to use a specific physical network adapter or a non-Virtuozzo virtual network, you have to assign a Virtuozzo virtual network ID to that adapter or a network.

To retrieve the list of the available physical adapters and non-Virtuozzo virtual networks, use the list call.

For the information on creating virtual adapters inside Virtuozzo Containers, see net_vethType.

Example:

Assigning a network ID vznet1 to the physical adapter AMD PCNET Family PCI Ethernet Adapter #2.

Input

<ns1:packet xmlns:ns3="http://www.swsoft.com/webservices/vzl/4.0.0/types" xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:ns2="http://www.swsoft.com/webservices/vza/4.0.0/vzanetworkm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="32c45c847e6t63cbree0" time="2007-02-06T09:20:34+0000" priority="0" version="4.0.0">

<ns1:target>vzanetworkm</ns1:target>

<ns1:data>

<ns2:vzanetworkm>

<ns2:set>

<ns2:net_device xsi:type="ns3:net_nicType">

<ns3:id>AMD PCNET Family PCI Ethernet Adapter #2</ns3:id>

<ns3:network_id>dnpuZXQx</ns3:network_id>

</ns2:net_device>

</ns2:set>

</ns2:vzanetworkm>

</ns1:data>

</ns1:packet>

Output

<?xml version="1.0" encoding="UTF-8"?><ns1:packet xmlns:ns1="http://www.swsoft.com/webservices/vzl/4.0.0/protocol" xmlns:ns2="http://www.swsoft.com/webservices/vza/4.0.0/vzanetworkm" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="38c45c84aeft2213ree0" time="2007-02-06T09:33:31+0000" priority="0" version="4.0.0">

<ns1:origin>vzanetworkm</ns1:origin>

<ns1:target>vzclient9</ns1:target>

<ns1:dst>

<ns1:director>gend</ns1:director>

</ns1:dst>

<ns1:data>

<ns2:vzanetworkm>

<ns1:ok/>

</ns2:vzanetworkm>

</ns1:data>

<ns1:src>

<ns1:director>gend</ns1:director>

</ns1:src>

</ns1:packet>

Please send us your feedback on this help page