|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] set static ip in config file
Hi all,
I have create a centos in domU using "xm create test.cfg". The
content of test.cfg print as below:
kernel = "/usr/lib/xen/boot/hvmloader"
builder = 'hvm'
name = "test"
memory = 512
disk = [ 'file:/root/xen/ubuntu-9.10-desktop-i386.iso,hdc:cdrom,r',
'file:/srv/xen/mailserver.img,hda,w' ]
boot = "d"
vif = ['ip=192.168.1.100,bridge=eth1']
dhcp = "off"
vcpus=1
on_reboot = 'restart'
on_crash = 'restart'
sdl=0
vnc=1
vnclisten="0.0.0.0"
vncpasswd='password'
stdvga=0
serial='pty'
usbdevice='tablet'
I set static ip==192.168.1.100 in vif, but the centos in domU still
use the dhcp. To be noted here, I can set static ip in centos when I
connect to the console of domU.
Who can tell me why and how to set static ip in config file.
Thanks a lot.
Best Wishes!
Qiang Ma
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-users] set static ip in config file,
ma qiang <=
|
|
|
|
|