xen-users
Re: [Xen-users] Opensolaris domU unable to get dhcp lease
Just now after reset ADSL modem i've succeeded with dhcp lease ( just once with unpatched kernel is enough) :-
To select desktop language, enter a number [default is 6]: User selected: English Configuring devices. Mounting cdroms Reading ZFS config: done.
opensolaris console login: jack Password: Sun Microsystems Inc. SunOS 5.11 snv_111b November 2008 jack@opensolaris:~$ mkdir .vnc jack@opensolaris:~$ cp .Xclients .vnc/stJul 19 02:38:08 opensolaris in.routed[785]: route 0.0.0.0/8 --> 0.0.0.0 nexthop is not directly connected r jack@opensolaris:~$ pfexec ifconfig -a lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1 inet
127.0.0.1 netmask ff000000 xnf0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2 inet 192.168.1.34 netmask ffffff00 broadcast 192.168.1.255 ether 0:16:3e:60:e8:fb lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1 inet6 ::1/128 xnf0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2 inet6 fe80::216:3eff:fe60:e8fb/10 ether 0:16:3e:60:e8:fb
Then before click on "REBOOT" button i will drop to root shell :-
# beadm list # beadm mount opensolaris /a # export TERM=vt100 # vi /a/etc/system
set xnf:xnf_cksum_offload = 0 :wq # bootadm update-archive -R
/a # /a/usr/bin/shutdown -y -i0 -g0
All set
--- On Sun, 7/19/09, Boris Derzhavets <bderzhavets@xxxxxxxxx> wrote:
From: Boris Derzhavets <bderzhavets@xxxxxxxxx> Subject: Re: [Xen-users] Opensolaris domU unable to get dhcp lease To: xen-users@xxxxxxxxxxxxxxxxxxx, "Michael Ralston" <michael@xxxxxxxxxxxxx> Date: Sunday, July 19, 2009, 3:12 AM
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@xxxxxxxxxxxxxxxxxxxhttp://lists.xensource.com/xen-users
|
-----Inline Attachment Follows-----
|
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
|
|
|