SlideShare a Scribd company logo
1 of 23
Download to read offline
Basic Networking
Concepts and Techniques
by William Orr
What is networking?
High level overview:
•Making two or more computers talk to each other
•Enhancing real life interactions through networked
communications
•Other bullshit like that
Low(er) level:
•Data encapsulation
•Transfer of packets within a local area network (LAN)
•Routing of packets between different LANs
•Service management
•Data security
Part I
Data Encapsulation
Data Encapsulation
Data encapsulation is the process of taking data or a packet
and then wrapping it in the header and footer of a lower level
protocol.
Data Encapsulation - Why?
Well, most devices that handle traffic don't need to know about
the data within a packet to deliver to the next step in the chain.
Only the device configured to receive that data will de-
encapsulate it (unwrap it) fully.
Data Encapsulation - The OSI Model
http://upload.wikimedia.org/wikipedia/commons/d/d3/Osi-model-jb.png
Data Encapsulation - TCP Model
http://en.wikipedia.org/wiki/File:UDP_encapsulation.svg
Data Encapsulation - Summary
•OS generates data
•Data gets recursively wrapped with headers down the stack
•Sends the data out over the network in a frame
•Destination receives the frame
•Destination de-encapsulates the frame recursively up the
stack
•Destination OS processes data
Part II
Basic Network Protocols
Ethernet II
•Layer 2 Frame
•Uses MAC addresses for sending and receiving data
•Holds at most 1500 bytes of data per frame
•Layer 3 agnostic
•Fuck 802.3
Ethernet II Frame
http://www.tamos.net/~rhay/overhead/ip-packet-overhead.htm
ARP
•Specialized protocol that requires IP and Ethernet
•Glue between IP and Ethernet
•Allows hosts to get MACs from IPs
•Computer knows IP but doesn't know MAC
oSends out broadcast message to that IP asking for MAC
oWaits for a response from the computer with the IP
oAdds the hosts's IP and MAC address to an ARP table
Internet Protocol
•Layer 3 packet
•Connectionless
•Uses 32 bit IP addresses for addressing
•Responsible for internetwork packet routing
•Holds at most 65535 bytes per packet
IP Addressing
•IPs are 32 bit binary numbers!
•Usually written out in dotted quad form: "129.21.50.94"
•Also come with subnet mask, also 32 bit binary number!
•Usually looks something like this: "255.255.254.0"
•Or in binary: 11111111 11111111 11111110 00000000
IP Addressing II
To determine if a machine is on your local network:
1.AND the address and the subnet mask
2.AND your address and the subnet mask
3.If both are equal, it's on the local network
4.Else, set the MAC address to your default gateway, and
have it send the packet
http://openlearn.open.ac.uk/file.php/2587/T823_1_016i.jpg
IP Packet
Transmission Control Protocol
•Layer 4
•Connection oriented
•Process level routing
•Port addressing
TCP Adressing - ports
•Port number (16 bit integer)
•End point for process to receive data
•Port doesn't actually exist, it is just a place for a process to
listen for (and send) packets
http://condor.depaul.edu/~jkristof/technotes/tcp-segment-format.jpg
TCP Segment
3 Way Handshake
Initiation
•Client sends packet with SYN flag set
•Server responds with SYN and ACK flags set
•Client responds with final ACK
Closure
•Client sends FIN
•Server sends FIN-ACK
•Client sends ACK
User Datagram Protocol
•Layer 4
•Connectionless
•Process level routing
•Port addressing
UDP
http://upload.wikimedia.org/wikibooks/en/d/d9/Header_of_UDP.jpg
UDP - Why?
•Faster than UDP
•Upper level protocols might add own ACK functionality
•ACK might not even be necessary for protocol

More Related Content

What's hot

types of computer networks, protocols and standards
types of computer networks, protocols and standardstypes of computer networks, protocols and standards
types of computer networks, protocols and standards
Midhun Menon
 
Networking device Computer Application in Business
Networking device Computer Application in BusinessNetworking device Computer Application in Business
Networking device Computer Application in Business
Nethan P
 
Network Hardware And Software
Network Hardware And SoftwareNetwork Hardware And Software
Network Hardware And Software
Steven Cahill
 

What's hot (20)

Basic Networking Network
Basic Networking NetworkBasic Networking Network
Basic Networking Network
 
Introduction of computer network
Introduction of computer networkIntroduction of computer network
Introduction of computer network
 
Computer networking class 12
Computer networking class 12Computer networking class 12
Computer networking class 12
 
C/S archtecture including basic networking
C/S archtecture including basic networkingC/S archtecture including basic networking
C/S archtecture including basic networking
 
Network communication standards
Network communication standardsNetwork communication standards
Network communication standards
 
Computer Networking
Computer NetworkingComputer Networking
Computer Networking
 
Computer networks--networking hardware
Computer networks--networking hardwareComputer networks--networking hardware
Computer networks--networking hardware
 
Network adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devicesNetwork adpater,cabel,cards ,types, network devices
Network adpater,cabel,cards ,types, network devices
 
