Skip to content

IP Datagram Format in Network Communications

IP Addresses and Datagrams

The IP protocol, which is one of several TCP/IP protocols, provides a hierarchal, hardware-independent addressing system—in other words, it’s the built-in networking software on computers that is needed for delivering data on a complex, routed network like the Internet.

Although it’s the network adapter on a computer that has a unique IP address when it’s connected to the Internet, it’s usually said that the computer has the IP address. That’s because most computers have only one network adapter. The word “host” is commonly used to describe a network device (typically a laptop or desktop computer) that has an IP address.

There are some computers that have multiple network adapters, including a computer that’s acting as a router or a proxy server. Because it has to have more than one network adapter, it also needs more than one IP address.

The Internet isn’t like an old-fashioned switchboard, with a human handling calls and moving information along for you. It’s all digital and networked, and it all happens because of the TCP/IP protocols. Computers, routers and servers figure it all out on the fly, in fractions of a second.

IP address organization.

Once you become familiar with the organization of IP addresses on a network, you can look at an IP address and guess at the location of the host, which is the network or subnet where the host resides.

Part of an IP address acts something like a postal ZIP code: It identifies a general network location. Another part of the IP address is a like house’s street address: In this case, it identifies the computer on the network that the data is going to.

Don’t let that analogy worry you too much as far as your privacy—the IP address does not identify your precise location or identity. It simply tells networks the ultimate destination (which is a computer) for data.

The two-part IP address.

To make it easy for computers, routers and all of the networking software, an IP address is divided into two parts:

  • The network ID
  • The host ID

The IP module of the protocol software knows how to examine the IP address and figure out which part is the network ID and which is the host ID.

The IP datagram.

Just as the post office and mail carriers deliver letters, data transmitted over the Internet using IP protocols are called messages. They’re also called IP datagrams.

As with all network protocol messages, IP uses a specific format for datagrams. A datagram is divided into and delivered in two segments: the header and the payload.

  • The header contains addressing and control fields.
  • The payload carries the actual data to be sent over the network.

In case you’re wondering, a datagram does not have a footer.

An IP header carries quite a bit of information, so it is a fair size in digital terms. It is a minimum of 20 bytes long and can be significantly longer. The TCP/IP software on the source (the sending computer) constructs the IP header. The TCP/IP software at the destination (the receiving computer) uses the information enclosed in the IP header to process the datagram.

So when you check on your IP address using “WhatIsMyIPAddress.com,” you are simply checking your own IP address—if you’re sending an email, it would be the source IP address. If you’re waiting for a reply to an email, you’d be the destination email address.

And in both cases, they’re one in the same.

Related Articles

All
  • All
  • Easy Prey Podcast
  • General Tech Topics, News & Emerging Trends
  • Home Computing to Boost Online Performance & Security
  • IP Addresses
  • Networking Basics: Learn How Networks Work
  • Online Privacy Topics to Stay Safe in a Risky World
  • Online Safety
  • Uncategorized
Resources for Scam Victims Who Need Help

We Created EasyPrey.com Scam Help Page to Help You

WhatIsMyIPAddress.com and our sister website, EasyPrey.com, focus on providing content and links to information and resources for...

[Read More]
Easy Prey Resources for Victims

EasyPrey.com Resources for Scam Victims

We’ve compiled a list of resources for all victims (and near victims) of scams, fraud, and identity…

[Read More]
Better Business Bureau

The BBB Scam Resources Are There to Help You!

The Better Business Bureau is on YOUR side, helping consumers with real-time scam tracking, which you can...

[Read More]
Amazon Scams

Amazon Scams Come in All Shapes and Sizes. Are You Prepared?

Tell Amazon ASAP if you’re a victim of a delivery scam. Amazon takes fraud and scams quite...

[Read More]
Ron Zayas talks about data privacy and security.

How Companies are Collecting, Tracking, and Selling Your Personal Information

The modern world comes with many technological and digital conveniences. But unfortunately, many of them come with…

[Read More]
A young woman sits in a cozy room, literally and metaphorically encircled by a vibrant, 360-degree holographic bubble of personalized social media, videos, and apps.

What Is a Filter Bubble? How Algorithms Shape What You See Online

When you and your friend in another city search for the exact same thing on Google, you…

[Read More]