SlideShare ist ein Scribd-Unternehmen logo
1 von 23
Downloaden Sie, um offline zu lesen
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

Weitere ähnliche Inhalte

Was ist angesagt?

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
 

Was ist angesagt? (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
 

Andere mochten auch

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
 

Andere mochten auch (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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024Top 10 Most Downloaded Games on Play Store in 2024
Top 10 Most Downloaded Games on Play Store in 2024
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

Basic networking