Solved

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

Posted on 2007-11-21
2
205 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I was at a customer and we recently set up a new DNS Server.  I asked him to ensure that all servers pointed to the new server.  140 remote servers – estimated 6 days of work to do this manually. Ever had this experience and just need to get the …
A Wildcard Certificate means all of your sub-domains will resolve to the same location, regardless of the non-SSL Document-Root specification. A user will need to purchase a wildcard SSL from a vendor or a reseller that supplies them. Similar to ha…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

910 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