Listing Adapters
You can view the physical, virtual, and VLAN network adapters on your host using the vznetcfg utility. For example, you can execute the following command to list the available adapters:
# vznetcfg if list
Name Type Network ID Addresses
eth0 nic Bridged 10.30.18.41/16,fe80::20c:29ff:fee8:9419/64,dhcp
br1 bridge Bridged fe80::200:ff:fe00:0/64
br0 bridge Host-Only fe80::200:ff:fe00:0/64
The information on adapters is presented in the table with the following columns:
Column
|
Description
|
Name
|
Adapter name.
|
Type
|
Type of the network adapter. It can be one of the following:
nic denotes a physical adapter.vlan stands for a VLAN adapter.bridge is a virtual bridge automatically created for each Virtual Network on the host.veth X is a virtual network adapter automatically created for each veth network adapter in each Container.vme N is a virtual network adapter automatically created for each network adapter that exists in a virtual machine and operates in the bridged mode.
|
Network ID
|
ID of the Virtual Network to which the network adapter is connected. Detailed information on Virtual Networks is provided in Managing Virtual Networks.
|
Addresses
|
IP address and subnet mask assigned to the network adapter. dhcp denotes that the adapter gets its network parameters from a DHCP server.
|
|