Protocol Source IP and Destination IP Fields in IPv4

For Complete YouTube Video: Click Here

We will try to understand Protocol Source IP and Destination IP Fields in IPv4 in this class.

We have already discussed the concepts of header checksum in our previous class.

Protocol Source IP and Destination IP Fields in IPv4

The image below is the IPv4 Header.

Protocol Source IP and Destination IP Fields in IPv4
Protocol Source IP and Destination IP Fields in IPv4

The Protocol field in the IPv4 header contains a number indicating the type of data found in the payload portion of the datagram.

So far, we have discussed that data will get transmitted in the packet’s payload.

But many different messages are transmitted in the data packet.

For example, ICMP messages are transmitted for sending the error messages.

The transport layer protocols like TCP and UDP are transmitted.

The list of all protocol numbers is provided in the table below.

All these numbers are maintained by IANA [Internet Assigned Numbers Authourity].

HexProtocol NumberKeywordProtocol
0x000HOPOPTIPv6 Hop-by-Hop Option
0x011ICMPInternet Control Message Protocol
0x022IGMPInternet Group Management Protocol
0x033GGPGateway-to-Gateway Protocol
0x044IP-in-IPIP in IP (encapsulation)
0x055STInternet Stream Protocol
0x066TCPTransmission Control Protocol
0x077CBTCore-based trees
0x088EGPExterior Gateway Protocol
0x099IGPInterior Gateway Protocol (any private interior gateway, for example Cisco’s IGRP)
0x0A10BBN-RCC-MONBBN RCC Monitoring
0x0B11NVP-IINetwork Voice Protocol
0x0C12PUPXerox PUP
0x0D13ARGUSARGUS
0x0E14EMCONEMCON
0x0F15XNETCross Net Debugger
0x1016CHAOSChaos
0x1117UDPUser Datagram Protocol
0x1218MUXMultiplexing
0x1319DCN-MEASDCN Measurement Subsystems
0x1420HMPHost Monitoring Protocol
0x1521PRMPacket Radio Measurement
0x1622XNS-IDPXEROX NS IDP
0x1723TRUNK-1Trunk-1
0x1824TRUNK-2Trunk-2
0x1925LEAF-1Leaf-1
0x1A26LEAF-2Leaf-2
0x1B27RDPReliable Data Protocol
0x1C28IRTPInternet Reliable Transaction Protocol
0x1D29ISO-TP4ISO Transport Protocol Class 4
0x1E30NETBLTBulk Data Transfer Protocol
0x1F31MFE-NSPMFE Network Services Protocol
0x2032MERIT-INPMERIT Internodal Protocol
0x2133DCCPDatagram Congestion Control Protocol
0x22343PCThird Party Connect Protocol
0x2335IDPRInter-Domain Policy Routing Protocol
0x2436XTPXpress Transport Protocol
0x2537DDPDatagram Delivery Protocol
0x2638IDPR-CMTPIDPR Control Message Transport Protocol
0x2739TP++TP++ Transport Protocol
0x2840ILIL Transport Protocol
0x2941IPv6IPv6 Encapsulation (6to4 and 6in4)
0x2A42SDRPSource Demand Routing Protocol
0x2B43IPv6-RouteRouting Header for IPv6
0x2C44IPv6-FragFragment Header for IPv6
0x2D45IDRPInter-Domain Routing Protocol
0x2E46RSVPResource Reservation Protocol
0x2F47GREGeneric Routing Encapsulation
0x3048DSRDynamic Source Routing Protocol
0x3149BNABurroughs Network Architecture
0x3250ESPEncapsulating Security Payload
0x3351AHAuthentication Header
0x3452I-NLSPIntegrated Net Layer Security Protocol
0x3553SwIPeSwIPe
0x3654NARPNBMA Address Resolution Protocol
0x3755MOBILEIP Mobility (Min Encap)
0x3856TLSPTransport Layer Security Protocol (using Kryptonet key management)
0x3957SKIPSimple Key-Management for Internet Protocol
0x3A58IPv6-ICMPICMP for IPv6
0x3B59IPv6-NoNxtNo Next Header for IPv6
0x3C60IPv6-OptsDestination Options for IPv6
0x3D61 Any host internal protocol
0x3E62CFTPCFTP
0x3F63 Any local network
0x4064SAT-EXPAKSATNET and Backroom EXPAK
0x4165KRYPTOLANKryptolan
0x4266RVDMIT Remote Virtual Disk Protocol
0x4367IPPCInternet Pluribus Packet Core
0x4468 Any distributed file system
0x4569SAT-MONSATNET Monitoring
0x4670VISAVISA Protocol
0x4771IPCUInternet Packet Core Utility
0x4872CPNXComputer Protocol Network Executive
0x4973CPHBComputer Protocol Heart Beat
0x4A74WSNWang Span Network
0x4B75PVPPacket Video Protocol
0x4C76BR-SAT-MONBackroom SATNET Monitoring
0x4D77SUN-NDSUN ND PROTOCOL-Temporary
0x4E78WB-MONWIDEBAND Monitoring
0x4F79WB-EXPAKWIDEBAND EXPAK
0x5080ISO-IPInternational Organization for Standardization Internet Protocol
0x5181VMTPVersatile Message Transaction Protocol
0x5282SECURE-VMTPSecure Versatile Message Transaction Protocol
0x5383VINESVINES
0x5484TTPTTP
0x5484IPTMInternet Protocol Traffic Manager
0x5585NSFNET-IGPNSFNET-IGP
0x5686DGPDissimilar Gateway Protocol
0x5787TCFTCF
0x5888EIGRPEIGRP
0x5989OSPFOpen Shortest Path First
0x5A90Sprite-RPCSprite RPC Protocol
0x5B91LARPLocus Address Resolution Protocol
0x5C92MTPMulticast Transport Protocol
0x5D93AX.25AX.25
0x5E94OSKA9Q NOS compatible IP over IP tunneling
0x5F95MICPMobile Internetworking Control Protocol
0x6096SCC-SPSemaphore Communications Sec. Pro
0x6197ETHERIPEthernet-within-IP Encapsulation
0x6298ENCAPEncapsulation Header
0x6399 Any private encryption scheme
0x64100GMTPGMTP
0x65101IFMPIpsilon Flow Management Protocol
0x66102PNNIPNNI over IP
0x67103PIMProtocol Independent Multicast
0x68104ARISIBM’s ARIS (Aggregate Route IP Switching) Protocol
0x69105SCPSSCPS (Space Communications Protocol Standards)
0x6A106QNXQNX
0x6B107A/NActive Networks
0x6C108IPCompIP Payload Compression Protocol
0x6D109SNPSitara Networks Protocol
0x6E110Compaq-PeerCompaq Peer Protocol
0x6F111IPX-in-IPIPX in IP
0x70112VRRPVirtual Router Redundancy ProtocolCommon Address Redundancy Protocol (not IANA assigned)
0x71113PGMPGM Reliable Transport Protocol
0x72114 Any 0-hop protocol
0x73115L2TPLayer Two Tunneling Protocol Version 3
0x74116DDXD-II Data Exchange (DDX)
0x75117IATPInteractive Agent Transfer Protocol
0x76118STPSchedule Transfer Protocol
0x77119SRPSpectraLink Radio Protocol
0x78120UTIUniversal Transport Interface Protocol
0x79121SMPSimple Message Protocol
0x7A122SMSimple Multicast Protocol
0x7B123PTPPerformance Transparency Protocol
0x7C124IS-IS over IPv4Intermediate System to Intermediate System (IS-IS) Protocol over IPv4
0x7D125FIREFlexible Intra-AS Routing Environment
0x7E126CRTPCombat Radio Transport Protocol
0x7F127CRUDPCombat Radio User Datagram
0x80128SSCOPMCEService-Specific Connection-Oriented Protocol in a Multilink and Connectionless Environment
0x81129IPLT 
0x82130SPSSecure Packet Shield
0x83131PIPEPrivate IP Encapsulation within IP
0x84132SCTPStream Control Transmission Protocol
0x85133FCFibre Channel
0x86134RSVP-E2E-IGNOREReservation Protocol (RSVP) End-to-End Ignore
0x87135Mobility HeaderMobility Extension Header for IPv6
0x88136UDPLiteLightweight User Datagram Protocol
0x89137MPLS-in-IPMultiprotocol Label Switching Encapsulated in IP
0x8A138manetMANET Protocols
0x8B139HIPHost Identity Protocol
0x8C140Shim6Site Multihoming by IPv6 Intermediation
0x8D141WESPWrapped Encapsulating Security Payload
0x8E142ROHCRobust Header Compression
0x8F143EthernetIPv6 Segment Routing (TEMPORARY – registered 2020-01-31, expired 2021-01-31)
0x90-0xFC144-252Unassigned 
0xFD-0xFE253-254Use for experimentation and testing 
0xFF255Reserved 
Protocol Source IP and Destination IP Fields in IPv4 2

The other two fields of the IPv4 header are Source IP and Destination IP field.

The source IP is the IP address of the sending system, and the destination IP is the address of receiving system.

You can find the detailed discussion on IP addresses here.

This is all about Protocol Source IP and Destination IP Fields in IPv4.