Recently, I added a second NIC to my Debian server. Another NIC is being shipped, bringing the total to 3 WAN connections.
Assume the NICs are named ens2
, ens3
, and ens4
. "Accessing" means any network connections to the server (SSH, VNC, ping, etc.)
When I only had one interface ens2
, I can access the server using ens2
's IP address. When I added the second interface ens3
, I can't access the server using the IP on ens2
, but accessing it using ens3
's IP works.
When I disable ens3
, I can once again access the server via ens2
's IP address.
How do I access the server from all WAN interfaces? I tried to mess with the routing table, but my lack of knowledge in routing simply made the machine inaccessible from the network/s.