Adding a TCP/IP Route to the Windows Routing Table Pridanie TCP / IP Cesta k systému Windows Smerovacie tabuľka
The Routing table dictates where all packets go when they leave your system. Smerovacie tabuľka určuje, kde sú všetky pakety idú, keď opustí váš systém. On most environments, all packets that leave your system will be forwarded over to your router or hub, and from there out to the internet. Na väčšine prostredie, všetky pakety, ktoré opúšťa váš systém bude odovzdaná k vášmu routeru alebo hubu, a odtiaľ von na internet.
In some circumstances, you may have a testing network configured to duplicate another environment, or you may be configuring a more complex network topology that requires the use of additional routes. V niektorých prípadoch môže mať testovacej siete nastavený tak, aby duplicitné inom prostredí, alebo budete mať konfiguráciu zložitejšie topológie siete, ktorá vyžaduje použitie ďalších trás. Adding routes to your machine is a useful testing tool for some of these situations. Pridanie cesty do počítača je užitočným nástrojom na testovanie niektoré z týchto situácií.
Syntax: Syntax:
route ADD xxx.xxx.xxx.xxx MASK xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx route add xxx.xxx.xxx.xxx MASK xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Means: Znamená:
route ADD “network” MASK “subnet mask” “gateway ip” route add "sieť" MASK "Maska podsiete" "gateway ip"
For example, if you were on the 192.168.1.0 network, and you had a gateway on 192.168.1.12 configured to access the 10.10.10.0/24 network, you would use a route add statement like this: Napríklad, ak ste na sieti 192.168.1.0 a ste mali bránu 192.168.1.12 nastaviť tak, aby prístup k sieti 10.10.10.0/24, by ste použili route add výpis ako tento:
route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12 route add 10.10.10.0 MASK 255.255.255.0 192.168.1.12
Your routing table should now reflect that change, and all traffic to the 10.10.10.x range will now be sent over to the gateway machine. Váš smerovacie tabuľky by sa teraz mala odrážať túto zmenu, a všetok prevádzku na 10.10.10.x rozsah bude teraz zaslaný k bráne cez počítač.
The route add change will only stick across reboots if you add it with the -p flag, as in the following: Route add zmena bude len držať naprieč reštartuje, ak ju pridáte-p s vlajkou, ako v nasledujúcom:
route -p ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12 route-p ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12

Daily Email Updates Denný Svářeč
You can get our how-to articles in your inbox each day for free. Môžete si naše jak-na články vo vašej schránky každý deň zadarmo. Just enter your name and email below: Stačí zadať svoje meno a e-mail nižšie:



I've a few question and Need help. Mám niekoľko otázok a Need help.
1) Where is right place to put that network route statments on suse 9 1) Kde je to správne miesto, aby, že statments siete trasy na suse 9
2) How to make auto route scripts so that, i don't need to up manually this routing on suse9. 2) Ako si skripty auto trasu tak, že ja nemusíte manuálne tohto smerovania na suse9.
Nice intro into adding static routes. Nice intro na pridanie statické trasy.
Do you have any other articles on TCP/IP? Máte nejaké ďalšie články o TCP / IP?
If not, I have a detailed document that explains TCP/IP and routing I would be happy to email you to post on your site. Ak nie, mám podrobný dokument, ktorý vysvetľuje, TCP / IP a smerovanie Bol by som rád, aby e-mailu môžete písať na svojich stránkach. I had to create this a while ago for training in my company. Musel som sa vytvoriť túto Pred časom pre výcvik v mojej spoločnosti.
I had to put the -p at the end in order to get the registry updated. Musel som dať-p na konci za účelom získania aktualizovaného registra.
All the help docs that I found show it at the beginning ?*&%?? Všetky dokumenty pomôže ukázať, že som našiel hneď na začiatku ?*&%??
route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12 -p route add 10.10.10.0 MASK 255.255.255.0 192.168.1.12-p
Thanks for the hint. Vďaka za tip. Saved the day for a windows newbie Uložené deň pre windows newbie
By the way: removing routes (eg in case of typos) works as well as: Mimochodom: zrušenie cesty (napr. v prípade preklepov), funguje rovnako ako:
route delete “network” trasa zmazať "siete"
eg to remove the route for 10.10.10.0 one types in napríklad odstrániť trasu 10.10.10.0 jeden typov
route delete 10.10.10.0 trasa zmazať 10.10.10.0
Ok, and “route help” even gives help, eg “route print” to show the routing table (actually the same output as “netstat -nr”) Ok, a "cesta pomoci", i poskytuje pomoc, napríklad "route print" ukázať, smerovacie tabuľku (vlastne rovnaký výkon ako "netstat-nr")