All of lore.kernel.org
 help / color / mirror / Atom feed
* Network card in newly created VM
@ 2016-10-04 12:57 #PATHANGI JANARDHANAN JATINSHRAVAN#
  0 siblings, 0 replies; only message in thread
From: #PATHANGI JANARDHANAN JATINSHRAVAN# @ 2016-10-04 12:57 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 880 bytes --]

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?


I am trying to observe traffic to and from the VM from my host machine.


Thanks

Jatin

[-- Attachment #1.2: Type: text/html, Size: 3782 bytes --]

[-- Attachment #2: Type: text/plain, Size: 127 bytes --]

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-04 12:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-04 12:57 Network card in newly created VM #PATHANGI JANARDHANAN JATINSHRAVAN#

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.