Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

L3 decisions in LANs

Suppose I have 2 users with IP config. U1: /29 and U2: /29, obviuosly in different subnets. If a frame is intended to be sent from one of these users to the other, it will be blocked. This is a L3-based decision, while the switch is a L2-based device. So, what exactly in the network makes this decision?


Re: L3 decisions in LANs


A user with ip with a mask of /29 wants to connect to will send the traffic to his Default gateway first ( a router or L3 switch ) and router would decide to route to .

Here the switch doesnt do any routing , pc with ip knows that is not in its network , so it need to send the traffic to Def Gw configured and packet would be with SA : DA: and its frame with Source mac as its own mac and Destination Mac as Routers mac . L2 switch does only switching of packets and router takes care of routing .

Hope this helps.


vanesh k

New Member

Re: L3 decisions in LANs

So is this an operating system or an NIC decision?

Re: L3 decisions in LANs

this is decided by TCP/IP protocol stack installed in your NIC adaper.

hope to help ... rate if it does ...

New Member

Re: L3 decisions in LANs

As an interesting aside to this conversation a college of mine just reminded me that you should also be able to set the default Gateway of your host to the hosts IP address. Doing this to both host if they exist on the same L2 segment ie a flat switch with no VLANs they should ARP and find each other. In a VLAN environment or across L3 links or potentially even larger L2 networks you would need an L3 gateway to process the communications.

While this is possible its not a good idea and should never be tried on a network that is in production and that you do not control.