Solved

Choosing which IP I send out

Posted on 2004-10-06
3
192 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 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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Access shared drive during VPN session 9 111
sync conflicts 1 78
Password managers 1 39
Changing Lease Duration for DHCP clients 34 29
FIPS stands for the Federal Information Processing Standardisation and FIPS 140-2 is a collection of standards that are generically associated with hardware and software cryptography. In most cases, people can refer to this as the method of encrypti…
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 add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

839 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