I have a CentOS 7 PC (with 2 NIC cards) and 2 servers. I'd like to access these servers from the 2 NICs in a different way. Something like one server can be reached only from NIC1, and the other server should be accessed only from NIC2. I've realized that I'm unable to put them into the same subnet using the IP addresses 10.10.10.{1-4}/29 for some reason.
However, should this work?
NIC1: 10.10.10.1/30 -> Server1: 10.10.10.2/30
NIC2: 10.10.10.4/30 -> Server2: 10.10.10.5/30
I'm always confused with networking and subnetting. Please advise.