0% found this document useful (0 votes)
46 views

Switches & Routers

This document discusses computer network communication using LAN switches. It explains that switches connect nodes by using multiple links and wires instead of a single shared cable. Switches serve to connect hosts by wiring them to switch ports using twisted pair cables, which are usually run to a network closet. The document then discusses what is inside a switch, noting that switches use frame addresses to connect the input port to the correct output port, allowing multiple frames to be switched in parallel. Switches also allow for full-duplex communication and require buffers to handle multiple incoming frames. Sustained overloads can lead to frame loss. Advantages of switches over hubs include more reliable connections and scalable performance up to 100 Mbps per port.

Uploaded by

Freezing Flames
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
46 views

Switches & Routers

This document discusses computer network communication using LAN switches. It explains that switches connect nodes by using multiple links and wires instead of a single shared cable. Switches serve to connect hosts by wiring them to switch ports using twisted pair cables, which are usually run to a network closet. The document then discusses what is inside a switch, noting that switches use frame addresses to connect the input port to the correct output port, allowing multiple frames to be switched in parallel. Switches also allow for full-duplex communication and require buffers to handle multiple incoming frames. Sustained overloads can lead to frame loss. Advantages of switches over hubs include more reliable connections and scalable performance up to 100 Mbps per port.

Uploaded by

Freezing Flames
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 16

Computer Network Communication LAN Switches

Topic How do we connect nodes with a switch instead of multiple access


Uses multiple links/wires Basis of modern (switched) Ethernet

Switched Ethernet
Hosts are wired to Ethernet switches with twisted pair
Switch serves to connect the hosts Wires usually run to a closet
Switch

Switch Ports Twisted Pair

Whats in the box?


Remember from protocol layers:

Inside a Hub
All ports are wired together; more convenient and reliable than a single shared wire

Inside a Switch
Uses frame addresses to connect input port to the right output port; multiple frames may be switched in parallel

Inside a Switch (2)


Port may be used for both input and output (full-duplex)
Just send, no multiple access protocol

Inside a Switch (3)


Need buffers for multiple inputs to send to one output

Inside a Switch (4)


Sustained overload will fill buffer and lead to frame loss

Advantages of Switches
Switches and hubs have replaced the shared cable of classic Ethernet
Convenient to run wires to one location More reliable; wire cut is not a single point of failure that is hard to find

Switches offer scalable performance


E.g., 100 Mbps per port instead of 100 Mbps for all nodes of shared cable / hub

Switch Forwarding
Switch needs to find the right output port for the destination address in the Ethernet frame. How?
Want to let hosts be moved around readily; dont look at IP

Backward Learning
Switch forwards frames with a port/address table as follows:
1. To fill the table, it looks at the source address of input frames 2. To forward, it sends to the port, or else broadcasts to all ports

Backward Learning (2)


1: A sends to D
Address A Port

B
C D

Backward Learning (3)


2: D sends to A
Address A Port 1

B
C D

Backward Learning (4)


3: A sends to D
Address A Port 1

B
C D 4

Learning with Multiple Switches


Just works with multiple switches and a mix of hubs assuming no loops, e.g., A sends to D then D sends to A

SWITCH

You might also like