Running out of IP addresses ... how to proceed?

Incredibly, my house has almost 180 objects connected. They are all in the range
192.168.1.1 to 254

now with these automations, the number of connected units are skyrocketing (wifi bulbs, wifi sockets and so on).

In case I arrive at 254, which is the best way to handle this?

I have a house with a telecom modem at 192.168.0.1 and all the rest at 192.168.1.1-254 (including an Asus router, my main router with DHCP, and tons of connected devices including another router R7000 and an extender EX7000)

LOL I read this and thought WHAT !!! If you run out of MAC address’s then the internet just blew up. Create a subnet for things. Read up and work it out to do it. You’re running out of IP address’s BTW :smiley:

how to do this, and how to best proceed?

edited the thread, of course was IP addresses.

But I will not be surprised if soon the MAc addresses will ran out for companies

There are plenty of guides on YT. This isn’t an issue that’s specific to HA. Subnets are used for a lot of reasons. Check YT for a guide.

1 Like

to me yes, I began to have problems after starting with HA :smiley:

Just change all your IPs to start using 10.x.x.x

Or move to 192.168.x.x which might be easier as the just involves changing your subnet from:
255.255.255.0
To
255.255.0.0

if you are connected to a router/firewall you do not need to change the subnet mask, just add one new ip range and the router will take of the connection from one ip range to the other, this is the correct way to implement.

Do not use the /16 (255.255.0.0) subnet because it’s a huge subnet with 65534 hosts, use something like /23 (255.255.254.0) with 510 hosts or /22. (255.255.253.0) with 1022 hosts.

The /23 starts at 192.168.0.1 and ends at 192.168.1.254 the broadcast is the 1.255, the /22 starts at 192.168.0.1 and ends at 192.168.3.254 and the broadcast is 3.255

Expand the network as carlos.mgr explains by expanding the subnet. Do not just add a new subnet through the router. Many of these devices are smart enough to be on the internet but their discovery mechanism does not span networks so having two different ip networks to route between would be a problem.
Just as a quick (very quick very basic) explanation of what we are saying:

your IP address is actually made up of two parts, the network address and the host address.
The subnet mask determines where the break is between the network address and the host address.

To the computer all of this is expressed as 1’s and 0’s. So when you have a subnet mask of 255.255.255.0 ( /24 bits, each grouping (octet) is 8 binary bits, so 255.255.255 is 24 bits.) the first 24 bits of the ip address 192.168.1.95 for example are the network part of the address. The last 8 bits are the host address (or the address within the network of each of your machines). By going to a subnet mask of 255.255.254.0 you now have 23 bits in your network address, but 9 bits in your host address. that gives you another 255 addresses to play with. But you will need to change the subnet mask in the dhcp configuration on your router/firewall, as well as on any machines with a hard coded ip address.