Solved

Routing VLANs

Posted on 2016-10-08
5
111 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 30

Expert Comment

by:Predrag Jovic
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 30

Accepted Solution

by:
Predrag Jovic earned 500 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 30

Expert Comment

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

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

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

How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
For months I had no idea how to 'discover' the IP address of the other end of a link (without asking someone who knows), and it drove me batty. Think about it. You can't use Cisco Discovery Protocol (CDP) because it's not implemented on the ASAs.…
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…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

707 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