Setting a static IP exactly as the dynamic IP yields loss of connection

ipipv4networkingstatic-ip

Before I start I would like to point out that I do not want to get hung up on DNS issues with this question. EVEN IF DNS issues are apparent that would have nothing to do with basic IP traffic and that's what this question is about. I was wondering if anyone else has experienced this issue before…

Preface:

I have a machine that is set up with a dynamic IP address. It works perfectly fine and has no issues at all. I simply want to set a static IP address on it so it never changes and it's always the same (for purposes such as sharing etc). The current DHCP info that is returned when setting up the machine as a dynamic IP is as follows…

IP: 10.10.63.152
Subnet Mask: 255.255.225.0
Gateway: 10.10.63.1
Primary DNS: 10.10.63.1
Secondary DNS: (none)
WINs Server: 10.10.63.1

Problem:

I take all the dynamic information and use that as my static IP info (EXACTLY the same). When I click the enter button to apply I lose all network connectivity to the internet. I can still access local network resources (such as ping 10.10.63.19, etc.) A week ago I had it set up as a static IP address using 10.10.63.80 using the same information just a different IP and it was working perfectly. Just to trouble shoot I was using the assigned DHCP IP because everything seemed to work with that (unless I set it statically). I have also tried various different settings trying to achieve success such as…

IP: 10.10.63.80
Subnet Mask: 255.255.225.0
Gateway: 10.10.63.1
Primary DNS: 10.10.63.1
Secondary DNS: (none)
WINs Server: 10.10.63.1

IP: 10.10.63.80
Subnet Mask: 255.255.225.0
Gateway: 10.10.63.1
Primary DNS: 10.10.63.1
Secondary DNS: (none)
WINs Server: (none)

IP: 10.10.63.152
Subnet Mask: 255.255.225.0
Gateway: 10.10.63.1
Primary DNS: 10.10.63.1
Secondary DNS: (none)
WINs Server: 10.10.63.1

IP: 10.10.63.152
Subnet Mask: 255.255.225.0
Gateway: 10.10.63.1
Primary DNS: 10.10.63.1
Secondary DNS: (none)
WINs Server: 10.10.63.1

IP: 10.10.63.80
Subnet Mask: 255.255.225.0
Gateway: 10.10.63.1
Primary DNS: 8.8.8.8
Secondary DNS: (none)
WINs Server: (none)

IP: 10.10.63.152
Subnet Mask: 255.255.225.0
Gateway: 10.10.63.1
Primary DNS: 8.8.8.8
Secondary DNS: (none)
WINs Server: (none)

Any ideas what might be happening?


Further Testing Results:

I have tried to ping local resources when the IP is changed to static and results were good!

ping 10.10.63.19

Pinging 10.10.63.19 with 32 bytes of data:
Reply from 10.10.63.19: bytes=32 time=64ms TTL=125
Reply from 10.10.63.19: bytes=32 time=64ms TTL=125
Reply from 10.10.63.19: bytes=32 time=64ms TTL=125
Reply from 10.10.63.19: bytes=32 time=63ms TTL=125

Ping statistics for 10.10.63.19:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 63ms, Maximum = 64ms, Average = 63ms

I have tried to ping an internet resource and results failed.

ping 8.8.8.8

Pinging 8.8.8.8 with 32 bytes of data:
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.
PING: transmit failed. General failure.

Ping statistics for 8.8.8.8:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

I have tried to do a trace route and it failed as well.

tracert 8.8.8.8

Tracing route to google-public-dns-a.google.com [8.8.8.8]
over a maximum of 30 hops:

  1  Transmit error: code 1231.

Trace complete.

Best Answer

Your subnet mask, 255.255.225.0, is not valid and is probably breaking your network config. Is it supposed to be 255.255.255.0?