SlideShare a Scribd company logo
Linux Networking and Security Chapter 2
Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux networking using scripts and text-mode utilities Configure UNIX networking using popular graphic utilities Effectively use networking utilities to test a network and troubleshoot network problems Understand the IPX and AppleTalk protocols
Understanding Networked Devices in Linux Linux design is based on the concept of the computer as a collection of devices Devices are accessed via the /dev directory A device driver is software that knows how to communicate with the device Linux networking devices differ from most other devices in several ways: They are installed in the Linux kernel Networking in Linux is handled by the kernel Can refer to software as well as hardware
Understanding Networked Devices in Linux
Understanding Networked Devices in Linux Point-to-Point Protocol (PPP) Allows a host to tie directly to a single computer Commonly used to connect a modem to an ISP Serial Line Internet Protocol (SLIP) Transmits data over a serial port Used with serial modems to connect to ISPs Integrated Services Digital Network (ISDN) A special type of telephone service ISDN is less favored than DSL and cable modems
Preparing to Configure Networking
Preparing to Configure Networking To create a networking device, add the appropriate module to the Linux kernel The module will locate the networking card and create the appropriate device name Networking device kernel modules are normally found in the /lib/modules directory Use the modprobe command to load the networking device Use the lsmod command to list the modules loaded in your kernel at that point
Configuring Networking with Command-Line Utilities Use the ifconfig command to set up and check status of networking interfaces Parameters: network interface and IP address Without parameters: status of all configured network interfaces on the system Use the route command to view or configure routing table within the Linux kernel Without parameters: displays the kernel routing table
Configuring Networking with Command-Line Utilities
Configuring Networking with Command-Line Utilities Use the arp command to display the arp cache, a mapping of IP addresses to hardware addresses Used mainly for troubleshooting network connectivity Also allows the addition and deletion of entries in the arp table
Configuring Networking with Command-Line Utilities
System Networking Scripts Linux vendors have provided numerous scripts and configuration files to make complex networking easier to manage Scripts follow the model used for most system services on UNIX-based computers Scripts are found in the /etc/sysconfig/network-scripts subdirectory Configuration files are found in the /etc/sysconfig/networking subdirectory
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Configuring Networking Using Graphical Tools
Using Basic Networking Utilities The Telnet Remote Login Utility A terminal-emulator program that allows remote login as if present at the computer itself Use with caution due to security risks To use Telnet, there must be a Telnet client and a Telnet server The Telnet command requires the host name or IP address to which the connection will be made
Using Basic Networking Utilities
Using Basic Networking Utilities Using ping for System Testing Uses the ICMP echo command to check the status of a remote host It is common to use a series of ping commands to test networking and determine where a problem occurs The ping command has numerous command-line options that allow the setting of parameters such as the number of packets to send before automatically stopping, the time to wait between packets and the size of the packets
Using Basic Networking Utilities Using traceroute to Examine Routing Patterns Tracks each router between you and a destination host, showing where the packets are going and how long each hop takes  Traceroute relies on the ttl field and ICMP “packet timed out” messages to move step-by-step through the Internet to reach the host specified Command-line options include setting the maximum number of routers to try, limiting the time to wait for each response and indicating that packets cannot be fragmented
Troubleshooting Network Connections
Other Networking Protocols IPX and Linux Internetwork Packet Exchange (IPX) was designed by Novell, Inc. Was replaced by IP when the Internet became more popular in the early 1990’s Apple Networking and Linux AppleTalk is the networking protocol used by Macintosh computers On Linux, install the Netatalk package to allow Macintosh computers to recognize Linux
Chapter Summary Linux networking devices are created directly in the Linux kernel when a kernel module supporting a type of networking is loaded Many types of networking are supported in Linux, though the most widely used for standard LANs is Ethernet The modprobe command is used to add a networking module to the Linux kernel and the currently-loaded kernel modules are listed using the lsmod command The ifconfig command sets up a networking interface in the Linux kernel of displays the current setup for all configured interfaces
Chapter Summary The route command establishes entries in the kernel IP routing table or displays the current routing table entries The arp command lets you view the hardware address entries in the system’s ARP cache A number of networking scripts are used to streamline the configuration of Linux networking, making it more flexible and robust Networking configuration parameters are stored in files within the /etc/sysconfig/network-scripts directory
Chapter Summary IP aliasing occurs when multiple IP addresses are assigned to the same physical network interface  Red Hat Linux includes a powerful Network Administration Tool; Caldera uses the Webmin browser-based interface to configure networking; SuSE uses YaST Enabling IP forwarding allows Linux to move packets between multiple network interfaces on the same host, effectively permitting a system to act as a router The telnet utility lets you connect to a remote host as if you were sitting at that host
Chapter Summary Ping is a utility that uses the ICMP echo command to check whether a remote host is accessible and alive The traceroute command displays each of the intervening routers between your host and another host you wish to contact IPX is a useful protocol that originated with Novell’s NetWare operating system, but is not widely used AppleTalk is supported in Linux via the Netatalk package, which you can add to Linux so that a Macintosh computer can see and access Linux resources

