CentOS 7.3 - Multiple NIC problems

Issues related to configuring your network
Post Reply
Grex
Posts: 1
Joined: 2018/11/23 09:55:25

CentOS 7.3 - Multiple NIC problems

Post by Grex » 2018/11/23 10:11:08

Hi,

I have a virtual Server CentOS 7.3.1611 with kernel 3.10.0-514.26.2.el7.x86_64 on a ESXi 6.5 and have two network adapters (vmxnet3) added.

Code: Select all

ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.100.70  netmask 255.255.255.0  broadcast 192.168.100.255
        ether 00:50:56:af:50:a7  txqueuelen 1000  (Ethernet)
        RX packets 18615  bytes 1857570 (1.7 MiB)
        RX errors 0  dropped 15  overruns 0  frame 0
        TX packets 17888  bytes 2061646 (1.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

ens192: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.113.2  netmask 255.255.255.0  broadcast 192.168.113.255
        ether 00:50:56:af:47:70  txqueuelen 1000  (Ethernet)
        RX packets 1330  bytes 116802 (114.0 KiB)
        RX errors 0  dropped 9  overruns 0  frame 0
        TX packets 1251  bytes 116606 (113.8 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
/etc/sysconfig/network-scripts/ifcfg-ens160:

Code: Select all

BOOTPROTO=static
DEVICE=ens160
HWADDR=00:50:56:af:50:a7
ONBOOT=yes
IPADDR=192.168.100.70
NETMASK=255.255.255.0
GATEWAY=192.168.100.1
/etc/sysconfig/network-scripts/ifcfg-ens192

Code: Select all

DEVICE=ens192
BOOTPROTO=static
HWADDR=00:50:56:af:47:70
ONBOOT=yes
IPADDR=192.168.113.2
NETMASK=255.255.255.0
GATEWAY=192.168.113.1

route -n:

Code: Select all

Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
0.0.0.0         192.168.100.1   0.0.0.0         UG    100    0        0 ens160
0.0.0.0         192.168.113.1   0.0.0.0         UG    101    0        0 ens192
192.168.100.0   0.0.0.0         255.255.255.0   U     100    0        0 ens160
192.168.113.0   0.0.0.0         255.255.255.0   U     100    0        0 ens192
My gateway (Barraucda F600) has multiple IP addresses configured, one is 192.168.100.1 and the other 192.168.113.1, and has the same MAC address.
ARP table on client:
gateway ether 00:10:f3:5e:7f:6b C ens160
gateway ether 00:10:f3:5e:7f:6b C ens192


So the problem is, if I try a ping 192.168.100.1 I have 0% packet loss, but if i try to ping 192.168.113.1 I have 4-10 pings in a row of success, than I have a long timeout, that some pings are succesfully again. I have a packet loss of ~75% percent.

I temporary removed GATEWAY entry of ens192 and restarted network and adapters (ifdown && ifup) but it is the same problem.

Post Reply