Proxmox 6.0 Hetzner networking

To revert back from systemd-networkd to old school /etc/network/interfaces in the current Hetzner Proxmox image you can:

(Do I have to say you have to check / add your own values?)

  1. Edit interfaces config:

     /etc/network/interfaces.d/*
    
     auto lo 
     iface lo inet loopback 
     iface lo inet6 loopback
        
     auto enp4s0 
     iface enp4s0 inet static   
     address 123.123.123.123   
     netmask 255.255.255.255   
     pointopoint 123.123.123.456   
     gateway 123.123.123.456
        
     iface enp4s0 inet6 static   
     address abcd:efg:123:456::2   
     netmask 64   
     gateway fe80::1
    
  2. Enable the config:

     ifdown --force enp4s0 lo && ifup -a 
     systemctl unmask networking 
     systemctl enable networking 
     systemctl restart networking
    
  3. Remove unwanted services:

     systemctl stop systemd-networkd.socket systemd-networkd networkd-dispatcher systemd-networkd-wait-online
    
     systemctl disable systemd-networkd.socket systemd-networkd networkd-dispatcher systemd-networkd-wait-online
    
     systemctl mask systemd-networkd.socket systemd-networkd networkd-dispatcher systemd-networkd-wait-online
    

You’re good to go.