Using specific IP of NIC for Internet Connection

  • Thread starter Thread starter Liehmann Richard
  • Start date Start date
L

Liehmann Richard

Hello!

I have a w2k server with one NIC. This NIC has multiple IP's. I want
the server to use a specific IP for connecting to a specific IP.

Example:
NIC with IP's: 172.16.10.10, 172.16.10.20
Problem:
- connect to 123.123.123.123 use NIC with IP 172.16.10.10
- connect to xxx.xxx.xxx.xxx use NIC with IP 172.16.10.20

I have only one NIC with multiple IP's. Is there a possibility tu use
ROUTE for this? I know that I can use two NIC with two different IP's,
but this is not possible in this case.

Please give me any hint?

Thanks, Richard
 
yes, you can modify the routing table, for example, it looks like
123.123.123.123 mask 255.255.255.255 172.16.10.10 and 0.0.0.0. mask 0.0.0.0
172.16.10.20.

--
For more and other information, go to
http://www25.brinkster.com/ChicagoTech >routing

Don't send e-mail or reply to me except you need consulting services.
Posting on MS newsgroup will benefit all readers and you may get more help.

Robert Lin, MS-MVP, MCSE & CNE
Windows & Network Support, Tips and FAQs on
http://www25.brinkster.com/ChicagoTech
This posting is provided "AS IS" with no warranties.
 
I can't add the following route: route add 123.123.123.123 mask
255.255.255.255 172.16.10.10
cause the server always use the default gateway 172.16.10.20

after the route add it looks always like 123.123.123.123 mask
255.255.255.255 172.16.10.20 in the routing table, even if i have
specified another gateway in the route add command

any ideas?
 
Back
Top