Escolar Documentos
Profissional Documentos
Cultura Documentos
01 – TCP-IP Introduction
Generic information about TCP-IP 2
BOOTP
SMTP
? FTP ?
? DHCP HTTP
?
POP3
? ?
IP SNMP
TFTP
PPP
?
?
ICMP
DNS ?
ARP Telnet
? UDP ?
TCP
A layered protocol stack 3
User
Data
TFTP User
Header Data
I want to IP
IP send data to
127.127.127.127 Transport Layer
TCP UDP
I want to UDP
IP
I want to TCP
Ethernet
STM32F4x7
on the port #
PHY
TCP-IP : Key Protocols 6
ARP 127.127.127.127’s
MAC address?
Transport Layer
TCP UDP
Internet Layer
I send or ICMP
ARP
Datalink Layer
Ethernet
STM32F4x7
PHY
TCP-IP : Key Application layer protocols
7
Application Layer
BOOTP BOOTP
DHCP/ I want
to get an DHCP DNS DHCP
BOOTP IP address ?
Transport Layer
What is DNS
TCP UDP
DNS the IP address
of www.st.com ? Internet Layer
ICMP IP
ARP
Datalink Layer
Ethernet
STM32F4x7
PHY
Ethernet / TCP-IP - Training Suite
01 – TCP-IP Introduction
Ethernet / TCP-IP - Training Suite
ARP 192.168.0.10’s
MAC address?
TCP UDP
Internet Layer
IP
ARP
Datalink Layer
Ethernet
STM32F4x7
PHY
Why ARP is needed 11
IP MAC
192.168.0.10 02-00-00-00-00-00
Demonstration 12
ARP cache
Ping
ARP cache
New mapping is
added
What happened? 14
Address Resolution Protocol (ARP)
15
TCP-IP : Key Protocols(ICMP)
16
Transport Layer
Who knows ARP
ARP 127.127.127.127’s
MAC address?
TCP UDP
Internet Layer
I send or ICMP
ARP
Datalink Layer
Ethernet
STM32F4x7
PHY
Internet Control Message Protocol (ICMP)
17
• The ICMP diagnostic/control purposes/generated in
response to errors in IP operations)
• It allows to communicate Queries and error messages.
• Some message can be sent by the user, other are send by
the stack itself
Query (Ping) Error Messages
ICMP Queries 18
The
Time
Destination IP number Time
to live
of bytes
ICMP Error message 19
• Destination unreachable
• Redirect
TCP-IP : Key Application layer protocols(DHCP)
20
Application Layer
BOOTP BOOTP
DHCP/ I want
to get an DHCP DHCP
BOOTP IP address ?
Transport Layer
TCP UDP
Internet Layer
ICMP IP
ARP
Ethernet
Datalink Layer STM32F4x7
PHY
Bootstrap protocol (BOOTP) /
Dynamic Host Configuration Protocol (DHCP)
21
BOOTP DHCP
TCP UDP
Internet Layer
ICMP IP
ARP
Ethernet
Datalink Layer STM32F4x7
PHY
Domain Name Service (DNS)
24