Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

Posted on 2007-11-21
2
Medium Priority
?
242 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 9

Accepted Solution

by:
Brugh earned 2000 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

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Question has a verified solution.

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

Transparency shows that a company is the kind of business that it wants people to think it is.
Outsource Your Fax Infrastructure to the Cloud (And come out looking like an IT Hero!) Relative to the many demands on today’s IT teams, spending capital, time and resources to maintain physical fax servers and infrastructure is not a high priority.
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…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Suggested Courses

618 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