On Wed, 11 Jan 2023 at 10:50, Maksim Dmitrichenko wrote: > >> auto eno2 >> iface eno2 inet dhcp >> >> auto eno2:0 >> iface eno2:0 inet static >> address 1.1.1.1/32 > > Сие из эпохи sarge-зоя или около того. На настоящий момент инстансы не > требуется указывать.
Попробовал как-то не указывать в 2015 году... (Лет этак 10 после выпуска Sarge.) В итоге оставил такое предупреждение на wiki[1] по поводу нового метода: "Note however that this method is *dangerous*! Certain driver/hardware combinations may sometimes fail to bring the link up if no labels are assigned to the alias interfaces. (Seen this on Debian Wheezy and Jessie with RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 01) auto-negotiating to 10/full. A similar warning from another person exists in the history of this page.)" С тех пор старый добрый legacy метод ни разу не подвёл. [1]https://wiki.debian.org/NetworkConfiguration#Multiple_IP_addresses_on_one_Interface -- ...Bye..Dmitrii.