Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Choosing which IP I send out

Posted on 2004-10-06
3
Medium Priority
?
202 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
1 Comment
 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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…
Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
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…
Kernel Data Recovery is a renowned Data Recovery solution provider which offers wide range of softwares for both enterprise and home users with its cost-effective solutions. Let's have a quick overview of the journey and data recovery tools range he…

580 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