[Bug 292164] llan0 doesn't allow dhclient until an IP is provided on the interface

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 03 Jan 2026 20:31:22 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=292164

            Bug ID: 292164
           Summary: llan0 doesn't allow dhclient until an IP is provided
                    on the interface
           Product: Base System
           Version: 15.0-RELEASE
          Hardware: powerpc
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: powerpc
          Assignee: ppc@FreeBSD.org
          Reporter: adrian@freebsd.org

When running freebsd a a pseries guest with a SPAPR network interface, we have
some weird behaviour.


```
root@:~ # dmesg | grep llan0
llan0: <POWER Hypervisor Virtual Ethernet> irq 16781570 on vdevice0
llan0: Ethernet address: 52:54:00:93:82:ce
llan0: link state changed to UP
root@:~ # 
```

and

```
root@:~ # sysctl dev.llan.0
dev.llan.0.%iommu: 
dev.llan.0.%parent: vdevice0
dev.llan.0.%pnpinfo: name=l-lan compat=IBM,l-lan 
dev.llan.0.%location: 
dev.llan.0.%driver: llan
dev.llan.0.%desc: POWER Hypervisor Virtual Ethernet
```

ok, and

```
cpu0: IBM POWER9 revision 2.2, 3000.00 MHz
cpu0: Features
dc007182<PPC32,PPC64,ALTIVEC,FPU,MMU,SMT,ISNOOP,ARCH205,ARCH206,VSX,TRUELE>
cpu0: Features2 bee00000<ARCH207,DSCR,ISEL,TAR,VCRYPTO,ARCH300,IEEE128,DARN>
real memory  = 4249452544 (4052 MB)
avail memory = 4063674368 (3875 MB)
FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs
```

It's a power9 pseries VM

ok, and


```
root@:~ # ifconfig llan0
llan0: flags=1008802<BROADCAST,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        options=0
        ether 52:54:00:93:82:ce
        media: Ethernet autoselect
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
root@:~ # 
```

but when i run dhclient ...


```
root@:~ # dhclient llan0
DHCPDISCOVER on llan0 to 255.255.255.255 port 67 interval 8
Jan  3 20:30:06  dhclient[1594]: send_packet: Network is down
^C
root@:~ # Jan  3 20:30:08  dhclient[1594]: connection closed
Jan  3 20:30:08  dhclient[1594]: exiting.

root@:~ # ifconfig llan0
llan0: flags=1008803<UP,BROADCAST,SIMPLEX,MULTICAST,LOWER_UP> metric 0 mtu 1500
        options=0
        ether 52:54:00:93:82:ce
        media: Ethernet autoselect
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
root@:~ # 
```

however, programming in /an/ IP address works, and programming in an IP address
and then runnign dhclient works, ie

```
root@:~ # ifconfig llan0 inet 0.0.0.0/24
root@:~ # dhclient llan0
DHCPDISCOVER on llan0 to 255.255.255.255 port 67 interval 8
DHCPOFFER from 192.168.100.1
DHCPREQUEST on llan0 to 255.255.255.255 port 67
DHCPACK from 192.168.100.1
bound to 192.168.100.179 -- renewal in 1800 seconds.
root@:~ # ifconfig llan0
llan0: flags=1008843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST,LOWER_UP> metric 0
mtu 1500
        options=0
        ether 52:54:00:93:82:ce
        inet 192.168.100.179 netmask 0xffffff00 broadcast 192.168.100.255
        media: Ethernet autoselect
        status: active
        nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
root@:~ # 
```

-- 
You are receiving this mail because:
You are the assignee for the bug.