Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Our organization has several external IP addresses. I am behind 2 layers of NAT and the servers choose which IP address to route my traffic to.

Can I specify which IP address to use when finally leaving the organizations network. I know that source routing can be done in IPv4 by adding some options in the header. But can I configure my PC to add these options automatically.

I have both a Windows and a Linux Machine.

share|improve this question
3  
Why does it matter which router you exit through? The only practical application for this that I can think of is getting past IP bans on one of the exits... – marcusw Mar 18 '10 at 17:12
    
i want to see if this is possible. is it part of the design of the Internet. just a learning exercise. – Rohit Banga Mar 19 '10 at 6:04
    
Do you have access to the NAT devices? Depending on the configuration there may be no possible way you can manipulate the route solely from a device behind the router. – Zoredache Mar 23 '10 at 4:21
up vote 2 down vote accepted
+50

Depends on your hardware. A proper router will allow you to configure which interface, and thus IP address certain traffic should go out own. Again depending on the hardware, this can mean a virtual interface if the IP addresses you're looking to differentiate between are coming in on the same physical connection.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .