Following up on #44222. The 2026-07-22 fix correctly enabled the usb0 DHCP server, but that appears to have activated a pre-existing setting in the same file which now affects the host’s routing.
Environment
- Image:
am335x-debian-13.6-base-v6.18-armhf-2026-07-24-4gb /etc/dogtag: BeagleBoard.org Debian Trixie Base Image 2026-07-24- Kernel:
6.18.39-bone44 - Board: BeagleBone Black Rev D, booted from microSD (eMMC untouched)
- Host: macOS Tahoe 26.5.1, connected over USB only
sysconf.txt: onlyuser_nameanduser_passwordset.usb_enable_dhcpleft commented.
Symptom
With the board attached over USB, the host loses all internet connectivity.
The host’s IPv4 default route is replaced by 192.168.7.2, and the existing route via the Wi-Fi gateway is demoted to interface-scoped. Multicast and broadcast routes move to the USB interface as well. Since the board has no upstream, all internet-bound traffic is blackholed.
Unplugging the board restores connectivity immediately. Reproducible in both directions.
Cause
/etc/systemd/network/usb0.network (from bb-usb-gadgets) contains EmitRouter=yes, so the board’s DHCP Offer includes Option 3 (Router) pointing at itself.
This setting was present before the 07-22 fix, but had no effect because DHCPServer=true was missing and the server never ran. Enabling the server made it live.
Evidence
EmitRouter=yes
DHCP Offer as shipped, EmitRouter=yes, 310 bytes:
Option: (53) DHCP Message Type (Offer)
Option: (51) IP Address Lease Time
Option: (1) Subnet Mask (255.255.255.252)
Option: (3) Router
Option: (54) DHCP Server Identifier (192.168.7.2)
Option: (255) End
EmitRouter=no
Same exchange with EmitRouter=no, 304 bytes:
Option: (53) DHCP Message Type (Offer)
Option: (51) IP Address Lease Time
Option: (1) Subnet Mask (255.255.255.252)
Option: (54) DHCP Server Identifier (192.168.7.2)
Option: (255) End
Host routing table with board attached:
default 192.168.1.1 UGScIg en0 (Wi-Fi, demoted, note the I flag)
default 192.168.7.2 UGScg en12 (board, primary)
Proposed fix
EmitRouter=no in the [DHCPServer] section of usb0.network.
Tested: Option 3 disappears from the Offer, the host no longer installs a default route via the board, and the board remains fully reachable at 192.168.7.2 over ICMP and SSH. No other DHCP options are affected.
Notes
- Tested only on macOS. Linux and Windows hosts rank interfaces differently and may not see the same impact. The Linux output in #44222 looks healthy, so this may be host specific.
- DNS also fails on the affected host, but this is not the board’s doing.
EmitDNS=nois set and Option 6 is never sent. macOS appears to create an empty resolver entry when the USB interface becomes primary. Mentioning it only so it isn’t misattributed. - The prior image on this board’s eMMC (Bookworm Base Image 2025-05-27) did not exhibit this on the same host.
- If
EmitRouter=yesis intentional for Internet Sharing setups, apologies for the noise. In that case it may be worth gating it behind a sysconf option.

