cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
953
Views
10
Helpful
4
Replies

Divide Vlans in 2 Routers with single Cisco switch

aacable79
Level 1
Level 1

cisco topology for vlan distri in ccr.png

 

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?

1 Accepted Solution

Accepted Solutions

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.

View solution in original post

4 Replies 4

balaji.bandi
Hall of Fame
Hall of Fame

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.

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello
Based on wat you have explained. pruning the vlans on that L2 switch trunks should accomplish what you want to achieve


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

aacable79
Level 1
Level 1

I have attached a rough diagram just to clarify . if it helps .cisco topology for vlan distri in ccr.png

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.

Review Cisco Networking for a $25 gift card