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

Re: [Xen-devel] After switching from "xm" to "xl" toolstack, can't get Guest networking to work.



Hi All.

I wanted to do an apples-to-apples comparison of "xm" and "xl".

Using a config file VIF of

        vif=['mac=00:16:3E:12:34:01,bridge=br0']

If I turn on  xend and start the Guest with 'xm create', networking at
the Guest is OK.
If I turn off xend and start the Guest with 'xl create', networking at
the Guest fails, I think because the Guest's VIF doesn't get assigned to
the Host bridge.


service xend start
        Starting xend                                                   
                                                 done

brctl show
        bridge name     bridge id               STP enabled    
        interfaces
        br0             8000.0052351d5337       yes             eth0

xm list
        Name                                        ID   Mem VCPUs     
        State   Time(s)
        Domain-0                                     0  1010     1    
        r-----    169.1

xm create /etc/xen/vm/tmpl_run.cfg

xm list
        Name                                        ID   Mem VCPUs     
        State   Time(s)
        Domain-0                                     0  1010     1    
        r-----    175.2
        test                                         6  1024     2    
        -b----      8.7

brctl show
        bridge name     bridge id               STP enabled    
        interfaces
        br0             8000.0052351d5337       yes             eth0
                                                                vif6.0

xm console test    
        Welcome to openSUSE 12.1 "Asparagus" - Kernel 3.1.0-1.2-xen
        (xvc0).
        testserver login: test
        Password:
        Last login: Sat Jan 21 14:57:14 PST 2012 on xvc0
        You have new mail.
        Have a lot of fun...

ping -c 2 192.168.1.1
        PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
        64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=0.500 ms
        64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.388 ms
        --- 192.168.1.1 ping statistics ---
        2 packets transmitted, 2 received, 0% packet loss, time 999ms
        rtt min/avg/max/mdev = 0.388/0.444/0.500/0.056 ms

shutdown -h now
        The system is going down for system halt NOW! (Sat Jan 21
        16:34:48 2012):
        ...
        [  147.792590] System halted.

service xend stop

brctl show
        bridge name     bridge id               STP enabled    
        interfaces
        br0             8000.0052351d5337       yes             eth0

xl list
        Name                                        ID   Mem VCPUs     
        State   Time(s)
        Domain-0                                     0  1010     1    
        r-----     182.8

xl create /etc/xen/vm/tmpl_run.cfg

xl list
        Name                                        ID   Mem VCPUs     
        State   Time(s)
        Domain-0                                     0  1010     1    
        r-----     186.6
        test                                         7  1024     2    
        -b----       6.9

brctl show
        bridge name     bridge id               STP enabled    
        interfaces
        br0             8000.0052351d5337       yes             eth0

xl console test    
        Welcome to openSUSE 12.1 "Asparagus" - Kernel 3.1.0-1.2-xen
        (xvc0).
        testserver login: test
        Password:
        Last login: Sat Jan 21 16:34:08 PST 2012 on xvc0
        You have new mail.
        Have a lot of fun...

ping -c 2 192.168.1.1
        PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
        From 192.168.1.32 icmp_seq=1 Destination Host Unreachable
        From 192.168.1.32 icmp_seq=2 Destination Host Unreachable
        --- 192.168.1.1 ping statistics ---
        2 packets transmitted, 0 received, +2 errors, 100% packet loss,
        time 1001ms
        pipe 2

Regards,

Erin

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

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