Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Routing VLANs

Posted on 2016-10-08
5
Medium Priority
?
137 Views
1 Endorsement
Last Modified: 2016-10-23
Let s say  I have 10  Layer 2 Switches with 2 VLans on each switch, then connect those 10 Switches to a Core/Distribution Layer 3 Switch.  Then Route all Vlans from Core Switch to Router R1

If I am not wrong I will need to Configure a Trunk port on each L2 Switch and connect them (all Trunk ports)to Core/Distribution Layer 3 Switch ports. Then configure IP Routing command within Core/Distribution Layer 3 Switch so that VLANs can communicate between themselve. At this point PCs on L2 Switch will be able to communicate between themselves...

Now if I need to route the VLANs from Core/Distribution Layer 3 Switch to Router R1 , what should I configure on Core/Distribution Layer 3 Switch and R1 ?

Thank you
1
Comment
Question by:jskfan
  • 3
  • 2
5 Comments
 
LVL 32

Expert Comment

by:Predrag
ID: 41835174
Now if I need to route the VLANs from Core/Distribution Layer 3 Switch to Router R1 , what should I configure on Core/Distribution Layer 3 Switch and R1 ?
Dynamic routing (OSPF, EIGRP or IS-IS) or static routes. If you need to route every traffic that is not local traffic - default route to R1 is enough. On R1 you need to configure route(s) (static or dynamic) that will point to core as next hop to reach you networks from R1. Dynamic routing is preferred.
0
 

Author Comment

by:jskfan
ID: 41835736
OK , for instance

Core# IP route 0.0.0.0 0.0.0.0  IP address of the Router Interface

How do you do it from R1 back to the Core switch ?
0
 
LVL 32

Accepted Solution

by:
Predrag earned 2000 total points
ID: 41835805
if you have network for example network 192.168.0.0/24 in your network - core switch need to have route:
R1(config)# ip route 192.168.0.0 255.255.255.0 <next-hop>
Next hop in this case is ip address interface of core switch that is directly attached to R1.
You need routes for all networks that you need to reach from R1 that core router "knows" how to reach, of course you can use summary addresses.
if you have networks
192.168.0.0/24
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
summary address 192.168.0.0/22 can replace those 4 individual routes.
1
 

Author Closing Comment

by:jskfan
ID: 41856175
Thank you
0
 
LVL 32

Expert Comment

by:Predrag
ID: 41856176
You're welcome.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Powerful tools can do wonders, but only in the right hands.  Nowhere is this more obvious than with the cloud.
This article will show how Aten was able to supply easy management and control for Artear's video walls and wide range display configurations of their newsroom.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

576 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question