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)

Dear Joerg,

Can you provide details about the host and hypervisor?  Was the install from the ISO? 

In your working installation, presumably the device is vioif0 ?  

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 netmask
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 “link#1” with the R flag (unreachable)

Kind regards

> On Feb 19, 2016, at 4:15 PM, Joerg Sonnenberger <> wrote:
> The following reply was made to PR install/50832; it has been noted by GNATS.
> From: Joerg Sonnenberger <>
> To:
> Cc:,,
> 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, 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

Home | Main Index | Thread Index | Old Index