Internet Protocol

インターネットにおける主要な通信プロトコル

Internet Protocolインターネット・プロトコルIP) はインターネットにおいて基本的に利用されている通信プロトコルである[1]

概要

編集

Internet Protocol [2]IP#IPthe InternetOSI

IP/IPIP#TCP#

1974 Transmission Control Program IP Transmission Control Protocol (TCP) IP32IPv4128IPv6[3]#

IPIP

仕組み

編集

IPは2つの側面から理解できる。1つはIP層でのデータ転送モデル、もう1つはプロトコルスタックの層を跨いだデータ転送手順である。

転送モデル

編集

IP

: packet[4]IP[5][6][7]: header[8]: payload[9][10]IP

 (gateway) GatewayGateway[11]

IP

転送手順

編集

IP1[12][13]

IPLANLAN使

(IP)IPLANIP使LAN

同じセグメント内の通信

編集

LAN使使IPLAN使

IPIPMACIPIPMAC

LANMACIP

IP 使 使

異なるセグメント同士の相互通信

編集

WANIPLANLANIP

LANIPOSIIP

OSIWANIPWANIPWANWANIPIP

機能

編集

Internet Protocol は、ホストのアドレッシング[14]とデータグラム(パケット)の送信元ホストから宛先ホストまでの1つまたは複数のIPネットワークをまたいだルーティングを担当する。このために、ホストの識別と論理的位置サービスの提供という2つの機能を持つアドレッシング体系を定義している。これは、標準データグラムと標準アドレッシング体系を定義することでなされる。

データグラムの構成

編集
 
UDP からリンク層プロトコルのフレームまで、アプリケーションのデータをカプセル化する例

IPIPIP

IPアドレッシングとルーティング

編集

IPアドレッシングとは、各ホストにIPアドレスを割り当てる方法であり、IPホストアドレス群を分割・グループ化してサブネットワークを形成する方法である。IPルーティングは全てのホストが行うが、最も重要な部分はルータが担っており、経路を決定するのに Interior Gateway Protocol (IGP) または Exterior Gateway Protocol (EGP) を使用する。

提供しない機能

編集

IP[15][16]

data reliability/ retransmission

flow control

sequencing

ACK

信頼性

編集

IP

IP[?]

IPv4IPInternet Control Message Protocol (ICMP) IPv6



1使IP Maximum Transmission Unit (MTU) 調IPv6MTU調IPv4IP[17]

 Transmission Control Protocol (TCP) MTU調User Datagram Protocol (UDP)  Internet Control Message Protocol (ICMP) MTUIP[18]

バージョンと歴史

編集

19745Institute of Electrical and Electronic Engineers (IEEE)  "A Protocol for Packet Network Intercommunication" [19]使 "Transmission Control Program" (TCP)  Transmission Control Program  Transmission Control Protocol  Internet Protocol  TCP/IP 

Internet Protocol 12012使IPv44IPIPv4 RFC 791 (1981) 

IPIPv4IPv64IPv432404.3×109使IPv6128 3.4×1038使IPv620086IPv6[20]

IP03IPv419771979使[21]5 Internet Stream Protocol 使69IPv46 SIPP (Simple Internet Protocol Plus)  IPv6 79 IP/IX (RFC 1475)PIP (RFC 1621)TUBA (TCP and UDP with Bigger Addresses, RFC 1347) 

 IPv9 IPv8 [22]

199441IETFIPv9[23]

脆弱性

編集

IPは様々な攻撃に対して脆弱である。網羅的な脆弱性アセスメントが対策の提案と共に2008年に公表され[24]、その後IETF内で対策を検討中である[25]

脚注

編集


(一)^ ASCII.jp,,IT,,,DBM,. IP 使. . 2023517

(二)^ "The function or purpose of Internet Protocol is to move datagrams through an interconnected set of networks." IPv4 specification.

(三)^ IPv4  http://www.wide.ad.jp/News/2011/20110204.html

(四)^ IPv4 "internet datagram"IPv6 "packet"

(五)^ "The internet protocol provides for transmitting blocks of data called datagrams from sources to destinations" IPv4 specification.

(六)^ "packet an IPv6 header plus payload." IPv6 specification.

(七)^ "The internet modules use the addresses carried in the internet header to transmit internet datagrams toward their destinations." IPv4 specification.

(八)^ IPv4 "internet header"IPv6 "IPv6 header"

(九)^ IPv4 "data portion"IPv6 "payload"

(十)^ "the IPv6 payload, i.e., the rest of the packet following this IPv6 header" IPv6 specification.

(11)^ "This is done by passing the datagrams from one internet module to another until the destination is reached." IPv4 specification.

(12)^ " Internet protocol interfaces on one side to the higher level host-to-host protocols and on the other side to the local network protocol." IPv4 specification.

(13)^ "This protocol is called on by host-to-host protocols in an internet environment. This protocol calls on local network protocols to carry the internet datagram to the next gateway or destination host." IPv4 specification.

(14)^ "The internet protocol implements two basic functions: addressing and fragmentation." IPv4 specification.

(15)^ "specifically limited in scope to ... deliver a package of bits ... from a source to a destination over an interconnected system of networks. ... The internet protocol treats each internet datagram as an independent entity unrelated to any other internet datagram." IPv4 specification." IPv4 specification.

(16)^ "The internet protocol is specifically limited in scope ... There are no mechanisms to ..." IPv4 specification.

(17)^ Siyan, Karanjit. Inside TCP/IP, New Riders Publishing, 1997. ISBN 1-56205-714-6

(18)^ Basic Journey of a Packet

(19)^ Vinton G. Cerf, Robert E. Kahn, "A Protocol for Packet Network Intercommunication", IEEE Transactions on Communications, Vol. 22, No. 5, May 1974 pp. 637-648

(20)^ CIO council adds to IPv6 transition primer, gcn.com

(21)^ RFC 750: "ASSIGNED INTERNET MESSAGE VERSIONS". Sep 28, 1978

(22)^ China disowns IPv9 hype Theregister.com

(23)^ RFC 1606: A Historical Perspective On The Usage Of IP Version 9. April 1, 1994.

(24)^ Security Assessment of the Internet Protocol (IP)(archived version)

(25)^ Security Assessment of the Internet Protocol version 4 (IPv4)

関連項目

編集

外部リンク

編集
RFC
  • RFC 791 - Internet Protocol
  • RFC 1112 - Host Extensions for IP Multicasting
  • RFC 1518 - An Architecture for IP Address Allocation with CIDR
  • RFC 1519 - Classless Inter-Domain Routing (CIDR): an Address Assignment and Aggregation Strategy
  • RFC 1817 - CIDR and Classful Routing
  • RFC 2101 - IPv4 Address Behaviour Today
その他