Scimyst
Subscribe
  • Home
  • Discoveries
    • All
    • 1001 Mysteries
    • Aliens & UFOs
    • Animal World
    • Archaeology
    • Biology
    • Doomsday
    • Famous Landmarks
    • History
    • Mars Exploration
    • Military Science
    • Oceanography
    • Science Q&A
    • Scientific Discoveries
    • Space Science
    • Why
    • World Figures
    • World Wonders
    thanh pho trang 650

    The Lost City of 500 Years Containing Flesh-Eating Parasites

    the ancient buddha statue for women is very beautiful but extremely vivid 119168

    Chilling Ancient Punishments for Women with Beautiful but Bloodied Names

    creating the worlds first plasma lamp not using a wire just throw it away 133669

    Creating the world’s most durable plasma lamp that doesn’t “take a break” after a few days of use

    which country suffers the most natural disasters in the world every year 136695

    Which country suffers the most natural disasters in the world, “experiencing” the most super typhoons each year?

    strange spc exoplanet

    10 Most Strange Things of the Universe

    thuan tay trai 650

    Left-Handed People and 16 “Shocking” Facts

    cham do ben khoe mieng 650

    The Secret of the Two Red Dots at the Corner of the Mouth of the Tang Dynasty Concubine

    tinh van con cua 650

    Revealing Unseen Images of the Crab Nebula through the James Webb Space Telescope

    cau hon o phap 650

    Banning Bathing, Forcing Tears, and Strange Wedding Customs Around the World

  • Events
    • All
    • Science Stories
    • Scientific Projects

    Tonight announces the Ig Nobel Prize winners

    frog

    Frog Wins Ig Nobel Prize 2005

    canhcutIg

    Life is Not Lacking in Quirks

    Nobel Prize in Medicine 2005: A Modern Fairy Tale

    10 Weird Inventions Awarded the Ig Nobel Prize 2005

    nobelKT

    Why Did They Win the Nobel Prize in Economics?

    giaydientu

    “Electronic Paper” Set to Appear on the Market

    Development of Science and Technology in the South Central Coast and Central Highlands Provinces

    a russian scientist loves vietnam 1659

    A Russian Scientist Who Loves Vietnam

  • Lifestyle
    • All
    • Environment
    • Medicine & Health
    tdnong

    Global warming may be the cause of major storms

    traxanh1

    Green tea has effects against dementia

    Discovery of Cancer-Preventing Genes in the Human Body

    Khachdulich Indonesia

    Avian influenza harms tourism more than terrorism

    nao

    Lying – A Disease of People with Brain Defects

    cafe

    Coffee May Prevent Cancer

    tebaocum

    Recreating the ‘Death’ Flu Virus of 1918

    Indo ban

    The whole world unites to fight avian influenza

    HIV aids

    The Mystery of AIDS Epidemic

  • Technology
    • All
    • AI - Artificial Intelligence
    • Computer Science
    • New Technology
    • Scientific Inventions
    top apps explore space solar system on pc 98000

    Top Applications for Exploring the Universe and Solar System on PC

    vai dien tu 650

    Soon there will be data-transmitting clothing

    sua loi khong vao dc coc coc 650

    Why can’t Cốc Cốc download videos to the computer?

    may tinh cu 1

    17 Things You Can Do with an Old Computer

    play free games super fun on android devices 54708

    Play Extremely Fun Free Games on Android Devices

    top 10 best weather apps on android 98127

    Top 10 Best Astronomy Apps on Android

    how to charge iphone properly 122474

    How to Charge an iPhone the Right Way

    do not scan qr code finger 122198

    Don’t Scan QR Codes Randomly

    sensor technology for measuring oxygen in blood 120461

    Light-Emitting Sensor Technology Can Measure Blood Oxygen

  • Cultural Heritage
    ai cap 650

    The Ruins of Memphis & the Pyramid Complex from Giza to Dahshur – Egypt

    khao co 650

    Prehistoric Archaeological Sites in the Dordogne Valley and Caves in the Vézère Valley – France

    baroque churches philippines 67188

    Baroque Churches – Philippines

    mont saint michel france 67265

    Mont Saint Michel Island – France

    acropolis bracelet in athens greece 67621

    Acropolis Fortress in Athens – Greece

    language mo tan thuy hoang china 67087

    Tomb of Qin Shi Huang – China

    historical city ayutthaya 67804

    Historical City of Ayutthaya

    mesa verde national park 67201

    Mesa Verde National Park – United States of America

    to the taj mahal india 67153

    Taj Mahal Temple – India

  • Entertainment
    • All
    • Photo Library
    • Videos

    Honesty

    Telephone

    Advanced Technology

    Terminal Illness

    Allergy

    Love Like Mars

    Super Definition

    Coi Sách

    Selling Candy

No Result
View All Result
Scimyst
  • Home
  • Discoveries
    • All
    • 1001 Mysteries
    • Aliens & UFOs
    • Animal World
    • Archaeology
    • Biology
    • Doomsday
    • Famous Landmarks
    • History
    • Mars Exploration
    • Military Science
    • Oceanography
    • Science Q&A
    • Scientific Discoveries
    • Space Science
    • Why
    • World Figures
    • World Wonders
    thanh pho trang 650

    The Lost City of 500 Years Containing Flesh-Eating Parasites

    the ancient buddha statue for women is very beautiful but extremely vivid 119168

    Chilling Ancient Punishments for Women with Beautiful but Bloodied Names

    creating the worlds first plasma lamp not using a wire just throw it away 133669

    Creating the world’s most durable plasma lamp that doesn’t “take a break” after a few days of use

    which country suffers the most natural disasters in the world every year 136695

    Which country suffers the most natural disasters in the world, “experiencing” the most super typhoons each year?

    strange spc exoplanet

    10 Most Strange Things of the Universe

    thuan tay trai 650

    Left-Handed People and 16 “Shocking” Facts

    cham do ben khoe mieng 650

    The Secret of the Two Red Dots at the Corner of the Mouth of the Tang Dynasty Concubine

    tinh van con cua 650

    Revealing Unseen Images of the Crab Nebula through the James Webb Space Telescope

    cau hon o phap 650

    Banning Bathing, Forcing Tears, and Strange Wedding Customs Around the World

  • Events
    • All
    • Science Stories
    • Scientific Projects

    Tonight announces the Ig Nobel Prize winners

    frog

    Frog Wins Ig Nobel Prize 2005

    canhcutIg

    Life is Not Lacking in Quirks

    Nobel Prize in Medicine 2005: A Modern Fairy Tale

    10 Weird Inventions Awarded the Ig Nobel Prize 2005

    nobelKT

    Why Did They Win the Nobel Prize in Economics?

    giaydientu

    “Electronic Paper” Set to Appear on the Market

    Development of Science and Technology in the South Central Coast and Central Highlands Provinces

    a russian scientist loves vietnam 1659

    A Russian Scientist Who Loves Vietnam

  • Lifestyle
    • All
    • Environment
    • Medicine & Health
    tdnong

    Global warming may be the cause of major storms

    traxanh1

    Green tea has effects against dementia

    Discovery of Cancer-Preventing Genes in the Human Body

    Khachdulich Indonesia

    Avian influenza harms tourism more than terrorism

    nao

    Lying – A Disease of People with Brain Defects

    cafe

    Coffee May Prevent Cancer

    tebaocum

    Recreating the ‘Death’ Flu Virus of 1918

    Indo ban

    The whole world unites to fight avian influenza

    HIV aids

    The Mystery of AIDS Epidemic

  • Technology
    • All
    • AI - Artificial Intelligence
    • Computer Science
    • New Technology
    • Scientific Inventions
    top apps explore space solar system on pc 98000

    Top Applications for Exploring the Universe and Solar System on PC

    vai dien tu 650

    Soon there will be data-transmitting clothing

    sua loi khong vao dc coc coc 650

    Why can’t Cốc Cốc download videos to the computer?

    may tinh cu 1

    17 Things You Can Do with an Old Computer

    play free games super fun on android devices 54708

    Play Extremely Fun Free Games on Android Devices

    top 10 best weather apps on android 98127

    Top 10 Best Astronomy Apps on Android

    how to charge iphone properly 122474

    How to Charge an iPhone the Right Way

    do not scan qr code finger 122198

    Don’t Scan QR Codes Randomly

    sensor technology for measuring oxygen in blood 120461

    Light-Emitting Sensor Technology Can Measure Blood Oxygen

  • Cultural Heritage
    ai cap 650

    The Ruins of Memphis & the Pyramid Complex from Giza to Dahshur – Egypt

    khao co 650

    Prehistoric Archaeological Sites in the Dordogne Valley and Caves in the Vézère Valley – France

    baroque churches philippines 67188

    Baroque Churches – Philippines

    mont saint michel france 67265

    Mont Saint Michel Island – France

    acropolis bracelet in athens greece 67621

    Acropolis Fortress in Athens – Greece

    language mo tan thuy hoang china 67087

    Tomb of Qin Shi Huang – China

    historical city ayutthaya 67804

    Historical City of Ayutthaya

    mesa verde national park 67201

    Mesa Verde National Park – United States of America

    to the taj mahal india 67153

    Taj Mahal Temple – India

  • Entertainment
    • All
    • Photo Library
    • Videos

    Honesty

    Telephone

    Advanced Technology

    Terminal Illness

    Allergy

    Love Like Mars

    Super Definition

    Coi Sách

    Selling Candy

No Result
View All Result
Scimyst
No Result
View All Result
Home Technology Computer Science