More Related Content

PPT
Session 2 Tp 2
PPTX
Presentation on networking
PPTX
IP tables and Filtering
PDF
Module 1 slides
PPTX
Troubleshooting Network and Network Utilities
PPTX
Networking Project(FINAL)
PPTX
Network Packet Analysis with Wireshark
PPTX
Network testing and debugging
Session 2 Tp 2
Presentation on networking
IP tables and Filtering
Module 1 slides
Troubleshooting Network and Network Utilities
Networking Project(FINAL)
Network Packet Analysis with Wireshark
Network testing and debugging

What's hot (20)

PPT
ccna presentation 2013
PDF
Zdalna komunikacja sieciowa - zagadnienia sieciowe
PDF
Step by Step guide to set up a simple network in Packet Tracer
PPTX
Kubernetes on open stack
PPT
"Internet Protocol Suite" prepared by Szymon M. from Poland
PDF
Iptables presentation
PPT
CCNA Access Lists
PDF
Cisco project ideas
PPTX
Basic to advance protocols
PPTX
Chapter 6 - Networking
PPT
CCNA TCP/IP
PPT
02 protocols and tcp-ip
PPTX
CapAnalysis - Deep Packet Inspection
DOC
Firewall
PPTX
CCNA ppt Day 1
PPTX
Building day 2 upload Building the Internet of Things with Thingsquare and ...
PPTX
security problems in the tcp/ip protocol suite
PPT
Basic network training1
PPTX
CCNA ALL IN ONE
ccna presentation 2013
Zdalna komunikacja sieciowa - zagadnienia sieciowe
Step by Step guide to set up a simple network in Packet Tracer
Kubernetes on open stack
"Internet Protocol Suite" prepared by Szymon M. from Poland
Iptables presentation
CCNA Access Lists
Cisco project ideas
Basic to advance protocols
Chapter 6 - Networking
CCNA TCP/IP
02 protocols and tcp-ip
CapAnalysis - Deep Packet Inspection
Firewall
CCNA ppt Day 1
Building day 2 upload Building the Internet of Things with Thingsquare and ...
security problems in the tcp/ip protocol suite
Basic network training1
CCNA ALL IN ONE
Ad

Viewers also liked (18)

PPTX
oracle linux administration | oracle linux training - oracle trainings
PPTX
Chiropractic Whiplash
PDF
Webinar: Linux administration : Past, Present and Is the Future
PDF
Linux introduction (eng)
PDF
Getting Started With Linux Administration
PPTX
Linux administration
PPT
BITS: Introduction to linux, distributions and installation
PPT
Linux commands and file structure
PPTX
Knowledge engineering
PDF
Linux System Administration Crash Course
PPT
Linux administration classes in mumbai
PPT
Knowledge-based Systems
PPT
Artificial Intelligence: Knowledge Engineering
PDF
tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3
PPTX
Knowledge based systems
PPT
Linux Administration
PPTX
Artificial Intelligence
PPTX
Artificial Intelligence Presentation
oracle linux administration | oracle linux training - oracle trainings
Chiropractic Whiplash
Webinar: Linux administration : Past, Present and Is the Future
Linux introduction (eng)
Getting Started With Linux Administration
Linux administration
BITS: Introduction to linux, distributions and installation
Linux commands and file structure
Knowledge engineering
Linux System Administration Crash Course
Linux administration classes in mumbai
Knowledge-based Systems
Artificial Intelligence: Knowledge Engineering
tybsc it sem 5 Linux administration notes of unit 1,2,3,4,5,6 version 3
Knowledge based systems
Linux Administration
Artificial Intelligence
Artificial Intelligence Presentation
Ad

Similar to Chapter 02 (20)

