Здравствуйте, посоветуйте с настройкой.
CentOS7 две сетевые карты статические IP: nnn.nnn.nnn.66 и nnn.nnn.nnn.67
NetworkManager оключен. Имеем следующие настройки:
в /etc/sysconfig/network-scripts/ifcfg-enp3s0
---------------------
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=enp3s0
UUID=8c6c9bce-5af9-456b-9be1-afd6722305c3
ONBOOT=yes
HWADDR=00:15:17:01:43:75
IPADDR=nnn.nnn.nnn.66
PREFIX=28
----------------------
ifcfg-enp4s5
---------------------
TYPE=Ethernet
BOOTPROTO=static
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
NAME=enp4s5
UUID=9c18aada-437e-487a-a1c3-1a1d5342d214
ONBOOT=yes
HWADDR=00:15:17:01:43:75
IPADDR=nnn.nnn.nnn.67
PREFIX=28
-----------------------
/etc/sysconfig/network
# Created by anaconda
NETWORKING=yes
HOSTNAME=hostname
GATEWAY=nnn.nnn.nnn.65
-----------------------
/etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
----------------------
Результат ifconfig
enp4s5: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet nnn.nnn.nnn.66 netmask 255.255.255.240 broadcast 86.57.246.79
ether 00:15:17:01:43:75 txqueuelen 1000 (Ethernet)
RX packets 191594 bytes 85766784 (81.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 151231 bytes 186152063 (177.5 MiB)
TX errors 28221 dropped 0 overruns 0 carrier 28221 collisions 37889
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
loop txqueuelen 0 (Local Loopback)
RX packets 238598 bytes 255633370 (243.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 238598 bytes 255633370 (243.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
-----------------------------------------
Результат ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
2: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN qlen 1000
link/ether 00:15:17:01:43:74 brd ff:ff:ff:ff:ff:ff
3: enp4s5: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:15:17:01:43:75 brd ff:ff:ff:ff:ff:ff
inet nnn.nnn.nnn.66/28 brd 86.57.246.79 scope global enp4s5
valid_lft forever preferred_lft forever
inet nnn.nnn.nnn.67/28 brd 86.57.246.79 scope global secondary enp4s5
valid_lft forever preferred_lft forever
----------------------------------------------
Оба IP пингуются
Получается одна карта enp3s0 не работает, вторая enp4s5 работает за двоих.
Как правильно настроить, чтобы обе карты работали? Одна с одним IP, вторая с другим IP.
Заранее спасибо