• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 270
  • Last Modified:

machine with multiple IPs how to set source IP for certain traffic?

I have a question regarding routing and IP addressing on a host. I have a particular situation that I'm trying to resolve.

I have a partner company that has a very strange network setup in which requires us to use a secondary NAT address before our traffic leaves our system. Depending on what NAT address we send as our source, will depend if we have access to a resouce on the other end. Due to even more complexity there's situations that a certain NAT say cannot talk all the hosts on the other side of the tunnel.

My question is this. If I assign two IPs to my NIC card say (primary IP) and (secondary IP) and I have a host that I'm communicating with such as in order to get access to that host I need to send to as instead of how would I accomplish this? I'm assuming I could somehow add a static route through windows but not sure how. Any ideas?

1 Solution
You should be able to do a command prompt and something like:

route add mask

See http://technet.microsoft.com/en-us/library/cc757323(WS.10).aspx

and then have a play...

jbla9028Author Commented:
Thanks I will try this.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now