XEN server not routing traffic to DomU

debian-squeezexenserver

I am sticking with this problem for a couple of hours now and I am just not finding the right hint.

Dom0 is a Debian Squeeze.

I setup a Xen Server on a Dom0 using apt-get.

Dom0 has the ip 178.15.15.15. Server is reachable and works fine. Installation is going thru without any issues.

I have an additional subnet /29. I set up the first ip of the subnet on the Dom0 to be my default gateway for my DomU's later on.

ip addr add 188.40.249.129/29 dev eth0

ip is up and responses to pings, ssh connections etc.

sysctl.conf looks like this:

net.ipv4.ip_forward=1

net.ipv4.conf.all.rp_filter=1

net.ipv6.conf.all.forwarding=1

net.ipv4.conf.default.proxy_arp=1

net.ipv4.icmp_echo_ignore_broadcasts=1

xend-config.sxp is set to:

(network-script network-route)

(vif-script vif-route)

Setting up a DomU is going thru as well. I am adding the ip address 188.40.249.131. Unfortunately the ip address is not responding either outgoing/incoming.

Please note that these are not the real ip addresses.

Thanks for any help!

Best Answer

Just found the solution.

Debian supports in /etc/networks/interfaces an option called pointtopoint.

By adding this option with the gateway in the Dom0 and alls DomU's the routing works.

Be advised that on Dom0 you have to put the default gateway and on the DomU's the ip address of the ip address on the Dom0 in the same subnet.

Example: pointtopoint 10.x.x.1

Related Topic