» »

Problem s prioritetami mrežnih kartic

Problem s prioritetami mrežnih kartic

stegy ::

Imam 2 mrežni kartici. Na eni imam nastavljeno višjo prioriteto, tako da je default gateway na 192.168 ...
Druga mrežna kartica je v klasi 10 (10....)
Problem, ki se mi pojavlja je, da se na vsake toliko časa default gatevay spremeni na kartico z manjšo prioriteto. Uporabljam Windows XP.
Primer podatkov, ki jih izpiše route print, ko je vse OK:

C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x3 ...00 11 6b 94 0f 0b ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - P
acket Scheduler Miniport
0x40002 ...00 e0 18 99 88 77 ...... NVIDIA nForce Networking Controller #2 - Pac
ket Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.112.254.241 10.112.254.241 20
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.10 1
10.0.0.0 255.0.0.0 10.112.254.241 10.112.254.241 20
10.112.254.241 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.112.254.241 10.112.254.241 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.10 192.168.1.10 12
192.168.1.10 255.255.255.255 127.0.0.1 127.0.0.1 12
192.168.1.255 255.255.255.255 192.168.1.10 192.168.1.10 12
193.164.138.20 255.255.255.255 192.168.1.1 192.168.1.10 1
224.0.0.0 240.0.0.0 192.168.1.10 192.168.1.10 12
224.0.0.0 240.0.0.0 10.112.254.241 10.112.254.241 10
255.255.255.255 255.255.255.255 10.112.254.241 10.112.254.241 1
255.255.255.255 255.255.255.255 192.168.1.10 192.168.1.10 1
Default Gateway: 192.168.1.1
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
224.0.0.0 240.0.0.0 10.112.254.241 10


In primer, ko mi windowsi sami zamenjajo default gateway:

C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x3 ...00 11 6b 94 0f 0b ...... Realtek RTL8139 Family PCI Fast Ethernet NIC - P
acket Scheduler Miniport
0x30002 ...00 e0 18 99 88 77 ...... NVIDIA nForce Networking Controller #2 - Pac
ket Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 10.112.254.241 10.112.254.241 20
0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.10 1
10.0.0.0 255.0.0.0 10.112.254.241 10.112.254.241 20
10.112.254.241 255.255.255.255 127.0.0.1 127.0.0.1 20
10.255.255.255 255.255.255.255 10.112.254.241 10.112.254.241 20
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.1.0 255.255.255.0 192.168.1.10 192.168.1.10 12
192.168.1.10 255.255.255.255 127.0.0.1 127.0.0.1 12
192.168.1.255 255.255.255.255 192.168.1.10 192.168.1.10 12
224.0.0.0 240.0.0.0 192.168.1.10 192.168.1.10 12
224.0.0.0 240.0.0.0 10.112.254.241 10.112.254.241 10
255.255.255.255 255.255.255.255 10.112.254.241 10.112.254.241 1
255.255.255.255 255.255.255.255 192.168.1.10 192.168.1.10 1
Default Gateway: 10.112.254.241
===========================================================================
Persistent Routes:
Network Address Netmask Gateway Address Metric
224.0.0.0 240.0.0.0 10.112.254.241 10


Problem nastane, ker mi spletne strani hoče iskati preko mreže 10... in jih seveda ne najde. Ko naredim disable/enable mrežnega porta v 10 klasi, se default gateway postavi ponovno na pravo vrednost.

Ali kdo ve, kako bi lahko rešil ta problem z preklaplanjem default gateway?

darkolord ::

Si probal ročno nastavit metric?

stegy ::

Na mrežni kartici imam Automatic metric izklopljen na mrežni kartici z 10 (Interface metric =20), Gateway 10.112.254.241 ima metric 20,
na drugi mrežni imam nastavljen default gateway metrics 192.168.1.1 na 1 in interface metric na 12

Ali ima še kdo kakšen predlog?

Zgodovina sprememb…

  • spremenil: stegy ()


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

Mikrotik - OpenVPN

Oddelek: Omrežja in internet
61712 (1360) mrsmoke
»

Route preko specifičnega adapterja

Oddelek: Omrežja in internet
62366 (2202) aleksander10
»

Win 7 routing dveh mrežnih kartic

Oddelek: Omrežja in internet
61641 (1537) Spc
»

USAIP

Oddelek: Omrežja in internet
302967 (2383) Pesimist
»

vista in dve mrežni kartici - problem

Oddelek: Omrežja in internet
62463 (2289) sosko1

Več podobnih tem