PPT
Chapter 11
PDF
Computer networks - CBSE New Syllabus (083) Class - XII
PPTX
PPTX
98 366 mva slides lesson 5
PPTX
Internet Internet Protocols.pptx( technology)
PDF
COC to-manage-and-monitor-the-network.pdf
PPTX
Configuring-Computer-Systems-and-Networks.pptx
PDF
Network Security Fundamentals Final.pptx
PPT
Linux Based Advanced Routing with Firewall and Traffic Control
PDF
Basic Introduction to Technology (networking).pdf
PDF
1)Please explain the commands ifconfig, ping, traceroute, netstat, d.pdf
PPT
CCNA FUNDAMENTAL
DOCX
Networking Fundamentals
PPTX
BASIC TO ADVANCED NETWORKING TUTORIALS
PDF
KubernetesNetworkingAndImplementation-Lecture.pdf
PDF
Networking
PPTX
Know the advantages and disadvantages of peer-to-peer network and a server-ba...
PPT
Lecture 2 -_understanding_networks_with_presenter_notes
PPTX
Understanding_Network_Devices.pptx
PPTX
Commands.pptx
Chapter 11
Computer networks - CBSE New Syllabus (083) Class - XII
98 366 mva slides lesson 5
Internet Internet Protocols.pptx( technology)
COC to-manage-and-monitor-the-network.pdf
Configuring-Computer-Systems-and-Networks.pptx
Network Security Fundamentals Final.pptx
Linux Based Advanced Routing with Firewall and Traffic Control
Basic Introduction to Technology (networking).pdf
1)Please explain the commands ifconfig, ping, traceroute, netstat, d.pdf
CCNA FUNDAMENTAL
Networking Fundamentals
BASIC TO ADVANCED NETWORKING TUTORIALS
KubernetesNetworkingAndImplementation-Lecture.pdf
Networking
Know the advantages and disadvantages of peer-to-peer network and a server-ba...
Lecture 2 -_understanding_networks_with_presenter_notes
Understanding_Network_Devices.pptx
Commands.pptx

More from cclay3 (9)

PPT
Chapter 10
PPT
Chapter 09
PPT
Chapter 08
PPT
Chapter 06
PPT
Chapter 05
PPT
Chapter 04
PPT
Chapter 03
PPT
Chapter 12
PPT
Chapter 01
Chapter 10
Chapter 09
Chapter 08
Chapter 06
Chapter 05
Chapter 04
Chapter 03
Chapter 12
Chapter 01

Recently uploaded (20)

PDF
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
PDF
Module 4: Burden of Disease Tutorial Slides S2 2025
PDF
O7-L3 Supply Chain Operations - ICLT Program
PDF
Basic Mud Logging Guide for educational purpose
PPTX
Final Presentation General Medicine 03-08-2024.pptx
PPTX
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PPTX
Institutional Correction lecture only . . .
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PDF
RMMM.pdf make it easy to upload and study
PPTX
Cell Structure & Organelles in detailed.
PPTX
Microbial diseases, their pathogenesis and prophylaxis
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
TR - Agricultural Crops Production NC III.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
Pharmacology of Heart Failure /Pharmacotherapy of CHF
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PDF
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf
ANTIBIOTICS.pptx.pdf………………… xxxxxxxxxxxxx
Module 4: Burden of Disease Tutorial Slides S2 2025
O7-L3 Supply Chain Operations - ICLT Program
Basic Mud Logging Guide for educational purpose
Final Presentation General Medicine 03-08-2024.pptx
BOWEL ELIMINATION FACTORS AFFECTING AND TYPES
Supply Chain Operations Speaking Notes -ICLT Program
Institutional Correction lecture only . . .
Week 4 Term 3 Study Techniques revisited.pptx
RMMM.pdf make it easy to upload and study
Cell Structure & Organelles in detailed.
Microbial diseases, their pathogenesis and prophylaxis
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
TR - Agricultural Crops Production NC III.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
Abdominal Access Techniques with Prof. Dr. R K Mishra
Pharmacology of Heart Failure /Pharmacotherapy of CHF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
The Lost Whites of Pakistan by Jahanzaib Mughal.pdf

