Does a Layer 2 switch use routing tables?

Does a Layer 2 switch use routing tables?

A layer 3 switch supports routing. A layer 2 switch only knows ethernet, you may be able to setup VLANs. Adding to that a layer 2 switch normally does hardware routing. It basically sets up a hardware switch module based on bytes in the ethernet packet for “switching the packets according to route”.

What is a 2 layer switch?

Layer 2 switches are similar to bridges. They interconnect networks at layer 2, most commonly at the MAC sublayer, and operate as bridges, building tables for the transfer of frames among networks. Historically, layer 2 switches emerged to alleviate the contention problem of shared media LANs.

How does IP routing work on a layer 2 switch?

Based on your description of the problem I am guessing that the switch was configured with ip default-gateway. This works on layer 2 devices to define the default gateway which the device will use to get to any remote destination. However if ip routing is enabled then the device is operating as a layer 3 device and will not use the default-gateway.

Which is the default gateway for Layer 2 switch?

On the Core Switch, for each Layer 2 vlan we will configure an SVI (Switch Virtual Interface) which will serve as the default gateway for all hosts connected to that particular VLAN. For example, hosts in VLAN 10 will have as default gateway the IP address 192.168.1.1. Let’s now see the configuration below.

Can a layer 2 switch be a core switch?

I have a 2960 which is only layer 2 ( the route table shows nothing ) switch connected in the network as an edge switch with its default gateway set to core switch ip. i only have one layer 2 vlan configured on this 2960 which is the management interface for this switch.

Can a Cisco switch have a default gateway?

Currently, I do not have a default-gateway configured and all traffic routes from the switch or end point just fine throughthe distribution (distribution is a layer 3 switch) through the core (layer 3 device) to cisco.com, for example. With no default-gateway you state it will arp. Here is where I am getting a little confused, perhaps.