Costa Kavanides
2007-Sep-14 10:42 UTC
[Fedora-xen] domU disregard static IP information at boot time
My dom0 has kernel 2.6.20-2931.fc7xen whereas the
fully virtualised
domU has kernel 2.6.21-1.3194.fc7.
I wanted a static IP address for the domU thus I
specified it during
installation + in the xen config file.
Notwithstanding all my efforts to tell it that it has
to use a static IP
address, whenever domU boots it always look for a DHCP
server to get its
IP address from.
Even changing the lines in ifcfg-eth0 to define a
static IP address is not a solution. With next reboot
it still wants a DHCP server to provide the IP
address.
Changing ifcfg-eth0 + issuing an "service network
restart" works as long as there is no reboot. As soon
as I reboot the odd behaviour prevails.
Where may act to change this behaviour?
costa
-------------------------
domU xen config file
--------------------
import os, re
arch = os.uname()[4]
if re.search(''64'', arch):
arch_libdir = ''lib64''
else:
arch_libdir = ''lib''
kernel = "/usr/lib/xen/boot/hvmloader"
builder=''hvm''
memory = 256
shadow_memory = 8
name = "Test_2_FC7"
vif = [ ''type=ioemu, ip=192.168.2.29,
mac=00:16:3e:00:00:11, bridge=xenbr0'' ]
disk = [ \
''file:/home/XEN/images/FC7_disk_2.img,hda,r'',
\
''phy:/dev/cdrom,hdb:cdrom,r'', \
]
on_poweroff = ''destroy''
on_reboot = ''restart''
on_crash = ''restart''
device_model = ''/usr/'' + arch_libdir +
''/xen/bin/qemu-dm''
boot = "c"
sdl=1
vnc=0
stdvga=0
serial=''pty''
usbdevice=''tablet''
____________________________________________________________________________________
Tonight''s top picks. What will you watch tonight? Preview the hottest
shows on Yahoo! TV.
http://tv.yahoo.com/
Costa Kavanides
2007-Sep-14 15:07 UTC
Re: [Fedora-xen] domU disregard static IP information at boot time
Further searching led me to find this thread http://lists.xensource.com/archives/html/xen-users/2007-01/msg01110.html where the same issue is discussed amongst others. I disabled kudzu (chkconfig kudzu off) and now my network interface static information are properly used at boot time. Costa. --- Costa Kavanides <turtlevelo@yahoo.com> wrote:> My dom0 has kernel 2.6.20-2931.fc7xen whereas the > fully virtualised > domU has kernel 2.6.21-1.3194.fc7. > > I wanted a static IP address for the domU thus I > specified it during > installation + in the xen config file. > > Notwithstanding all my efforts to tell it that it > has > to use a static IP > address, whenever domU boots it always look for a > DHCP > server to get its > IP address from. > Even changing the lines in ifcfg-eth0 to define a > static IP address is not a solution. With next > reboot > it still wants a DHCP server to provide the IP > address. > Changing ifcfg-eth0 + issuing an "service network > restart" works as long as there is no reboot. As > soon > as I reboot the odd behaviour prevails. > > Where may act to change this behaviour? > > costa > ------------------------- > > domU xen config file > -------------------- > import os, re > arch = os.uname()[4] > if re.search(''64'', arch): > arch_libdir = ''lib64'' > else: > arch_libdir = ''lib'' > kernel = "/usr/lib/xen/boot/hvmloader" > builder=''hvm'' > memory = 256 > shadow_memory = 8 > name = "Test_2_FC7" > vif = [ ''type=ioemu, ip=192.168.2.29, > mac=00:16:3e:00:00:11, bridge=xenbr0'' ] > disk = [ \ > > ''file:/home/XEN/images/FC7_disk_2.img,hda,r'', > \ > ''phy:/dev/cdrom,hdb:cdrom,r'', \ > ] > on_poweroff = ''destroy'' > on_reboot = ''restart'' > on_crash = ''restart'' > device_model = ''/usr/'' + arch_libdir + > ''/xen/bin/qemu-dm'' > boot = "c" > sdl=1 > vnc=0 > stdvga=0 > serial=''pty'' > usbdevice=''tablet'' > > > > >____________________________________________________________________________________> Tonight''s top picks. What will you watch tonight? > Preview the hottest shows on Yahoo! TV. > http://tv.yahoo.com/ > > -- > Fedora-xen mailing list > Fedora-xen@redhat.com > https://www.redhat.com/mailman/listinfo/fedora-xen >____________________________________________________________________________________ Be a better Heartthrob. Get better relationship answers from someone who knows. Yahoo! Answers - Check it out. http://answers.yahoo.com/dir/?link=list&sid=396545433