Solved

Routing VLANs

Posted on 2016-10-08
5
44 Views
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
0
Comment
Question by:jskfan
  • 3
  • 2
5 Comments
 
LVL 26

Expert Comment

by:Predrag Jovic
Comment Utility
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
Comment Utility
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 26

Accepted Solution

by:
Predrag Jovic earned 500 total points
Comment Utility
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.
0
 

Author Closing Comment

by:jskfan
Comment Utility
Thank you
0
 
LVL 26

Expert Comment

by:Predrag Jovic
Comment Utility
You're welcome.
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Quality of Service (QoS) options are nearly endless when it comes to networks today. This article is merely one example of how it can be handled in a hub-n-spoke design using a 3-tier configuration.
Exchange server is not supported in any cloud-hosted platform (other than Azure with Azure Premium Storage).
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now