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

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


  • To: xen-users@xxxxxxxxxxxxxxxxxxx, Michael Ralston <michael@xxxxxxxxxxxxx>
  • 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
  • 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=;
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.