WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Opensolaris domU unable to get dhcp lease

To: xen-users@xxxxxxxxxxxxxxxxxxx, Michael Ralston <michael@xxxxxxxxxxxxx>
Subject: Re: [Xen-users] Opensolaris domU unable to get dhcp lease
From: Boris Derzhavets <bderzhavets@xxxxxxxxx>
Date: Sun, 19 Jul 2009 00:12:52 -0700 (PDT)
Cc:
Delivery-date: Sun, 19 Jul 2009 00:13:45 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1247987572; bh=2ne7mpEXICfatmKdU1lVPtXC7ElHIR06KXN6qCXIEEw=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=Na94fPD3/uRJPEAKzRNJjI29L2Od1RUJJbEQlksAT/pIy1OooRlLEdpU7ib/mXmPFvCalEu31bTMlnipNCT1gvFv+ds5vGnV3/WRQ045DD4AjtlS2gRg4AmEp49EE6BQ7FbpemE0Bt77UBsHxk/VW98qTVraVIJaqix5oOuSo9c=
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=0wPGeJWA0KIvVogi8TzlawVAcpqizE6GW8PJJ00828MP1cnohh4sHUzkDDsAv11zhdxodswuIjwuaLaGMSWj6urq1IErjuMegFj/ebLlhYxkdH5R9jH3TLNTYwHMcpaw2VPX0vatvRgpusT2InnK4ODBCCtraSMExhuTmTXEw+I=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
It's well known bug - failure checksum offloading at xnf0.
Run tcpdump at any host on the LAN. Due to DHCPDISCOVER is a broadcast request you'll capture wrong udp packages.

Way to fix :-

http://www.opensolaris.org/jive/thread.jspa?threadID=104509&tstart=60

Quote:-

2009/6/3 PGNet Dev :
> iiuc, i believe that'd be,
>
> pfexec svcadm disable network/physical:nwam && \
> pfexec svcadm enable  network/physical:default
> pfexec ifconfig xnf0 down
> pfexec ifconfig xnf0 192.168.1.102 netmask 255.255.255.0 mtu 1492
> pfexec ifconfig xnf0 up
> pfexec route add default 192.168.1.102
>
> which i can/do @ installer time to use static IP assignements.  i just
> can't seem to get them to 'stick' or 'be happy' after reboot and xen,
> run-time launch.

Use the same commands with the installed system.

To make the settings permanent you also need:

echo 192.168.1.102 netmask 255.255.255.0 mtu 1492 > /etc/hostname.xnf0
rm /etc/dhcp.xnf0

echo 192.168.1.102 > /etc/defaultrouter

Qoute ends

You also still have to disable checksum offloading at OSOL DomU :-

Add to /etc/system

set xnf:xnf_cksum_offload = 0

and reboot .

B.

P.S. Personally, i was able to path throw initial install and just :-

Add to /etc/system
set xnf:xnf_cksum_offload = 0

http://bderzhavets.wordpress.com/2009/06/03/setup-opensolaris-2009-06-pv-domu-at-xen-3-5-unstable-dom0-kernel-2-6-30-rc6-tip/


--- On Sun, 7/19/09, Michael Ralston <michael@xxxxxxxxxxxxx> wrote:

From: Michael Ralston <michael@xxxxxxxxxxxxx>
Subject: [Xen-users] Opensolaris domU unable to get dhcp lease
To: xen-users@xxxxxxxxxxxxxxxxxxx
Date: Sunday, July 19, 2009, 1:26 AM

I'm running a ubuntu 9.04 64 bit dom0 with kernel 2.6.29.6 and xen
3.4.0. My eth0 is bridged to br0 and to my guest VMs. The dom0 is
running a dhcp server on br0 which is able to provide leases to
physical machines on eth0, and also to a windows xp domU which is
bridged to br0. However my open solaris 2009.6 domU is unable to
obtain a dhcp lease.

On the opensolaris side I can see this:
michael@opensolaris:~$ pfexec ifconfig xnf0 dhcp start
ifconfig: xnf0: wait timed out, operation still pending...

With tcpdump I can see the dhcp request coming in br0, but no dhcp
offer going back out.

In the syslog of my dom0 I can see this when the opensolaris domU
requests a lease:
==> syslog <==
Jul 19 15:20:03 allendale dhcpd: 19 bad udp checksums in 37 packets


This also occurs with xen 3.3.0

Anyone had a similar problem? Any ideas what could be causing this?

-- Michael

_______________________________________________
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
<Prev in Thread] Current Thread [Next in Thread>