SlideShare a Scribd company logo
The ABC of Linux
Networking
By Peter Larsen
FredLug
September 2012
Agenda
● Good old OSI 7 layers
● The IP Stack
● Networking Examples
● Commands
● RHEL/CentOS/Fedora networking
● Ubuntu/Debian anyone??
Good old OSI 7 layers
Physical
Data Link
Network
Transport
Session
Presentation
Application
Physical Link Physical
Data Link
Network
Transport
Session
Presentation
Application
Physical Layer
Physical
Data Link
Network
Transport
Session
Presentation
Application
Physical Link Physical
Data Link
Network
Transport
Session
Presentation
Application
Data Link Layer
Physical
Data Link
Network
Transport
Session
Presentation
Application
Physical Link Physical
Data Link
Network
Transport
Session
Presentation
Application
Network Layer
Physical
Data Link
Network
Transport
Session
Presentation
Application
Physical Link Physical
Data Link
Network
Transport
Session
Presentation
Application
Transport Layer
Physical
Data Link
Network
Transport
Session
Presentation
Application
Physical Link Physical
Data Link
Network
Transport
Session
Presentation
Application
Session Layer
Physical
Data Link
Network
Transport
Session
Presentation
Application
Physical Link Physical
Data Link
Network
Transport
Session
Presentation
Application
Presentation Layer
Physical
Data Link
Network
Transport
Session
Presentation
Application
Physical Link Physical
Data Link
Network
Transport
Session
Presentation
Application
Application Layer
Physical
Data Link
Network
Transport
Session
Presentation
Application
Physical Link Physical
Data Link
Network
Transport
Session
Presentation
Application
The IP Stack
● Internet Protocol
● Implements the network stack
● Uses fewer layers than OSI (Application,
Transport, Internet, Link)
● End-to-end Principle
● Robustness Principle
● Was built to withstand loss of nodes and
not break the network
The IP Stack
The IP Stack
Networking Examples
● Physical Networks
● IP basic network
● IP Package
● Gateways
Physical Network
IP Network
IP Package
Gateways
Concepts
IP Address Internet Protcol Address (xx.xx.xx.xx)
MAC Address Media Access Control (xx:xx:xx:xx:xx:xx)
Netmask Indicates which part of IP address is network
address
Network Address Nodes on the same network can talk to one another
Node Address Every node must have a unique address in it's
network
Gateway System that can route traffic
Switch/Hub Device to interconnect multiple wires into a network
DNS Domain Name System – translates names into IP (or
visa versa)
DHCP Dynamic Host Configuration Protocol
Commands
● Commands to configure
● Commands to diagnose
Commands to configure
● ifconfig
● ip
● route
● arp
● system-config-network (rhel/Fedora)
● /etc/resolve.conf
● /etc/hosts
Commands to diagnose
● ip show / ifconfig
● route – display routes
● arp – display current ARP table
● host / dig
● ping / traceroute
● ethereal / wireshark
RHEL/CentOS/Fedora
networking
● Easy way: system-config-network
● “Hard way”: /etc/sysconfig/network-scripts
● service network start|stop|restart
● ifup / ifdown
● Network Manager
Ubuntu/Debian anyone??
● HELP!!!
Questions

More Related Content

PPTX
Onug lunch talk may 12 2015 no video
Andrew Randall
 
PDF
Core Concept of TCP/IP
KHNOG
 
PDF
node.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehne
Michael Kuehne-Schlinkert
 
PDF
Full Service Residential Gateway for Connected Home - D Zhang
mfrancis
 
PPT
Deploying calico on kubernetes
Anirban Sen Chowdhary
 
PDF
The Virtual OSGi Framework - Jan Rellermeyer
mfrancis
 
ODP
Open shift 2.x and MongoDB
plarsen67
 
ODP
JBoss Enterprise Data Services (Data Virtualization)
plarsen67
 
Onug lunch talk may 12 2015 no video
Andrew Randall
 
