[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Network card in newly created VM


  • To: "xen-users@xxxxxxxxxxxxx" <xen-users@xxxxxxxxxxxxx>
  • From: #PATHANGI JANARDHANAN JATINSHRAVAN# <JATINSHR001@xxxxxxxxxxxx>
  • Date: Mon, 3 Oct 2016 15:31:26 +0000
  • Accept-language: en-US
  • Delivery-date: Mon, 03 Oct 2016 15:32:41 +0000
  • List-id: Xen user discussion <xen-users.lists.xen.org>
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99
  • Thread-index: AQHSHYs08oN8OfW3M0OYaEqQuiE7IA==
  • Thread-topic: Network card in newly created VM

Hi,
I had created a VM in my xen installation with the following command:

sudo xen-create-image --hostname=test --memory=512mb --vcpus=2 --lvm=vg0 --dhcp --pygrub —dist=wheezy


I have booted in to the VM with the following command: sudo xl create -c /etc/xen/test.cfg

Now when I run ifconfig in the VM, I just get nothing. No network at all.

How do I go about actually creating the VM’s network interfaces and connect it to the internet? 

I have created a bridge for xen as can be seen from the command: sudo brctl show, which gives the following result:

bridge name bridge id STP enabled interfaces

xenbr0 8000.c89cdced348b no eno1

vif2.0


I am assuming that vif2.0 refers to the VM, so how can I actually go about creating the network card?


Thanks

Jatin

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
https://lists.xen.org/xen-users

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.