There is a server with two network cards. Two external IP cards (different subnets and masks) enter both cards.
How to make it possible to ping them from the outside at the same time?
I prescribe route route add -net 0.0.0.0 netmask 0.0.0.0 gw xxxx dev p1p1 , ping to the first network goes, to the second - no, and vice versa.