|
Hi, all:
I am using Ubuntu 12.04, 64bit. compiled Linux kernel from source, kernel is 3.3.6. Compiled Xen from source, version is 4.1.2. so far so good. Dom0 can boot without problem. Dom0 has network. However, when I downloaded the vmlinuz and initrd.img for centos 6.2 and try to install it, I first picked network install, then it asked me to pick network, I choose DHCP for both iipv4 and ipv6. After that, it stops at "Waiting for NetworkManager to configure eth0." "Retry". From the notification area, I can see that a vif2.0 has been created. I disabled the firewall, and ubuntu seems don't have selinux problem. could someone help me with this? Thanks in advance. "xl info" gives: host : xisisu-desktop release : 3.3.6 version : #1 SMP Sun May 13 18:24:00 CDT 2012 machine : x86_64 nr_cpus : 12 nr_nodes : 1 cores_per_socket : 6 threads_per_core : 2 cpu_mhz : 3378 hw_caps : bfebfbff:2c000800:00000000:00003f40:029ae3bf:00000000:00000001:00000000 virt_caps : hvm hvm_directio total_memory : 12277 free_memory : 1094 free_cpus : 0 xen_major : 4 xen_minor : 1 xen_extra : .2 xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64 xen_scheduler : credit xen_pagesize : 4096 platform_params : virt_start=0xffff800000000000 xen_changeset : unavailable xen_commandline : cc_compiler : gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) cc_compile_by : xisisu cc_compile_domain : cc_compile_date : Sun May 13 17:46:53 CDT 2012 xend_config_format : 4 Here is the install configure file: "name="centosinstall" vcpus=2 memory=2048 disk=['file:/home/xisisu/Desktop/VM/vm1.img,xvda,w'] vif=['bridge=eth0'] kernel="/home/xisisu/Desktop/vmlinuz" ramdisk="/home/xisisu/Desktop/initrd.img" on_reboot='restart' on_crash='restart' _______________________________________________ Xen-users mailing list [hidden email] http://lists.xen.org/xen-users |
|
First, just in case, make sure you have the bridge-utils package installed (apt-get install bridge-utils). As for the interfaces, when you bridge a network to a Xen virtual machine, you use a bridge (from bridge-utils). Your interfaces file should have eth0 configuration inside of it.
Based on the fact that your interfaces file did not have a record for eth0, I am going to assume that you are using the Ubuntu GUI utility "Network Manager". Interfaces will override the Network Manager, just be forewarned that the Ubuntu GUI may tell you that you have no iInternet connection when in fact you do.
If you are using DHCP on Ubuntu, your interfaces file can work as follows: auto lo iface lo inet loopback allow-hotplug eth0
iface eth0 inet manual auto xenbr0 iface xenbr0 inet dhcp bridge_ports eth0 When you add "auto xenbr0" you are effectively "creating" a new virtual network bridge called "xenbr0". So xenbr0 is a virtual bridge, eth0 is a physical device.
You can flip-flop which is dhcp and which is manual, it only determines which device gives Ubuntu an IP address. I believe the lack of connection with the previous configurations is because no physical device (eth0) was established in the interfaces file.
Give it a try and let me know. ~Casey On Mon, May 14, 2012 at 1:53 AM, Sisu Xi <[hidden email]> wrote: Hi, Casey: _______________________________________________ Xen-users mailing list [hidden email] http://lists.xen.org/xen-users |
|
Hi,Casey:
Thanks for your reply. I do have bridge-utils installed. I am using the suggested configuration, and still, Dom0 has network, while i stuck in the waiting screen for DomU. Here is a screenshot showing network manager, domu screen, and the interface file. thanks! Sisu On Mon, May 14, 2012 at 1:04 AM, Casey DeLorme <[hidden email]> wrote:
_______________________________________________ Xen-users mailing list [hidden email] http://lists.xen.org/xen-users |
|
In reply to this post by Casey DeLorme
Hi, Casey:
after fixing the typo (hotplut -> hotplug), it works now! Thanks very much! Yours, Sisu
On Mon, May 14, 2012 at 1:04 AM, Casey DeLorme <[hidden email]> wrote:
_______________________________________________ Xen-users mailing list [hidden email] http://lists.xen.org/xen-users |
| Powered by Nabble | Edit this page |
