Community discussions

MikroTik App
 
jarviscaines
just joined
Topic Author
Posts: 5
Joined: Tue Nov 10, 2015 10:01 pm

1 VPLS Tunnel / multi vlan / 1 Dhcp server

Thu Sep 27, 2018 3:50 pm

Is this best practice?

I have a lab set up with OSPF / MPLS / VPLS / vlans

This lab works great and here is a brief description of how I have this set up.

R1 - Core router
create a vlan 30 and attach to interface of vpls-R1-R2 tunnel
Create the IP subnet and attach to vlan30
Add DHCP server for vlan30

R2
Create create bridge1 and add vpls-r1-r2 and the ether2 ( port connected to the switch)

This works great and the dhcp server assigns ip's to clients connected to R2 Access points on the switch. Each access points in their own vlan.

Please see attached diagram

In my config I will have a subnet /vlan for each access point at the tower(seperate vlan per AP). I have 4 access points per tower with 9 towers.
That's a total of 36 subnet with 36 dhcp servers on the core router.
This is great as it helps me separate traffic per AP on the tower.

However, the filter rules to block traffic at layer 3 on the core router is going to be huge. I would like to reduce the number of subnets

In best case scenario i have at most 50 clients at each tower.
So here is my question?
I would prefer to have one Subnet per tower.
I have tried create bridge on the core router and adding all vlans to the bridge and vpls-r1-r2 interface. Then create dhcp server on the bridge but client dhcp request is not reaching the server.

I appreciate any help and hope someone can understand what I just typed above :)
You do not have the required permissions to view the files attached to this post.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: 1 VPLS Tunnel / multi vlan / 1 Dhcp server

Thu Sep 27, 2018 4:13 pm

Did you tagged the bridge with all these vlans? What interfaces belong to your vlans after bridge created?
 
jarviscaines
just joined
Topic Author
Posts: 5
Joined: Tue Nov 10, 2015 10:01 pm

Re: 1 VPLS Tunnel / multi vlan / 1 Dhcp server

Thu Sep 27, 2018 4:28 pm

When creating the vlan i add it to interface bridge1.
I also attach vpls-r1-r2 to bridge1 and vlans

Anumrak - this is where i get confused. -

When creating the vlan - do i add the vlan to interface bridge1?
Then also add attach vlan and vpls-r1-r2 to the bridge?
I have read so much on this subject but can't find what is the best practice.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: 1 VPLS Tunnel / multi vlan / 1 Dhcp server

Thu Sep 27, 2018 4:48 pm

When creating the vlan i add it to interface bridge1.
I also attach vpls-r1-r2 to bridge1 and vlans

Anumrak - this is where i get confused. -

When creating the vlan - do i add the vlan to interface bridge1?
Then also add attach vlan and vpls-r1-r2 to the bridge?
I have read so much on this subject but can't find what is the best practice.
Yes, you adding interface vlan and vpls in a bridge. But also you need assign an ethernet port to interface vlan! :) Each vlan have to belong same ethernet interface or many.
 
jarviscaines
just joined
Topic Author
Posts: 5
Joined: Tue Nov 10, 2015 10:01 pm

Re: 1 VPLS Tunnel / multi vlan / 1 Dhcp server

Thu Sep 27, 2018 4:54 pm

Anumrak - I am not engineer by any means but am doing as many labs as I can to improve my knowledge level.

I have it working but want to make sure my setup is OK.

On the core router I have bridge1 with ports vlan30, vlan31, vlan31 and vpls-r1-r2.
It started working when I enable bridge horizon 1 on all ports.

So is it safe to say that stp was blocking traffic on bridge before bridge horizon was enabled.

thanks
 
bbs2web
Member Candidate
Member Candidate
Posts: 232
Joined: Sun Apr 22, 2012 6:25 pm
Location: Johannesburg, South Africa
Contact:

Re: 1 VPLS Tunnel / multi vlan / 1 Dhcp server

Thu Sep 27, 2018 11:53 pm

Filtering, natting and queues should be distributed, core routers should be minimalistic with aggregation functions on dedicated provide edge routers.
 
User avatar
Anumrak
Forum Guru
Forum Guru
Posts: 1174
Joined: Fri Jul 28, 2017 2:53 pm

Re: 1 VPLS Tunnel / multi vlan / 1 Dhcp server

Fri Sep 28, 2018 1:08 pm

Anumrak - I am not engineer by any means but am doing as many labs as I can to improve my knowledge level.

I have it working but want to make sure my setup is OK.

On the core router I have bridge1 with ports vlan30, vlan31, vlan31 and vpls-r1-r2.
It started working when I enable bridge horizon 1 on all ports.

So is it safe to say that stp was blocking traffic on bridge before bridge horizon was enabled.

thanks
I think no, because stp rpocess works in a vlan, and your networks are already segmented with defferent vlans. You should've check who is root bridge in yout bridge interface in all 3 vlans. Split horizon isolates interfaces for untagged traffic or tagged in the same vlan. You should enable it on all interface which should not be allowed to communicate.

Who is online

Users browsing this forum: No registered users and 13 guests