Windows Server: specifying the default IP address when NIC has multiple addresses

Posted by Cédric Boivin on Server Fault See other posts from Server Fault or by Cédric Boivin
Published on 2010-03-06T13:01:30Z Indexed on 2010/03/08 15:08 UTC
Read the original article Hit count: 953

I have a Windows Server which has ~10 IP addresses statically bound. The problem is I don't know how to specify the default IP address.

Sometimes when I assign a new address to the NIC, the default IP address changes with the last IP entered in the advanced IP configuration on the NIC. This has the effect (since I use NAT) that the outgoing public IP changes too.

Even though this problem is currently on Windows Server 2008, I've had the same problem with a Windows Server 2003.

How can you set the default IP address on a NIC when it has multiple IP addresses bound?

I remark something. When i check route print i see

is it there the problem ?

0.0.0.0 0.0.0.0 192.168.x.x 192.168.99.49 261

if i want the default ip be example : 192.168.99.100

There is my route.

Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     192.168.99.1    192.168.99.49    261
       10.10.10.0    255.255.255.0         On-link       10.10.10.10    261
      10.10.10.10  255.255.255.255         On-link       10.10.10.10    261
     10.10.10.255  255.255.255.255         On-link       10.10.10.10    261
     192.168.99.0    255.255.255.0         On-link     192.168.99.49    261
    192.168.99.49  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.51  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.52  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.53  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.54  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.55  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.56  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.57  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.58  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.59  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.60  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.61  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.62  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.64  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.65  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.66  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.67  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.68  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.70  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.71  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.100  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.108  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.109  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.112  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.255  255.255.255.255         On-link     192.168.99.49    261
        224.0.0.0        240.0.0.0         On-link     192.168.99.49    261
        224.0.0.0        240.0.0.0         On-link       10.10.10.10    261
  255.255.255.255  255.255.255.255         On-link     192.168.99.49    261
  255.255.255.255  255.255.255.255         On-link       10.10.10.10    261

I need to be certain, when i go on internet i go with the 192.168.99.100 how i do that ?

© Server Fault or respective owner

Windows Server: specifying the default IP address when NIC has multiple addresses

Posted by Cédric Boivin on Server Fault See other posts from Server Fault or by Cédric Boivin
Published on 2010-03-06T13:01:30Z Indexed on 2010/03/08 0:32 UTC
Read the original article Hit count: 953

I have a Windows Server which has ~10 IP addresses statically bound. The problem is I don't know how to specify the default IP address.

Sometimes when I assign a new address to the NIC, the default IP address changes with the last IP entered in the advanced IP configuration on the NIC. This has the effect (since I use NAT) that the outgoing public IP changes too.

Even though this problem is currently on Windows Server 2008, I've had the same problem with a Windows Server 2003.

How can you set the default IP address on a NIC when it has multiple IP addresses bound?

I remark something. When i check route print i see

is it there the problem ?

0.0.0.0 0.0.0.0 192.168.x.x 192.168.99.49 261

if i want the default ip be example : 192.168.99.100

There is my route.

Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0     192.168.99.1    192.168.99.49    261
       10.10.10.0    255.255.255.0         On-link       10.10.10.10    261
      10.10.10.10  255.255.255.255         On-link       10.10.10.10    261
     10.10.10.255  255.255.255.255         On-link       10.10.10.10    261
     192.168.99.0    255.255.255.0         On-link     192.168.99.49    261
    192.168.99.49  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.51  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.52  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.53  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.54  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.55  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.56  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.57  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.58  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.59  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.60  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.61  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.62  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.64  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.65  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.66  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.67  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.68  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.70  255.255.255.255         On-link     192.168.99.49    261
    192.168.99.71  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.100  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.108  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.109  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.112  255.255.255.255         On-link     192.168.99.49    261
   192.168.99.255  255.255.255.255         On-link     192.168.99.49    261
        224.0.0.0        240.0.0.0         On-link     192.168.99.49    261
        224.0.0.0        240.0.0.0         On-link       10.10.10.10    261
  255.255.255.255  255.255.255.255         On-link     192.168.99.49    261
  255.255.255.255  255.255.255.255         On-link       10.10.10.10    261

I need to be certain, when i go on internet i go with the 192.168.99.100 how i do that ?

© Server Fault or respective owner

Related posts about nic

Related posts about nat