User:Dean Turbo/TCP IP
Appearance
RFCs
[edit]History
[edit]NCP preceded TCP, wasn't duplex: TCP often has odd port numbers.
Common ports
[edit]- echo 7
- discard 9
- daytime 13 (human readable)
- chargen 19
- time 37 (seconds since January 1 1900 UTC)
Routers
[edit]Router connects networks at IP layer.
Layers
[edit]- Link
- Network
- Transport
- Application
- Unit of data
- TCP-IP: TCP segment
- IP-network interface: IP datagram
- Network interface-Ethernet: frame
Network class
[edit]Class | bits | Network ID bits | Host ID bits | IP range |
---|---|---|---|---|
A | 0 | 7 | 24 | TBD |
B | 10 | 14 | 16 | TBD |
C | 110 | 21 | 8 | TBD |
D | 1110 | 0 | 28 (multicast) | TBD |
E | reserved | reserved | reserved | TBD |
IP
[edit]Unreliable, connectionless (expand), "best effort".
TBD
[edit]- Anything sent to host's own IP is sent to loopback, therefore does not usually send to network.
- Force to send to network? Flash switch LED?
- Use ARP to get Ethernet address
- Path MTU needn't be constant? Expand.
- Routing need not be symmetric.
- CIDR
- network byte order
- Demultiplexing
- TCP server generally concurrent
- UDP server generally iterative
- Ephemeral ports 1024-5000 (still true?)
- IP — hop by hop; TCP — end to end.