The environment is as follows:
Status: A Linux host has two network cards eth0 and eth1, the machine can access the service resources of 192 network, but cannot access 10 network segment resources.
Requirement: Linux can access 10 network segment resources through ETH1
Routing:
Card:
Action: Only need to add the following detailed route to access 10 network segment resources
PostScript: During the operation, I started the idea of adding 10 gateways to let 10 of the packets go eth1.
Added to the network is broken, and then contacted customers and the site deleted 10 of the default gateway is re-connected.
Then think about it, you really should not go to the default gateway, because the gateway can only have one entry into force. You just need to add a detailed route to move the packet out of the corresponding interface to find the gateway ...
Linux dual NIC network communication with different networks (Operation notes)