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

Re: [Xen-users] Xen 3.1 networking questions



On Thu, Nov 15, 2007 at 02:43:50PM +0000, Nico Kadel-Garcia wrote:
> Florian Engelmann wrote:
> >how to hardcode a vif interface?
> >
> >Nico Kadel-Garcia schrieb:
> >>Florian Engelmann wrote:
> >>>Ok at the moment I use NAT and i can connect to the internet, but I 
> >>>always have to change the router. Xen starts a new vifx.0 interface 
> >>>which is my domUs router. The IP changes every time. How to fix that???
> >>Don't use "ip=", use "mac=" and either use DHCP or set the IP address 
> >>in the operating systemm itself. You can also hardcode the vif 
> >>instance, and I recommend this for network monitoring reasons.
> It should be in your documentation. You use  something like:
> 
>    vif=[ 'vifname=xen.(whatever), mac=00:16:3E:01:(whichever), ' ]

I think I remember that I also needed the ip=10.0.1.1 argument. Not to
initialise the network in the domU (I do this via ifconfig, route) but
the get the IP address of the dom0 (=gateway) in the 10.x.x.x network.

Specifying ip=10.0.1.1 seems to ensures that dom0 gets the address
10.0.1.128 whereas it otherwise could get 10.0.2.128 or whatever and
makes it impossible to use a not dhcp setup with routing.

At least this is what I vague remember ...

Jens

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