Professional Documents
Culture Documents
ODP100002 TCP/IP
Protocol and Subnet
Planning
ISSUE 1.0
www.huawei.com
5 Conversation layer
Interconnection ICMP
Layer
IP ARP/RARP
Addressing and
route selecting
Ethernet, 802.3, PPP,
Data link Layer HDLC, FR, etc Physical media access
File transfer
FTP, TFTP
Mail service
SMTP, POP3
Network management
0 8 16 24 31
16 bits source port 16 bits destination port
32 bits sequence number
32 bits acknowledge number
URG
ACK
SYN
PSH
RST
FIN
offset Reserved(6 bits 16 bits window size
16 bits TCP checksum 16 bits urgent pointer
Options
Data
TCP protocol uses port numbers to mark and distinguish various application programs.
80 20/21 23 25 53 69 161
Socket
TCP UDP
IP data packet
server
client
server
client
Application layer
IP
Transport layer
ARP
Network layer
RARP
Source IP address
Destination IP address
IP options
IP:10.0.0.1/24
MAC:00-E0-FC-00-00-11 ARP Reply IP:10.0.0.2/24
MAC:00-E0-FC-00-00-12
I need the
Ethernet
address of
10.0.0.2
ARP Request?
What is my IP
address?
RARP Request?
I am here.
A B
ICMP Echo Reply
Is B accessible?
10.110.192.111 20.130.188.144
1 1 1 1 0 Reserved Class E
Network Address
Host part Use
part type
Network Representing a network
Any Completely0
address Segment
All the nodes of a Specially
Broadcast
Any Completely1 designated network
address
segment
Loop back
127 any Loop test
address
Huawei Quidway router
All used
Completely0
networks
Designate default routes
Broadcast All nodes of
Completely1
address Local network segment
172.16.30.1 172.16.28.1
Ethernet
172.16.30.10
172.16.4.1
255.255.255.0
Ethernet
Ethernet
172.16.8.1
255.255.255.0
201.222.5.8
201.222.5.9
255.255.255.248 255.255.255.248
201.222.5.0
255.255.255.0 201.222.5.16
201.222.5.17
255.255.255.248 255.255.255.248
201.222.5.24
201.222.5.25
255.255.255.248 255.255.255.248
201.222.5.32 201.222.5.33
255.255.255.248
255.255.255.248
192.168.1.32/27
192.168.1.160/30
192.168.1.64/27
192.168.1.164/30
ISP
192.168.1.168/30
Announce 192.168.1.96/2
192.168.1.0 7
192.168.1.172/30
192.168.1.128/27
198.168.1.0
ISP
198.168.3.0