Home > other >  A computer is only a gateway, but two IP, how to set the priority?
A computer is only a gateway, but two IP, how to set the priority?

Time:10-13

I have computer plug wiring network, a gateway is 192.168.11.1, then insert a wireless network card connected wifi, wifi gateway is 192.168.11.1, but two different network card IP, now occurs on the outside network, but the line drawing can, want to wifi high priority, because on the network, more should be how to set up?
The route set priority this action, the priority of the wifi is 25, the cable is more than 200, is the wifi high priority, I wonder if the same bad gateway to use

CodePudding user response:

Look from your problem description should be IP routing routing problem, you try to adjust the IP order in the route table - is the WIFI IP for the cable over IP, see can solve your problem, thank you!!!!!!

CodePudding user response:

Two network gateway, the same can't be routing, if it is a different segment can be configured on the route to solve the twin wire at the same time, hypothesis, your Intranet gateway is
172.1.1.1, the network gateway is 192.168.11.1, you configure this machine:
1, two card set respectively corresponding subnet addresses, and don't add the default gateway;
2, increase the routing:
The route to the add -p 0.0.0.0 mask 0.0.0.0 192.168.11.1
The route to the add - p need to access the inner segments mask mask 172.1.1.1
So you can at the same time on both of the network, I did now,

Premise is, you have to have two different gateway, the simplest way is, in one of the add a router on the network, and then segments of the LAN ports and makes your PC, there are two different subnet, the second solution is that you can log on to one of the gateway, and then modify the IP address, make the PC have different subnet,

CodePudding user response:

The way is right upstairs
  • Related