The Basic Journey of a Data Packet on the Network

by Sci
July 11, 2006
in Computer Science
0
Share on FacebookShare on Twitter

The purpose of this article is to provide a basic overview of the journey of data packets exchanged over the Internet, from their creation to switches, routers, NAT, and the methods of data transmission on the Internet. This topic will be particularly interesting for those new to the fields of networking and security, as well as individuals with limited basic knowledge about the data processing processes on the Internet.

Introduction

In several articles, we have seen the importance of two areas of computer security for new users: programming and networking. While these are two distinct parts, both should be regarded as equally important. Without the programming of network protocols, there would be no networks. The question arises: is it essential for a programmer to fully grasp the concepts of networking and low-level network theory? In many cases, it is not necessary. However, a curiosity on the part of the readers would be beneficial and could lead them to programming at various points to experiment with different protocols and network theories.

For newcomers to this field, the first impression of a computer is something hard to forget. When someone discovers the Internet, the wealth of information creates a sense of awe and excitement about how its internal techniques work. Anyone seems to be drawn into a completely new world when using a computer to connect with systems on the other side of the globe. They become curious about how computers and networks perform these tasks. How does information travel from one computer to another, passing through all the various devices to reach its destination?

The Journeys

When an Internet application is called, a series of events occurs. In this article, we will simply introduce how a packet is created and the devices that send it along various paths to reach its destination. Understanding what happens between point A and point Z can be quite beneficial for approaching this field.

Now we should describe what happens from the moment an application is called to when the packets created by the application reach their destination. Let’s assume you are using Firefox to check the news on your favorite website. A series of events has been set in motion that is entirely transparent to you. After the initial TCP/IP handshake, your web browser will send a request to the web server that your homepage is querying for its homepage. The HTTP GET request information now needs to be sent to the web server. What happens to Firefox when you activate the application is that it makes a request to the system. This process will copy the data that Firefox wants to send from the memory spaces of the applications to the internal buffer in the central space.

Depending on which transport protocol the application uses, the socket layer will call either UDP or TCP. It is important to remember that many applications do not use TCP as a transport protocol. DNS uses both UDP and TCP, while other applications like TFTP only use UDP. The socket layer calls the appropriate transport protocol, at which point the data will be copied into the socket buffer.

Data Fragmentation
When copying data from the GET request to a socket buffer, TCP will fragment this data if necessary. Although a GET request corresponds to a single packet and will fit within the Ethernet MTU without issue, what happens if the browser’s request exceeds the MTU? In that case, TCP will fragment the data to ensure the size fits the Ethernet MTU limit of 1500 bytes. A key point to remember here is that this fragmentation will occur at the TCP layer if the application requests to use TCP as their data transport protocol.

Data Transmission in the Network Environment

Data is created along with its own transport layer functions; let’s consider the IP layer. Here, the IP header is constructed, and all important IP addresses are assigned. Next, the data will travel across the data link layer, where both logical link control and media access control perform their tasks. Finally, the data is ready to be transmitted via the physical layers integrated into the system through NIC cards. For most home users, a SoHo router combines both switching and routing capabilities. For corporate users, the switch is a separate piece of hardware from its router. In a corporate environment, computers may connect to switches via cables. If the switch does not have a hard-coded CAM table, it needs to pay attention to the MAC addresses of the computers (unique to each Ethernet card). When the data packet arrives from its transport process carrying the requested website data in the GET request, the switch uses the client’s reverse path to understand where to send those packets back.

How does the client understand its default gateway? Whether it’s a corporate network or a home network, the system will always perform a DHCP packet once to boot up and acquire essential information from the DHCP server. Since not all systems use DHCP, there are no pre-defined IP addresses or gateways. The information includes the DNS server name being used, its IP address, and the default gateway’s IP address. If DHCP is disabled, the system administrator must enter all this information manually. This is extremely inefficient, which explains why DHCP is enabled in most networks.

With the default gateway nearby, the computer understands the destination to access the Internet and retrieve website data as requested by Firefox. After the packets pass through the switch, they form a path to easily traverse the firewall to the router. The packets should be allowed through a firewall, where it will perform several essential tasks. A fully functional firewall will log the source IP and port, along with the destination IP and port. The firewall will keep this information in its state table memory, thus regulating how access to the internal network occurs. If a packet is not logged, it will not gain access to the network. In a future article, we will introduce you to the role of firewalls in protecting your computer.

Routers and NAT

Now, when the packets have passed through the firewall, they are currently heading to the router. The private IP address that the packets possess (assuming it is a basic address 192.168/16) will be transformed into a routable public IP address assigned by your ISP. This address is also assigned to your router. The packets now begin their journey across the Internet and through countless routers during their trip. Each time, the packets head towards another router. So, what happens to the packets themselves?

Let’s start by looking at the router. It will route the packets based on the information in its routing table. When the next router receives these packets, it will calculate according to its routing table to determine the shortest path for transmitting this packet. One of the few elements it will modify is the TTL, or “time to live.” Now, the IP header is changed, and the routers need to compute a new total value for the packets. This continues until the packets reach their desired destination.

The physical layer will send an IRQ to the CPU indicating that data has been processed. Then, the data will ascend to the data link layer, where the web server will recognize the MAC and continue up to the IP layer, followed by the transport layer (where the data is buffered). At this layer, the application information carried by the data is processed here. The end result is the requested information for the GET request has been sent back. Similarly, for a new packet, the same series of events occurs.

Conclusion

Overall, this article has aimed to provide you with a basic understanding of networking and the general concepts of routing, switching, and NAT. We hope you can continue further research to gain deeper insights into this subject, and we wish you success.

Pham Van Linh
Email:
[email protected]

Next Post
first gaming ram to appear on the market 6879

The first magnetic RAM available on the market

china establishes professional game development plan 6882

China Develops Plan for Professional Game Development

play doll to improve memory 6884

Playing with Dolls to Improve Memory

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

FEATURED POST

the mystery of the mummified woman misidentified as an egyptian pharaoh 129359

The Mystery of the Mummy of the Woman Mistaken for the Pharaoh of Egypt

space monsters in mythology first appearance 129358

Cosmic Monster ‘in Legend’ Appears for the First Time

the most dangerous coastline in the world haunting the dreams of mangrove forests 108247

The world’s most dangerous strait – The haunting toll measured in sailors’ lives

10 amazing natural phenomena that challenge science 60818

23 Mysterious Natural Phenomena That Challenge Science

TRENDING

nguoi ai cap co dai 650
Scientific Discoveries

What Race Are the Egyptians Ultimately? Why Are They Different from Today’s Africans?

cat parade the oldest cat festival in belgium 125433
Scientific Discoveries

Kattenstoet – The Oldest Cat Festival in Belgium

marie curie the most renowned female scientist in the world 1026
Science Stories

Marie Curie – The Most Renowned Female Scientist in the World

why the acid in the human stomach is similar to the acid in carnivorous animals 136174
Why

Why is the acidity of human stomachs similar to that of scavenger species?

EDITOR PICK'S

What Race Are the Egyptians Ultimately? Why Are They Different from Today’s Africans?

No Tunnels, No Supports: China Stuns the World with a Bridge that Floats like Silk on the River

12 Most Dangerous Poisonous Mushrooms in the World

The migration of 6 million antelopes in Africa

How is the U.S. President Protected While Traveling?

23 Mysterious Natural Phenomena That Challenge Science

Records of the “Real” Dragons in History

Newsletter

THE MOST IMPORTANT WORLD NEWS AND EVENTS OF THE DAY

Subscribe to our mailing list to receives daily updates direct to your inbox!

Category

  • 1001 Mysteries
  • AI – Artificial Intelligence
  • Aliens & UFOs
  • Animal World
  • Antibiotic Resistance
  • Archaeology
  • Bacteria & Insects
  • Biology
  • Biotechnology
  • Climate & Weather

Site Link

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

About Us

At Scimyst, we uncover the wonders of science, history, and culture. From ancient mysteries to modern innovations, our stories inspire curiosity and connect you to the fascinating world around us. Explore the unknown with us!

  • About
  • Advertise
  • Privacy & Policy
  • Contact

© 2025 Scimyst - Your gateway to the wonders of science and culture

No Result
View All Result
  • Home
  • Discoveries
    • 1001 Mysteries
    • Aliens & UFOs
    • Animal World
    • Archaeology
    • Biology
      • Bacteria & Insects
      • Biotechnology
      • Plants
    • Doomsday
    • Famous Landmarks
    • History
      • This Day in History
    • Military Science
    • Mars Exploration
    • Oceanography
    • Science Q&A
    • Science Quiz
    • Scientific Discoveries
    • Space Science
    • Why
    • World Figures
    • World Wonders
      • Cultural Heritage
      • Vietnamese Heritage
  • Technology
    • AI – Artificial Intelligence
    • Computer Science
    • New Technology
      • Self-Driving Cars
    • Scientific Inventions
  • Lifestyle
    • Cancer
    • Environment
      • Climate & Weather
      • Disasters
      • Latest Storm Updates
      • Nature
      • Solutions
    • Medicine & Health
      • Antibiotic Resistance
      • Common Illnesses
      • Dengue Fever
      • Family Medicine Cabinet
      • Food Safety
      • Health
      • Influenza Outbreak
    • Scientific Applications
  • Events
    • Science Events
    • Science Stories
    • Scientific Projects
  • Entertainment
    • Photo Library
    • Videos

© 2025 Scimyst - Your gateway to the wonders of science and culture