vault backup: 2022-10-18 14:54:16

This commit is contained in:
Jet Hughes 2022-10-18 14:54:16 +13:00
parent ac39651f43
commit 60058b4248
2 changed files with 15 additions and 2 deletions

View File

@ -1,5 +1,5 @@
---
title: "21-data-link-layer-LAN"
title: "21-data-link-layer"
aliases:
tags:
- cosc203

View File

@ -47,8 +47,21 @@ Address resolution protocol
arp table: each IP node on lan has table
- IP/MAC mappings for some LAN nodes
- mapping is forgotten after TTL is exceeded (usually 20min)
-
![arp example](https://i.imgur.com/dnj9Fvi.png)
# Switch vs Router
switch:
- link layer deivce
- takes an active role
- store and foward ethernet frames
- examine incoming frame's MAC addr, selectively forward frame to one-or-more outgoing links when frame is to be fowarded on segment, uses CSMA/CD
- transparent
- hosts unaware of presence of switches
- plug and play, self-learning
- switches do not need to be configured
multiple simultaneous transmissions
- hosts have direct connection to sw
# All layers together