WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

[Xen-users] DomU network configuration problem

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] DomU network configuration problem
From: shubham <shubham.sharma@xxxxxx>
Date: Thu, 7 Aug 2008 14:27:39 +0000 (UTC)
Delivery-date: Thu, 07 Aug 2008 07:28:25 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Loom/3.14 (http://gmane.org/)
hi all,

I've got a SLES10 machine running Xen 3.0 with DomUs also running SLES10

                 ---------------------------------
                |                 ____________    |
   Gateway      | Dom0       _   | DomU-1     |   |
   10.33.0.1    | 10.33.0.3 | |--|192.168.0.1 |   |
        |       |           | |  |vifx.0      |   |
      __^_      |     vif0.0| |   ------------    |
     |    |     |           | |                   |
     |    |     |           | |-- ... 192.168.0.x |
     |____|     |-----      | |-- ...             |
       |      |-|eth0 |      -                    |
       |      |  --------------------------------- 
    ---------------------------
    |        1G Ethernet      |
    ---------------------------
          _|__    |       |
         |    |   ...     10.33.0.x
         |____|
       10.33.0.2


All my boxes are running perfectly fine.

I wanted to set up a private routed network within my virtual domains such 
that my DomUs can be pinged through the physical machines

i have set the corresponding features in the xend-config.sxp file

----------------8<--------------
(network-script network-route)
(vif-script vif-route)
----------------8<-------------- 

the vif attributes in my domU config file is 

----------------8<-------------
address 192.168.0.1
gateway 192.168.0.12 *** 
netmask 255.255.255.0
----------------8<-------------

***i am not sure here that the gateway provided by me is correct or not.

then i did the following steps to nat the domU's IP to the dom0 on mu dom0

----------------8<-------------
echo 1 > /proc/sys/net/ipv4/conf/all/proxy_arp
iptables -t nat -A POSTROUTING -s 10.0.0.0 -j MASQUERADE
----------------8<-------------

but with these settings i am not able to ping to the domU from dom0.

when i used a bridged type network,while pinging to the domU the packets
reach the vif but are not forwarded to the domU

tcpdump shows that the packets are being transferred from the dom0 to
the xen bridge but they are not forwarded to the domU.

are the steps which i followed correct or any changes/further steps are 
required to be followed?

I searched the Xen wiki tutorials but couldn't get through my
problem.

Also is there a method so that i can now where exactly are the
packets being dropped.

please tell me in case further information is required.
Any suggestions will be greatly appreciated.

thanks
shubham


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