mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
vault backup: 2022-10-18 11:24:16
This commit is contained in:
parent
7bbc0be42b
commit
e5e33884cf
@ -22,14 +22,55 @@ tags:
|
|||||||

|

|
||||||
|
|
||||||
# Forwarding
|
# Forwarding
|
||||||
move packets from a routers input link to appropriate output link
|
forwarding
|
||||||
|
- move packets from a routers input link to appropriate output link
|
||||||
|
- local, per-router function
|
||||||
|
- function in data plane
|
||||||
|
|
||||||
# Routing
|
routing
|
||||||
|
- determine route taken by packets from source to destination
|
||||||
|
- network-wide logic
|
||||||
|
- function in control plane
|
||||||
|
- chooses shortest path through routers
|
||||||
|
|
||||||
|
# network layer service model
|
||||||
|
best effort
|
||||||
|
- try its best to deliver packet
|
||||||
|
- does not guarantee successful delivery
|
||||||
|
- transport layer provides reliability
|
||||||
|
- no big deal if packet is lost
|
||||||
|
- does not guarantee timing or order of delivery
|
||||||
|
- each packet sent individually, possibly through different paths
|
||||||
|
- does not guarantee bandwidth available
|
||||||
|
- network layer uses packet switching which unlike socket switching does not reserve resources
|
||||||
|
|
||||||
# Routers
|
# Routers
|
||||||
|

|
||||||
|
|
||||||
|
destination-based forwarding: foward based only on destination IP address
|
||||||
|
|
||||||
|
input port queueing: if datagrams arrive faster than fowarding rate into switch fabric
|
||||||
|
|
||||||
# IP addressing
|
# IP addressing
|
||||||
|
- unreliable host-to-host communication protocol
|
||||||
|
- datagram formatting, IP addressing, packet switching
|
||||||
|
|
||||||
|

|
||||||
|
- ver: IP protocol versin number
|
||||||
|
- head len: header length in bytes
|
||||||
|
- type of service: diffserv(0:5) or ECN (6:7)
|
||||||
|
- length: total datagram length (bytes)
|
||||||
|
- time to live: remaining max hops (decremented at each router)
|
||||||
|
- upper layer: which protocol use at transport layer
|
||||||
|
- 16-bit id, flgs, fragment offset: fragmentation/reassembly
|
||||||
|
- header checksum
|
||||||
|
- source IP
|
||||||
|
- destination IP
|
||||||
|
- options: e.g., timestamp, record route taken
|
||||||
|
|
||||||
|
overhead:
|
||||||
|
- 20 bytes TCP
|
||||||
|
- 20 bytes IP
|
||||||
|
- = 40 bytes
|
||||||
|
|
||||||
# IPv6
|
# IPv6
|
||||||
Loading…
Reference in New Issue
Block a user