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@lists.xen.org
http://lists.xen.org/cgi-bin/mailman/listinfo/xen-api

Reply via email to