• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 02:27
CET 08:27
KST 16:27
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA16
StarCraft 2
General
SC: Evo Complete - Ranked Ladder OPEN ALPHA Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge RSL Season 3: RO16 results & RO8 bracket RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death
Brood War
General
What happened to TvZ on Retro? soO on: FanTaSy's Potential Return to StarCraft Data analysis on 70 million replays 2v2 maps which are SC2 style with teams together? BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Path of Exile Nintendo Switch Thread Should offensive tower rushing be viable in RTS games? Clair Obscur - Expedition 33 Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Mafia Game Mode Feedback/Ideas
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2158 users

Learn Networking! 1- The OSI Model , First Network

Blogs > BlueBoxSC
Post a Reply
BlueBoxSC
Profile Blog Joined October 2011
United States582 Posts
October 20 2012 05:42 GMT
#1
Hey TL,

I've never made a blog before, so I decided that while waiting for my friend to get home, I'd depart some knowledge up in here. This is my first blog, so of course, be extremely critical of content and style, please!

Introduction;

What is networking?

Simply put, a computer network is a connection between two end devices (PCs, laptops, VoIP phones, etc.) that can be as simple as one cable and as complicated as the Internet. For the purposes of learning, the Internet (contrary to expectations) is rarely studied. We'll focus on smaller networks where we have full control over everything in our network - no troublesome ISPs, no addressing requirements, etc. This might all sound like a foreign language now, but don't worry. By the end of this post, you'll have designed and built a working network capable of data transfer between end hosts!

To begin, download Packet Tracer 5 from here.

Packet Tracer is a networking simulator that allows for electronic simulation of network design and programming. It's super spiffy, and this the is most up-to-date version!

[image loading]


The OSI Model and Why It's Important;

The Open Systems Interconnection Model is a theoretical model of how networks function.

[image loading]

It consists of seven layers; Application - Presentation - Session - Transport - Network - Data Link - Physical. Or rather, All People Seem To Need Data Processing!

Within the context of networking, it's important to understand the life cycle of a 'data' sent from one end device (host) to another host. As you can see, as a 'data' (referred to as a PDU from here on out) moves from one layer to another, more data is added to it. This data is a form of overhead - data separate from the PDU but necessary for travel through a network. The process of wrapping PDUs inside overhead is called encapsulation, and the process of taking overhead off of PDUs is called decapsulation.

What is added at each layer?

Well, for learning purposes, we'll study the second, third, and fourth layers - from the bottom, that's Data Link, Network, and Transport. The Transport Layer effectively records the source and destination port of the PDU. On Layer 4, a port refers to a software-based gateway for application or service specific traffic. Think of unblocking ports to play BW!

The Network Layer records the source and destination IP address. This is exactly what is sounds like! The IP address of your machine is responsible for most of it's networking hoopla!

The Data Link Layer records the source and destination MAC address. The MAC address is the unique address of your computer's physical network card and is like a fingerprint. It's used for communication where switching (decisions based on MAC) is used instead of routing (decisions based on IP).


Getting Used to Packet Tracer

[image loading]

Really quick!

The red box is where you can switch between what shows up in the blue box! It has different networking device archetypes and connections for cabling between devices.

The blue box obviously is where the different types of networking devices are.

The green box is your workspace!

The purple box contains the ribbon - it's fairly intuitive!

The orange box contains cursor options in order; Select, Move Layout, Add Text, Delete, Inspect, Resize Shape, Add Simple PDU, Add Complex PDU.

The pink box switches between simulation and realtime mode. We will eventually switch to simulation mode!

BUILDING YOUR FIRST NETWORK

Our first network consists of three PCs, two switches, and one router.

Switches are layer two devices that make decisions based on MAC addresses.
Routers are layer three devices that make decisions based on IP addresses.

Place devices as shown. Use 1841 routers and 2960-24TT switches. The model of switch determines the available interfaces.

Cabling in networking is simple.

Use straight-through cable when connecting devices on different layers.
Use crossover cable when connecting devices on the same layers, or when directly connecting PC to Router.

Use the same interfaces as shown. An interface is the physical port on a machine. Think of the "ethernet port" behind your machine! That's exactly what the "Fast Ethernet" ports are!

But why is the connection between the switch and the router red?

Because router interfaces are shut down by default. Click on the router to open it, and open the config tab. Click into interface FastEthernet0/0. Click on, and type in this IP address:

192.168.1.1

And this subnet mask:

255.255.255.0

[image loading]

Go ahead and exit the Router.

Now open the PCs by clicking on them. Navigate to the Desktop, then IP Configuration, then add the following information for PC0.

IP: 192.168.1.2
SM: 255.255.255.0
DG: 192.168.1.1

And then for PC1.

IP: 192.168.1.3
SM: 255.255.255.0
DG: 192.168.1.1

And finally, for PC2.

IP: 192.168.1.4
SM: 255.255.255.0
DG: 192.168.1.1

Recall that switches do not work with IP, but MAC, so they do not get addressing information.

Once your configuration is finished, CLICK ON THE STOPWATCH IN THE BOTTOM RIGHT TO ENTER SIMULATION MODE.

Zoom out so you can see your network.

Click on "Add PDU" (the envelope on the right), click PC0, then click PC2.

Click on Capture/Forward to view the PDU's journey through the network!

If the PDU moves from PC0 to Switch0 to Switch1 to PC2 to Switch1 to Switch0 to PC0, CONGRATULATIONS!

You have just made your first network!

The configuration steps should have gone over your head, at this point. In a follow-up, we will later explore why what we did did what it did!

Commentary on Part One and Discussion About Part Two:

+ Show Spoiler +
First, thanks for reading. I hope you really got something out of this. Secondly, if this is appreciated, there's the eventual part two, where I plan to go into more detail about IP addressing and why the network we made works!


*****
BwCBlueBox.837
Sawamura
Profile Blog Joined August 2010
Malaysia7602 Posts
October 20 2012 05:53 GMT
#2
Thanks for this .. I will mess around with the program and see how it finally works and I can't wait for part 2 5/5 from me
BW/KT Forever R.I.P KT.Violet dearly missed ..
LightTemplar
Profile Blog Joined August 2011
Ireland481 Posts
October 20 2012 09:28 GMT
#3
Pretty neat looking program, might give it a go at some point. Also well formatted blog
"Thoughts are always there, the mind can't stop" - Grubby
makmeatt
Profile Blog Joined June 2011
2024 Posts
Last Edited: 2012-10-20 12:23:57
October 20 2012 12:23 GMT
#4
Not for nothing, but Packet Tracer is only available to Cisco Networking Academy participants.
http://www.cisco.com/web/learning/netacad/course_catalog/PacketTracer.html
"Silver Edge can't break my hope" - Kryptt 2016 || "Chrono is not a debuff, you just get rekt" - Guru 2016
TheAmazombie
Profile Blog Joined September 2010
United States3714 Posts
October 20 2012 14:36 GMT
#5
On October 20 2012 21:23 JohnMadden wrote:
Not for nothing, but Packet Tracer is only available to Cisco Networking Academy participants.
http://www.cisco.com/web/learning/netacad/course_catalog/PacketTracer.html


This is true, but there are a number of other network simulation programs out there. GNS being one of the most popular. If you really want to have some fun though, use Wireshark and any random packet editor/injector to simulate and see network events in progress. Be careful not to max out your little home router though. =)

As for the blog, this is cool for people to see about Packet Tracer, but there is a lot of assumed knowledge. I write a bunch of networking training materials for my company and the thing that you need to remember about guides is that it is cool to show steps, but if someone does not know what an IP really is, what a subnet mask actually does, or what the difference between a switch, router (or layer-3 switch) is, what the difference between an IP and MAC are other than just number, it can get a bit confusing for many people. Then again, it all depends on your audience.

I wrote the first internal papers on trying to teach IPv4 subnetting to people and what I found was that at each step I was having to write more and more documents to go along with it, to explain everything from subnet masks to OSI model, and even on how to read binary and how to transfer/translate IPs from dotted-decimal to binary and even into hex (mostly for practice. Ha.)

Good start and attempt and keep working on it all.
We think too much and feel too little. More than machinery, we need humanity. More than cleverness, we need kindness and gentleness. Without these qualities, life will be violent and all will be lost. -Charlie Chaplin
BlueBoxSC
Profile Blog Joined October 2011
United States582 Posts
October 20 2012 16:22 GMT
#6
On October 20 2012 23:36 TheAmazombie wrote:
Show nested quote +
On October 20 2012 21:23 JohnMadden wrote:
Not for nothing, but Packet Tracer is only available to Cisco Networking Academy participants.
http://www.cisco.com/web/learning/netacad/course_catalog/PacketTracer.html


This is true, but there are a number of other network simulation programs out there. GNS being one of the most popular. If you really want to have some fun though, use Wireshark and any random packet editor/injector to simulate and see network events in progress. Be careful not to max out your little home router though. =)

As for the blog, this is cool for people to see about Packet Tracer, but there is a lot of assumed knowledge. I write a bunch of networking training materials for my company and the thing that you need to remember about guides is that it is cool to show steps, but if someone does not know what an IP really is, what a subnet mask actually does, or what the difference between a switch, router (or layer-3 switch) is, what the difference between an IP and MAC are other than just number, it can get a bit confusing for many people. Then again, it all depends on your audience.

I wrote the first internal papers on trying to teach IPv4 subnetting to people and what I found was that at each step I was having to write more and more documents to go along with it, to explain everything from subnet masks to OSI model, and even on how to read binary and how to transfer/translate IPs from dotted-decimal to binary and even into hex (mostly for practice. Ha.)

Good start and attempt and keep working on it all.


I just wanted an introduction to the idea of networking and I am going to explain what the 'assumed' knowledge is in my next part. =) Thanks though.
BwCBlueBox.837
Fyodor
Profile Blog Joined September 2010
Canada971 Posts
October 20 2012 17:15 GMT
#7
Dude, Stanford University gives a free online course right now called "introduction to networks"

Taking it and it kicks ass.
llllllllllllllllllllllllllllllllllllllllllll
Baozi
Profile Joined March 2011
United States1191 Posts
December 09 2012 20:27 GMT
#8
I'm actually very curious on the next part of this blog. Any kind of ETA on this?
Thanks.
"Universe is very spacey, we called him space man. He made a lot of space." - Arteezy
unkkz
Profile Blog Joined December 2007
Norway2196 Posts
December 10 2012 00:08 GMT
#9
Bookmarked, always wanted to learn more about networking but never really knew where to begin. Awesome blog
Please log in or register to reply.
Live Events Refresh
Next event in 1h 33m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 132
ProTech87
Nina 87
StarCraft: Brood War
Rain 2822
actioN 1440
Shuttle 1219
Larva 240
Leta 179
Soma 78
Sharp 74
Killer 46
NaDa 18
Dota 2
monkeys_forever436
League of Legends
JimRising 692
C9.Mang0215
Reynor66
Super Smash Bros
amsayoshi128
Other Games
summit1g19717
ViBE107
Organizations
Other Games
gamesdonequick544
StarCraft: Brood War
UltimateBattle 82
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• Sammyuel 6
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1666
• Lourlo1371
Upcoming Events
OSC
1h 33m
Wardi Open
4h 33m
Monday Night Weeklies
9h 33m
OSC
15h 33m
Wardi Open
1d 4h
Replay Cast
2 days
Wardi Open
2 days
OSC
2 days
Tenacious Turtle Tussle
2 days
The PondCast
3 days
[ Show More ]
Replay Cast
3 days
OSC
4 days
LAN Event
4 days
Replay Cast
4 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

SOOP Univ League 2025
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
META Madness #9
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.