mirror of
https://github.com/jackyzha0/quartz.git
synced 2025-12-27 23:04:05 -06:00
vault backup: 2022-10-18 11:39:16
This commit is contained in:
parent
e5e33884cf
commit
60cfcc3638
@ -71,6 +71,53 @@ input port queueing: if datagrams arrive faster than fowarding rate into switch
|
|||||||
overhead:
|
overhead:
|
||||||
- 20 bytes TCP
|
- 20 bytes TCP
|
||||||
- 20 bytes IP
|
- 20 bytes IP
|
||||||
- = 40 bytes
|
- = 40 bytes + app layer overhead for TCP+IP
|
||||||
|
|
||||||
|
|
||||||
|
interface: connection between host/router and physical link
|
||||||
|
- router have multiple interfaces
|
||||||
|
- host has one or two interfaces :e.g., ethernet and wireless
|
||||||
|
|
||||||
|
IPv4 address: 32-bit id associated with each host or router interface
|
||||||
|

|
||||||
|
- two main components
|
||||||
|
- network ID
|
||||||
|
- addresses in the same network have the same network ID
|
||||||
|
- host ID
|
||||||
|
- 5 classes
|
||||||
|
- 
|
||||||
|
|
||||||
|
## subnetting
|
||||||
|
- partitioning an IP network into multiple smaller network segments
|
||||||
|
- designate some high-order bits from host part as subnet ID
|
||||||
|
- 
|
||||||
|
- netmask
|
||||||
|
- a 32-bit number with all 1s for network part and all 0s for host part
|
||||||
|
|
||||||
|

|
||||||
|
- use bitwise and to find network part from address and mask
|
||||||
|
|
||||||
|
|
||||||
|
## fragmentation
|
||||||
|
- network links have an MTU (maximum transmission unit)
|
||||||
|
- different linktypes have different MTUs
|
||||||
|
- large UP datagrams are fragmented at routers
|
||||||
|
- one datagram become several
|
||||||
|
- reassemble only at destination
|
||||||
|
- IP header bits are used to identify fragments
|
||||||
|
|
||||||
|
|
||||||
|
header
|
||||||
|
- identifier
|
||||||
|
- same for all fragments
|
||||||
|
- flag: 3 bits
|
||||||
|
- 1st not used
|
||||||
|
- 2nd - do fragment
|
||||||
|
- 3rd - more fragment (0 for the last fragment)
|
||||||
|
- offset
|
||||||
|
- offset of the fragment in the packets data field (units of 8 bytes)
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
|
||||||
# IPv6
|
# IPv6
|
||||||
Loading…
Reference in New Issue
Block a user