Chapter 02

  • 1. Linux Networking and Security Chapter 2
  • 2. Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux networking using scripts and text-mode utilities Configure UNIX networking using popular graphic utilities Effectively use networking utilities to test a network and troubleshoot network problems Understand the IPX and AppleTalk protocols
  • 3. Understanding Networked Devices in Linux Linux design is based on the concept of the computer as a collection of devices Devices are accessed via the /dev directory A device driver is software that knows how to communicate with the device Linux networking devices differ from most other devices in several ways: They are installed in the Linux kernel Networking in Linux is handled by the kernel Can refer to software as well as hardware
  • 5. Understanding Networked Devices in Linux Point-to-Point Protocol (PPP) Allows a host to tie directly to a single computer Commonly used to connect a modem to an ISP Serial Line Internet Protocol (SLIP) Transmits data over a serial port Used with serial modems to connect to ISPs Integrated Services Digital Network (ISDN) A special type of telephone service ISDN is less favored than DSL and cable modems
  • 7. Preparing to Configure Networking To create a networking device, add the appropriate module to the Linux kernel The module will locate the networking card and create the appropriate device name Networking device kernel modules are normally found in the /lib/modules directory Use the modprobe command to load the networking device Use the lsmod command to list the modules loaded in your kernel at that point
  • 8. Configuring Networking with Command-Line Utilities Use the ifconfig command to set up and check status of networking interfaces Parameters: network interface and IP address Without parameters: status of all configured network interfaces on the system Use the route command to view or configure routing table within the Linux kernel Without parameters: displays the kernel routing table
  • 9. Configuring Networking with Command-Line Utilities
  • 10. Configuring Networking with Command-Line Utilities Use the arp command to display the arp cache, a mapping of IP addresses to hardware addresses Used mainly for troubleshooting network connectivity Also allows the addition and deletion of entries in the arp table
  • 11. Configuring Networking with Command-Line Utilities
  • 12. System Networking Scripts Linux vendors have provided numerous scripts and configuration files to make complex networking easier to manage Scripts follow the model used for most system services on UNIX-based computers Scripts are found in the /etc/sysconfig/network-scripts subdirectory Configuration files are found in the /etc/sysconfig/networking subdirectory
  • 13. Configuring Networking Using Graphical Tools
  • 14. Configuring Networking Using Graphical Tools
  • 15. Configuring Networking Using Graphical Tools
  • 16. Configuring Networking Using Graphical Tools
  • 17. Configuring Networking Using Graphical Tools
  • 18. Configuring Networking Using Graphical Tools
  • 19. Configuring Networking Using Graphical Tools
  • 20. Configuring Networking Using Graphical Tools
  • 21. Configuring Networking Using Graphical Tools
  • 22. Configuring Networking Using Graphical Tools
  • 23. Configuring Networking Using Graphical Tools
  • 24. Using Basic Networking Utilities The Telnet Remote Login Utility A terminal-emulator program that allows remote login as if present at the computer itself Use with caution due to security risks To use Telnet, there must be a Telnet client and a Telnet server The Telnet command requires the host name or IP address to which the connection will be made
  • 26. Using Basic Networking Utilities Using ping for System Testing Uses the ICMP echo command to check the status of a remote host It is common to use a series of ping commands to test networking and determine where a problem occurs The ping command has numerous command-line options that allow the setting of parameters such as the number of packets to send before automatically stopping, the time to wait between packets and the size of the packets
  • 27. Using Basic Networking Utilities Using traceroute to Examine Routing Patterns Tracks each router between you and a destination host, showing where the packets are going and how long each hop takes Traceroute relies on the ttl field and ICMP “packet timed out” messages to move step-by-step through the Internet to reach the host specified Command-line options include setting the maximum number of routers to try, limiting the time to wait for each response and indicating that packets cannot be fragmented
  • 29. Other Networking Protocols IPX and Linux Internetwork Packet Exchange (IPX) was designed by Novell, Inc. Was replaced by IP when the Internet became more popular in the early 1990’s Apple Networking and Linux AppleTalk is the networking protocol used by Macintosh computers On Linux, install the Netatalk package to allow Macintosh computers to recognize Linux
  • 30. Chapter Summary Linux networking devices are created directly in the Linux kernel when a kernel module supporting a type of networking is loaded Many types of networking are supported in Linux, though the most widely used for standard LANs is Ethernet The modprobe command is used to add a networking module to the Linux kernel and the currently-loaded kernel modules are listed using the lsmod command The ifconfig command sets up a networking interface in the Linux kernel of displays the current setup for all configured interfaces
  • 31. Chapter Summary The route command establishes entries in the kernel IP routing table or displays the current routing table entries The arp command lets you view the hardware address entries in the system’s ARP cache A number of networking scripts are used to streamline the configuration of Linux networking, making it more flexible and robust Networking configuration parameters are stored in files within the /etc/sysconfig/network-scripts directory
  • 32. Chapter Summary IP aliasing occurs when multiple IP addresses are assigned to the same physical network interface Red Hat Linux includes a powerful Network Administration Tool; Caldera uses the Webmin browser-based interface to configure networking; SuSE uses YaST Enabling IP forwarding allows Linux to move packets between multiple network interfaces on the same host, effectively permitting a system to act as a router The telnet utility lets you connect to a remote host as if you were sitting at that host
  • 33. Chapter Summary Ping is a utility that uses the ICMP echo command to check whether a remote host is accessible and alive The traceroute command displays each of the intervening routers between your host and another host you wish to contact IPX is a useful protocol that originated with Novell’s NetWare operating system, but is not widely used AppleTalk is supported in Linux via the Netatalk package, which you can add to Linux so that a Macintosh computer can see and access Linux resources