Community discussions

MikroTik App
 
PeterEW
just joined
Topic Author
Posts: 2
Joined: Mon Sep 27, 2021 1:17 am
Location: New Zealand

DHCP address assignment based on VLAN

Mon Sep 27, 2021 1:25 am

We have clients connecting to a CCR1036 via QinQ VLAN,
SVID Outer tag and CVID inner tag,
We are wanting to allow address assignment from a DHCP server but make the address' static based on their CVID/VLAN ID.
Allowing the client to replace their router/device without the IP being static based on the MAC of the existing equipment.

We currently have this working manually with the static address assigned based on MAC.

Is this a possibility?
 
samsung172
Forum Guru
Forum Guru
Posts: 1191
Joined: Sat Apr 04, 2009 3:45 am
Location: Østfold - Norway
Contact:

Re: DHCP address assignment based on VLAN

Mon Sep 27, 2021 10:44 pm

Its possible, but you need to run one dhcp server per vlan.
 
PeterEW
just joined
Topic Author
Posts: 2
Joined: Mon Sep 27, 2021 1:17 am
Location: New Zealand

Re: DHCP address assignment based on VLAN

Mon Sep 27, 2021 11:50 pm

Its possible, but you need to run one dhcp server per vlan.
Sorry, should have mentioned, that all IP's will have the same gateway and are therefore slave interfaces on a bridge.

Who is online

Users browsing this forum: ShindigNZ and 71 guests