Multiple IP Addresses on a Single NIC
This article was previously published under Q149399
This article has been archived. It is offered "as is" and will no longer be updated.
A computer with two IP addresses assigned to its interface is unable toconnect to computers across a router.
A single network interface card (NIC) configured with multiple IP addressesdefined on different logical subnets will always use the first IP addressdefined in the TCP/IP configuration as its source address, regardless ofthe destination.
To resolve this problem, upgrade to Windows NT Workstation and Serverversion 4.0.
The problem does not occur if the computer has one NIC per IP address (twoNICs).
Microsoft has confirmed this to be a problem in Windows NT versions 3.5 and3.51. This problem was corrected in Windows NT Workstation or Serverversion 4.0.
Consider the following scenario:
A computer with a single NIC and two IP addresses--the first is 220.127.116.11,the second 18.104.22.168--is on the same segment where two routers arepresent, router 1 with IP address 22.214.171.124 and router 2 with IP address126.96.36.199.
The route table is as follows:
Network Address Netmask Gateway Address Interface Metric0.0.0.0 0.0.0.0 188.8.131.52 184.108.40.206 10.0.0.0 0.0.0.0 220.127.116.11 18.104.22.168 1127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 122.214.171.124 255.255.0.0 126.96.36.199 188.8.131.52 1184.108.40.206 255.255.255.255 127.0.0.1 127.0.0.1 1220.127.116.11 255.255.255.255 18.104.22.168 22.214.171.124 1126.96.36.199 255.255.0.0 188.8.131.52 184.108.40.206 1220.127.116.11 255.255.255.255 127.0.0.1 127.0.0.1 118.104.22.168 255.255.0.0 22.214.171.124 126.96.36.199 1(Previous entry is an added static route)188.8.131.52 184.108.40.206 220.127.116.11 18.104.22.168 1255.255.255.255 255.255.255.255 22.214.171.124 126.96.36.199 1
Note that the interface is always 188.8.131.52. Network 184.108.40.206 is on theother side of router 2 (220.127.116.11) and a static route was added for it.With this configuration, connectivity to any host on the local subnet withan IP address of 130.0.x.x or 130.1.x.x is possible. Connectivity to anyhost on the other side of router 1 (18.104.22.168) is also possible.Connectivity to anything beyond router 2 is not possible. A network traceshows that the source IP address is 22.214.171.124 when trying to reach adestination over router 2. Router 2 only knows about network 126.96.36.199 anddoesn't have a route defined for network 188.8.131.52.
- A static route can be added in router 2 to fix this problem (i.e. route add 184.108.40.206 220.127.116.11).
Article ID: 149399 - Last Review: 12/04/2015 14:28:54 - Revision: 3.1
Microsoft Windows NT Workstation 3.5, Microsoft Windows NT Workstation 3.51, Microsoft Windows NT Server 3.5, Microsoft Windows NT Server 3.51
- kbnosurvey kbarchive KB149399