Home > other >  Different segments of network IP, need access to the same destination address, how to configure the
Different segments of network IP, need access to the same destination address, how to configure the

Time:05-07

A different network adapter configuration on the server of the IP address, but to allow access to the same IP,

Card 1 is 10.211.187.66 IP, gateway is 10.211.187.65.
Nic 3 is 10.211.85.3 IP, gateway is 10.211.85.2
Both network CARDS to access 10.211.0.0/16
Card 1 use the route command to add -.net 10.211.0.0/16 gw 10.211.187.65 dev eth1 configured routing, configured 10.211.187.66 can ping 10.211.2.41,
Then card 3 with the route add -.net 10.211.0.0/16 gw 10.211.85.2 dev eth3, like this configuration, network card 1 ping impassability, is what appearance configuration will cause this conflict? The right should be how to configure?

CodePudding user response:

Application decision demand,
What is the operating system?
Active access to the target segment, or wait for the target segment of the client to access?
Take the initiative to access, tong went, why the two interface?
Waiting for the client to access, then the following questions,
Two gateways are respectively corresponding to the network card address of the default gateway? Or a non-default designedly?
Two different interface gateway is the same device or different two devices?
Ahead through the firewall? If you do need to bag must walk the same path back and forth?
  • Related