- 论坛徽章:
- 0
|
IP:Internet Protocol
IP is the workhorse protocol of the TCP/IP protocol suite.
IP provides an unreliable, connectionless datagram delivery service.
Unreliable:we mean there are no guarantees that an IP datagram successfully gets to its destination.
Connectionless:we mean that IP does not maintain any state information about successive datagrams.
IP Header:
| 4bits | 4bits(*5=20B-60B) | 8bits | 16bits |
|Version| Header Len. |TOS(Type of service) |total length int bytes |
| 16bits | 3bits| 13bits |
| identification | flags| fragment offset |
| 8bits | 8bits | 16bits |
| TTL(time to live) | protocol | header checksum |
| 32bits |
| source IP address |
| 32bits |
| destination IP address |
TOS:
| 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 |
|precedence |delay |throughput |reliability |monetary cost|unuse|
|Identification |flags(CU|DF|MF) |fragment offset |
|identify the datagram | Current Unuse | Don't Fragment | More Fragment |fragment offset|
TTL:is set by the sender,different value on different system.
# 2009-09-11 17:30
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u3/104229/showart_2056424.html |
|