Sei sulla pagina 1di 3

Accelyn Morton Patel Yogi IT220 HW 2

1. What are the four layers of the TCP/IP model? i. Application Defines the applications used to process requests and what ports and sockets are used. I. (This layer is used to process requests from hosts and to make sure a connection is made to an appropriate port.) ii. Transport Defines the type of connection established between hosts and how acknowledgements are sent. iii. Internet Defines the protocols used for addressing and routing the data packets. iv. Network Interface Defines how the host connects to the network. 3. What are well known ports? i. Also known as reserve ports, which are ports 1 1023 that are reserved by ICANN (Internet Corporation for Assigned Names and Numbers). Port Number Assignments Port Numbers Description 1 - 1023 The well known ports 1024 49,151 Registered ports 49,152 65,535 Private Ports

5. Define the purpose of a connection oriented protocol. Give an example. i. Establishes the network connection, manages the data transfer, and terminates the connection. I. Connection Oriented Protocol Establishes a network connection, manages the delivery of data, and terminates the connection. ii. The TCP (Transport Control Protocol) protocol within the TCP/IP transport layer. I. TCP protocol establishes a set of rules or guidelines for establishing the connection. 7. What is the purpose of a sequence number (SEQ=) in TCP data packets? i. SEQ (Sequence Number) is used to keep track of the data packets being transferred from Host A to Host B

9. Describe how a TCP connection is terminated. i. The host sends a FIN (Finish) packet to the other connected host. 1. Host B sends a FIN packet to Host A indicating the data transmission is complete. 2. Host A responds with an ACK packet acknowledging the reception of the FIN packet. 3. Host A then sends Host B a FIN packet indicating that the connection is being terminated. 4. Host B replies with an ACK packet. 11. What is the purpose of the Internet layer in the TCP/IP protocol suite? i. It defines the protocols used for addressing and routing the data packets. I. Examples IP, ARP, ICMP, & IGMP. 1. IP (Internet Protocol) Defines the addressing used to identify the source and destination addresses of data packets being delivered over an IP network 2. ARP (Address Resolution Protocol) Used to map an IP address to its MAC address. 3. ICMP (Internet Control Message Protocol) Used to control the flow of data in the network, for reporting error, and for performing diagnostics. a. Contains Ping (packet Internet groper) troubleshooting tool. 4. IGMP (Internet Group Message Protocol) Used when one host needs to send data to many destination hosts. a. This process is called Multicasting. b. Example - Streaming (audio and video) - data is sent without waiting for an acknowledgement that the data packets were delivered. 13. What is the purpose of an ARP reply? i. A reply from the host assigned the IP address replies with an ARP reply. I. ARP Reply - The protocol that contains the hardware address (MAC address) for the destination host that sent the ARP request. 15. When is IGMP used? i. IGMP is used when multicasting (when one host wants to send data to many destination hosts). The source doesnt care whether the destination receives a packet. I. Example Steaming audio and video files over the internet. 17. Convert the following 8-bit binary number to decimal: 10010011? i. 147 19. Convert the following 8-bit number to decimal 11111100? i. 252 21. Convert the number 192 to its binary equivalent? i. 11000000

23. Convert the number 96 to its binary equivalent? i. 01100001 25. Convert 0x5AF3 to binary. Use Table 5-5. i. 0101101011110011 27. What is the IP address range for class C addresses? i. 192.0.0.0 223.255.255.255 29. How many bits are in an IPv4 address? How many octets? i. Bits 32 Example {xxxxxxxx} | {xxxxxxxx} | {xxxxxxxx} | {xxxxxxxx} 1,2,3,4,5,6,7,8 | 9,10,11,12,13,14,15,16 | 17,18,19,20,21,22,23,24 | 25,26,27,28,29,30,31,32 ii. Octets 4 I. Example - xxxxxxxx.xxxxxxxx.xxxxxxxx.xxxxxxxx 1 2 3 4 31. The IP address 192.168.12.2 is an example of what format? i. Dotted decimal format and is a Class C network. 33. How many network and host bits are in a class C network address? i. 24 Network bits and 8 Host Bits 35. Can private IP address be routed? i. No, They are Non- Internet Routable IP Addresses and not routed on the internet I. Non- Internet Routable IP Addresses - IP addresses not routed on the internet and are blocked by the ISP. 37. What organization assigns IP addresses? i. The ARIN (American Registry for Internet Numbers)

Potrebbero piacerti anche