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

Re: [Xen-users] Need help setting up guest's networking



On Sun, 2007-04-29 at 09:03 -0500, Yevgeniy Goldberg wrote:
> Nico,
> Wouldn't vif name assigned by xeb based on the Domain id? (ie if the  
> DomU is 5 then it will become vif5.0)

Its logical to assign vifnames that correspond to the domname + device
as seen within the dom-u.

If my dom-u was named foo, and the device was to become eth0 in foo, I
would name the vif foo.0 , eth1 in foo would be foo.1 , eth2 would be
foo.2 (for a max of three vif's per guest).

This lets me do all of my bandwidth accounting just
reading /proc/net/dev directly with grawk
( http://echoreply.us/2007/04/25/grawk-100-released/ ) rather easily.

I try to avoid snmp or anything else that malloc()s way more than it
needs on dom-0 for obvious reasons :)

> Alos,
> I've misspoke when I said that I was setting the static IP for the  
> guest's vif from the Dom0 - I was doing that inside the actual DomU.
> Also, I have a win 2003 server guest on the same xen host and  
> networking works just fine on that one.
> Both configs are found in my initial post.
> Let me know what you think and THANK YOU FOR TRYING TO HELP ME!

Are the guests using the same subnet (netmask) as the the bridge serving
them? In other words, the IP address of your guest not working ends in a
number equal or lesser than the broadcast address of the bridge?

Best,
--Tim



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