Core Concept of TCP/IP
KHNOG
 
node.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehne
Michael Kuehne-Schlinkert
 
Full Service Residential Gateway for Connected Home - D Zhang
mfrancis
 
Deploying calico on kubernetes
Anirban Sen Chowdhary
 
The Virtual OSGi Framework - Jan Rellermeyer
mfrancis
 
Open shift 2.x and MongoDB
plarsen67
 
JBoss Enterprise Data Services (Data Virtualization)
plarsen67
 

Similar to Fredlug networking (20)

PDF
Linux Network Architecture Paperback Klaus Wehrle
wiurcewywk4391
 
PDF
Download full ebook of Linux Socket Programming Walton Sean instant download pdf
bakersuicowo
 
PDF
Linux networking
sanakiyan
 
PPT
Nad710 Introduction To Networks Using Linux
tmavroidis
 
PPTX
09 Systems Software Programming-Network Programming.pptx
KushalSrivastava23
 
PPT
Chapter 02
cclay3
 
PDF
Geep networking stack-linuxkernel
Kiran Divekar
 
PPT
ch07.ppt
DanielDinis7
 
PDF
0407-linux-networking.pdf
T17Rockstar
 
PDF
linuxnet.pdf
mkey7
 
PDF
rtnetlink
Taku Fukushima
 
PPTX
14 network tools
Shay Cohen
 
PDF
NUSE (Network Stack in Userspace) at #osio
Hajime Tazaki
 
PPTX
Migrating It Infrastructure To Open Source
ashu_21
 
PDF
The linux networking architecture
hugo lu
 
PDF
Linux network tools (Maarten Blomme)
Avansa Mid- en Zuidwest
 
PDF
Linux Network Filtering
James Daniel
 
PPTX
Introduction to socket programming nbv
Nagasuri Bala Venkateswarlu
 
PDF
Fun with Network Interfaces
Kernel TLV
 
PDF
+ Network Programming.pdf
OluwafolakeOjo
 
Linux Network Architecture Paperback Klaus Wehrle
wiurcewywk4391
 
Download full ebook of Linux Socket Programming Walton Sean instant download pdf
bakersuicowo
 
Linux networking
sanakiyan
 
Nad710 Introduction To Networks Using Linux
tmavroidis
 
09 Systems Software Programming-Network Programming.pptx
KushalSrivastava23
 
Chapter 02
cclay3
 
Geep networking stack-linuxkernel
Kiran Divekar
 
ch07.ppt
DanielDinis7
 
0407-linux-networking.pdf
T17Rockstar
 
linuxnet.pdf
mkey7
 
rtnetlink
Taku Fukushima
 
14 network tools
Shay Cohen
 
NUSE (Network Stack in Userspace) at #osio
Hajime Tazaki
 
Migrating It Infrastructure To Open Source
ashu_21
 
The linux networking architecture
hugo lu
 
Linux network tools (Maarten Blomme)
Avansa Mid- en Zuidwest
 
Linux Network Filtering
James Daniel
 
Introduction to socket programming nbv
Nagasuri Bala Venkateswarlu
 
Fun with Network Interfaces
Kernel TLV
 
+ Network Programming.pdf
OluwafolakeOjo
 
Ad

More from plarsen67 (16)

PDF
Containers in a Kubernetes World
plarsen67
 
PDF
FREDLUG - Open Broadcast Studio - OBS
plarsen67
 
PPTX
Bash and regular expressions
plarsen67
 
ODP
Grub and dracut ii
plarsen67
 
ODP
Introduction to linux
plarsen67
 
ODP
Open Source - NOVALUG January 2019
plarsen67
 
ODP
3d printing
plarsen67
 
ODP
The ABC of Linux (Linux for Beginners)
plarsen67
 
ODP
Kvm and libvirt
plarsen67
 
ODP
Disks and-filesystems
plarsen67
 
ODP
Introduction to linux
plarsen67
 
ODP
Disks and-filesystems
plarsen67
 
