Solved

Routing VLANs

Posted on 2016-10-08
5
76 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 27

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 27

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 27

Expert Comment

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

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Use of TCL script on Cisco devices:  - create file and merge it with running configuration to apply configuration changes
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
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. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

773 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