I have set up a CentOS 7.6 server (Lenovo SR650 with x722 10 GbE card) and have tried to designate the two NIC ports (not 2 NICs, just 2 ports) to be on different subnets with different gateways etc. I have statically configured each interface (eno1, and eno2) to have separate IPs and Gateways, and added route-enoX and rule-enoX for both interfaces. And yet when I bring up the second port (eno2), I lose connection to eno1. I can SSH into the eno2 IP (different subnet), but can't SSH to eno1. If I bring eno2 down, I can then access eno1 again.
Although I do have some experience in network administration, I am not familiar with this problem.
Can anyone shed some light on this?
The configs below are for eno1, and eno2 is similar.
default via 192.168.9.1 dev eno1 table 1
192.168.9.0/24 dev eno1 src 192.168.9.9 table 1
from 192.168.9.9/32 table 1
IP ROUTE (includes eno2)
default via 192.168.9.1 dev eno1 proto static metric 100
default via 10.10.0.1 dev eno2 proto static metric 101
10.10.0.0/23 dev eno2 proto kernel scope link src 10.10.0.80 metric 101
192.168.9.0/24 dev eno1 proto kernel scope link src 192.168.9.9 metric 100