Android Century
  • Home
  • Android Zone
    • Android Apps
    • Android Games
    • Apps APk Files
    • Games Apk Files
    • Apps Hack Tricks
  • Reviews
  • Fantasy Zone
    • Entertainment
    • Quotes and Status
    • Life Style
    • Home Made Tips
    • Hair Care
    • Skin Care
    • Fantasy Tips
  • Tricks
    • Free Recharge
    • Free Internet
    • shopping Cashback
    • Recharge Cashback
  • Tech
  • Mobiles
  • Gadgets
  • News
  • How To's
  • Software
Breaking
Loading...

Featured post

How to Take Great Photos With Apple's iPhone X

Recent Posts

Labels

  • Android Apk Files
  • Android Apps
  • Android Games
  • Apps Apk Files
  • Entertainment
  • Fantasy Tips
  • Gadgets
  • Hair Care
  • HomeMade Tips
  • How To's
  • News
  • Quotes
  • Quotes & Status
  • Recharge Cashback
  • Recharge Promo Codes
  • Shopping Cashback
  • Technology
  • skin care
Home / How To's / How to Add TCP/IP Route to the Windows Routing Table

How to Add TCP/IP Route to the Windows Routing Table

Latest Govt. Jobs 23:38:00 How To's Edit
asr_top
In some specific types of environments, you might find it useful to add a static route to the routing table in Windows. Here’s how to go about it.
Most routers also allow you to add a static route (one that doesn’t get dynamically updated) if you want to always forward certain traffic to a specific router or gateway. Why? Well, most people using Windows in their home or small business probably won’t—but this can be useful under certain circumstances, such as:A routing table dictates where all packets go when they leave a system—whether that system is a physical router or a PC. Most routers—including the one built into your Windows PC—use some form of dynamic routing, where the router is capable of selecting the best place to forward packets based on information it gets from other routers. You can see it at work if you use the traceroute command to watch the connections a packet makes as it reaches it’s final destination.
  • You have two internet connections—maybe one for regular use and one for connecting to a work network—and you want all traffic to a certain IP address range to go out over one of those connections.
  • You have set up multiple subnets on your network and need to direct traffic to a particular subnet. Static routes can be particular useful in testing these types of environments.
  • You’re actually using a Windows PC as a router for your network and you want finer control over it.
If any of those apply to you, read on. You’ll need to dive into the Command Prompt to add a static route to the Windows routing table, but it’s easy and we’ll walk you through the steps.

View the Windows Routing Table

Before you get started adding routes, it may be helpful to view the routing table first. Fire up Command Prompt by hitting Windows+X and then selecting “Command Prompt (Admin)” on the Power Users menu.
asr_1
At the Command Prompt, type the following command and hit Enter:
route print
asr_1
You’ll see a long list of network destinations and the gateways to which packets are forwarded when they are headed to that destination. Unless you’ve already added static routes to the table, everything you see here will be dynamically generated.

Add a Static Route to the Windows Routing Table

To add a static route to the table, you’ll type a command using the following syntax:
route ADD destination_network MASK subnet_mask  gateway_ip metric_cost
The subnet_mask and metric_cost components are optional to the command. If you don’t specify a subnet mask, 255.255.255.0 will be used automatically. If you don’t specify a metric cost, a cost one greater than the 0.0.0.0 destination entry will be used. The metric cost value is just a cost that is relative to other costs in the table and is used when Windows decides between multiple routes that could reach the same destination.
So, for example, if you wanted to add a route specifying that all traffic bound for the 192.168.35.0 subnet went to a gateway at 192.168.0.2 and you just wanted to use the automatic metric cost, you would use the following command:
route ADD 192.168.35.0 MASK 255.255.255.0 192.168.0.2
asr_3
If you were to use the route print command to look at the table now, you’d see your new static route.
asr_4
That’s all easy enough, but there is one extra little catch. When you add a static route, by default it only lasts until the next time you start Windows. The reason for this is that many companies use a coordinated list of static routes that gets updated fairly often. Rather than adding and updating all those routes on every machine, they just distribute a batch script file that adds the newest routes during Windows startup. This keeps the routing table relatively uncluttered.
route -p ADD 192.168.35.0 MASK 255.255.255.0 192.168.0.2You could certainly use the batch script method yourself. Writing batch scripts isn’t hard. But if you’re just adding one or two static routes that you don’t expect to change often, you can instead just add the -p option to the command to make the route persistent. A persistent route stays in place even when Windows starts up. Using the same command we used earlier, you could make that route persistent with the following modification:
asr_5

Remove a Static Route from the Windows Routing Table

Of course, there will come a time you might want to remove a static route from your table. All you have to do is type a command using the following syntax:
route delete destination_network
So, to delete the route we created earlier with the destination network 192.168.35.0, all we’d have to do is type this command and hit Enter:
route delete 192.168.35.0
asr_6
Share on Facebook Share on Twitter Share on Google Plus

RELATED POSTS


How to Get Free Internet on Idea An...

How to Use DroidVPN App For Free In...

How to HACK Google Play Music App
How to Add TCP/IP Route to the Windows Routing Table How to Add  TCP/IP Route to the Windows Routing Table Reviewed by Latest Govt. Jobs on 23:38:00 Rating: 5

0 comments:

Post a Comment

Newer Post Older Post Home
Subscribe to: Post Comments ( Atom )

Search This Blog

TEST BOOK FOR GOVT ENTRANCE TEST

