Dual card open the page there is always a delay on dual-card access speed to solve the problem under the net separation of inside and outside

 

Dual card, an internal network, external network is to set up a routing policy.

View route print -4 #

@rem delete gateway 
route -p the Delete 0.0.0.0 
route -p the Delete 10.0.0.0 
@rem go within the network 
route -p the Add 10.0.0.0/8 10.100.2.1 
@rem go outside the network 
route -p add 0.0.0.0/8 192.168 .30.1 
@rem special to go outside the network 
route -p the Delete 10.2.7.193/32 
route -p the Add 10.2.7.193/32 192.168.30.1 
@rem print 
route print -4

 

This setting allows the majority to go outside the network, the fixed portion are within the network. But I opened the pages outside the network or there is a delay, then checked and found to be card-priority issue.

 

Part 2 NIC priority adjustment 
as an administrator permission to start cmd or PowerShell 

2. Enter the command Get-NetIPInterface view the current network card details. Index number InterfaceIndex parameter refers to the network card, InterfaceMetric refers to the interface metric, also known as the priority. 

3. Enter Command Set-NetIPInterface -InterfaceIndex 21 -InterfaceMetric 10 21 here is an index number of the card, priority 10 is 10, the smaller the priority, may be provided a happy 1 or the like. 

Completion 
can enter commands in cmd or powershell route print to view our revised complete routing table. At this time we have no further changes can open the pages to see the speed is not already back to normal.

 

Reference links:  solving problems on dual-card access speed under the net separation of inside and outside

 

Guess you like

Origin www.cnblogs.com/ayanmw/p/12641563.html