Solved

Choosing which IP I send out

Posted on 2004-10-06
3
189 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 Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

707 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now