Solved

Choosing which IP I send out

Posted on 2004-10-06
3
194 Views
Last Modified: 2010-03-18
Hello,

I have 2 IP's (external IP's) configured on one LAN card in windows XP.  I would like to be able to choose which one is sent out when I'm browsing.  I would like, fo example, to have my first IE browser using IP_1 and my second IP_2.  Right now, it's always taking my first ip. Is this possible?    

thanks
0
Comment
Question by:inf2300
[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
3 Comments
 
LVL 1

Accepted Solution

by:
jbielot earned 250 total points
ID: 12248402
Not possible. You'd need to be able to change the default TCP/IP route for your PC based on the application instance. About the closest that you'd be able to come would be to change the default route to the 2nd IP, run whatever apps you want, and then change it back.  You can see your default route by opening a cmd prompt and typing "route print".

It will look something like this -

C:\>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x1000003 ...00 06 5b 51 6b 47 ...... 3Com EtherLink PCI
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.10.1   192.168.10.253       1
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
       192.168.0.0      255.255.0.0    192.168.10.253   192.168.10.253       1
    192.168.10.253  255.255.255.255        127.0.0.1       127.0.0.1       1
   192.168.255.255  255.255.255.255    192.168.10.253   192.168.10.253       1
        224.0.0.0        224.0.0.0    192.168.10.253   192.168.10.253       1
  255.255.255.255  255.255.255.255    192.168.10.253   192.168.10.253       1
Default Gateway:       192.168.10.1
===========================================================================
Persistent Routes:
  None

The line 0.0.0.0 0.0.0.0 192.168.10.1 192.168.10.253 1 is the default route. 192.168.10.253 is the IP of my pc. This says send all traffic (0.0.0.0 0.0.0.0) to the default gateway (192.168.10.1) via interface (192.168.10.253). You probably have (2) statements, both with a 0.0.0.0 0.0.0.0 IP/mask and Windows will use the first one in the table.  You'd need to manipulate the routing table to swap the default routes, or delete one (or the other). This can be done using the route command at a command prompt. Type route /? for help with the command.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Downtime reduced, data recovered by utilizing an Experts Exchange Business Account Challenge The United States Marine Corps employs more than 200,000 active-duty Marines with operations in four continents, all requiring complex networking system…
Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

751 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