Попытка настроить петлевой сетевой интерфейс, но не работа

Я прочитал другие сообщения.. однако я все еще не зафиксировал свой интерфейс. У меня есть следующее:

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
allow-hotplug eth0
iface eth0 inet static
post-up /sbin/ethtool -s eth0 speed 100 duplex full autoneg off
address 109.169.67.61
netmask 255.255.255.0
gateway 109.169.67.1
dns-nameservers 87.117.198.200 87.117.237.100 87.117.196.200

auto eth0:0
allow-hotplug eth0:0
iface eth1 inet static
        address 109.169.67.138
        netmask 255.255.255.0

auto eth0:1
allow-hotplug eth0:1
iface eth1 inet static
        address 109.169.67.139
        netmask 255.255.255.0

auto eth0:2
allow-hotplug eth0:2
iface eth1 inet static
        address 109.169.67.140
        netmask 255.255.255.0

auto eth0:3
allow-hotplug eth0:3
iface eth1 inet static
        address 109.169.67.166
        netmask 255.255.255.0

Какие-либо предложения?

0
задан 30 January 2016 в 01:47

1 ответ

Спасибо, я нашел решение:

ifconfig eth0:0 109.169.67.138 netmask 255.255.255.0 up
ifconfig eth0:1 109.169.67.139 netmask 255.255.255.0 up
ifconfig eth0:2 109.169.67.140 netmask 255.255.255.0 up
ifconfig eth0:3 109.169.67.166 netmask 255.255.255.0 up
0
ответ дан 26 July 2019 в 08:38

Другие вопросы по тегам:

Похожие вопросы: