5
Internet Protocol Suite Application Layer BGP DHCP DNS FTP HTTP IMAP IRC LDAP MGCP NNTP NTP POP RIP RPC RTP SIP SMTP SNMP SOCKS SSH Telnet TLS/SSL XMPP (more) Transport Layer TCP UDP DCCP SCTP RSVP ECN (more) Internet Layer IP (IPv4 • IPv6) ICMP ICMPv6 IGMP IPsec (more) Link Layer ARP/InARP NDP OSPF Tunnels (L2TP) PPP Media Access Control (Ethernet • DSL • ISDN • FDDI) (more) Internet Protocol From Wikipedia, the free encyclopedia The Internet Protocol (IP ) is the principal communications protocol used for relaying datagrams (packets) across an internetwork using the Internet Protocol Suite. Responsible for routing packets across network boundaries, it is the primary protocol that establishes the Internet. IP is the primary protocol in the Internet Layer of the Internet Protocol Suite and has the task of delivering datagrams from the source host to the destination host solely based on their addresses. For this purpose, IP defines addressing methods and structures for datagram encapsulation. Historically, IP was the connectionless datagram service in the original Transmission Control Program introduced by Vint Cerf and Bob Kahn in 1974, the other being the connection-oriented Transmission Control Protocol (TCP). The Internet Protocol Suite is therefore often referred to as TCP/IP. The first major version of IP, now referred to as Internet Protocol Version 4 (IPv4) is the dominant protocol of the Internet, although the successor, Internet Protocol Version 6 (IPv6) is in active, growing deployment worldwide. Contents 1 Function 2 Reliability 3 IP addressing and routing 4 Version history 5 Reference diagrams 6 Vulnerabilities 7 See also 8 References 9 External links Function The Internet Protocol is responsible for addressing hosts and routing datagrams (packets) from a source host to the destination host across one or more IP networks. For this purpose the Internet Protocol defines an addressing system that has two functions. Addresses identify hosts and provide a logical location service. Each packet is tagged with a header that contains the meta-data for the purpose of delivery. This process of tagging is also called encapsulation.

Internet Protocol - · PDF file05.10.2011 · TCP and UDP port numbers TDM Transmission Control Protocol References 1. ^ Siyan, Karanjit. Inside TCP/IP, New Riders Publishing, 1997

  • Upload
    vothien

  • View
    216

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Internet Protocol - · PDF file05.10.2011 · TCP and UDP port numbers TDM Transmission Control Protocol References 1. ^ Siyan, Karanjit. Inside TCP/IP, New Riders Publishing, 1997

Internet Protocol Suite

Application Layer

BGP DHCP DNS FTP HTTP IMAP

IRC LDAP MGCP NNTP NTP

POP RIP RPC RTP SIP SMTP

SNMP SOCKS SSH Telnet TLS/SSL

XMPP (more)

Transport Layer

TCP UDP DCCP SCTP RSVP ECN

(more)

Internet Layer

IP (IPv4 • IPv6) ICMP ICMPv6

IGMP IPsec (more)

Link Layer

ARP/InARP NDP OSPF

Tunnels (L2TP) PPP

Media Access Control (Ethernet • DSL •

ISDN • FDDI) (more)

Internet ProtocolFrom Wikipedia, the free encyclopedia

The Internet Protocol (IP) is the principalcommunications protocol used for relaying datagrams(packets) across an internetwork using the InternetProtocol Suite. Responsible for routing packets acrossnetwork boundaries, it is the primary protocol thatestablishes the Internet.

IP is the primary protocol in the Internet Layer of theInternet Protocol Suite and has the task of deliveringdatagrams from the source host to the destination hostsolely based on their addresses. For this purpose, IPdefines addressing methods and structures for datagramencapsulation.

Historically, IP was the connectionless datagram service inthe original Transmission Control Program introduced byVint Cerf and Bob Kahn in 1974, the other being theconnection-oriented Transmission Control Protocol(TCP). The Internet Protocol Suite is therefore oftenreferred to as TCP/IP.

The first major version of IP, now referred to as InternetProtocol Version 4 (IPv4) is the dominant protocol of the Internet, although the successor, Internet ProtocolVersion 6 (IPv6) is in active, growing deployment worldwide.

Contents

1 Function

2 Reliability

3 IP addressing and routing

4 Version history

5 Reference diagrams6 Vulnerabilities

7 See also

8 References

9 External links

Function

The Internet Protocol is responsible for addressing hosts and routing datagrams (packets) from a source host tothe destination host across one or more IP networks. For this purpose the Internet Protocol defines anaddressing system that has two functions. Addresses identify hosts and provide a logical location service. Eachpacket is tagged with a header that contains the meta-data for the purpose of delivery. This process of tagging isalso called encapsulation.

Page 2: Internet Protocol - · PDF file05.10.2011 · TCP and UDP port numbers TDM Transmission Control Protocol References 1. ^ Siyan, Karanjit. Inside TCP/IP, New Riders Publishing, 1997

Reliability

The design principles of the Internet protocols assume that the network infrastructure is inherently unreliable atany single network element or transmission medium and that it is dynamic in terms of availability of links andnodes. No central monitoring or performance measurement facility exists that tracks or maintains the state of thenetwork. For the benefit of reducing network complexity, the intelligence in the network is purposely mostlylocated in the end nodes of each data transmission, cf. end-to-end principle. Routers in the transmission pathsimply forward packets to the next known local gateway matching the routing prefix for the destination address.

As a consequence of this design, the Internet Protocol only provides best effort delivery and its service ischaracterized as unreliable. In network architectural language it is a connection-less protocol, in contrast toso-called connection-oriented modes of transmission. The lack of reliability permits various error conditions,such data corruption, packet loss and duplication, as well as out-of-order packet delivery. Since routing isdynamic for every packet and the network maintains no state of the path of prior packets, it is possible thatsome packets are routed on a longer path to their destination, resulting in improper sequencing at the receiver.

The only assistance that the Internet Protocol provides in Version 4 (IPv4) is to ensure that the IP packetheader is error-free through computation of a checksum at the routing nodes. This has the side-effect ofdiscarding packets with bad headers on the spot. In this case no notification is required to be sent to either endnode, although a facility exists in the Internet Control Message Protocol (ICMP) to do so.

IPv6, on the other hand, has abandoned the use of IP header checksums for the benefit of rapid forwardingthrough routing elements in the network.

The resolution or correction of any of these reliability issues is the responsibility of an upper layer protocol. Forexample, to ensure in-order delivery the upper layer may have to cache data until it can be passed to theapplication.

In addition to issues of reliability, this dynamic nature and the diversity of the Internet and its componentsprovide no guarantee that any particular path is actually capable of, or suitable for, performing the datatransmission requested, even if the path is available and reliable. One of the technical constraints is the size ofdata packets allowed on a given link. An application must assure that it uses proper transmission characteristics.Some of this responsibility lies also in the upper layer protocols between application and IP. Facilities exist toexamine the maximum transmission unit (MTU) size of the local link, as well as for the entire projected path tothe destination when using IPv6. The IPv4 internetworking layer has the capability to automatically fragment theoriginal datagram into smaller units for transmission. In this case, IP does provide re-ordering of fragments

delivered out-of-order.[1]

Transmission Control Protocol (TCP) is an example of a protocol that will adjust its segment size to be smallerthan the MTU. User Datagram Protocol (UDP) and Internet Control Message Protocol (ICMP) disregard

MTU size thereby forcing IP to fragment oversized datagrams.[2]

IP addressing and routing

Perhaps the most complex aspects of IP are IP addressing and routing. Addressing refers to how end hostsbecome assigned IP addresses and how subnetworks of IP host addresses are divided and grouped together.IP routing is performed by all hosts, but most importantly by internetwork routers, which typically use eitherinterior gateway protocols (IGPs) or external gateway protocols (EGPs) to help make IP datagram forwardingdecisions across IP connected networks.

IP routing is also common in local networks. For example, Ethernet switches sold today support IP multicast.[3]

Page 3: Internet Protocol - · PDF file05.10.2011 · TCP and UDP port numbers TDM Transmission Control Protocol References 1. ^ Siyan, Karanjit. Inside TCP/IP, New Riders Publishing, 1997

These switches primarily use IP addresses but also support MAC addresses for compatibility with older layer 2Ethernet switches.

Version history

In May 1974, the Institute of Electrical and Electronic Engineers (IEEE) published a paper entitled "A Protocol

for Packet Network Interconnection."[4] The paper's authors, Vint Cerf and Bob Kahn, described aninternetworking protocol for sharing resources using packet-switching among the nodes. A central controlcomponent of this model was the "Transmission Control Program" (TCP) that incorporated both connection-oriented links and datagram services between hosts. The monolithic Transmission Control Program was laterdivided into a modular architecture consisting of the Transmission Control Protocol at the connection-orientedlayer and the Internet Protocol at the internetworking (datagram) layer. The model became known informally asTCP/IP, although formally referenced as the Internet Protocol Suite.

The Internet Protocol is one of the determining elements that define the Internet. The dominant internetworkingprotocol in the Internet Layer in use today is IPv4; with number 4 assigned as the formal protocol versionnumber carried in every IP datagram. IPv4 is described in RFC 791 (1981).

The successor to IPv4 is IPv6. Its most prominent modification from version 4 is the addressing system. IPv4

uses 32-bit addresses (c. 4 billion, or 4.3 ×109, addresses) while IPv6 uses 128-bit addresses (c. 340

undecillion, or 3.4 ×1038 addresses). Although adoption of IPv6 has been slow, as of June 2008, all UnitedStates government systems have demonstrated basic infrastructure support for IPv6 (if only at the backbone

level).[5]

Version numbers 0 through 3 were development versions of IPv4 used between 1977 and

1979.[citation needed] Version number 5 was used by the Internet Stream Protocol, an experimental streamingprotocol. Version numbers 6 through 9 were proposed for various protocol models designed to replace IPv4:SIPP (Simple Internet Protocol Plus, known now as IPv6), TP/IX (RFC 1475), PIP (RFC 1621) and TUBA(TCP and UDP with Bigger Addresses, RFC 1347). Version number 6 was eventually chosen as the officialassignment for the successor Internet protocol, subsequently standardized as IPv6.

A humorous Request for Comments that made an IPv9 protocol center of its storyline was published on April 1,

1994 by the IETF.[6] It was intended as an April Fool's Day joke. Other protocol proposals named "IPv9" and"IPv8" have also briefly surfaced, though these came with little or no support from the wider industry and

academia.[7]

Reference diagrams

Page 4: Internet Protocol - · PDF file05.10.2011 · TCP and UDP port numbers TDM Transmission Control Protocol References 1. ^ Siyan, Karanjit. Inside TCP/IP, New Riders Publishing, 1997

Internet Protocol Suite in operation

between two hosts connected via two

routers and the corresponding layers used

at each hop

Sample encapsulation of application data from UDP

to a Link protocol frame

Vulnerabilities

The Internet Protocol is vulnerable to a variety of attacks. A thorough vulnerability assessment, along with

proposed mitigations, was published in 2008,[8] and is currently being pursued within the IETF.[9]

See also

Outline of the InternetList of Internet topics

All IP

ATMConnectionless protocol

Flat IP

Geolocation software

IANAInternet

Internet Protocol Suite

Internet Stream Protocol

ip - the ip structure for the C programming languageIP address

IP fragmentation

IPv4 (including packet structure)IPv4 address exhaustion

IPv6 (and packet structure)

List of IP protocol numbers

Packet

Page 5: Internet Protocol - · PDF file05.10.2011 · TCP and UDP port numbers TDM Transmission Control Protocol References 1. ^ Siyan, Karanjit. Inside TCP/IP, New Riders Publishing, 1997

TCP and UDP port numbersTDM

Transmission Control Protocol

References

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

2. ^ Basic Journey of a Packet (http://www.securityfocus.com/infocus/1870)

3. ^ Netgear ProSafe XSM7224S reference manual

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

5. ^ CIO council adds to IPv6 transition primer (http://www.gcn.com/print/25_16/41051-1.html) , gcn.com

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

7. ^ Theregister.com (http://www.theregister.co.uk/2004/07/06/ipv9_hype_dismissed/)

8. ^ Security Assessment of the Internet Protocol (IP) (http://www.cpni.gov.uk/Docs/InternetProtocol.pdf)

9. ^ Security Assessment of the Internet Protocol version 4 (IPv4) (http://tools.ietf.org/html/draft-ietf-opsec-ip-security)

External links

Internet Protocol (http://www.dmoz.org/Computers/Internet/Protocols/) at the Open DirectoryProject

RFC 791

Data Communication Lectures of Manfred Lindner - Part IP Technology Basics(http://www.ict.tuwien.ac.at/lva/384.081/infobase/L30-IP_Technology_Basics_v4-6.pdf)

Data Communication Lectures of Manfred Lindner - Part IP Technology Details

(http://www.ict.tuwien.ac.at/lva/384.081/infobase/L31-IP_Technology_Details_v4-7.pdf)

Data Communication Lectures of Manfred Lindner - Part IPv6(http://www.ict.tuwien.ac.at/lva/384.081/infobase/L80-IPv6_v4-6.pdf)

IPv6.com - Knowledge Center for Next Generation Internet IPv6 (http://www.ipv6.com)

Retrieved from "http://en.wikipedia.org/w/index.php?title=Internet_Protocol&oldid=454091936"

Categories: Internet Protocol Internet Layer protocols

This page was last modified on 5 October 2011 at 16:24.

Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may

apply. See Terms of use for details.Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.