1 Linux Networking and Security Chapter 2. 2 Configuring Basic Networking Describe how networking devices differ from other Linux devices Configure Linux.

Slides:



Advertisements
Similar presentations
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Advertisements

CCNA2 Module 4. Discovering and Connecting to Neighbors Enable and disable CDP Use the show cdp neighbors command Determine which neighboring devices.
SYSTEM ADMINISTRATION Chapter 19
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
Chapter 13: Troubleshooting network connectivity Unit objectives Identify TCP/IP troubleshooting tools Discuss the Telnet utility and its functions Discuss.
MCDST : Supporting Users and Troubleshooting a Microsoft Windows XP Operating System Chapter 13: Troubleshoot TCP/IP.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Semester 4 - Chapter 4 – PPP WAN connections are controlled by protocols In a LAN environment, in order to move data between any two nodes or routers two.
Chapter 8 Administering TCP/IP.
IP Routing: an Introduction. Quiz
Common network diagnostic and configuration utilities A ‘toolkit’ for network users and managers when ‘troubleshooting’ is needed on your network.
Guide to Linux Installation and Administration, 2e1 Chapter 12 Printing in Linux.
Networking Protocols and the OSI Model. OSI Model Overview The Open Systems Interconnection (OSI) reference model is an industry standard framework that.
TCP/IP Tools Lesson 5. Objectives Skills/ConceptsObjective Domain Description Objective Domain Number Using basic TCP/IP commands Understanding TCP/IP3.6.
Click to edit Master subtitle style Chapter 17: Troubleshooting Tools Instructor:
1 TCP/IP architecture A set of protocols allowing communication across diverse networks Out of ARPANET Emphasize on robustness regarding to failure Emphasize.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 10: Remote Access.
Chapter Overview TCP/IP Overview Configuring TCP/IP Clients
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
Chapter 12: Configuring Networks The Complete Guide to Linux System Administration.
11 NETWORK PROTOCOLS AND SERVICES Chapter 10. Chapter 10: Network Protocols and Services2 NETWORK PROTOCOLS AND SERVICES  Identify how computers on TCP/IP.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Network Administration
Managing Network connections. Network Cabling Ethernet Topology Bus topology – Connects each node in a line – Has no central connection point Star topology.
Linux+ Guide to Linux Certification, Third Edition
Hands-On Microsoft Windows Server 2003 Networking Chapter Three TCP/IP Architecture.
Connecting to Network. ♦ Overview ► A network connection is required to communicate with other computers when they are in a network. Network interface.
NetworkProtocols. Objectives Identify characteristics of TCP/IP, IPX/SPX, NetBIOS, and AppleTalk Understand position of network protocols in OSI Model.
Exploring the Packet Delivery Process Chapter
1 IP Forwarding Relates to Lab 3. Covers the principles of end-to-end datagram delivery in IP networks.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 19 PCs on the Internet.
File Recovery and Forensics
Institute of Technology Sligo - Dept of Computing Semester 2 Chapter 10 IP Addressing.
Chapter 7 Low-Level Protocols
SUSE Linux Enterprise Desktop Administration Chapter 12 Administer Printing.
1 Chapter Overview Routing Principles Building Routing Tables.
IP Forwarding.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
Linux+ Guide to Linux Certification Chapter Fifteen Linux Networking.
70-291: MCSE Guide to Managing a Microsoft Windows Server 2003 Network Chapter 2: Configuring Network Protocols.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Hands-On Microsoft Windows Server Introduction to Remote Access Routing and Remote Access Services (RRAS) –Enable routing and remote access through.
Day 14 Introduction to Networking. Unix Networking Unix is very frequently used as a server. –Server is a machine which “serves” some function Web Server.
Hour 7 The Application Layer 1. What Is the Application Layer? The Application layer is the top layer in TCP/IP's protocol suite Some of the components.
Linux Networking and Security
1 COP 4343 Unix System Administration Unit 11: Networking – basic concepts: IP, TCP, UDP, DHCP – devices: setup, status.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Static Routing Routing Protocols and Concepts – Chapter 2.
Jose Luis Flores / Amel Walkinshaw
Monitoring Troubleshooting TCP/IP Chapter 3. Objectives for this Chapter Troubleshoot TCP/IP addressing Diagnose and resolve issues related to incorrect.
Networking Material taken mainly from HowStuffWorks.com.
1 Kyung Hee University Chapter 6 Delivery Forwarding, and Routing of IP Packets.
Linux Operations and Administration Chapter Eight Network Communications.
Semester 2v2 Chapter 8: IP Addressing. Describe how IP addressing is important in routing. IP addresses are specified in 32-bit dotted-decimal format.
ERICSON BRANDON M. BASCUG Alternate - REGIONAL NETWORK ADMINISTRATOR HOW TO TROUBLESHOOT TCP/IP CONNECTIVITY.
17 Establishing Dial-up Connection to the Internet Using Windows 9x 1.Install and configure the modem 2.Configure Dial-Up Adapter 3.Configure Dial-Up Networking.
Linux Operations and Administration
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicITE I Chapter 6 1 Router Initialization steps.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
CHAPTER 3 Router CLI Command Line Interface. Router User Interface User and privileged modes User mode --Typical tasks include those that check the router.
Chapter 7: Using Network Clients The Complete Guide To Linux System Administration.
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Chapter 12: Configuring Networks
Chapter Objectives In this chapter, you will learn:
Instructor Materials Chapter 6: Network Layer
Chapter 7: Using Network Clients
CompTIA Network+ N Authorized Cert Guide
Network Tools and Utilities
Introduction to Networking
Troubleshooting IP Communications
Chapter 6: Network Layer
Presentation transcript:

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

4 Understanding Networked Devices in Linux

5 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

6 Preparing to Configure Networking

7 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 Use ssh instead

25 Using Basic Networking Utilities

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

28 Troubleshooting Network Connections

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