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

Re: XEN switch to static IP



On Fri, 20 Apr 2007, Marco Mandl wrote:

Hello,

I migrated a sarge installation into a domU. I did this using dhcp. That
worked fine.

But now I want to switch to static ip address.

In the corresponding xmdomain.cfg I change:
#dhcp = 'dhcp'
#vif  = [ '' ]
dhcp = "off"
ip = "192.168.17.16"
netmask = "255.255.255.0"
#broadcast = "192.168.17.255"
#network = "192.168.17.0"
gateway = "192.168.17.1"

<snip>

What am I doing wrong?

Regards,
Marco



try this in your xmdomain.cfg:
vif  = [ 'ip=192.168.17.16,bridge=xenbr0' ]

-+-
8 out of 10 Owners who Expressed a Preference said Their Cats Preferred Techno.



Reply to: