How to Add Two IP Addresses to One Network Interface on Linux
Introduction I recently ran into an unexpected networking problem on one of my Linux servers. The system had two physical network adapters connected to the same subnet. While this configuration worked, some applications didn't always use the interface I expected for outbound traffic, making the network behavior more complicated than necessary. Instead of maintaining two network adapters, two…