Первый раз с этим сталкиваюсь, прошу помощи, так как не получается что то ничего
Первоначальный конфиг
/etc/network/interfaces
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0
iface eth0 inet static
address x.x.11.42
netmask 255.255.255.0
gateway x.x.11.1
# add additional IP addresses this way
# up ip address add xxx.xxx.xxx.xxx/XX dev eth0
iface eth0 inet6 static
address ipv6.....
netmask 64
gateway x::1
accept_ra 0
autoconf 0
privext 0
Заказал у хостера дополнительный IP
IP x.x.29.26
Прислал IP и данные
Network: x.x.29.0
Gateway: x.x.29.1
Broadcast: x.x.29.255
Netmask: 255.255.255.0
Prefix: /24
Создаю новый конфиг
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
auto eth0:1
iface eth0:1 inet static
address x.x.11.42
netmask 255.255.255.0
gateway x.x11.1
auto eth0:2
iface eth0:2 inet static
address x.x.29.26
gateway x.x.29.1
netmask 255.255.255.0
# add additional IP addresses this way
# up ip address add xxx.xxx.xxx.xxx/XX dev eth0
iface eth0 inet6 static
address ipv6...
netmask 64
gateway ...::1
accept_ra 0
autoconf 0
privext 0
Перезагрузка, IP адреса работают, но service networking status показывает ошибку
● networking.service - Raise network interfaces
Loaded: loaded (/lib/systemd/system/networking.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2018-02-04 21:36:08 CET; 16min ago
Docs: man:interfaces(5)
Process: 618 ExecStart=/sbin/ifup -a --read-environment (code=exited, status=1/FAILURE)
Process: 611 ExecStartPre=/bin/sh -c [ "$CONFIGURE_INTERFACES" != "no" ] && [ -n "$(ifquery --read-environment --list --exclude=lo)" ] && udevadm settle (code=exited, status=0/SUCCESS)
Main PID: 618 (code=exited, status=1/FAILURE)
Feb 04 21:36:08 ....systemd[1]: Starting Raise network interfaces...
Feb 04 21:36:08 ....ifup[618]: RTNETLINK answers: File exists
Feb 04 21:36:08 ....ifup[618]: ifup: failed to bring up eth0:2
Feb 04 21:36:08 .... systemd[1]: networking.service: Main process exited, code=exited, status=1/FAILURE
Feb 04 21:36:08 .... systemd[1]: Failed to start Raise network interfaces.
Feb 04 21:36:08 .... systemd[1]: networking.service: Unit entered failed state.
Feb 04 21:36:08 ..... systemd[1]: networking.service: Failed with result 'exit-code'.
Что не так делаю?