Port-xen archive

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

Re: trouble with routing on dom0



On 21/07/2009 11:11 AM, Sarton O'Brien wrote:
On 21/07/2009 10:48 AM, Michael Litchard wrote:
I mean a dom0 with rtk0, and nfe0.
I want rtk0 to act as a gateway. I already have a domU on bridge1,
which is attached to nfe0. Pings fine but can't reach 192.168.1.100.
The problem I mentioned above occurs during my attempt to make
outbound traffic coming to 10.0.0.1, route to 192.168.1.100

Make sense?

Maybe :)

If the domu has 10.0.0.1 set as it's default gateway, or at least a
route revealing 192.168.1.100 via 10.0.0.1 and the sysctl
net.inet.ip.forwarding is set to '1' in the dom0, then you should be
able to ping from the domu to 192.168.1.100 ... I think :) ... assuming
no firewall.

Sorry, the domu IP (10.0.0.x) is as accessible to the dom0 as 10.0.0.1 is, being attached to the bridge. If you are forwarding and have the relevant routes:

dom0# route add 10.0.0.0/24 -link nfe0 -iface

domu# route add -host 192.168.1.100 -link xennet0 -iface

Then it should probably work fine :)

Sarton


Home | Main Index | Thread Index | Old Index