0

We have to install some network devices (ip camera, max=30) at one of our client sites, so we asked them to give us an IP range.

The client sends the following details,

IP range:= 192.168.0.264/296
Subnet := 255.255.254.0
Gateway := 192.168.0.1

Is this valid? If yes, any details about this will be very helpful?

After some Googling and head scratching, i came to the following conclusion,
IP range := 192.168.1.8 to 192.168.1.40

Is this correct?

6
  • 1
    192.168.0.264/296 is not a valid range. Maybe you mean 192.168.0.0/23? I think they mean 192.168.1.10 to 192.168.1.42, but that is a very weird way to write that...
    – user36472
    Jan 25, 2018 at 7:29
  • 1
    This is so wrong in different levels! Period.
    – Maverick
    Jan 25, 2018 at 8:08
  • That is a very odd way of notating a /23 network, but I suppose it does have the benefit of separating the network bits from the host bits. If only there was a standard (RFC 791) way that the client could have written the address range.... :-)
    – ErikF
    Jan 25, 2018 at 15:12
  • @Cown: My bad i included x.x.x.0 and x.x.x.255 in my calculations :-(
    – user82037
    Jan 26, 2018 at 14:27
  • @user82037 yes i did sorry
    – user36472
    Jan 26, 2018 at 14:29

1 Answer 1

5

IP range:= 192.168.0.264/296

This is nonsense. The dots are in between octets/bytes and 8 bit can only be 2^8-1=255 max.

With

Subnet := 255.255.254.0

Gateway := 192.168.0.1

the IP range of 192.168.0.0/23 is 192.168.0.1 to 192.168.1.254.

2
  • I know that's not the correct way, but i was considering ip address as <network-id>+<host-id>. By the way we have asked the client to clarify.
    – user82037
    Jan 26, 2018 at 14:36
  • "ip address as <network-id>+<host-id>" - in principle correct, but you need to add the carry to the next more significant octet. Fortunately, IPv6 uses hexadecimal...
    – Zac67
    Jan 26, 2018 at 17:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.