Hello, a special problem. I have a debian (12) machine which has an onboard network card. This machine acts as dhcp-server also.
Now i want to add a usb network device. But this is not always there. It is plugged in when needed. And it should serve the same network as the onboard one. My idea was to create a bridge and attach the host network interface to it. The problem now is how to get the usb network card attached to the bridge when plugged in. My /etc/network/interfaces reads like this: ------------------ cut -------------------- auto lo iface lo inet loopback # onloard device iface ens18 inet manual # usb device (not always there) iface enx0 inet manual auto br0 iface br0 inet static address 10.10.10.1/24 bridge-ports ens18 enx0 bridge-stp off bridge-fd 0 ------------------ cut -------------------- This works as long the usb device is plugged in at boot time. Connecting it later the usb network device appears but will not be attached to the bridge. Any hints ? regards Petric