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

[Xen-users] DomU network configuration problem



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


 


Rackspace

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