Jump to content

VLANs on /16 networks


mark65
 Share

Recommended Posts

I'm using a Domotz Box connected to a 172.16.0.0/16 network which is VLAN 1.  I'm trying to add VLAN 2 which is 172.18.0.0/16.  The configuration page only accepts subnet masks in the range /22-/32.  Any logical reason for this?

Link to comment
Share on other sites

Hi @mark65,

 

There is indeed a limitation on the size of the main/default network interface and VLANs to be maximum a /22 network mask (255.255.252.0). The Domotz Agent if connected to a bigger network only scans the netmask /22 around its IP address. This limit is applied to make it possible to monitor every 30 seconds every address/device on each VLAN, scanning a /16 VLAN (˜65534 addresses) would take much more time than 30 seconds.

 

However there are some workarounds to monitor the most part of the network without major changes:

a) Configuring the agent main network interface with an IP address between near the gateway, for example, 10.0.0.1 and 10.0.3.254 - near the gateway (the first /22 block would be monitored - from 10.0.0.1 to 10.0.3.254).

Then using the Domotz App or WebApp, you may add 8 additional /24 subnets. e.g. using the Private Subnet Scan.
 

  1. 10.0.4.0 - 255.255.255.0
  2. 10.0.5.0 - 255.255.255.0
  3. 10.0.6.0 - 255.255.255.0
  4. 10.0.7.0 - 255.255.255.0
  5. 10.0.8.0 - 255.255.255.0
  6. 10.0.9.0 - 255.255.255.0
  7. 10.0.10.0 - 255.255.255.0
  8. 10.0.11.0 - 255.255.255.0


*You can customize that accordingly with the blocks you have the most interest in.

So the maximum network covered as it is would be from 10.0.0.1 to 10.0.11.254 (up to 3048 devices). Keeping in mind that the Private Subnet Scan doesn't monitor the MAC Address of the devices, so the monitoring will be based on its IP Addresses, static IP Address is recommended at least for the most important devices. Features like the Topology Map are not supported for devices discovered this way.

b) I really suggest you resize the network/subnets and segregate them using VLANs (up to a /22 subnet) this way with one agent you would be able to cover the entire site, for example:

Place the agent main network interface with an IP address between 10.0.0.1 and 10.0.3.254 (the first /22 block would be monitored - from 10.0.1 to 10.0.3.254) and add the additional VLANs to the agent:

  1. VLAN 2 - 10.0.4.0/22
  2. VLAN 3 - 10.0.8.0/22
  3. VLAN 4 - 10.0.12.0/22
  4. VLAN 5 - 10.0.16.0/22
  5. VLAN 6 - 10.0.20.0/22
  6. VLAN 7 - 10.0.24.0/22
  7. VLAN 8 - 10.0.28.0/22
  8. VLAN 9 - 10.0.32.0/22

*You can customize that accordingly with the blocks you have the most interest in.

Our recommendation is to configure up to 10 VLANS /22 per agent that would give you the monitoring of 10160 possible devices.

 

Keep in mind, that if you want to cover the entire network, you can always plan to configure more than one Agent on that network instead of these workarounds. If you want to use a single Domotz Agent without these workarounds,  it may be possible to provide a "Custom" configuration which allows you to configure more than the default 8 subnets. This need to be discussed with our Sales team (sales@domotz.com).

 

Let me know if you need any further clarification.

 

Henrique Salvador

Domotz Support

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...