I
I
Ivan Ivanov2022-01-26 12:15:04
Mikrotik
Ivan Ivanov, 2022-01-26 12:15:04

How to configure DHCP server for VLAN?

I'm trying to make VLAN through Bridge

/interface bridge
add name=bridge1 vlan-filtering=no

/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2 pvid=100
add bridge=bridge1 interface=ether3 pvid=200

/interface bridge vlan
add bridge=bridge1 tagged=ether1 untagged=ether2 vlan-ids=100
add bridge=bridge1 tagged=ether1 untagged=ether3 vlan-ids=200

/interface bridge
set bridge1 vlan-filtering=yes


How now to configure the DHCP server so that it assigns VLAN 100 - 192.168.100.0/24, and VLAN 200 - 192.168.200.0/24?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Drno, 2022-01-26
@Drno

Set up the dhcp server as usual, but specify the desired network interface/bridge for it.
Naturally, we will first assign an IP address to this interface

R
Ruslan Fedoseev, 2022-01-26
@martin74ua

two dhcp servers. to your vlan with your pool....

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question