gistigo

PLVideo in PolishENSummary in English

MikroTik network division - segmentation via VLANs (IoT, Guest, Management)

Podział sieci w Mikrotiku - segmentacja poprzez VLANy (IOT,Guest,Management)

ChannelDenis Kaczor (opens YouTube)
Video
31 min
On YouTube since

Introduction

This material demonstrates the process of logical network segmentation in a home environment using MikroTik hardware, enabling effective isolation of vulnerable devices. The author explains how to use VLAN technology to separate trusted computers from IoT devices and guests, enhancing overall infrastructure security.

Key takeaways 4 / 6

The gist of the content in a few sentences

  • Using VLAN 99 as a management network prevents infected IoT devices from accessing the router's configuration panel.
  • Configuring access and trunk ports allows multiple networks to be transmitted over a single cable to Wi-Fi access points.
  • Implementing Firewall rules in the forward chain ensures that smart devices can only respond to queries rather than initiate connections.
  • Activating VLAN filtering on the bridge is a critical step that requires all identifiers to be correctly mapped beforehand.
Show all 6 takeaways
  • Complete guest network isolation guarantees that visitors only have internet access without any visibility into local LAN resources.
  • Disabling Mac Winbox and Mac Telnet services further hardens the system by forcing administration exclusively through a secure IP address.
Video chapters 15Click and the video will play from the selected moment

Summary

First 3 of 15 parts

Logical Home Network Segmentation Using VLANs

Modern home networks require a conscious approach to security due to the presence of devices that can pose a threat. The speaker points out that hardware such as smart TVs, printers, or IoT light bulbs should be separated from the main network because they often lack sufficient security levels. A similar rule applies to people using home Wi-Fi as guests; their devices are unknown and should not have access to private resources. The most effective way to achieve such isolation without multiplying physical infrastructure is to use VLAN technology.

The author demonstrates a practical configuration using a MikroTik device as an example, utilizing a topology prepared in GNS3. The network is divided into several specific segments: VLAN 10 for known and secure LAN devices, VLAN 20 dedicated to less secure smart hardware, and VLAN 30 intended for guests. A key element of the structure is VLAN 99, serving as the management network. Thanks to this solution, access to the router's configuration panel is only possible from one specific device, preventing outsiders or infected IoT devices from interfering with network settings.

Communication and Separation Rules in VLANs

In the presented network model, the key assumption is one-way communication between the computer and devices in the IoT subnet. The user should be able to connect to the printer, but the printer itself cannot initiate connections with the rest of the network to prevent potential spying or attacks. In the case of the guest network, restrictions are even tighter—devices operating within it only have internet access and are completely isolated from the computer, printer, and other local resources. A separate VLAN 99, designated as Management, is used exclusively for managing the MikroTik router, which prevents other users from accessing the configuration panel.

The physical configuration is based on the distinction between access and trunk ports. Port two is configured as an access port for the main network (VLAN 10), while port three acts as a trunk, transmitting frames for three different SSIDs (VLAN 10, 20, and 30) to the access point. Port four, where the printer or TV is connected, is assigned to VLAN 20, as these devices often have outdated software and are considered potentially dangerous. The last port, Ether 5, handles management traffic, allowing for secure administration of the network infrastructure before moving to the practical system configuration.

Configuring VLAN Interfaces and IP Addressing

The process begins on a MikroTik device with a default configuration where four ports are grouped in a bridge. The author plans to create four virtual networks: VLAN 10 (LAN), VLAN 20 (IOT), VLAN 30, and VLAN 99 for management. New interfaces are created in the Interfaces tab, where each is assigned a unique VLAN ID and mapped to the main bridge interface, which acts as a virtual switch.

The next step is assigning IP addresses to each created segment in the IP Addresses menu. The adopted scheme uses the third octet of the address to identify the network, meaning that for VLAN 10, the address 172.17.10.1/24 is assigned. The other networks are configured similarly, including the management network with the 99.1 suffix, allowing for a logical organization of the address structure within the router.

Read the full summary – for free

12 parts of text left, key takeaways, facts, questions and answers, action items – with the source minute for every passage. Plus search, collections and the AI assistant.

Keep reading for free

Free, in a minute. Have an account? Log in

Free account

Read them in full – for free

  • 2 649 summaries in full – the gist, chapters, facts and takeaways
  • Full-text search, collections and an AI chat about every video
  • New videos from your channels summarized automatically, with an email notification