NetBSD-Bugs archive

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

Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in SmartOS' KVM (and more)



The following reply was made to PR install/50832; it has been noted by GNATS.

From: James Blachly <james.blachly%gmail.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: martin%NetBSD.org@localhost,
 gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in SmartOS' KVM (and more)
Date: Sat, 20 Feb 2016 12:35:25 -0500

 At this time I think the title of this problem report is misleading, as =
 clearly this issue is greater than just acquiring DHCP leases, but =
 instead related to network connectivity in general.
 
 New information:
 
 Interestingly, by setting the following property in SmartOS KVM zone =
 definition (thanks to freqlabs on #netbsd), I was able to gain network =
 connectivity (but with flaws, see below)
 
 "allow_dhcp_spoofing": true
 
 Now, bringing up the vioif0 interface with static IP as below gives =
 network connectivity to my LAN
 
 ifconfig vioif0 inet 192.168.1.7 netmask 255.255.255.0
 
 No other guest OS requires this property unless it is actually doing =
 DHCP serving, which to me suggests there may be some subtle error in the =
 NetBSD7 virtio driver/net stack that manifests only when certain types =
 of packets are blocked.  I have asked the SmartOS team for more =
 information on the specifics of what filter is removed when =
 =E2=80=9Callow_dhcp_spoofing=E2=80=9D is set to true.=20
 
 
 However, at the same time I noted that ICMP echo times are highly =
 variable for round-trips originating at NetBSD 7, but not round-trips =
 originating elsewhere on the LAN.
 
 netbsd# ping 192.168.1.40
 PING 192.168.1.40 (192.168.1.40): 56 data bytes
 =E2=80=A6omitted=E2=80=A6
 =E2=80=94=E2=80=94192.168.1.40 PING Statistics=E2=80=94=E2=80=94
 32 packets transmitted, 32 packets received, 0.0% packet loss
 round-trip min/avg/max/stddev =3D =
 1.324890/54.664590/115.626610/40.018308 ms
 
 * CONTRAST *
 
 physical-machine$ ping 192.168.1.7
 PING 192.168.1.7 (192.168.1.7): 56 data bytes
 =E2=80=A6omitted=E2=80=A6
 --- 192.168.1.7 ping statistics ---
 31 packets transmitted, 31 packets received, 0.0% packet loss
 round-trip min/avg/max/stddev =3D 0.983/6.033/21.188/4.394 ms
 



Home | Main Index | Thread Index | Old Index