TEST BOOK FOR GOVT ENTRANCE TEST
Find All Latest book for preparation of SSC,RAILWAYBANK PO,RBI,BANK CLERK,GATE ME,GATE CE are available here in less prices, to check out the books click here

Translate

  • Popular Post
  • Random posts
  • Category

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & Earn Offer:  Hey Guys! Today I make an article about Teen Patti Referral ...
  • KingRoot 4.8.1 (136) APK Latest Version Download
    Download KingRoot Latest Version 4.8.1 In Tools by Developer KingRoot Studio ( 4.x / 5  average ...
  • 11 things you should understand approximately iOS 11
    Apple introduced the following version of its running system for the iPhone and iPad, iOS eleven ...
  • How to Upload Your Music Library to Google Play Music
    Google Play Music offers an unlimited music streaming subscription paired with YouTube Red ...
  • How to Disable Your Mac’s Touchpad When Another Mouse Is Connected
    Laptop trackpads can be annoying. Your palm hits them while you’re typing, moving your cursor ...
  • How to Gain Root Access of An Android Device via KingoRoot Software
    What Does Root Access Mean? Gaining root access of Android is the process of modifying the ...

Random Posts

  • How to install or add adblock plus on Browser ?
    How to install or add adblock plus on Browser ?
    12.01.2017 - 0 Comments
    What is an adblocker ? An adblocker for Chrome or Firefox is an extension (or add-on) to your…
  • How to Block Someone on Gmail
    How to Block Someone on Gmail
    07.01.2017 - 0 Comments
    Most people love Gmail, or are at least using the service, but it's not perfect. You can't block people…
  • Can Coconut Oil And Lemon Juice Promote Hair Growth?
    Can Coconut Oil And Lemon Juice Promote Hair Growth?
    29.03.2016 - 0 Comments
    Is there any person who does not want lustrous and healthy hair? To improve health and appearance of hair,…
  • How to Create ZIP Files on Your iPhone or iPad with Bundler
    How to Create ZIP Files on Your iPhone or iPad with Bundler
    11.02.2017 - 0 Comments
    Since iOS 7, Apple devices have had limited support for opening ZIP files in Messages and…
  • Here Intel showed how 5G networking will power VR and self-driving cars
    Here Intel showed how 5G networking will power VR and self-driving cars
    01.03.2017 - 0 Comments
    Think about how annoyed you get when you lose your cell signal, and you can see why Intel is pushing for…

Labels

Android Apk Files Android Apps Android Games Apps Apk Files Apps Hack Tricks Entertainment Free Internet Freecharge Gadgets Games Apk Files How To's Laptops Guide Mobiles Reviews Technology Viral's android zone free recharge

Entertainment

Tricks

Popular Posts

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • Researchers trick 'CEO' email scammer into giving up identity
    Businesses ...
  • How to Gain Root Access of An Android Device via KingoRoot Software
    What Does Root ...
  • Tinyowl Freecharge Offer – Get 15% Cashback + extra 25% cashback using Freecharge [Ultimatez Tricks]
    Tinyowl Freecharge ...
  • How to Disable Your Mac’s Touchpad When Another Mouse Is Connected
    Laptop ...
  • Infocus Vision 3 review
    What happens when ...
  • EVGA redesigns its graphics cards following overheating concerns
    Following a ...

Random Posts

  • Apple working on fix for iPhone 7 Lightning EarPods remote control issue
    Apple working on fix for iPhone 7 Lightning EarPods remote control issue
    20.09.2016 - 0 Comments
     Apple on Monday acknowledged consumer complaints that a glitch in the…
  • Android O is version 8.0
    Android O is version 8.0
    14.06.2017 - 0 Comments
    That is a full factor launch in terms of features and significance. The hypothesis over what Android O's…
  • The New Razer Blade Pro
    The New Razer Blade Pro
    01.02.2018 - 0 Comments
    Razer Project Linda Laptop Uses Phone As Touchpad in Gaming Laptop Razer laptops are all time favorite…
  • The BEST Samsung Galaxy S7 Cases Money Can Buy
    The BEST Samsung Galaxy S7 Cases Money Can Buy
    12.02.2017 - 0 Comments
    Dress your Samsung Galaxy S7 up in the best clothes money can buy with these AWESOME cases The…
  • Fitbit paid just $23 million for Pebble, financial report reveals
    Fitbit paid just $23 million for Pebble, financial report reveals
    26.02.2017 - 0 Comments
    Pebble’s name is well represented in the Kickstarter history books. Pebble Time, the company’s…

Most Popular

  • Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Offer 2018: Refer and Earn Flipkart Vouchers Free
    Teen Patti Refer & ...
  • SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J7 (2016) REVIEWS
    SAMSUNG GALAXY J ...
  • Top 5 Best SmartPhones under 7000 Rs (March 2017)
    Looking for the ...
  • Apple, IBM, Cisco are huge because of Indians, do not deny them H-1B visa: RBI Governor Urjit Patel
    ...
  • SAMSUNG GALAXY J7 (2016) Specifications
    SAMSUNG GALAXY J ...
  • BlackBerry Teases Marshmallow Beta Testing for Priv by Next Week
    Blackberry ...
  • LG Q6 Review
    LG Q6 Review
    2017 is ...

Contact Form

Name

Email *

Message *

Offers Zone

Created By Android Century Distributed by Android Century
  • Home
  • About us
  • Contact us
  • Privacy policy
  • Terms of use
  • Advertise here
Subscribe Via Email Subscribe To Android Century By Email And Get Free Updates. ;-)


Your email address is safe with us!