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
PDF
Core Concept of TCP/IP
PDF
node.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehne
PDF
Full Service Residential Gateway for Connected Home - D Zhang
PPT
Deploying calico on kubernetes
PDF
The Virtual OSGi Framework - Jan Rellermeyer
ODP
Open shift 2.x and MongoDB
ODP
JBoss Enterprise Data Services (Data Virtualization)
Onug lunch talk may 12 2015 no video
Core Concept of TCP/IP
node.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehne
Full Service Residential Gateway for Connected Home - D Zhang
Deploying calico on kubernetes
The Virtual OSGi Framework - Jan Rellermeyer
Open shift 2.x and MongoDB
JBoss Enterprise Data Services (Data Virtualization)

Similar to Fredlug networking (20)

PDF
Openstack platform -Red Hat Pizza and technology event - Israel
PPTX
OSI MODEL
PPTX
IP_Subnet training.pptx
PPSX
Network plus 001 licked of OSI Model 1.ppsx
PPTX
P4 to OpenDataPlane Compiler - BUD17-304
PDF
Day+3+Slides+-+OSI+Model+&+TCP-IP+Suite.pdf
PPTX
Osi model vs TCP/IP
PPTX
Network research
PPTX
The seven layers associated with ISO OSI Model .pptx
PPTX
SAVI-IoT: A Self-managing Containerized IoT Platform
PDF
Open daylight openstack_meetup_20140218
PDF
SDN and metrics from the SDOs
PDF
NFV evolution towards 5G
PPT
1-03-OSI.ppt
PDF
Fundamentals of Ethernet /IP Technology
PPT
Introduction of computer network
PPTX
CPaaS.io Y1 Review Meeting - Cloud & Edge Programming
PPTX
OSI Model
PPTX
G rpc talk with intel (3)
PPT
Exploration network chapter5
Openstack platform -Red Hat Pizza and technology event - Israel
OSI MODEL
IP_Subnet training.pptx
Network plus 001 licked of OSI Model 1.ppsx
P4 to OpenDataPlane Compiler - BUD17-304
Day+3+Slides+-+OSI+Model+&+TCP-IP+Suite.pdf
Osi model vs TCP/IP
Network research
The seven layers associated with ISO OSI Model .pptx
SAVI-IoT: A Self-managing Containerized IoT Platform
Open daylight openstack_meetup_20140218
SDN and metrics from the SDOs
NFV evolution towards 5G
1-03-OSI.ppt
Fundamentals of Ethernet /IP Technology
Introduction of computer network
CPaaS.io Y1 Review Meeting - Cloud & Edge Programming
OSI Model
G rpc talk with intel (3)
Exploration network chapter5
Ad

More from plarsen67 (16)

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

Recently uploaded (20)

PPTX
Cloud computing and distributed systems.
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PPTX
Programs and apps: productivity, graphics, security and other tools
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
Cloud computing and distributed systems.
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Per capita expenditure prediction using model stacking based on satellite ima...
Unlocking AI with Model Context Protocol (MCP)
Empathic Computing: Creating Shared Understanding
Digital-Transformation-Roadmap-for-Companies.pptx
Approach and Philosophy of On baking technology
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
sap open course for s4hana steps from ECC to s4
Network Security Unit 5.pdf for BCA BBA.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Programs and apps: productivity, graphics, security and other tools
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Advanced methodologies resolving dimensionality complications for autism neur...
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Spectral efficient network and resource selection model in 5G networks
Mobile App Security Testing_ A Comprehensive Guide.pdf

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.