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

Re: [Xen-users] routed networking xen3.0.1



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.

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

-- 
CJ van den Berg

mailto:cj@xxxxxxxxxxxxx
  xmpp:cj@xxxxxxxxxxxxx
   sip:8918316@xxxxxxxxxx

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