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

Re: [Xen-users] Networking from domu to the outside



Hi Marcus,

I checked that and still no go.

Is there any issues currently with 2.0.6 and dom0 having multiple ip's?

Cheers,
KA

Marcus Brown wrote:

Hi Kris,

First of all my setup looks like this

Router (A.B.C.D) - dom0(A.B.C.D+1) - domU(A.B.C.D+2)

I can ping from domU -> dom0 and visa versa.
I can ping from dom0 -> Router.
I can't ping from domU -> Router.

It would appear that either domU doesn't know how to reach the router,
and/or dom0 isn't forwarding IP.

Perhaps you could try the following?

The domU will need dom0 as it's gateway, so the routing table in
domU should be something like:
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
A.B.C.0         0.0.0.0         255.255.255.0   U     0      0        0 eth0
0.0.0.0         A.B.C.D+1       0.0.0.0         UG    0      0        0 eth0

Also, ensure that port forwarding is enabled in the dom0:
#echo 1 > /proc/sys/net/ipv4/ip_forward


Marcus.


_______________________________________________
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®.