cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
891
Views
0
Helpful
4
Replies

Layer 3 switch routing

admin
Level 1
Level 1

How can I set up routing on two layer three switches so that a device in between them only sees communication from two mac addresses?

Network Traffic -> Switch thats routing --Trunk->  Switch that limits mac address communication <--trunk- Switch thats routing <-- Other Network

4 Replies 4

Nagendra Kumar Nainar
Cisco Employee
Cisco Employee

Scott,

What is the device you have in between?. If it is L2 device, you can configure some SVI (or even the physical interface) of the L3 switches with IP from same subnet and enable any routing protocol.

Network1------(L3SW1)(Intf1)--------(Intf1)(L2SW)(Intf2)-------(Intf1)(L3SW2)----Network2

This way, any traffic from Network1 on reaching L3SW1 will be performed with L3 lookup, encapsulate with Source MAC as Intf1 of L3SW1, Destination MAC as Intf1 of L3SW2 and send across. Similarly traffic from Network2 to Network1 will use the reverse MAC.

So ideally L2SW will only see2 MACs (Intf1 of L3SW1 and Intf1 of L3SW2.

HTH,

Nagendra

I do not know what the middle piece of equipment is. It's hosted by AT&T

How would I encapsulate with the source mac and vice versa?

So I think I may have it.

If I have vlan 1 at both locations and I set my trunk ports as switchport trunk encapsulation dot1q, allow vlan 200 on the trunk ports and have intervlan routing setup on both locations switches the packets should be able to flow through and the middle device would only see the switches on vlan 200 running the encasulation.

Correct? maybe? wayyyyy off? =) Thanks for all the help so far.

yes Scott,

you are going to need create SVI to be able to route. inter and intra vlans.

hope that helps

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