cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
363
Views
0
Helpful
3
Replies

L3 routing

drnteam
Level 1
Level 1

Hi,

What is the best way of configuration of port between a L3 switch and a router, if the switch is doing the inter-VLAN routing.

3 Replies 3

Jon Marshall
Hall of Fame
Hall of Fame

I would use a P2P link between the switch and router ie.

switch

int fa0/1

no switchport

ip address 192.168.5.1 255.255.255.252

router

int fa0/1

ip address 192.168.5.2 255.255.255.252

then either use static routing or run a routing protocol between the L3 switch and the router.

Jon

Hi,

I agree with Jon if I have a layer 3 switch.

I would use a layer 3 connectivity between the switch and the router.

-> Sushil

Joseph W. Doherty
Hall of Fame
Hall of Fame

"Best" is, it depends. Normally, most would do as Jon suggests. However, if the L3 switch is the access layer, you might also trunk all its VLANs to the router, effectively placing two routers on the user VLANs. The L3 switch should continue to be the default gateway.

Doing this flattens the routed topology, and negates the advantage of running a routing protocol on the L3 switch or reduces the number of static routes.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Innovations in Cisco Full Stack Observability - A new webinar from Cisco