[PVE-User] WG: More than 1 virtual NICs in guest machine

Paul Gray gray at cs.uni.edu
Fri Sep 23 15:49:05 CEST 2011


On 09/23/2011 08:45 AM, Max Jakob wrote:
> Thank you, guys, for your quick answers. It seems to be really easy, but
> anyhow it doesn't work for me as it should:
>
> Here once more in detail my scenario:
>
>
> limpopo:/etc/qemu-server# cat 137.conf
> name: polokwane
> ide2: local:iso/ubuntu-10.04.1-server-amd64.iso,media=cdrom
> vlan0: virtio=32:5E:AB:B7:2C:0C

> vlan1: virtio=8E:37:A6:7E:65:D9
>
>
> Then I restart the guest and would expect that a second NIC device
> (eth1) shines up here:
>
> root at polokwane:~# ifconfig
> eth0 Link encap:Ethernet Hardware Adresse 32:5e:ab:b7:2c:0c


Try "ifconfig -a", which will show all interfaces, not just those that 
have been configured

Chances are your second interface is registered, but not configured yet.

-- 
Paul Gray                                         -o)
314 East Gym                                      /\\
University of Northern Iowa                      _\_V
   Message void if penguin violated ...  Don't mess with the penguin
   No one ever says "Hey, I can't read that ASCII e-mail ya sent me."



More information about the pve-user mailing list