Adding a TCP/IP Route to the Windows Routing Table Dodajanje TCP / IP Pot do Windows Routing Table
The Routing table dictates where all packets go when they leave your system. Routing tabela narekuje, kjer gredo vse pakete, ko zapustijo vaš sistem. 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 večini okolij, vse pakete, da zapustijo vaš sistem bo posredoval več kot v vaš usmerjevalnik ali pest, in od tam jasno v 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 nekaterih primerih boste morda testiranje omrežja nastavljena podvajati drugo okolje, ali ste lahko konfigurirate bolj zapleten topologija omrežja, ki zahteva uporabo dodatnih poti. Adding routes to your machine is a useful testing tool for some of these situations. Dodajanje poti v vaš stroj je uporabno orodje, testiranje za nekatere od teh situacij.
Syntax: Sintaksa:
route ADD xxx.xxx.xxx.xxx MASK xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx route ADD MASK xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx
Means: Sredstva:
route ADD “network” MASK “subnet mask” “gateway ip” route ADD "omrežje" maska "masko podomrežja" "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: Na primer, če ste bili v 192.168.1.0 omrežju, in si imel prehod na 192.168.1.12 konfiguriran za dostop do omrežja 10.10.10.0/24, bi ga uporabljate route add izjavo takole:
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. Vaš usmerjevalno tabelo je treba zdaj odražati to spremembo, in ves promet na območju 10.10.10.x bo zdaj lahko pošljejo preko prehoda za stroj.
The route add change will only stick across reboots if you add it with the -p flag, as in the following: Route add sprememba bo le palico čez odmevajoč, če dodate z zastavo-p, kot v naslednje:
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 Dnevni Email Updates
You can get our how-to articles in your inbox each day for free. Lahko dobite našo kako do člankov v vašo mapo »Prejeto vsak dan brezplačno. Just enter your name and email below: Preprosto vpišite vaše ime in e-pošto spodaj:



I've a few question and Need help. Sem malo vprašanje in Rabite pomoč.
1) Where is right place to put that network route statments on suse 9 1) Če je pravi kraj za izvajanje tega statments poti omrežje suse 9
2) How to make auto route scripts so that, i don't need to up manually this routing on suse9. 2) Kako narediti scenarij avto poti, tako da, jaz ne potrebujejo, da se to ročno usmerjanje na suse9.
Nice intro into adding static routes. Nice intro v dodajanju statične poti.
Do you have any other articles on TCP/IP? Ali imate kakšne druge članke 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. Če ne, imam podroben dokument, ki pojasnjuje, TCP / IP usmerjanje in jaz bi bil vesel, da boste po e-pošti na vaši strani. I had to create this a while ago for training in my company. Sem moral ustvariti to nekaj časa nazaj za usposabljanje v mojem podjetju.
I had to put the -p at the end in order to get the registry updated. Moral sem dal-p na koncu, da bi dobili posodobitev registra.
All the help docs that I found show it at the beginning ?*&%?? Vse pomoč docs, da sem našel kažejo, da na začetku ?*&%??
route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12 -p route ADD 10.10.10.0 maska 255.255.255.0 192.168.1.12-p
Thanks for the hint. Hvala za namig. Saved the day for a windows newbie Shranjeni dan za okna newbie
By the way: removing routes (eg in case of typos) works as well as: Mimogrede: odstranitev poti (npr. v primeru tipkarske napake), dela kot tudi:
route delete “network” route izbrisati "omrežje"
eg to remove the route for 10.10.10.0 one types in na primer odstraniti pot za 10.10.10.0 ene vrste v
route delete 10.10.10.0 route brisanje 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, in "pomagala na poti", tudi nudi pomoč, na primer "route print" pokazati poti tabelo (v bistvu isto kot izhod "netstat-nr")