Unit4 Application Layer DHCP FTP
Unit4 Application Layer DHCP FTP
• IP address.
• subnet and subnet mask.
• default router (gateway)
• name server (DNS)
2) Operation code: This 8 bit field defines the type of DHCP packet
request (1) or reply (2)
5) Flag: This is a 16 bit field in which only the leftmost bit is used and the
rest of the bits should be set to Os. A left most bit specifies a forced
broadcast reply (instead of uncast) from the server. If the reply mere to
be unicast to the client, the destination IP address of the IP packet is the
address assigned to the client.
23
Figure Opening the control connection
24
Figure Creating the data connection
25
Figure Example
6 PORT 8888
150 (Data connection opens shortly) 7
8 LIST /usr/user/forouzan/reports
125 (Data connection OK) 9