• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 09:23
CEST 15:23
KST 22:23
  • 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
[ASL20] Ro24 Preview Pt1: Runway132v2 & SC: Evo Complete: Weekend Double Feature4Team Liquid Map Contest #21 - Presented by Monster Energy9uThermal's 2v2 Tour: $15,000 Main Event18Serral wins EWC 202549
Community News
Maestros of The Game—$20k event w/ live finals in Paris23Weekly Cups (Aug 11-17): MaxPax triples again!13Weekly Cups (Aug 4-10): MaxPax wins a triple6SC2's Safe House 2 - October 18 & 195Weekly Cups (Jul 28-Aug 3): herO doubles up6
StarCraft 2
General
What mix of new and old maps do you want in the next 1v1 ladder pool? (SC2) : 2v2 & SC: Evo Complete: Weekend Double Feature Geoff 'iNcontroL' Robinson has passed away The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread
Tourneys
RSL: Revival, a new crowdfunded tournament series Maestros of The Game—$20k event w/ live finals in Paris Sparkling Tuna Cup - Weekly Open Tournament Monday Nights Weeklies Master Swan Open (Global Bronze-Master 2)
Strategy
Custom Maps
External Content
Mutation # 487 Think Fast Mutation # 486 Watch the Skies Mutation # 485 Death from Below Mutation # 484 Magnetic Pull
Brood War
General
Flash On His 2010 "God" Form, Mind Games, vs JD BGH Auto Balance -> http://bghmmr.eu/ Joined effort New season has just come in ladder BW General Discussion
Tourneys
[ASL20] Ro24 Group B [ASL20] Ro24 Group C BWCL Season 63 Announcement [CSLPRO] It's CSLAN Season! - Last Chance
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates [G] Mineral Boosting Muta micro map competition
Other Games
General Games
Nintendo Switch Thread General RTS Discussion Thread Dawn of War IV Path of Exile 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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread The year 2050 Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece [\m/] Heavy Metal Thread
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion
World Cup 2022
Tech Support
High temperatures on bridge(s) Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment"
TL Community
The Automated Ban List TeamLiquid Team Shirt On Sale
Blogs
Evil Gacha Games and the…
ffswowsucks
Breaking the Meta: Non-Stand…
TrAiDoS
INDEPENDIENTE LA CTM
XenOsky
[Girl blog} My fema…
artosisisthebest
Sharpening the Filtration…
frozenclaw
ASL S20 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2202 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
SC Evo League
12:00
S2 Championship: Ro16 Day 2
SteadfastSC82
EnkiAlexander 33
IntoTheiNu 10
Liquipedia
WardiTV Summer Champion…
11:00
Playoffs Day 1
ByuN vs herO
MaxPax vs Zoun
Clem vs NightMare
WardiTV1132
Liquipedia
Sparkling Tuna Cup
10:00
Weekly #103
Solar vs ShoWTimELIVE!
ByuN vs TBD
CranKy Ducklings332
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Rex 137
BRAT_OK 103
ProTech92
SteadfastSC 82
StarCraft: Brood War
Britney 43288
Larva 906
Killer 393
Hyun 324
Hyuk 295
Last 289
Mini 283
Rush 263
Pusan 252
ggaemo 240
[ Show more ]
firebathero 198
PianO 191
Mind 131
soO 33
Free 23
ajuk12(nOOB) 19
HiyA 15
Noble 10
Sacsri 9
Dota 2
Gorgc10465
qojqva1552
XcaliburYe325
Pyrionflax220
Fuzer 148
League of Legends
Dendi778
Counter-Strike
summit1g9144
olofmeister1836
Super Smash Bros
Mew2King60
Heroes of the Storm
Khaldor211
Other Games
singsing2002
B2W.Neo1111
byalli216
RotterdaM180
KnowMe51
rGuardiaN17
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Reevou 10
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 2849
• WagamamaTV444
League of Legends
• Nemesis4457
• Jankos2595
Upcoming Events
Chat StarLeague
2h 38m
Razz vs Julia
StRyKeR vs ZZZero
Semih vs TBD
Replay Cast
10h 38m
Afreeca Starleague
20h 38m
Queen vs HyuN
EffOrt vs Calm
Wardi Open
21h 38m
RotterdaM Event
1d 1h
Replay Cast
1d 10h
Afreeca Starleague
1d 20h
Rush vs TBD
Jaedong vs Mong
WardiTV Summer Champion…
1d 21h
PiGosaur Monday
2 days
Afreeca Starleague
2 days
herO vs TBD
Royal vs Barracks
[ Show More ]
Replay Cast
3 days
The PondCast
3 days
WardiTV Summer Champion…
3 days
Replay Cast
4 days
LiuLi Cup
4 days
Cosmonarchy
5 days
OyAji vs Sziky
Sziky vs WolFix
WolFix vs OyAji
BSL Team Wars
5 days
Team Hawk vs Team Dewalt
BSL Team Wars
5 days
Team Hawk vs Team Bonyth
SC Evo League
5 days
[BSL 2025] Weekly
6 days
SC Evo League
6 days
Liquipedia Results

Completed

Jiahua Invitational
uThermal 2v2 Main Event
HCC Europe

Ongoing

Copa Latinoamericana 4
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20
CSL Season 18: Qualifier 1
Acropolis #4 - TS1
CSLAN 3
SEL Season 2 Championship
WardiTV Summer 2025
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025

Upcoming

CSL Season 18: Qualifier 2
CSL 2025 AUTUMN (S18)
LASL Season 20
BSL Season 21
BSL 21 Team A
Chzzk MurlocKing SC1 vs SC2 Cup #2
RSL Revival: Season 2
Maestros of the Game
EC S1
Sisters' Call Cup
IEM Chengdu 2025
PGL Masters Bucharest 2025
MESA Nomadic Masters Fall
Thunderpick World Champ.
CS Asia Championships 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
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.