types of computer networks, protocols and standards
types of computer networks, protocols and standardstypes of computer networks, protocols and standards
types of computer networks, protocols and standards
 
Networking devices
Networking  devices Networking  devices
Networking devices
 
Computer networking
Computer networkingComputer networking
Computer networking
 
Computer networking devices
Computer networking devicesComputer networking devices
Computer networking devices
 
network hardware
network hardwarenetwork hardware
network hardware
 
Networking Fundamentals: Computer Network Basics
Networking Fundamentals: Computer Network BasicsNetworking Fundamentals: Computer Network Basics
Networking Fundamentals: Computer Network Basics
 
1 introduction-to-computer-networking
1 introduction-to-computer-networking1 introduction-to-computer-networking
1 introduction-to-computer-networking
 
Networking device Computer Application in Business
Networking device Computer Application in BusinessNetworking device Computer Application in Business
Networking device Computer Application in Business
 
Topic 1.1 basic concepts of computer network
Topic 1.1 basic concepts of computer networkTopic 1.1 basic concepts of computer network
Topic 1.1 basic concepts of computer network
 
Basic networking
Basic networkingBasic networking
Basic networking
 
Computer network
Computer networkComputer network
Computer network
 
Network Hardware And Software
Network Hardware And SoftwareNetwork Hardware And Software
Network Hardware And Software
 

Viewers also liked

Basic concepts of computer Networking
Basic concepts of computer NetworkingBasic concepts of computer Networking
Basic concepts of computer Networking
Hj Habib
 
Curriculum (re)development in electrical and computer engineering v2
Curriculum (re)development in electrical and computer engineering v2Curriculum (re)development in electrical and computer engineering v2
Curriculum (re)development in electrical and computer engineering v2
brano1933
 
Eminent Presentation Henk Van Dieten
Eminent Presentation  Henk Van DietenEminent Presentation  Henk Van Dieten
Eminent Presentation Henk Van Dieten
Emilio Quintana
 
Curriculum (re)development in electrical and computer engineering v3
Curriculum (re)development in electrical and computer engineering v3Curriculum (re)development in electrical and computer engineering v3
Curriculum (re)development in electrical and computer engineering v3
brano1933
 
Introducing the eDB360 Tool
Introducing the eDB360 ToolIntroducing the eDB360 Tool
Introducing the eDB360 Tool
Carlos Sierra
 

Viewers also liked (20)

Graduation ppt 2014 v3
Graduation ppt 2014 v3Graduation ppt 2014 v3
Graduation ppt 2014 v3
 
Computer Networking concepts
Computer Networking conceptsComputer Networking concepts
Computer Networking concepts
 
Basic concepts of computer Networking
Basic concepts of computer NetworkingBasic concepts of computer Networking
Basic concepts of computer Networking
 
Basic Networking
Basic NetworkingBasic Networking
Basic Networking
 
A case for ict, computing and chess redesigning the kenyan curriculum
A case for ict, computing  and chess  redesigning the kenyan curriculumA case for ict, computing  and chess  redesigning the kenyan curriculum
A case for ict, computing and chess redesigning the kenyan curriculum
 
Curriculum (re)development in electrical and computer engineering v2
Curriculum (re)development in electrical and computer engineering v2Curriculum (re)development in electrical and computer engineering v2
Curriculum (re)development in electrical and computer engineering v2
 
Eminent Presentation Henk Van Dieten
Eminent Presentation  Henk Van DietenEminent Presentation  Henk Van Dieten
Eminent Presentation Henk Van Dieten
 
Curriculum (re)development in electrical and computer engineering v3
Curriculum (re)development in electrical and computer engineering v3Curriculum (re)development in electrical and computer engineering v3
Curriculum (re)development in electrical and computer engineering v3
 
Student-Centered Lesson Redesign
Student-Centered Lesson RedesignStudent-Centered Lesson Redesign
Student-Centered Lesson Redesign
 
Effective Assessment Designs
Effective Assessment DesignsEffective Assessment Designs
Effective Assessment Designs
 
Update on Education Transformation and the Science Curriculum
Update on Education Transformation and the Science Curriculum Update on Education Transformation and the Science Curriculum
Update on Education Transformation and the Science Curriculum
 
The Environment Project: An Example Of Creating Cross Curriculum Digital Mate...
The Environment Project: An Example Of Creating Cross Curriculum Digital Mate...The Environment Project: An Example Of Creating Cross Curriculum Digital Mate...
The Environment Project: An Example Of Creating Cross Curriculum Digital Mate...
 
Pedagogy, curriculum and assessment
Pedagogy, curriculum and assessmentPedagogy, curriculum and assessment
Pedagogy, curriculum and assessment
 
computer science internship report
computer science  internship reportcomputer science  internship report
computer science internship report
 
Introducing the eDB360 Tool
Introducing the eDB360 ToolIntroducing the eDB360 Tool
Introducing the eDB360 Tool
 
TSL3143 Topic 3a Principles in Curriculum Design
TSL3143 Topic 3a Principles in Curriculum DesignTSL3143 Topic 3a Principles in Curriculum Design
TSL3143 Topic 3a Principles in Curriculum Design
 
Redesigning the English curriculum
Redesigning the English curriculumRedesigning the English curriculum
Redesigning the English curriculum
 
Oracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & TricksOracle SQL Developer Tips & Tricks
Oracle SQL Developer Tips & Tricks
 
Networking (2)
Networking (2)Networking (2)
Networking (2)
 
SQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12cSQL Monitoring in Oracle Database 12c
SQL Monitoring in Oracle Database 12c
 

Similar to Basic networking

Лекц 7
Лекц 7Лекц 7
Лекц 7
Muuluu
 
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.pptIDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
Jayaprasanna4
 
Lecture 2 -_understanding_networks_2013
Lecture 2 -_understanding_networks_2013Lecture 2 -_understanding_networks_2013
Lecture 2 -_understanding_networks_2013
Travis Leong Ping
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
Piero Fraternali
 

Similar to Basic networking (20)

Tcp
TcpTcp
Tcp
 
SOHO Network Setup Tutorial
SOHO Network Setup Tutorial SOHO Network Setup Tutorial
SOHO Network Setup Tutorial
 
unit2-210710110327.pptx
unit2-210710110327.pptxunit2-210710110327.pptx
unit2-210710110327.pptx
 
Small office Home office , network setup in details
Small office Home office , network setup in detailsSmall office Home office , network setup in details
Small office Home office , network setup in details
 
Лекц 7
Лекц 7Лекц 7
Лекц 7
 
ccna is the best certification in the industry
ccna is the best certification in the industryccna is the best certification in the industry
ccna is the best certification in the industry
 
Internetworking
InternetworkingInternetworking
Internetworking
 
Chapter1ccna
Chapter1ccnaChapter1ccna
Chapter1ccna
 
Networking (CCNA 1st Chapter)
Networking (CCNA 1st Chapter)Networking (CCNA 1st Chapter)
Networking (CCNA 1st Chapter)
 
Tcpip Intro
Tcpip IntroTcpip Intro
Tcpip Intro
 
TCPIP SLIDES.ppt
TCPIP SLIDES.pptTCPIP SLIDES.ppt
TCPIP SLIDES.ppt
 
A Deep Dive in the World of IT Networking (part 1)
A Deep Dive in the World of IT Networking (part 1)A Deep Dive in the World of IT Networking (part 1)
A Deep Dive in the World of IT Networking (part 1)
 
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.pptIDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
IDC lectureA - Network Layer & IP Addressing with Cisco Notes.ppt
 
Lecture 2 -_understanding_networks_2013
Lecture 2 -_understanding_networks_2013Lecture 2 -_understanding_networks_2013
Lecture 2 -_understanding_networks_2013
 
Basics of Networking
Basics of NetworkingBasics of Networking
Basics of Networking
 
presentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunicationspresentation on TCP/IP protocols data comunications
presentation on TCP/IP protocols data comunications
 
Communications and Networking
Communications and NetworkingCommunications and Networking
Communications and Networking
 
Module 1 slides
Module 1 slidesModule 1 slides
Module 1 slides
 
Network Protocol
Network ProtocolNetwork Protocol
Network Protocol
 
Web technologies: recap on TCP-IP
Web technologies: recap on TCP-IPWeb technologies: recap on TCP-IP
Web technologies: recap on TCP-IP
 

Recently uploaded

Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
UK Journal
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
FIDO Alliance
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 

Recently uploaded (20)

Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Working together SRE & Platform Engineering
Working together SRE & Platform EngineeringWorking together SRE & Platform Engineering
Working together SRE & Platform Engineering
 
Portal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russePortal Kombat : extension du réseau de propagande russe
Portal Kombat : extension du réseau de propagande russe
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdfThe Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
The Value of Certifying Products for FDO _ Paul at FIDO Alliance.pdf
 
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
Choosing the Right FDO Deployment Model for Your Application _ Geoffrey at In...
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!State of the Smart Building Startup Landscape 2024!
State of the Smart Building Startup Landscape 2024!
 
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdfBreaking Down the Flutterwave Scandal What You Need to Know.pdf
Breaking Down the Flutterwave Scandal What You Need to Know.pdf
 
ERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage IntacctERP Contender Series: Acumatica vs. Sage Intacct
ERP Contender Series: Acumatica vs. Sage Intacct
 
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
Human Expert Website Manual WCAG 2.0 2.1 2.2 Audit - Digital Accessibility Au...
 
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties ReimaginedEasier, Faster, and More Powerful – Notes Document Properties Reimagined
Easier, Faster, and More Powerful – Notes Document Properties Reimagined
 
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...Hyatt driving innovation and exceptional customer experiences with FIDO passw...
Hyatt driving innovation and exceptional customer experiences with FIDO passw...
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
1111 ChatGPT Prompts PDF Free Download - Prompts for ChatGPT
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdfSimplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
Simplified FDO Manufacturing Flow with TPMs _ Liam at Infineon.pdf
 

Basic networking