Forum » Omrežja in internet » Route preko specifičnega adapterja
Route preko specifičnega adapterja
Lombi ::
Hoj. Potreboval bi malo pomoči pri določevanju route add.
Imam dva mrežna adapterja, oba se povezujeta v splet, 192.168.1.x ima ločen zunanji IP, 192.168.2.x pa skupnega, ki ga ne želim uporabljat, vendar omogoča dostop do lokalnih tiskalnikov in SMB shareov.
Torej, kako definirati "route add", da dostopa do notranje mreže z adapterjem 2 in do zunanje mreže z adapterjem 1?
Vnaprej se najlepše zahvaljujem!
Route print:
Imam dva mrežna adapterja, oba se povezujeta v splet, 192.168.1.x ima ločen zunanji IP, 192.168.2.x pa skupnega, ki ga ne želim uporabljat, vendar omogoča dostop do lokalnih tiskalnikov in SMB shareov.
Torej, kako definirati "route add", da dostopa do notranje mreže z adapterjem 2 in do zunanje mreže z adapterjem 1?
Vnaprej se najlepše zahvaljujem!
Route print:
=========================================================================== Interface List 18...00 0a cd 17 27 ca ......HighSpeed USB-Ethernet Adapter 17...00 ff 8f a2 84 b4 ......WeOnlyDo Network Adapter 2.5 11...00 24 81 84 94 0d ......Intel(R) 82567V-2 Gigabit Network Connection 1...........................Software Loopback Interface 1 13...00 00 00 00 00 00 00 e0 Teredo Tunneling Pseudo-Interface 15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3 19...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #6 20...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #7 =========================================================================== IPv4 Route Table =========================================================================== Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.1.1 192.168.1.100 20 0.0.0.0 0.0.0.0 192.168.2.1 192.168.2.133 20 127.0.0.0 255.0.0.0 On-link 127.0.0.1 306 127.0.0.1 255.255.255.255 On-link 127.0.0.1 306 127.255.255.255 255.255.255.255 On-link 127.0.0.1 306 169.254.0.0 255.255.0.0 On-link 169.254.0.198 276 169.254.0.198 255.255.255.255 On-link 169.254.0.198 276 169.254.255.255 255.255.255.255 On-link 169.254.0.198 276 192.168.1.0 255.255.255.0 On-link 192.168.1.100 276 192.168.1.100 255.255.255.255 On-link 192.168.1.100 276 192.168.1.255 255.255.255.255 On-link 192.168.1.100 276 192.168.2.0 255.255.255.0 On-link 192.168.2.133 276 192.168.2.133 255.255.255.255 On-link 192.168.2.133 276 192.168.2.255 255.255.255.255 On-link 192.168.2.133 276 224.0.0.0 240.0.0.0 On-link 127.0.0.1 306 224.0.0.0 240.0.0.0 On-link 192.168.1.100 276 224.0.0.0 240.0.0.0 On-link 169.254.0.198 276 224.0.0.0 240.0.0.0 On-link 192.168.2.133 276 255.255.255.255 255.255.255.255 On-link 127.0.0.1 306 255.255.255.255 255.255.255.255 On-link 192.168.1.100 276 255.255.255.255 255.255.255.255 On-link 169.254.0.198 276 255.255.255.255 255.255.255.255 On-link 192.168.2.133 276 ===========================================================================
moja video predavanja za adobe in wordpress: 321.si
moje slike in animirani filmi: lo.si
moje slike in animirani filmi: lo.si
crniangeo ::
spremeni prioriteto mreznih kartic :)
http://support.microsoft.com/kb/2526067
2. opcija: za interno mrezo nastavi static ip brez gatewaya :)
http://support.microsoft.com/kb/2526067
2. opcija: za interno mrezo nastavi static ip brez gatewaya :)
Convictions are more dangerous foes of truth than lies.
Zgodovina sprememb…
- spremenil: crniangeo ()
aleksander10 ::
Ali pa na na network adapter, ki ima default GW povečas metriko (iz 20 na 30).
Aleksander
"A friend is someone who gives you total freedom to be yourself. (J.M.)"
"A friend is someone who gives you total freedom to be yourself. (J.M.)"
Lombi ::
spremeni prioriteto mreznih kartic :)
http://support.microsoft.com/kb/2526067
2. opcija: za interno mrezo nastavi static ip brez gatewaya :)
Hvala za odgovor.
Spremenil prioriteto in si definiral staticni IP brez gatewaya, so far so good.
aleksander10 je izjavil:
Ali pa na na network adapter, ki ima default GW povečas metriko (iz 20 na 30).
Erm, kako pa to storis?
moja video predavanja za adobe in wordpress: 321.si
moje slike in animirani filmi: lo.si
moje slike in animirani filmi: lo.si
Zgodovina sprememb…
- spremenil: Lombi ()
SeMiNeSanja ::
Ali pa na na network adapter, ki ima default GW povečas metriko (iz 20 na 30).
Erm, kako pa to storis?
route CHANGE 0.0.0.0 MASK 0.0.0.0 192.168.2.1 METRIC 30
Lombi ::
Najlepsa hvala za pomoc, so far so good :)
moja video predavanja za adobe in wordpress: 321.si
moje slike in animirani filmi: lo.si
moje slike in animirani filmi: lo.si
aleksander10 ::
Za default GW ni potrebno v CLI. Greš kar na interface card in spremeniš.
Primer tu:
http://blog-rat.blogspot.com/2011/06/ho...
Primer tu:
http://blog-rat.blogspot.com/2011/06/ho...
Aleksander
"A friend is someone who gives you total freedom to be yourself. (J.M.)"
"A friend is someone who gives you total freedom to be yourself. (J.M.)"
Vredno ogleda ...
Tema | Ogledi | Zadnje sporočilo | |
---|---|---|---|
Tema | Ogledi | Zadnje sporočilo | |
» | Mikrotik - OpenVPNOddelek: Omrežja in internet | 1702 (1350) | mrsmoke |
» | Misteriozni IPOddelek: Omrežja in internet | 2039 (1839) | Brane22 |
» | Openvpn (strani: 1 2 )Oddelek: Programska oprema | 14519 (6086) | Blisk |
» | Win 7 routing dveh mrežnih karticOddelek: Omrežja in internet | 1636 (1532) | Spc |
» | vista in dve mrežni kartici - problemOddelek: Omrežja in internet | 2444 (2270) | sosko1 |