07-06-2022 10:12 PM - edited 07-07-2022 02:12 AM
I have one cisco L2/L3 manageable switch with multiple vlans (no intervaln routing). I also have 2 x mikrotik routerboard configured as pppoe server. I want to distribute vlans among both CCR via single cisco switch.
Example users connected on vlan 10-20 should always go to / connect with mikrotik pppoe-router-ccr-1 and vlan 30-40 should always go to / connect with mikrotik pppoe-router-ccr-2
on Cisco switch should I have following config?
#CISCO Example Config:
Trunk Port 1 connected with CCR-1 > trunk Allowed vlan 10-20
Trunk Port 2 connected with CCR-2 > trunk Allowed vlan 30-40
#MIKROTIK Example Config:
CCR-1 > vlan 10-20 created and pppoe server configured on these vlan interfaces
CCR-2 > vlan 30-40 created and pppoe server configured on these vlan interfaces
::
Q1) Will this topology work so that pppoe users should connect accordingly?
Some other Details: There is no DEFAULT GATEWAYS at customer end, they have simple wifi router with ppoe dialer configured. PPPoE dialer works on broadcast. Will VLAN ACL ensure that only particular vlan users goes to particular Mikrotik pppoe CCR Router Server ?
Q2) I have a radius billing server which should be accessible by both Mikrotik pppoe CCR Router Server . should I do following?
on Cisco switch , Create Vlan no 99 on Port X, Connect radius server (192.168.0.1) cable with this port. Allow Vlan 99 on both Trunk Ports. Create Vlan99 interface on both Mikrotik pppoe CCR Router Server & assign ip like ccr1>192.168.0.2, & ccr2>192.168.0.2. This way both Mikrotik pppoe CCR Router Server or radius can communicate with each other? Is this right config?
Solved! Go to Solution.
07-07-2022 08:30 AM
I don't see any wrong in your config,
image the User-1 want to connect to router-1,
it send broadcast ask MAC address and since you allow VLAN in trunk, then the broadcast will forward to router-1 and then user-1 can build frame and connect to only router-1
here you don't need any GW since the router-1 will be the GW for all client in that VLAN.
keep in mind the router-1 and router-2 must config here with sub interface.
07-07-2022 12:06 AM
If the Switch acting Pure Layer 2 and Mikrotik Router handling all Layer3 routing, then that should be as expected.
If the Switch need to do routing you need to have Layer 3 enabled and required static routing high level.
Note: based on the information the advice provided if you looking for more help provide a small diagram of a network to understand better.
07-07-2022 12:27 AM
Hello
Based on wat you have explained. pruning the vlans on that L2 switch trunks should accomplish what you want to achieve
07-07-2022 02:10 AM
I have attached a rough diagram just to clarify . if it helps .
07-07-2022 08:30 AM
I don't see any wrong in your config,
image the User-1 want to connect to router-1,
it send broadcast ask MAC address and since you allow VLAN in trunk, then the broadcast will forward to router-1 and then user-1 can build frame and connect to only router-1
here you don't need any GW since the router-1 will be the GW for all client in that VLAN.
keep in mind the router-1 and router-2 must config here with sub interface.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide