Important! This is an automatic machine translated page. If you can read english, you should Click Here to read the original English version of the article.

Adding a TCP/IP Route to the Windows Routing Table Menambahkan TCP / IP Rute ke Windows Routing Tabel

The Routing table dictates where all packets go when they leave your system. Tabel Routing menentukan di mana semua paket pergi ketika mereka meninggalkan sistem Anda. 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. Pada kebanyakan lingkungan, semua paket yang meninggalkan sistem Anda akan diteruskan ke router atau hub, dan dari sana keluar ke 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. Dalam beberapa situasi, Anda mungkin memiliki jaringan uji dikonfigurasi untuk menduplikasi lingkungan lain, atau Anda mungkin mengkonfigurasi jaringan yang lebih kompleks topologi yang memerlukan penggunaan rute tambahan. Adding routes to your machine is a useful testing tool for some of these situations. Menambahkan rute ke mesin anda adalah alat tes yang berguna untuk beberapa situasi ini.

Syntax: Sintaks:

route ADD xxx.xxx.xxx.xxx MASK xxx.xxx.xxx.xxx  xxx.xxx.xxx.xxx ADD MASK route xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx xxx.xxx.xxx.xxx

Means: Berarti

route ADD “network” MASK “subnet mask”  “gateway ip” route ADD "jaringan" MASK "subnet mask" "ip gateway"

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: Sebagai contoh, jika Anda berada di jaringan 192.168.1.0, dan Anda memiliki 192.168.1.12 gateway pada dikonfigurasi untuk mengakses jaringan 10.10.10.0/24, Anda akan menggunakan route add pernyataan seperti ini:

route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12 rute 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. Tabel routing Anda sekarang harus mencerminkan bahwa perubahan, dan semua lalu lintas ke kisaran 10.10.10.x sekarang akan dikirim ke mesin gateway.

The route add change will only stick across reboots if you add it with the -p flag, as in the following: Menambahkan perubahan rute hanya akan melekat di reboot jika Anda menambahkan dengan flag-p, sebagai berikut:

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

This article was originally written on 09/13/06 Tagged with: Artikel ini awalnya ditulis pada 09/13/06 Tagged with: Networking Jaringan , , Windows Jendela

Daily Email Updates Harian Email Pembaharuan

You can get our how-to articles in your inbox each day for free. Anda bisa mendapatkan kita bagaimana-untuk artikel dalam kotak masuk Anda setiap hari secara gratis. Just enter your name and email below: Cukup masukkan nama dan email Anda di bawah ini:


Name: Nama:
Email: Email:

Comments (4) Komentar (4)

  1. wan wan

    I've a few question and Need help. Aku punya beberapa pertanyaan dan Perlu bantuan.
    1) Where is right place to put that network route statments on suse 9 1) Di mana tempat yang tepat untuk menempatkan rute jaringan yang statments di suse 9
    2) How to make auto route scripts so that, i don't need to up manually this routing on suse9. 2) Bagaimana membuat script rute otomatis, sehingga saya tidak perlu naik secara manual routing pada suse9 ini.

  2. Graham Allen Graham Allen

    Nice intro into adding static routes. Nice intro ke rute statis menambahkan.
    Do you have any other articles on TCP/IP? Apakah Anda punya artikel lainnya pada 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. Jika tidak, saya punya dokumen yang menjelaskan detail TCP / IP dan routing saya akan senang meng-email Anda untuk posting di situs Anda. I had to create this a while ago for training in my company. Aku harus menciptakan beberapa waktu yang lalu untuk pelatihan di perusahaan saya.

  3. Drowles Drowles

    I had to put the -p at the end in order to get the registry updated. Aku harus meletakkan-p pada akhir untuk mendapatkan registri diperbarui.
    All the help docs that I found show it at the beginning ?*&%?? Semua bantuan dokumentasi yang saya temukan menunjukkannya pada awal ?*&%??
    route ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12 -p rute ADD 10.10.10.0 MASK 255.255.255.0 192.168.1.12-p

  4. camil7 camil7

    Thanks for the hint. Thanks for the petunjuk. Saved the day for a windows newbie Menyelamatkan hari untuk jendela newbie )

    By the way: removing routes (eg in case of typos) works as well as: By the way: menghapus rute (misalnya dalam kasus kesalahan ketik) karya maupun sebagai:

    route delete “network” rute menghapus "jaringan"

    eg to remove the route for 10.10.10.0 one types in misalnya untuk menghapus rute untuk di 10.10.10.0 satu jenis

    route delete 10.10.10.0 menghapus rute 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, dan "rute membantu" bahkan memberikan bantuan, misalnya "route print" untuk menampilkan tabel routing (sebenarnya output yang sama sebagai "netstat-nr")


Leave a Comment Tinggalkan Komentar




Leave your Meninggalkan friendly ramah comment here. komentar di sini.

If you have a computer help question, Jika Anda memiliki pertanyaan bantuan komputer, click here to leave it on the forums klik di sini untuk meninggalkannya di forum instead. selain.

Note: Your comment may not show up immediately on the site. Catatan: Komentar anda mungkin tidak muncul segera di situs.

Our Friends Our Friends
Getting Started Persiapan


About How-To Geek Tentang How-To Geek
What Is That Process? Apa Proses Itu?
svchost.exe svchost.exe
jusched.exe jusched.exe
dwm.exe dwm.exe
ctfmon.exe ctfmon.exe
wmpnetwk.exe wmpnetwk.exe
wmpnscfg.exe wmpnscfg.exe
rundll32.exe rundll32.exe
wfcrun32.exe wfcrun32.exe
Ipoint.exe Ipoint.exe
Itype.exe Itype.exe
Wfica32.exe Wfica32.exe
Mobsync.exe Mobsync.exe
conhost.exe conhost.exe
Dpupdchk.exe Dpupdchk.exe Adobe_Updater.exe Adobe_Updater.exe

Copyright © 2006-2009 HowToGeek.com. Copyright © 2006-2009 HowToGeek.com. All Rights Reserved. All Rights Reserved.