Solved

Can I control the route my traffic takes without adding hardware?

Posted on 2007-11-21
2
193 Views
Last Modified: 2012-05-05
I host my server at a multi-homed datacenter, but I want to be able to control what backbone and/or route it takes to get to another address. Is this possible? I assume it is possible if I add some sort of networking hardware, but is it possible with some kind of software running on the box?

This is really important to my business, and so any advice would really be appreciated.

Thanks in advance.
0
Comment
Question by:timdr
  • 2
2 Comments
 
LVL 9

Accepted Solution

by:
Brugh earned 500 total points
ID: 20332236
Yes.  You can do that by manipulating your routing tables on the sever.

If its windows and you say you have multiple "gateways" that the server can use.

So you could open a command prompt.
Type
route print  <enter>
This will show you all the "routes" you system knows about.
the Default route of 0.0.0.0 will be used for ALL traffic that isn't specifically mentioned in a routing statement.

What you want to do to manipulate this is;
1 - Find out the IP addresses of the Gateways that you have available to you.  (may have to get that from your Datacenter)
2 - Figure out which "gateway" you want to route through. (which backbone)
3 - Figure out the destination address that you are sending the packets too. (IP or subnet address of the destination)
3 - Open command prompt.
Type route add <Destination> MASK 255.255.255.255 <Gateway IP>

Microsoft Write up.
http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/sag_tcpip_pro_addstaticroute.mspx?mfr=true

HTH

 - Brugh
 
route add
0
 
LVL 9

Expert Comment

by:Brugh
ID: 20332251
Forgot to mention.
For the MASK you will need to match the mask with the Destination IP.  Meaning, if you are creating a route to reach a single address, you would use 255.255.255.255.  If you are creating a route to reach an entire subnet (grouping of common IPs) you wil lthen need to use the same mask as the destination subnet.  (ex, 255.255.255.0)

 - Brugh
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

So, you're experiencing issues on your network and you've decided that you need to perform some tests to determine whether your cabling is good.  You're likely thinking that you may need to spend money which you probably don't have on hiring/purchas…
PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now