NetBSD Problem Report #50832
From www@NetBSD.org Fri Feb 19 04:41:07 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.NetBSD.org [199.233.217.200])
(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (verified OK))
by mollari.NetBSD.org (Postfix) with ESMTPS id EF23A7ABDE
for <gnats-bugs@gnats.NetBSD.org>; Fri, 19 Feb 2016 04:41:06 +0000 (UTC)
Message-Id: <20160219044105.B76DB7ACC4@mollari.NetBSD.org>
Date: Fri, 19 Feb 2016 04:41:05 +0000 (UTC)
From: james.blachly@gmail.com
Reply-To: james.blachly@gmail.com
To: gnats-bugs@NetBSD.org
Subject: NetBSD-7.0 iso won't acquire DHCPv4 lease in SmartOS' KVM (and more)
X-Send-Pr-Version: www-1.0
>Number: 50832
>Category: install
>Synopsis: NetBSD-7.0 iso won't acquire DHCPv4 lease in SmartOS' KVM (and more)
>Confidential: no
>Severity: critical
>Priority: medium
>Responsible: martin
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Fri Feb 19 04:45:00 +0000 2016
>Last-Modified: Wed Feb 24 01:55:00 +0000 2016
>Originator: James Blachly
>Release: 7.0-amd64
>Organization:
None
>Environment:
uname is not installed and available during the installer
>Description:
Using virtio network driver in SmartOS' KVM, NetBSD-7 can not acquire a DHCPv4 lease ; it gives up and goes to link local address.
Because dhcpcd returns with success even if link local is configured, this causes some problem with the installer because /etc/resolv.conf is never created; therefore at the install step where /etc/resolv.conf is /bin/cp'd to /target/whatever, that command throws an error message. So , independent of the what I believe to be error in virtio driver, that part of the installer needs to be addressed.
Now, using an identical setup, I tested NetBSD-6.1.5 and it worked perfectly.
I then using an identical setup tested OpenBSD-5.8, and it also successfully acquired a DHCPv4 lease from my router.
So this seems to be very specific to NetBSD-7.0 release that I downloaded
>How-To-Repeat:
I downloaded the following ISO
ftp://mirror.planetunix.net/pub/NetBSD/images/7.0/NetBSD-7.0-amd64.iso
# cksum NetBSD-7.0-amd64.iso
3035928875 389777408 NetBSD-7.0-amd64.iso
(apologies that my smartos global zone does not have sha256 installed)
>Fix:
Unknown
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: install-manager->martin
Responsible-Changed-By: martin@NetBSD.org
Responsible-Changed-When: Fri, 19 Feb 2016 12:57:54 +0000
Responsible-Changed-Why:
Take (the installer part).
Roy: the dhcp part remains for you ;-)
From: Martin Husemann <martin@duskware.de>
To: gnats-bugs@NetBSD.org
Cc: roy@NetBSD.org
Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in SmartOS' KVM (and more)
Date: Fri, 19 Feb 2016 13:56:58 +0100
On Fri, Feb 19, 2016 at 04:45:00AM +0000, james.blachly@gmail.com wrote:
> Using virtio network driver in SmartOS' KVM, NetBSD-7 can not acquire
> a DHCPv4 lease ; it gives up and goes to link local address.
Can you get more details for this please?
It may depend on your local dhcp server and other network setup details.
If you go to Utilities/Run /bin/sh you should be able to restart
dhcpcd with -d for debugging info on stderr.
> Because dhcpcd returns with success even if link local is configured,
> this causes some problem with the installer because /etc/resolv.conf is
> never created; therefore at the install step where /etc/resolv.conf is
> /bin/cp'd to /target/whatever, that command throws an error message. So
> , independent of the what I believe to be error in virtio driver, that
> part of the installer needs to be addressed.
Yes, I agree - will check.
Martin
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: install-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in
SmartOS' KVM (and more)
Date: Fri, 19 Feb 2016 22:14:31 +0100
On Fri, Feb 19, 2016 at 04:45:00AM +0000, james.blachly@gmail.com wrote:
> >Description:
> Using virtio network driver in SmartOS' KVM, NetBSD-7 can not acquire
> a DHCPv4 lease ; it gives up and goes to link local address.
I have both 7.0RC1 and netbsd-7-0 instances happily using DHCP on
virtio.
Joerg
From: James Blachly <james.blachly@gmail.com>
To: gnats-bugs@NetBSD.org,
joerg@britannica.bec.de
Cc: martin@NetBSD.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in SmartOS' KVM (and more)
Date: Fri, 19 Feb 2016 21:07:40 -0500
Dear Joerg,
Can you provide details about the host and hypervisor? Was the install =
from the ISO?=20
In your working installation, presumably the device is vioif0 ? =20
I also meant to add to the ticket, but accidentally got cut off, was =
that this does not seem to be just a DHCP problem; bringing the network =
up manually with ifconfig and ensuring correct static route in place, I =
still cannot reach the outside (except by ARP, see below).
ifconfig vioif0 inet4 192.168.1.7 netmask 255.255.255.0
result: success, but no host is ping-able, and pings to this host fail.
However tonight I discovered that ARP works in one direction: after =
bringing up the interface, and pinging from the outside (for example =
from my laptop on the same LAN), then re-run netstat -r on the NetBSD-7 =
machine, the IP and MAC address for my laptop now appear in the routing =
table.
However, if I ping FROM the netBSD machine, the MAC never appears in the =
routing table, only as =E2=80=9Clink#1=E2=80=9D with the R flag =
(unreachable)
=20
Kind regards
James
> On Feb 19, 2016, at 4:15 PM, Joerg Sonnenberger =
<joerg@britannica.bec.de> wrote:
>=20
> The following reply was made to PR install/50832; it has been noted by =
GNATS.
>=20
> From: Joerg Sonnenberger <joerg@britannica.bec.de>
> To: gnats-bugs@NetBSD.org
> Cc: install-manager@netbsd.org, gnats-admin@netbsd.org,
> netbsd-bugs@netbsd.org
> Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease =
in
> SmartOS' KVM (and more)
> Date: Fri, 19 Feb 2016 22:14:31 +0100
>=20
> On Fri, Feb 19, 2016 at 04:45:00AM +0000, james.blachly@gmail.com =
wrote:
>>> Description:
>> Using virtio network driver in SmartOS' KVM, NetBSD-7 can not acquire
>> a DHCPv4 lease ; it gives up and goes to link local address.
>=20
> I have both 7.0RC1 and netbsd-7-0 instances happily using DHCP on
> virtio.
>=20
> Joerg
>=20
From: James Blachly <james.blachly@gmail.com>
To: gnats-bugs@NetBSD.org
Cc: martin@NetBSD.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
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
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: James Blachly <james.blachly@gmail.com>
Cc: gnats-bugs@NetBSD.org, martin@NetBSD.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in
SmartOS' KVM (and more)
Date: Sat, 20 Feb 2016 21:24:48 +0100
On Sat, Feb 20, 2016 at 12:35:25PM -0500, James Blachly wrote:
> 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
> “allow_dhcp_spoofing” is set to true.
As I said, I have a fully working setup, so I somehow doubt it is that.
Let's start with something simple:
(1) What is the output of "vmadm get <uuid>" for the zone
(2) What is the output of "ifconfig vioif0" from the VM
Joerg
From: James Blachly <james.blachly@gmail.com>
To: Joerg Sonnenberger <joerg@britannica.bec.de>
Cc: gnats-bugs@NetBSD.org,
martin@NetBSD.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in SmartOS' KVM (and more)
Date: Sat, 20 Feb 2016 18:52:44 -0500
--Apple-Mail=_8A25F939-2766-4715-9078-249CBFBAA5B1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
Dear Joerg,
[root@smartos ~]# cat netbsd.json
{
"brand": "kvm",
"alias": "netbsd7",
"autoboot": false,
"ram": "1024",
"vcpus": "2",
"nics": [
{
"nic_tag": "admin",
"ip": "dhcp",
"model": "virtio"
}
],
"disks": [
{
"boot": true,
"model": "virtio",
"size": 8192,
"compression": "on"
}
]
}
[root@smartos ~]# vmadm create -f netbsd.json
Successfully created VM 55ea99a1-a802-4046-e434-c8bec106237f
[root@smartos ~]# cp /tank/archives/Disk\ Images/Operating\ =
Systems/NetBSD-7.0-amd64.iso =
/zones/55ea99a1-a802-4046-e434-c8bec106237f/root/
[root@smartos ~]# vmadm boot 55ea99a1-a802-4046-e434-c8bec106237f =
order=3Dcd,once=3Dd cdrom=3D/NetBSD-7.0-amd64.iso,ide
Successfully started VM 55ea99a1-a802-4046-e434-c8bec106237f
[root@smartos ~]# vmadm get 55ea99a1-a802-4046-e434-c8bec106237f
{
"zonename": "55ea99a1-a802-4046-e434-c8bec106237f",
"autoboot": true,
"brand": "kvm",
"limit_priv": =
"default,-file_link_any,-net_access,-proc_fork,-proc_info,-proc_session",
"v": 1,
"create_timestamp": "2016-02-20T23:25:33.984Z",
"cpu_shares": 100,
"max_lwps": 2000,
"max_msg_ids": 4096,
"max_sem_ids": 4096,
"max_shm_ids": 4096,
"max_shm_memory": 2048,
"zfs_io_priority": 100,
"max_physical_memory": 2048,
"max_locked_memory": 2048,
"max_swap": 2048,
"billing_id": "00000000-0000-0000-0000-000000000000",
"owner_uuid": "00000000-0000-0000-0000-000000000000",
"alias": "netbsd7",
"ram": 1024,
"vcpus": 2,
"disks": [
{
"path": =
"/dev/zvol/rdsk/zones/55ea99a1-a802-4046-e434-c8bec106237f-disk0",
"boot": true,
"model": "virtio",
"media": "disk",
"zfs_filesystem": =
"zones/55ea99a1-a802-4046-e434-c8bec106237f-disk0",
"zpool": "zones",
"size": 8192,
"compression": "on",
"refreservation": 8192,
"block_size": 8192
}
],
"nics": [
{
"interface": "net0",
"mac": "d2:e8:b0:94:ee:08",
"nic_tag": "admin",
"ip": "dhcp",
"ips": [
"dhcp"
],
"model": "virtio",
"primary": true
}
],
"uuid": "55ea99a1-a802-4046-e434-c8bec106237f",
"zone_state": "running",
"zonepath": "/zones/55ea99a1-a802-4046-e434-c8bec106237f",
"zoneid": 28,
"last_modified": "2016-02-20T23:26:49.000Z",
"resolvers": [],
"firewall_enabled": false,
"server_uuid": "44454c4c-5800-1043-8044-b1c04f535331",
"platform_buildstamp": "20160121T174331Z",
"state": "running",
"boot_timestamp": "2016-02-20T23:26:47.000Z",
"pid": 83941,
"customer_metadata": {},
"internal_metadata": {},
"routes": {},
"tags": {},
"quota": 10,
"zfs_root_recsize": 131072,
"zfs_filesystem": "zones/55ea99a1-a802-4046-e434-c8bec106237f",
"zpool": "zones",
"snapshots": []
}
Now from NetBSD machine:
# ifconfig
vioif0: flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
address: d2:e8:b0:94:ee:08
lo0: flags=3D8048<LOOPBACK,RUNNING,MULTICAST> mtu 33648
# netstat -r
Routing tables
# netstat -r
Routing tables
Internet:
Destination Gateway Flags Refs Use Mtu =
Interface
192.16.1/24 link#1 UC - - - =
vioif0
Internet6:
-trimmed-
> On Feb 20, 2016, at 3:24 PM, Joerg Sonnenberger =
<joerg@britannica.bec.de> wrote:
>=20
> As I said, I have a fully working setup, so I somehow doubt it is =
that.
> Let's start with something simple:
> (1) What is the output of "vmadm get <uuid>" for the zone=20
> (2) What is the output of "ifconfig vioif0" from the VM
>=20
> Joerg
--Apple-Mail=_8A25F939-2766-4715-9078-249CBFBAA5B1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><div class=3D""><div class=3D"">Dear Joerg,</div><div =
class=3D""><br class=3D""></div><div class=3D"">[root@smartos ~]# cat =
netbsd.json</div><div class=3D""><div class=3D"">{</div><div =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>"brand": "kvm",</div><div class=3D""><span class=3D"Apple-tab-span"=
style=3D"white-space:pre"> </span>"alias": "netbsd7",</div><div =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>"autoboot": false,</div><div class=3D""><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> </span>"ram": =
"1024",</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>"vcpus": "2",</div><div =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>"nics": [</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>{</div><div =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>"nic_tag": "admin",</div><div class=3D""><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>"ip": "dhcp",</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>"model": =
"virtio"</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>}</div><div =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>],</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>"disks": [</div><div =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>{</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>"boot": =
true,</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>"model": =
"virtio",</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>"size": =
8192,</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>"compression": =
"on"</div><div class=3D""><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"> </span>}</div><div =
class=3D""><span class=3D"Apple-tab-span" style=3D"white-space:pre"> =
</span>]</div><div class=3D"">}</div></div><div class=3D""><div =
class=3D"">[root@smartos ~]# vmadm create -f netbsd.json</div><div =
class=3D"">Successfully created VM =
55ea99a1-a802-4046-e434-c8bec106237f</div><div class=3D"">[root@smartos =
~]# cp /tank/archives/Disk\ Images/Operating\ =
Systems/NetBSD-7.0-amd64.iso =
/zones/55ea99a1-a802-4046-e434-c8bec106237f/root/</div></div><div =
class=3D""><div class=3D"">[root@smartos ~]# vmadm boot =
55ea99a1-a802-4046-e434-c8bec106237f order=3Dcd,once=3Dd =
cdrom=3D/NetBSD-7.0-amd64.iso,ide</div><div class=3D"">Successfully =
started VM 55ea99a1-a802-4046-e434-c8bec106237f</div></div><div =
class=3D"">[root@smartos ~]# vmadm get =
55ea99a1-a802-4046-e434-c8bec106237f</div><div class=3D"">{</div><div =
class=3D""> "zonename": =
"55ea99a1-a802-4046-e434-c8bec106237f",</div><div class=3D""> =
"autoboot": true,</div><div class=3D""> "brand": "kvm",</div><div =
class=3D""> "limit_priv": =
"default,-file_link_any,-net_access,-proc_fork,-proc_info,-proc_session",<=
/div><div class=3D""> "v": 1,</div><div class=3D""> =
"create_timestamp": "2016-02-20T23:25:33.984Z",</div><div =
class=3D""> "cpu_shares": 100,</div><div class=3D""> =
"max_lwps": 2000,</div><div class=3D""> "max_msg_ids": =
4096,</div><div class=3D""> "max_sem_ids": 4096,</div><div =
class=3D""> "max_shm_ids": 4096,</div><div class=3D""> =
"max_shm_memory": 2048,</div><div class=3D""> "zfs_io_priority": =
100,</div><div class=3D""> "max_physical_memory": 2048,</div><div =
class=3D""> "max_locked_memory": 2048,</div><div class=3D""> =
"max_swap": 2048,</div><div class=3D""> "billing_id": =
"00000000-0000-0000-0000-000000000000",</div><div class=3D""> =
"owner_uuid": "00000000-0000-0000-0000-000000000000",</div><div =
class=3D""> "alias": "netbsd7",</div><div class=3D""> "ram": =
1024,</div><div class=3D""> "vcpus": 2,</div><div class=3D""> =
"disks": [</div><div class=3D""> {</div><div =
class=3D""> "path": =
"/dev/zvol/rdsk/zones/55ea99a1-a802-4046-e434-c8bec106237f-disk0",</div><d=
iv class=3D""> "boot": true,</div><div =
class=3D""> "model": "virtio",</div><div =
class=3D""> "media": "disk",</div><div =
class=3D""> "zfs_filesystem": =
"zones/55ea99a1-a802-4046-e434-c8bec106237f-disk0",</div><div =
class=3D""> "zpool": "zones",</div><div =
class=3D""> "size": 8192,</div><div class=3D""> =
"compression": "on",</div><div class=3D""> =
"refreservation": 8192,</div><div class=3D""> =
"block_size": 8192</div><div class=3D""> }</div><div =
class=3D""> ],</div><div class=3D""> "nics": [</div><div =
class=3D""> {</div><div class=3D""> =
"interface": "net0",</div><div class=3D""> "mac": =
"d2:e8:b0:94:ee:08",</div><div class=3D""> =
"nic_tag": "admin",</div><div class=3D""> "ip": =
"dhcp",</div><div class=3D""> "ips": [</div><div =
class=3D""> "dhcp"</div><div class=3D""> =
],</div><div class=3D""> "model": =
"virtio",</div><div class=3D""> "primary": =
true</div><div class=3D""> }</div><div class=3D""> =
],</div><div class=3D""> "uuid": =
"55ea99a1-a802-4046-e434-c8bec106237f",</div><div class=3D""> =
"zone_state": "running",</div><div class=3D""> "zonepath": =
"/zones/55ea99a1-a802-4046-e434-c8bec106237f",</div><div class=3D""> =
"zoneid": 28,</div><div class=3D""> "last_modified": =
"2016-02-20T23:26:49.000Z",</div><div class=3D""> "resolvers": =
[],</div><div class=3D""> "firewall_enabled": false,</div><div =
class=3D""> "server_uuid": =
"44454c4c-5800-1043-8044-b1c04f535331",</div><div class=3D""> =
"platform_buildstamp": "20160121T174331Z",</div><div class=3D""> =
"state": "running",</div><div class=3D""> "boot_timestamp": =
"2016-02-20T23:26:47.000Z",</div><div class=3D""> "pid": =
83941,</div><div class=3D""> "customer_metadata": {},</div><div =
class=3D""> "internal_metadata": {},</div><div class=3D""> =
"routes": {},</div><div class=3D""> "tags": {},</div><div =
class=3D""> "quota": 10,</div><div class=3D""> =
"zfs_root_recsize": 131072,</div><div class=3D""> =
"zfs_filesystem": =
"zones/55ea99a1-a802-4046-e434-c8bec106237f",</div><div class=3D""> =
"zpool": "zones",</div><div class=3D""> "snapshots": []</div><div =
class=3D"">}</div></div><div class=3D""><br class=3D""></div><div =
class=3D""><br class=3D""></div><div class=3D"">Now from NetBSD =
machine:</div><div class=3D""><br class=3D""></div><div class=3D""><font =
face=3D"Courier New" class=3D""># ifconfig</font></div><div =
class=3D""><font face=3D"Courier New" class=3D"">vioif0: =
flags=3D8802<BROADCAST,SIMPLEX,MULTICAST> mtu =
1500</font></div><div class=3D""><font face=3D"Courier New" =
class=3D""> address: =
d2:e8:b0:94:ee:08</font></div><div class=3D""><font face=3D"Courier New" =
class=3D"">lo0: flags=3D8048<LOOPBACK,RUNNING,MULTICAST> mtu =
33648</font></div><div class=3D""><font face=3D"Courier New" class=3D""># =
netstat -r</font></div><div class=3D""><font face=3D"Courier New" =
class=3D"">Routing tables</font></div><div class=3D""><font =
face=3D"Courier New" class=3D""># netstat -r</font></div><div =
class=3D""><font face=3D"Courier New" class=3D"">Routing =
tables</font></div><div class=3D""><font face=3D"Courier New" =
class=3D""><br class=3D""></font></div><div class=3D""><font =
face=3D"Courier New" class=3D"">Internet:</font></div><div =
class=3D""><font face=3D"Courier New" class=3D"">Destination =
Gateway =
Flags Refs Use =
Mtu Interface</font></div><div class=3D""><font face=3D"Courier =
New" class=3D"">192.16.1/24 link#1 =
UC =
- - - =
vioif0</font></div><div class=3D""><font face=3D"Courier New" =
class=3D""><br class=3D""></font></div><div class=3D""><font =
face=3D"Courier New" class=3D"">Internet6:</font></div><div =
class=3D""><font face=3D"Courier New" =
class=3D"">-trimmed-</font></div><div class=3D""><font face=3D"Courier =
New" class=3D""><br class=3D""></font></div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""><div><blockquote =
type=3D"cite" class=3D""><div class=3D"">On Feb 20, 2016, at 3:24 PM, =
Joerg Sonnenberger <<a href=3D"mailto:joerg@britannica.bec.de" =
class=3D"">joerg@britannica.bec.de</a>> wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">As I =
said, I have a fully working setup, so I somehow doubt it is that.<br =
class=3D"">Let's start with something simple:<br class=3D"">(1) What is =
the output of "vmadm get <uuid>" for the zone <br class=3D"">(2) =
What is the output of "ifconfig vioif0" from the VM<br class=3D""><br =
class=3D"">Joerg<br class=3D""></div></div></blockquote></div><br =
class=3D""></div></body></html>=
--Apple-Mail=_8A25F939-2766-4715-9078-249CBFBAA5B1--
From: James Blachly <james.blachly@gmail.com>
To: Joerg Sonnenberger <joerg@britannica.bec.de>
Cc: gnats-bugs@NetBSD.org,
martin@NetBSD.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in SmartOS' KVM (and more)
Date: Sat, 20 Feb 2016 19:26:51 -0500
Copy-paste error; apologies that I missed the output of ifconfig after =
bringing the interface up. See below
# ifconfig vioif0 inet 192.168.1.7 netmask 255.255.255.0
# ifconfig
vioif0: flags=3D8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
address: d2:e8:b0:94:ee:08
inet 192.168.1.7 netmask 0xffffff00 broadcast 192.168.1.255
inet6 fe80::d0e8:b0ff:fe94:ee08%vioif0 prefixlen 64 scopeid 0x1
l0: flags=3D8048<LOOPBACK,RUNNING,MULTICAST> mtu 33648
#=
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: James Blachly <james.blachly@gmail.com>
Cc: gnats-bugs@NetBSD.org, martin@NetBSD.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in
SmartOS' KVM (and more)
Date: Sun, 21 Feb 2016 01:58:26 +0100
On Sat, Feb 20, 2016 at 06:52:44PM -0500, James Blachly wrote:
> "nics": [
> {
> "interface": "net0",
> "mac": "d2:e8:b0:94:ee:08",
> "nic_tag": "admin",
> "ip": "dhcp",
> "ips": [
> "dhcp"
> ],
> "model": "virtio",
> "primary": true
> }
> ],
Hm. So the primary difference is that I am explicitly specifying the IP
and gateway.
Joerg
From: James Blachly <james.blachly@gmail.com>
To: Joerg Sonnenberger <joerg@britannica.bec.de>
Cc: gnats-bugs@NetBSD.org,
martin@NetBSD.org,
gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org
Subject: Re: install/50832: NetBSD-7.0 iso won't acquire DHCPv4 lease in SmartOS' KVM (and more)
Date: Tue, 23 Feb 2016 20:51:09 -0500
--Apple-Mail=_93D09BBE-4732-45AB-816D-358A8D8BCFED
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
I have posted packet dumps on the SmartOS issue tracker on github ; they =
will investigate further.
Could be interaction of SmartOS anti-spoofing code with the specific =
version of dhcpcd shipped with NetBSD-7?
https://github.com/joyent/smartos-live/issues/567 =
<https://github.com/joyent/smartos-live/issues/567>
Thanks everyone for input and patience so far. Will wait to see what the =
Joyent team think with respect to the packet dumps
--Apple-Mail=_93D09BBE-4732-45AB-816D-358A8D8BCFED
Content-Transfer-Encoding: 7bit
Content-Type: text/html;
charset=us-ascii
<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">I have posted packet dumps on the SmartOS issue tracker on github ; they will investigate further.<div class=""><br class=""></div><div class="">Could be interaction of SmartOS anti-spoofing code with the specific version of dhcpcd shipped with NetBSD-7?</div><div class=""><br class=""></div><div class=""><a href="https://github.com/joyent/smartos-live/issues/567" class="">https://github.com/joyent/smartos-live/issues/567</a></div><div class=""><br class=""></div><div class="">Thanks everyone for input and patience so far. Will wait to see what the Joyent team think with respect to the packet dumps</div><div class=""><br class=""></div></body></html>
--Apple-Mail=_93D09BBE-4732-45AB-816D-358A8D8BCFED--
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.