Jump to content

How to configure support for multipleVLANs - Ubuntu (netplan)


Recommended Posts


Domotz Pro is a remote network monitoring software which supports multi-VLAN configurations for remote network and device monitoring. The software which is designed for integration companies and IT professionals enables a host of network monitoring features including: Remote Access, Remote Power Management, Network Mapping, SNMP, Alerts, Network Diagnostics and more. Read more about Domotz’s Remote Network Monitoring Features.


Domotz supports monitoring of multi-VLAN network configuration through a variety of network installation options which include: Self Installation on a Raspberry Pi (i.e. your own Raspberry Pi device), Domotz Box, Windows, Linux, Synology etc.


This post will explain how to configure mutli-VLAN support via your own self-installed Ubuntu OS (including Ubuntu for Raspberry Pi):


1. Edit the file /etc/netplan/01-netcfg.yaml which is used by the current Ubuntu distribution version to configure the system network:


sudo nano /etc/netplan/01-netcfg.yaml


An example adding the VLANs 15 and 20:


 version: 2
 renderer: networkd
     dhcp4: false
     addresses: []
       addresses: [ "", "" ]
     id: 15 
     link: eth0
     addresses: [ "" ]
     id: 20
     link: eth0
     addresses: [ "" ]

*Do NOT use TAB for indentation. Click here for more examples.

2. Save the file and run the command "netplan apply":


sudo netplan apply



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.

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.


  • Create New...