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

Re: [Xen-users] GPLPV and dhcp should it work?



On Mon, Sep 14, 2009 at 06:08:50PM +0300, Silviu Paragina wrote:
> My problem:
> I have
> - a xen ubuntu 9.04 with xen from the repository (3.3.0 with some 
> patches) and the debian kernel
> - windows 2008 server guest with the attached config
> - dhcp3 server with the attached config
> 
> If I leave everything as is (without gplpv) everything works great.
> If I install gplpv and remove type=ioemu from the config the machine can 
> not get the ip, but if I manually set the ip address it works fine.
> On the dhcp server side I get "dhcpd: 5 bad udp checksums in 5 packets"
>

What's the physical NIC you have? 

Please run "ethtool -i peth0" in dom0.

Also check the offloading settings in dom0 for the NIC:
"ethtool -k peth0"

-- Pasi

> I have tried Checksum offloading from properties on the xen network 
> device with no luck. I shall try again anyhow (I might have missed 
> something, because I had other issues with xen at the time).
> 
> Also on another note the iso image, attached as a cdrom, vanishes after 
> I install the drivers, but this doesn't matter much.
> 
> Searching with google I have found a few sites some that say this is 
> solved, some that say to disable Checksum offloading, but all sites I 
> have found refer to the 0.9.x version of the drivers, so I'm not sure of 
> anything. Is this how they are supposed to act?
> 
> 
> 
> Silviu

> ddns-update-style none;
> default-lease-time 600;
> max-lease-time 600;
> log-facility daemon;
> 
> 
> #dhcpd.conf part
> 
> 
> subnet X.X.0.0 netmask 255.255.0.0 {
>       range X.X.1.0 X.X.1.255;
>       option domain-name-servers X.X.X.X, X.X.X.X;
>       #option domain-name "internal.example.org";
>       option routers X.X.0.1;
>       #option broadcast-address X.X.255.255;
>       #default-lease-time 600;
>       #max-lease-time 7200;
>       host w2008 
>       {
>               hardware ethernet 00:16:3E:XX:XX:XX;
>               fixed-address X.X.0.3;
>       }
> }
> 
> 

> 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 = 1000
> 
> # Should be at least 2KB per MB of domain memory, plus a few MB per vcpu.
> shadow_memory = 32
> name = "w2008"
> vif = [ 'mac=00:16:3E:XX:XX:XX,type=ioemu,bridge=xenbr,vifname=w2008' ]
> localtime = 1
> dhcp = 'dhcp'
> acpi = 1
> apic = 1
> disk = [ 'file:/var/lib/images/xenwin2008.img,hda,w', 
> 'file:/var/lib/images/windows2008x86.iso,hdc:cdrom,r' ]
> vcpus = 2
> #cpu = 1
> #cpus = 1
> device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
> 
> #-----------------------------------------------------------------------------
> # boot on floppy (a), hard disk (c) or CD-ROM (d) 
> # default: hard disk, cd-rom, floppy
> boot="dc"
> sdl=0
> vnc=1
> vncconsole=1
> vncpasswd=''
> 
> serial='pty'
> usbdevice='tablet'
> 

> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users

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