I had to swap out my router, and unfortunately that also means changing the default gateway.
I have updated the configuration in /etc/netplan/00-installer-config.yml
with my net configuration and run # ip link set eno1 down && ip link set eno1 up
, which corresponds with my network adapter:
2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 68:1d:ef:29:94:99 brd ff:ff:ff:ff:ff:ff
altname enp1s0
inet 10.18.10.242/24 brd 10.18.10.255 scope global eno1
valid_lft forever preferred_lft forever
inet6 fe80::6a1d:efff:fe29:9499/64 scope link
valid_lft forever preferred_lft forever
I expected this to work, since executing # ifdown eth0 && ifup eth0
worked on my debian box after updating /etc/network/interfaces
. I could ping 1.1.1.1
with success.
I have tried all of the following (after executing sudo -i
) with a "No such file or directory", "Command 'XXXX' not found, but can be installed with: ..." or similar error:
/etc/init.d/network restart
systemctl restart network
systemctl restart NetworkManager
nmcli networking off && nmcli networking on
service network-manager restart
systemctl restart NetworkManager.service
What can I do besides restarting the box (which I do not want to do, if possible)
I know I can apt install ifupdown
or apt install ifupdow-ng
but I assume that the reason for not having these installed per default is that there is a newer, smarter way to do this, which eludes me.