what is l2 and l3 switch?

Answers were Sorted based on User's Feedback



what is l2 and l3 switch?..

Answer / raju parsha

Basically a layer 2 switch operates utilizing Mac addresses
in it's caching table to quickly pass information from port
to port. A layer 3 switch utilizes IP addresses to do the
same.

While the previous explanation is the "What", for folks in
networking the following "How" is far more interesting.

Essentially, A layer 2 switch is essentially a multiport
bridge. A layer 2 switch will learn about MAC addresses
connected to each port and passes frames marked for those
ports. It also knows that if a frame is sent out a port but
is looking for the MAC address of the port it is connected
to and drop that frame. Whereas a single CPU Bridge runs in
serial, todays hardware based switches run in parallel,
translating to extremly fast switching.

Layer 3 switching is a hybrid, as one can imagine, of a
router and a switch. There are different types of layer 3
switching, route caching andtopology-based. In route
caching the switch required both a Route Processor (RP) and
a Switch Engine (SE). The RP must listen to the first
packet to determine the destination. At that point the
Switch Engine makes a shortcut entry in the caching table
for the rest of the packets to follow. Due to advancement
in processing power and drastic reductions in the cost of
memory, today's higher end layer 3 switches implement a
topology-based switching which builds a lookup table and
and poputlates it with the entire network's topology. The
database is held in hardware and is referenced there to
maintain high throughput. It utilizes the longest address
match as the layer 3 destination.

Now when and why would one use a l2 vs l3 vs a router?
Simply put, a router will generally sit at the gateway
between a private and a public network. A router can
perform NAT whereas an l3 switch cannot (imagine a switch
that had the topology entries for the ENTIRE Internet!!).
In a small very flat network (meaning only one private
network range for the whole site) a L2 switch to connect
all the servers and clients to the internet is probably
going to suffice. Larger networks, or those with the need
to contain broadcast traffic or those utilizing VOIP, a
multi network approach utilizing VLANs is appropriate, and
when one is utilizing VLANs, L3 switches are a natural fit.
While a router on a stick scenario can work, it can quickly
overtax a router if there is any significant intervlan
traffic since the router must make complicated routing
decisions for every packet that it recieves.

Is This Answer Correct ?    15 Yes 1 No

what is l2 and l3 switch?..

Answer / debadurlav saarangi

A l2 switch is work on mca address But l3 switch is work on
logical address.

when we have done the vlan in l2 switch, we are unable to
access the others vlans, which is configured in same switch.
But l3 switch it is possible through routing.

In l3 we can connect the WAN link. which is not possible in
L2 switch.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More Networking Administration Interview Questions

What does a secondary dhcp server do when the primary server is unable to respond ?

1 Answers  


Which of the follwoing are Layer2 protocols ? Choose all that apply. a. HDLC b. IP c. UDP d. SLIP e. PPP

1 Answers  


Describe how VoIP works?

5 Answers   IQ Division, Wipro,


one client is uanble to connect web server it is located in some remote location what are the problems how to troubleshoot the problem

0 Answers  


I have to do a project in transport domain in J2EE.How can i find informations regarding transport domain and why do we use that?

0 Answers   TCS,






what is Cisco Firewall

0 Answers   Amasis, Infosys, Wipro,


suppose you have 1000 systems to assign Ip address when will you do , and why

1 Answers  


How many Machines can work together in a Workgroup networking? And how many Machines can access together SQL Server running on Machine in Workgroup network??

9 Answers  


What is the most popular internetworking protocol?

1 Answers  


Can you please explain the difference between csma/cd and csma/ca?

0 Answers  


what is the Differnece between IPLC & ISDN?

5 Answers   Balco,


What is looping and how switching loops are avoided at L2 level?

0 Answers   HCL,


Categories
  • Networking Protocols Interview Questions Networking Protocols (671)
  • Networking Administration Interview Questions Networking Administration (1008)
  • Networking Security Interview Questions Networking Security (196)
  • Networking General Interview Questions Networking General (266)
  • Networking AllOther Interview Questions Networking AllOther (430)