853 B
853 B
Fix APIPA (veth)
Problem
On Debian 11, when:
- Using docker containers that use the
host
network mode. PreferredTechnologies
is set toethernet,[...]
in/etc/connman/main.conf
.- This may not be a problem when ethernet is plugged in, not just wifi.
The system uses a veth interface to connect to the internet, which uses an APIPA (169.254..) IP address, so the system can only contact devices on the LAN.
Solution
Edit /etc/connman/main.conf
and uncomment the line # NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb,ve-,vb-
Result:
NetworkInterfaceBlacklist = vmnet,vboxnet,virbr,ifb,ve-,vb-