팀 프로젝트 [데이터통신] 김진억 성보라 문제명 박상민 이혜영
개 요 라우팅 테이블, ARP 캐시테이블, 데이터그램 단편화, ICMP
RoutingTable mask network next-hop interface /26 140.6.12.0 190.17.0.4 m1 /24 130.4.8.0 190.17.0.3 m0 /16 110.70.0.0 190.17.0.4 m1 /16 180.14.0.0 190.17.0.4 m1 140.6.12.32
ARP CashTable 규칙 1. 60초에 한번 갱신 2. 시도횟수는 5회로 제한 3. 타임아웃은 900초 State Queue Attempt Time-out Protocol Addr. Hardware Addr. F R 3 800 190.17.0.3 45:73:42:AC:AE:32 P 13 5 190.17.128.5 F R 5 200 190.17.32.2 00:19:DB:A5:BD:18 규칙 1. 60초에 한번 갱신 2. 시도횟수는 5회로 제한 3. 타임아웃은 900초 190.17.0.4
0x00BODODF095D -> Host 물리주소 ARP CashTable State Queue Attempt Time-out Protocol Addr. Hardware Addr. P 15 1 190.17.0.4 R 3 800 190.17.0.3 45:73:42:AC:AE:32 P 13 5 190.17.128.5 F R 5 200 190.17.32.2 00:19:DB:A5:BD:18 Data bytes 0xFFFFFFFFFFFF CRC Preamble And SFD 0x00BODODF095D 0x0806 0x00BODODF095D -> Host 물리주소 0xBE118020 -> Host 논리주소 0x00000000000 -> R1물리주소 0xBE110003 -> R1논리주소 0X06 0X04 0x0001 0X001 0x0800
ARP CashTable State Queue Attempt Time-out Protocol Addr. Hardware Addr. P 13 5 190.17.128.5 R 3 800 190.17.0.3 45:73:42:AC:AE:32 R 5 200 190.17.32.2 00:19:DB:A5:BD:18 F R 15 1 190.17..0.4 60초 경과
ARP CashTable State Queue Attempt Time-out Protocol Addr. Hardware Addr. R 15 2 190.17.0.4 R 3 800 190.17.0.3 45:73:42:AC:AE:32 P 13 5 190.17.128.5 F R 5 200 190.17.32.2 00:19:DB:A5:BD:18 60초 경과
ARP CashTable State Queue Attempt Time-out Protocol Addr. Hardware Addr. R 15 2 190.17.0.4 R 3 740 190.17.0.3 45:73:42:AC:AE:32 P 13 5 190.17.128.5 F R 5 200 190.17.32.2 00:19:DB:A5:BD:18 60초 경과
ARP CashTable State Queue Attempt Time-out Protocol Addr. Hardware Addr. R 15 2 190.17.0.41 R 3 740 190.17.0.3 45:73:42:AC:AE:32 P 13 6 190.17.128.5 F R 5 200 190.17.32.2 00:19:DB:A5:BD:18 60초 경과
ARP CashTable State Queue Attempt Time-out Protocol Addr. Hardware Addr. R 15 2 190.17.0.4 R 3 740 190.17.0.3 45:73:42:AC:AE:32 F F R 5 200 190.17.32.2 00:19:DB:A5:BD:18 60초 경과
ARP CashTable State Queue Attempt Time-out Protocol Addr. Hardware Addr. R 15 2 190.17.0.4 R 3 740 190.17.0.3 45:73:42:AC:AE:32 F F R 5 140 190.17.32.2 00:19:DB:A5:BD:18 60초 경과
ARP CashTable State Queue Attempt Time-out Protocol Addr. Hardware Addr. F R 3 740 190.17.0.3 45:73:42:AC:AE:32 R 5 140 190.17.32.2 00:19:DB:A5:BD:18 R 15 2 190.17.0.4 60초 경과
0x00BODODF095D -> Host 물리주소 ARP CashTable State Queue Attempt Time-out Protocol Addr. Hardware Addr. F R 3 740 190.17.0.3 45:73:42:AC:AE:32 R 5 140 190.17.32.2 00:19:DB:A5:BD:18 R 15 2 190.17.0.4 Data 0x00BODODF095D CRC Preamble And SFD 0x457342ACAE32 0x0806 0x457342ACAE32 -> R1 물리주소 0xBE110003 -> R1 논리주소 0x00BODODF095D -> Host 물리주소 0xBE118020 -> Host 논리주소 0X06 0X04 0x0001 0X002 0x0800 20초 경과
ARP CashTable 20초 경과 R 15 900 190.17.0.4 AC:AE:32:45:73:42 State Queue Attempt Time-out Protocol Addr. Hardware Addr. R 15 900 190.17.0.4 AC:AE:32:45:73:42 R 3 740 190.17.0.3 45:73:42:AC:AE:32 F F R 5 140 190.17.32.2 00:19:DB:A5:BD:18 20초 경과
Destination IP address Datagram Header Data VER HLEN DS Total Length Identification Flag Fragmentation Offset Time to live Protocol Header checksum Source IP address Destination IP address Option TokenRing's MTU 4,464byte
Destination IP address Datagram Header 4000 byte VER HLEN DS 4020 14,567 1 000 Time to live Protocol Header checksum Source IP address Destination IP address Option TokenRing's MTU 4,464byte
Destination IP address Datagram VER HLEN DS 4020 14,567 1 000 Time to live Protocol Header checksum Source IP address Destination IP address Option Header 4000 byte TokenRing's MTU 4,464byte Data 0x457342ACAE32 CRC Preamble And SFD 0x00BODODF095D 0x0806
Forwarding TokenRing's MTU 4,464byte CRC Data 0x457342ACAE32 Preamble And SFD 0x00BODODF095D 0x0806
RoutingTable mask network next-hop interface /26 140.6.12.0 180.14.0.4 m3 /24 130.4.8.0 190.17.0.3 m1 /16 110.70.0.0 ------------- m0 /16 180.14.0.0 ------------- m1 140.6.12.32
ARP CashTable 180.14.0.4 R 3 600 180.14.0.4 AC:AE:32:45:73:42 State Queue Attempt Time-out Protocol Addr. Hardware Addr. P 5 3 110.70.0.6 R 12 120 190.17.0.3 45:73:42:AC:AE:32 R 3 600 180.14.0.4 AC:AE:32:45:73:42 R 9 540 180.14.0.8 E3:45:73:24:2A:CA F 180.14.0.4
ARP CashTable R 3 600 180.14.0.4 AC:AE:32:45:73:42 State Queue Attempt Time-out Protocol Addr. Hardware Addr. R 3 600 180.14.0.4 AC:AE:32:45:73:42 R 12 120 190.17.0.3 45:73:42:AC:AE:32 P 5 3 110.70.0.6 F R 9 540 180.14.0.8 E3:45:73:24:2A:CA
Destination IP address Datagram Header 4000 byte VER HLEN DS 4020 14,567 1 000 Time to live Protocol Header checksum Source IP address Destination IP address Option ETHERNET's MTU 1,500byte DATA 4000Byte > MTU 1500Byte 단편화가 이루어져야 함
Destination IP address Fragmentation Header 4000 byte VER HLEN DS 4020 14,567 1 000 Time to live Protocol Header checksum Source IP address Destination IP address Option 4020 14,567 0 000 Bytes 0000-3999 4000Byte = 1480Byte + 1480Byte + 1040Byte ETHERNET's MTU 1,500byte 1500 14,567 1 000 Bytes 0000-1479 14,567 1 185 Bytes 1480-2959 1060 14,567 0 370 Bytes 2960-4000
Fragmentation ETHERNET's MTU 1,500byte 4000Byte = 1480Byte + Data 0xACAE32457342 CRC Preamble And SFD 0x457342ACAE32 0x0806 Data 0xACAE32457342 CRC Preamble And SFD 0x457342ACAE32 0x0806 Data 0xACAE32457342 CRC Preamble And SFD 0x457342ACAE32 0x0806 4020 14,567 0 000 Bytes 0000-3999 4000Byte = 1480Byte + 1480Byte + 1040Byte ETHERNET's MTU 1,500byte 1500 14,567 1 000 Bytes 0000-1479 1500 14,567 1 185 Bytes 1480-2959 1060 14,567 0 370 Bytes 2960-4000
Forwarding ETHERNET's MTU 1,500byte CRC CRC CRC Data 0x0806 Data 0xACAE32457342 CRC Preamble And SFD 0x457342ACAE32 0x0806 Data 0xACAE32457342 CRC Preamble And SFD 0x457342ACAE32 0x0806 Data 0xACAE32457342 CRC Preamble And SFD 0x457342ACAE32 0x0806 ETHERNET's MTU 1,500byte
RoutingTable mask network next-hop interface /26 140.6.12.0 ------------- m3 /24 130.4.8.0 180.17.0.3 m2 /16 110.70.0.0 180.17.0.4 m2 /16 180.14.0.0 ------------- m2 140.6.12.32
ARP CashTable 140.6.12.32 F R 3 120 180.14.0.3 00:19:DB:A5:D0:B0 State Queue Attempt Time-out Protocol Addr. Hardware Addr. P 15 2 140.6.12.32 R 3 120 180.14.0.3 00:19:DB:A5:D0:B0 F R 12 840 180.14.5.7 00:19:DB:CE:A5:32 R 8 660 140.6.12.2 00:19:DB:A5:D0:F0 140.6.12.32
ARP CashTable 0xACAE32457342 -> R3물리주소 0xB40E0004 ->R3논리주소 State Queue Attempt Time-out Protocol Addr. Hardware Addr. F R 3 120 180.14.0.3 00:19:DB:A5:D0:B0 P 15 3 140.6.12.32 R 8 660 140.6.12.2 00:19:DB:A5:D0:F0 R 12 840 180.14.5.7 00:19:DB:CE:A5:32 Data bytes 0x000000000000 CRC Preamble And SFD 0xACAE32457342 0x0806 0xACAE32457342 -> R3물리주소 0xB40E0004 ->R3논리주소 0x00000000000 -> 목적지 물리주소 0x8C060C20 -> 목적지 논리주소 0X06 0X04 0x0001 0X001 0x0800
ARP CashTable 10초 경과 0x0000F06AB074 -> 목적지 물리주소 State Queue Attempt Time-out Protocol Addr. Hardware Addr. F R 3 120 180.14.0.3 00:19:DB:A5:D0:B0 P 15 3 140.6.12.32 R 8 660 140.6.12.2 00:19:DB:A5:D0:F0 R 12 840 180.14.5.7 00:19:DB:CE:A5:32 Data 0xACAE32457342 CRC Preamble And SFD 0x0000F06AB074 0x0806 0x0000F06AB074 -> 목적지 물리주소 0x8C060C20 -> 목적지 논리주소 0xACAE32457342 -> R3물리주소 0xB40E0004 ->R3논리주소 0X06 0X04 0x0001 0X002 0x0800 10초 경과
ARP CashTable 10초 경과 F R 3 120 180.14.0.3 00:19:DB:A5:D0:B0 State Queue Attempt Time-out Protocol Addr. Hardware Addr. F R 3 120 180.14.0.3 00:19:DB:A5:D0:B0 R 15 900 140.6.12.32 00:00:F0:6A:B0:74 R 8 660 140.6.12.2 00:19:DB:A5:D0:F0 R 12 840 180.14.5.7 00:19:DB:CE:A5:32 10초 경과
Destination IP address Datagram Header 1480 byte VER HLEN DS 1500 14,567 1 000 Time to live Protocol Header checksum Source IP address Destination IP address Option X.25's MTU 576Byte DATA 1480Byte > MTU 576Byte 단편화가 이루어져야 함
Datagram X.25's MTU 576Byte 1480Byte = 544 + 544 + 392 1500 14,567 1 000 Bytes 0000-1479 1500 14,567 1 185 Bytes 1480-2959 1060 14,567 0 370 Bytes 2960-4000 564 14,567 1 000 Bytes 0000-543 564 14,567 1 185 Bytes 1480-2023 564 14,567 1 370 Bytes 2960-3503 X.25's MTU 576Byte 564 14,567 1 068 Bytes 544-1087 564 14,567 1 253 Bytes 2024-2567 516 14,567 1 438 Bytes 3504-3999 412 14,567 0 136 Bytes 1088-1479 412 14,567 0 321 Bytes 2568-2959
IP HEADER + 8byte Datgram Forwarding Data 0x8C060C20 CRC Preamble And SFD 0xACAE32457342 0x0806 Data 0x8C060C20 CRC Preamble And SFD 0xACAE32457342 0x0806 Data 0x8C060C20 CRC Preamble And SFD 0xACAE32457342 0x0806 Data 0x8C060C20 CRC Preamble And SFD 0xACAE32457342 0x0806 Data 0x8C060C20 CRC Preamble And SFD 0xACAE32457342 0x0806 Data 0x8C060C20 CRC Preamble And SFD 0xACAE32457342 0x0806 Data 0x8C060C20 CRC Preamble And SFD 0xACAE32457342 0x0806 목적지 호스트에 혼잡이 일어나 데이터그램이 폐기 되었음을 ICMP를 이용하여 라우터에 알림 목적지에서 혼잡발생 Tyep 4 Code 0 Checksum Unused (All 0s) IP HEADER + 8byte Datgram
데이터 전송 완료 감사합니다