source /etc/network/interfaces.d/* auto lo iface lo inet loopback iface lo inet6 loopback auto enp0s31f6 enp0s31f6 iface inet static address 138.201.248.42 netmask 255.255.255.192 gateway 138.201.248.1 up route add -net netmask 255.255.255.192 gw 138.201.248.0 138.201.248.1 dev enp0s31f6 # route 138.201.248.0/26 via 138.201.248.1 enp0s31f6 iface inet6 static address 2a01:4f8:173:1f29::2 netmask 64 gateway fe80::1