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

[Xen-API] guest network not working


  • To: xen-api@xxxxxxxxxxxxx
  • From: Carlos Reategui <creategui@xxxxxxxxx>
  • Date: Tue, 26 Mar 2013 20:44:12 -0700
  • Delivery-date: Wed, 27 Mar 2013 03:44:44 +0000
  • List-id: User and development list for XCP and XAPI <xen-api.lists.xen.org>

I only have 2 nics and they are bonded using xe.  This bond is both my guest and management network.  Dom0 has no network issues.  DomUs can not connect out:

Dom0 is running ubuntu 12.04 + xcp-xapi:
# dpkg -l | grep xcp
ii  xcp-eliloader                    0.1-4                        XenAPI's bootloader for EL-based guests
ii  xcp-fe                           0.5.2-3                      Fork-and-exec daemon for xapi
ii  xcp-guest-templates              0.1-3                        Guest template generator for XCP
ii  xcp-networkd                     1.3.2-5ubuntu0.1             Xen Cloud Platform - network configuration daemon
ii  xcp-squeezed                     1.3.2-5ubuntu0.1             Xen Cloud Platform - memory ballooning daemon
ii  xcp-storage-managers             0.1.1-2ubuntu1               storage backends for XCP
ii  xcp-v6d                          1.3.2-5ubuntu0.1             Xen Cloud Platform - feature daemon
ii  xcp-vncterm                      0.1-2                        Provides VNC service for XCP guest VMs
ii  xcp-xapi                         1.3.2-5ubuntu0.1             Xen Cloud Platform - XenAPI server
ii  xcp-xe                           1.3.2-5ubuntu0.1             Xen Cloud Platform - command-line utilities

Here is the vif info from the DomU (cloudstack SSVM):
# xe vif-list vm-name-label=s-1-VM 
uuid ( RO)            : d0d8489e-a3c3-54c7-32e3-8f6e07f0e60f
         vm-uuid ( RO): e1e4d5c9-8c36-b3b2-23e8-3a44b59878a3
          device ( RO): 2
    network-uuid ( RO): f3673dba-5145-641b-cab5-6f3497670540


uuid ( RO)            : cb90ccdd-858a-00a1-7ed4-c6920e5081c5
         vm-uuid ( RO): e1e4d5c9-8c36-b3b2-23e8-3a44b59878a3
          device ( RO): 1
    network-uuid ( RO): f3673dba-5145-641b-cab5-6f3497670540


uuid ( RO)            : 55ef8640-20b3-32b0-e1e6-65c3258e21d7
         vm-uuid ( RO): e1e4d5c9-8c36-b3b2-23e8-3a44b59878a3
          device ( RO): 0
    network-uuid ( RO): 22ac824e-a582-d27f-fbaa-277955854dc4


uuid ( RO)            : d14f6b5d-129a-1662-ed30-3addc00c41b3
         vm-uuid ( RO): e1e4d5c9-8c36-b3b2-23e8-3a44b59878a3
          device ( RO): 3
    network-uuid ( RO): f3673dba-5145-641b-cab5-6f3497670540


# xe network-param-list uuid=f3673dba-5145-641b-cab5-6f3497670540 
uuid ( RO)                : f3673dba-5145-641b-cab5-6f3497670540
          name-label ( RW): bond0
    name-description ( RW): 
           VIF-uuids (SRO): d14f6b5d-129a-1662-ed30-3addc00c41b3; cb90ccdd-858a-00a1-7ed4-c6920e5081c5; d0d8489e-a3c3-54c7-32e3-8f6e07f0e60f; 63bb0146-7130-53a0-a480-12bb2bd3fa9d; c27f7de3-2722-a730-815d-8569d9aef9ab
           PIF-uuids (SRO): b86c137f-544a-8ff9-98eb-c51d928536a5
                 MTU ( RW): 1500
              bridge ( RO): xapi1
        other-config (MRW): 
               blobs ( RO): 
                tags (SRW): 

Here is the route info from within the DomU:
# ip route show
202.56.230.5 via 192.168.1.5 dev eth1 
202.56.230.6 via 192.168.1.5 dev eth1 
192.168.1.0/24 dev eth1  proto kernel  scope link  src 192.168.1.175 
192.168.1.0/24 dev eth2  proto kernel  scope link  src 192.168.1.245 
192.168.1.0/24 dev eth3  proto kernel  scope link  src 192.168.1.171 
169.254.0.0/16 dev eth0  proto kernel  scope link  src 169.254.0.60 
default via 192.168.1.5 dev eth2 

And here is the param list for the eth2 vif:
# xe vif-param-list uuid=d0d8489e-a3c3-54c7-32e3-8f6e07f0e60f 
uuid ( RO)                        : d0d8489e-a3c3-54c7-32e3-8f6e07f0e60f
                     vm-uuid ( RO): e1e4d5c9-8c36-b3b2-23e8-3a44b59878a3
               vm-name-label ( RO): s-1-VM
          allowed-operations (SRO): attach; unplug_force; unplug
          current-operations (SRO): 
                      device ( RO): 2
                         MAC ( RO): 06:a1:ce:00:00:51
           MAC-autogenerated ( RO): false
                         MTU ( RO): 1500
          currently-attached ( RO): true
          qos_algorithm_type ( RW): ratelimit
        qos_algorithm_params (MRW): kbps: 25600
    qos_supported_algorithms (SRO): 
                other-config (MRW): nicira-iface-id: 88ef7a29-9f97-4711-b884-5c6fef9082d9; nicira-vm-id: e1e4d5c9-8c36-b3b2-23e8-3a44b59878a3
                network-uuid ( RO): f3673dba-5145-641b-cab5-6f3497670540
          network-name-label ( RO): bond0
                 io_read_kbs ( RO): 3.431
                io_write_kbs ( RO): 0.000

Iptables on Dom0:
# iptables -L -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
ACCEPT     47   --  0.0.0.0/0            0.0.0.0/0           

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         


Please help.  Let me know what additional info you need.

thank you
Carlos

_______________________________________________
Xen-api mailing list
Xen-api@xxxxxxxxxxxxx
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

 


Rackspace

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