Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Choosing which IP I send out

Posted on 2004-10-06
3
Medium Priority
?
201 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
3 Comments
 
LVL 1

Accepted Solution

by:
jbielot earned 1000 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

Get your Conversational Ransomware Defense e‑book

This e-book gives you an insight into the ransomware threat and reviews the fundamentals of top-notch ransomware preparedness and recovery. To help you protect yourself and your organization. The initial infection may be inevitable, so the best protection is to be fully prepared.

Question has a verified solution.

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

A brief overview to explain gateways, default gateways and static routes OR NO - you CANNOT have two default gateways on the same server, PC or other Windows-based network device. In simple terms a gateway is formed when a computer such as a serv…
Trying to figure out group policy inheritance and which settings apply where can be a chore.  Here's a very simple summary I've written which might help.  Keep in mind, this is just a high-level conceptual overview where I try to avoid getting bogge…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

886 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