# The robot's end of the USB link: /etc/netplan/60-usb0.yaml (mode 600). # Matched by name: the kernel names the gadget's NCM interface usb0. (A MAC match does not work: # netplan matches the *permanent* MAC, which a gadget interface does not have.) No gateway, so the # robot never routes its internet traffic through the host; Wi-Fi stays the way out. network: version: 2 ethernets: usb0: match: name: usb0 addresses: [10.55.0.2/30] dhcp4: false dhcp6: false optional: true