Answer the question
In order to leave comments, you need to log in
How to make Debian 9.6 listen to /etc/network/interfaces config?
Hi guys! Faced with the inexplicable. They installed the new Debian 9.6 in the DC, I configured the network interface there:
source /etc/network/interfaces.d/*
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
#allow-hotplug ens192
auto ens192
iface ens192 inet static
address 192.168.72.152
netmask 255.255.255.0
gateway 192.168.72.1
post-up route add -net 192.168.24.0 netmask 255.255.254.0 gw 192.168.72.101
pre-down route del -net 192.168.24.0 netmask 255.255.254.0 gw 192.168.72.101
dhclient
the address successfully clings. What to do, where to dig?
Answer the question
In order to leave comments, you need to log in
I can’t speak for debian, but in the new ubuntu they switched to https://netplan.io/ and now everything is in /etc/netplan
Also look in the direction of NetworkManager, what if it happens to you and changes the picture of the world? nmcli in your hands
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question