Community discussions

MikroTik App
 
cicserver
Member
Member
Topic Author
Posts: 303
Joined: Sun Jul 24, 2011 12:04 pm

Cisco InterVlan Routing with Mikrotik

Thu Oct 19, 2017 10:47 am

I have following network topology.
LAN clients gets ip's from main Cisco switch dhcp which have vlan assigned and intervlan ip routing is enabled. all vlan clients can communicate with each other using there dhcp ips because all clients have there default gateway pointed to there local vlan interfaces ip's.
This switch trunk port is connected with the mikrotik which is acting as pppoe server. As soon as client dials the pppoe dialer (as per policy user must dialer pppoe dialer for tracking/accounting purposes), there local vlan traffic starts to pass/route via mikrotik router which puts high load dueto heavy media sharing used by vlan clients with each other.

How can I force my pppoe clients to use local switch for there local traffic.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10241
Joined: Mon Jun 08, 2015 12:09 pm

Re: Cisco InterVlan Routing with Mikrotik

Thu Oct 19, 2017 10:52 am

Make the Cisco DHCP server provide explicit routes for the local networks (for which there are VLANs), this could be a single
route when they are all contained in a single larger subnet, instead of providing a "default gateway". Make the PPPoE server
provide the default gateway.
 
cicserver
Member
Member
Topic Author
Posts: 303
Joined: Sun Jul 24, 2011 12:04 pm

Re: Cisco InterVlan Routing with Mikrotik

Thu Oct 19, 2017 11:33 am

IP routing is enabled on Cisco switch
vlan2 ip 1192.168.2.1
user get ip 192.168.2.2 , gw 192.168.2.1
vlan3 ip 1192.168.3.1
user get ip 192.168.3.2 , gw 192.168.3.1

Vlan 2 & 3 users share heavy media files with each other & they access each other PC using local vlan provided ips like 192.168.2.2 OR 192.168.3.2. Data is passing from the switch direclty. But as soon as they connect PPPoE Dialer to connect with mikrotik in order to get internet access [as per policy] , there local sharing starts routing via mikrotik router.

Example: Before connecting to pppoe server, vlan # 2 user route in windows is as follows
Network Destination > 0.0.0.0 Netmask > 0.0.0.0 Gateway > 192.168.2.1 Interface 192.168.2.2 Metric 4235
& after connecting pppoe , client gets 172.16.100.x series ip on his dialer given by mikrotik mikrotik pppoe server, there routes becomes following
Network Destination > 0.0.0.0 Netmask > 0.0.0.0 Gateway > 192.168.2.1 Interface 192.168.2.2 Metric 4235
Network Destination > 0.0.0.0 Netmask > 0.0.0.0 Gateway > On-link Interface 172.16.100.255 Metric 11
is it dueto Routes ?

How can I force users to always communicate with each other using there local ips (even if there dialer is connected) & donot use Mikrotik for there local communication.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10241
Joined: Mon Jun 08, 2015 12:09 pm

Re: Cisco InterVlan Routing with Mikrotik

Thu Oct 19, 2017 11:40 am

What I said: make sure the Cisco does NOT provide a default gateway in its DHCP reply, but sends a specific route, in your case this
can be a route for 192.168.2.0/23
This can be done using DHCP options.
 
User avatar
aacable
Member
Member
Posts: 435
Joined: Wed Sep 17, 2008 11:58 am
Location: ISLAMIC Republic of PAKISTAN
Contact:

Re: Cisco InterVlan Routing with Mikrotik

Thu Oct 19, 2017 12:55 pm

What I said: make sure the Cisco does NOT provide a default gateway in its DHCP reply, but sends a specific route, in your case this
can be a route for 192.168.2.0/23
This can be done using DHCP options.
Perhaps a practice example might be more feasible.
to further elaborate pe1chl , see following
!
ip dhcp pool vlan2
 network 192.168.2.0 255.255.255.0
 option 121 ip 24.192.168.3 192.168.2.1
!
ip dhcp pool vlan3
 network 192.168.3.0 255.255.255.0
 option 121 ip 24.192.168.2 192.168.3.1
!
24. represents /24 subnet and second is gateway.
 
pe1chl
Forum Guru
Forum Guru
Posts: 10241
Joined: Mon Jun 08, 2015 12:09 pm

Re: Cisco InterVlan Routing with Mikrotik

Thu Oct 19, 2017 2:41 pm

I don't know how to configure that in Cisco, this is a MikroTik forum. Maybe ask it at a Cisco forum.
 
User avatar
aacable
Member
Member
Posts: 435
Joined: Wed Sep 17, 2008 11:58 am
Location: ISLAMIC Republic of PAKISTAN
Contact:

Re: Cisco InterVlan Routing with Mikrotik

Thu Oct 19, 2017 2:56 pm

I don't have professional skills, But may be it can help some one ..link...

Who is online

Users browsing this forum: alixviral, GoogleOther [Bot], iDaemon and 130 guests