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
Solved

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

Posted on 2011-03-24
2
258 Views
Last Modified: 2012-05-11
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 10.0.6.1 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 10.0.0.1 (primary IP) and 10.0.0.2 (secondary IP) and I have a host that I'm communicating with such as 10.0.6.10. in order to get access to that host I need to send to 10.0.6.10 as 10.0.0.2 instead of 10.0.0.1 how would I accomplish this? I'm assuming I could somehow add a static route through windows but not sure how. Any ideas?


0
Comment
Question by:jbla9028
2 Comments
 
LVL 1

Accepted Solution

by:
TheMammoth earned 500 total points
ID: 35207147
You should be able to do a command prompt and something like:

route add 10.0.6.10 mask 255.255.255.255 10.0.0.2

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

and then have a play...




0
 
LVL 1

Author Closing Comment

by:jbla9028
ID: 35366274
Thanks I will try this.
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

Configuring network clients can be a chore, especially if there are a large number of them or a lot of itinerant users.  DHCP dynamically manages this process, much to the relief of users and administrators alike!
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

856 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