Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I'm trying working with Xen and I've tryed to build up a virtual machine in domU. I'm using the following configuration for the domU

kernel = '/media/home_separata/domU_kernel/boot/vmlinuz-linux'                  
ramdisk = '/media/home_separata/domU_kernel/boot/initramfs-linux.img'
name = "domU_Arch_linux"
root = '/dev/xvda1 ro'
disk = ['file:/media/home_separata/domU_kernel/arch_linux_kernel.img,xvda1,w']
vif = ['mac=aa:::10:11:f1,ip=192.168.0.2,bridge=xenbr0']

when I try to create this vm with "xm create" it works fine except that it doesn't bring up vif interfaces in dom0, so the virtual machine had no access to the net.

Does anyone have any idea about this problem?

share|improve this question
    
Use the virt-manger to see if the vif interface is enabled ? –  Chakri May 1 '12 at 16:11
    
What settings do you use for networking in XEN? Please post the according lines of your xend-config.sxp file. –  Nils Oct 12 '12 at 21:05
    
What does you xend.log say during DomU creation? –  Nils Oct 12 '12 at 21:06

1 Answer 1

Your config file should probably call a Xen networking script to setup apropriate interface on xenbr0. Set up last line like this -

vif = ['mac=aa:::10:11:f1,ip=192.168.0.2,bridge=xenbr0,script=vif-bridge']
share|improve this answer
    
The default should be configured in xend-config.sxp. –  Nils Oct 12 '12 at 21:06

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.