[네트워크]DataCommunication and Networking (forouzan)
*상*
다운로드
장바구니
소개글
DataCommunication and Networking (forouzan)chapter 20.
review questions / Exercises 정답
목차
Review Questions1. Name the five protocols in the network layer.
2. What is the purpose of ARP.
3. Why is an ARP request broadcast? Why is an ARP reply unicast?
4. What do we mean when we say IP is a best-effort delivery service?
5. What is the name of a packet in the IP layer?
6. What is purpose of the protocol field in the IP header?
7. Why does the IP checksum cover just the header?
8. What is the MTU and how is fragmentation related to it?
9. Which fields in the IP header remain the same as the packet travel from source host to destination host?
10. What is the function of ICMP?
11. What is the purpose of an ICMP redirection message?
~15
43. Is the size of the ARP packet fixed? Explain.
45. What is the size of an Ethernet frame carrying an ARP packet?
47. Calculate the HLEN value if the total length is 1200 bytes, 1176 of which is data from the upper layer.
49. The value of the total length field in an IP datagram is 36, and the value of the header length field is 5. How many bytes of data is the packet carrying?
51. An IP datagram arrives whose fragmentation offset is 0 and whose M bit (more fragment bit) is 0. Is the a fragment?
53. What is the minimum size of an ICMP packet? What is the maximum size of an ICMP packet?
55. What is the minimum size of an Ethernet frame that carries an IP packet which in turn carries an ICMP packet? What is the maximum size?
~59
본문내용
Review Questions1. Name the five protocols in the network layer.
ARP - Ethernet환경에서 어떤 호스트의 IP를 알고 있는 경우에 그 호스트의 MAC address를 찾을 때 사용한다.Ethernet환경에서 어떤 호스트의 IP를 알고 있는 경우에 그 호스트의 MAC address를 찾을 때 사용한다. (IP 주소 → MAC 주소)
RARP - RARP는 근거리통신망 내에 물리적으로 존재하는 장치가 게이트웨이의 ARP 목록이나 캐시로부터 자신의 IP 주소를 알아내기 위한 확인 요청을 하는데 사용되는 프로토콜이다. (MAC 주소 → IP 주소)
IP - Source에서 Destination까지 호스트간의 데이터그램 전달을 담당한다.
ICMP - 호스트 서버와 인터넷 게이트웨이 사이에서 메시지를 제어하고 에러를 알려주는 프로토콜이다.
IGMP - 하나의 이더넷 세그먼트에서 동작하는 인터넷 멀티캐스트 그룹을 관리하는 프로토콜이다.
2. What is the purpose of ARP.
physical address(MAC 주소)와 network address(IP 주소)를 매핑시키는 프로토콜이다.
• MAC 주소 / IP 주소
- MAC 주소 : 지역적 주소이며, 사용범위가 지역 네트워크에 제한된다.
- IP 주소 : 전역적 주소이며, 사용범위는 전체 네트워크에 준한다.
- 호스트나 라우터로 패킷을 전달하기 위해서는 IP와 MAC라는 두 개의 다른 계층의 주소를 사용해야 한다.
- 네트워크상에서 통신하기 위해서는 하나의 IP 주소를 상응하는 MAC 주소로 연결시켜야 한다.
• Mapping - Static / Dynamic
- static mapping : IP 주소와 MAC 주소를 연관시키는 테이블을 만듬.
테이블 안에는 네트워크상에 있는 모든 장치들이 저장됨.
- dynamic mapping : 장비는 두 가지의 주소(IP/MAC)중 하나는 언제나 알고 있으며, 프로토콜을 이용하여 다른 하나의 주소를 찾을 수 있음.