|
|
|
|
|
|
|
|
|
|
xen-users
Re: [Xen-users] routed networking xen3.0.1
On 2/6/06, CJ van den Berg <cj@xxxxxxxxxxxxx> wrote:
On Mon, Feb 06, 2006 at 11:57:28AM +0530, Anand Gupta wrote: > I have been trying to get the networking working via route however can't get > it running.
You didn't actually mention at what point it doesn't work, so here's my
best guess. Sorry. I can't ping from domU to dom0.
> Here is my domU config
[...] > ip="192.168.1.240" > netmask="255.255.255.0" > gateway="192.168.1.1
" [...] > ifconfig from dom0 [...] > eth0 Link encap:Ethernet HWaddr 00:08:A1:50:FA:19 > inet addr:192.168.1.250 Bcast:
192.168.1.255 Mask:255.255.255.0 [...] > vm01 Link encap:Ethernet HWaddr FE:FF:FF:FF:FF:FF > inet addr:192.168.1.250
Bcast:192.168.1.250 Mask:255.255.255.255
It seems to me that your virtual network interface (vm01) and external/real network interface (eth0) are on the same subnet (and even have the same
address). This doesn't make sense to me and I don't see how routing can work like this. Aside from that, if it were to work, your gateway inside domU should probably be 192.168.1.250
or else domU will not be sending outgoing packets to dom0.
I tried to set the gateway inside domU to 192.168.1.250 and still it doesn't work.
As for the same ip address for both interfaces, i was confused myself until i saw a post on the mailing list which mentioned that using the route method copies the ip of the eth0 to the vif<id>.0 . Same was posted in the wiki as well ->
http://wiki.xensource.com/xenwiki/XenNetworking
P.S. I see my config for the domU has "192.168.1.1" as gateway, i will change that and post results.
-- regards,
Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|
|
|