ODP
Intro fredlug
plarsen67
 
ODP
Lvm and gang 2015
plarsen67
 
ODP
Bash and regular expressions
plarsen67
 
ODP
Speed Up Development With OpenShift
plarsen67
 
Containers in a Kubernetes World
plarsen67
 
FREDLUG - Open Broadcast Studio - OBS
plarsen67
 
Bash and regular expressions
plarsen67
 
Grub and dracut ii
plarsen67
 
Introduction to linux
plarsen67
 
Open Source - NOVALUG January 2019
plarsen67
 
3d printing
plarsen67
 
The ABC of Linux (Linux for Beginners)
plarsen67
 
Kvm and libvirt
plarsen67
 
Disks and-filesystems
plarsen67
 
Introduction to linux
plarsen67
 
Disks and-filesystems
plarsen67
 
Intro fredlug
plarsen67
 
Lvm and gang 2015
plarsen67
 
Bash and regular expressions
plarsen67
 
Speed Up Development With OpenShift
plarsen67
 
Ad

Recently uploaded (20)

PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
PDF
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PPTX
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
PDF
REPORT: Heating appliances market in Poland 2024
SPIUG
 
PDF
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
PDF
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
PDF
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Software Development Methodologies in 2025
KodekX
 
PDF
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
PDF
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
Trying to figure out MCP by actually building an app from scratch with open s...
Julien SIMON
 
Research-Fundamentals-and-Topic-Development.pdf
ayesha butalia
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
Dev Dives: Automate, test, and deploy in one place—with Unified Developer Exp...
AndreeaTom
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
How-Cloud-Computing-Impacts-Businesses-in-2025-and-Beyond.pdf
Artjoker Software Development Company
 
REPORT: Heating appliances market in Poland 2024
SPIUG
 
Accelerating Oracle Database 23ai Troubleshooting with Oracle AHF Fleet Insig...
Sandesh Rao
 
AI-Cloud-Business-Management-Platforms-The-Key-to-Efficiency-Growth.pdf
Artjoker Software Development Company
 
OFFOFFBOX™ – A New Era for African Film | Startup Presentation
ambaicciwalkerbrian
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
A Day in the Life of Location Data - Turning Where into How.pdf
Precisely
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Software Development Methodologies in 2025
KodekX
 
Event Presentation Google Cloud Next Extended 2025
minhtrietgect
 
How Open Source Changed My Career by abdelrahman ismail
a0m0rajab1
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 

Fredlug networking

Editor's Notes

  • #5: Media, signal and binary transmission Examples: 802.11, USB, Bluetooth, RS-232 (wire spec and RF specs)
  • #6: Physical Addressing The data link layer provides the functional and procedural means to transfer data between network entities and to detect and possibly correct errors that may occur in the physical layer. PPP, SLIP, PPTP etc. (Point to Point)
  • #7: The network layer provides the functional and procedural means of transferring variable length data sequences from a source host on one network to a destination host on a different network (in contrast to the data link layer which connects hosts within the same network), while maintaining the quality of service requested by the transport layer ARP, IP, ICMP, IPsec .
  • #8: The transport layer provides transparent transfer of data between end users, providing reliable data transfer services to the upper layers. The transport layer controls the reliability of a given link through flow control, segmentation/desegmentation, and error control. TCP, UDP
  • #9: The session layer controls the dialogues (connections) between computers. It establishes, manages and terminates the connections between the local and remote application. TCP is defined here.
  • #10: The presentation layer establishes context between application-layer entities, in which the higher-layer entities may use different syntax and semantics if the presentation service provides a mapping between them. If a mapping is available, presentation service data units are encapsulated into session protocol data units, and passed down the stack. TLS, SSL
  • #11: The application layer is the OSI layer closest to the end user, which means that both the OSI application layer and the user interact directly with the software application. This layer interacts with software applications that implement a communicating component. DNS, FTP, SNMP, SMTP, DHCP, SSH etc.