cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
12126
Views
0
Helpful
3
Replies

Invalid IP address for this subnet mask error

raphar_s
Level 1
Level 1

Hello everyone.

 

This is my first networking appointment and I'm pretty lost, so bear with me.

 

I have a network with the IP 192.168.1.0. I'm supposed to subdivide it in 5 subnets.

 

My first subnet must accomodate 34 IP addresses, so I gave it the  IP 192.168.1.1  255.255.255.192. No problem.

 

Then, I try to give my second network, that's only a connection between two routers, the IP 192.162.1.64 255.255.255.252. When I do that, I get an error telling me "invalid IP address for this subnet mask".

 

I tried to use this subnet calculator : https://www.calculator.net/ip-subnet-calculator.html?cclass=c&csubnet=30&cip=192.168.1.64&ctype=ipv4&printit=0&x=59&y=36, which states that 192.168.1.64/30 is a valid IP address. Also, 192.168.1.64 isn't in my first subnet.

 

I don't really know what's wong there. Could I get some pointers ?  

1 Accepted Solution

Accepted Solutions

Hi

 Wondering if you put the 192.169.1.64 on the interface. Cause you should use 192.168.1.65 instead. And 192.168.1.66 on the other end.

 The first network would be from 192.1681.1 up to 192.168.1.62 and .63 your broadcast address.

View solution in original post

3 Replies 3

Hi

 Wondering if you put the 192.169.1.64 on the interface. Cause you should use 192.168.1.65 instead. And 192.168.1.66 on the other end.

 The first network would be from 192.1681.1 up to 192.168.1.62 and .63 your broadcast address.

Who knew it'd be so simple... Why do I need to put my network one address later though ? Should I not put the network address in the interface of the router ?

Not the network address.....the first valid ip address of the network.