I assume you're using systemd-networkd
so did you try using networkctl
to reload and reconfigure your networks? By using status
you can see which files are being used by your interface. I hope this points you to an explanation.
➜ ~ sudo networkctl
delete -- Delete virtual netdevs
down -- Bring devices down
forcerenew -- Trigger DHCP reconfiguration of all connected clients
label -- Show address labels
list -- List existing links
lldp -- Show Link Layer Discovery Protocol status
reconfigure -- Reconfigure interfaces
reload -- Reload .network and .netdev files
renew -- Renew dynamic configurations
status -- Show information about the specified links
up -- Bring devices up
sudo networkctl status
gives you a general overview of all your network settings but indeed, it doesn't show the files used. You can dosudo networkctl
to see a list of all your network devices and whether they are managed bysystemd-networkd
or not. For example, the 3rd device is the one I'm using to connect to the internet. The 7th device is a VPN I'm using.Just using
status
gives you the overview of all your IP addresses and DNS settings.What you probably want is the following
sudo networkctl status $INTERFACE
. Here you see the Link file and Network file used by the interface.You probably have the same
.link
files as me because they are the default ones. The.network
files I use are custom though, for example:I hope this helps you a bit.