LINUX ADMINISTRATION www.educlash.com.

Slides:



Advertisements
Similar presentations
DHCP -Ameeta and Haripriya -cmsc 691x. DHCP ► Dynamic Host Configuration Protocol ► It controls vital networking parameters of hosts with the help of.
Advertisements

Chapter 21 Exercises 1. A router forwards packets between networks. (Given a destination host address, it must be able to figure out which network that.
Operating Systems Concepts 1/e Ruth Watson Chapter 11 Chapter 11 Network Maintenance Ruth Watson.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Basic TCP/IP Networking
Windows 2008 Overview Lecture 1. Windows Networking Evolution Windows for Workgroups – peer-to-peer networking built into the OS Windows NT – separate.
Network Addressing Issues in /err_con/crc.htm.
SUSE Linux Enterprise Server Administration (Course 3037) Chapter 7 Connect the SUSE Linux Enterprise Server to the Network.
DYNAMIC HOST CONFIGURATION PROTOCOL (DHCP) BY: SAMHITA KAW IS 373.
Chapter 12: Configuring Networks The Complete Guide to Linux System Administration.
RSC Part II: Network Layer 3. IP addressing Redes y Servicios de Comunicaciones Universidad Carlos III de Madrid These slides are, mainly, part of the.
1 Chapter 24 TCP/IP. 2 An Internet According to TCP/IP.
IP Addressing Basics LAB 8.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
DHCP: Dynamic Host Configuration Protocol
Managing Network connections. Network Cabling Ethernet Topology Bus topology – Connects each node in a line – Has no central connection point Star topology.
DHC P Dynamic Host Configuration Protocol
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
1 Network File Sharing. 2 Module - Network File Sharing ♦ Overview This module focuses on configuring Network File System (NFS) for servers and clients.
Transport Layer 3-1 Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012  CPSC.
CIS 3360: Internet: Network Layer Introduction Cliff Zou Spring 2012.
Linux+ Guide to Linux Certification Chapter Fifteen Linux Networking.
Links and LANs Link between two computers via cross cable The most simple way to connect two hosts is to link the two hosts with a cross cable.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
Chapter 4, slide: 1 CS 372 – introduction to computer networks* Friday July 23, 2010 Announcements: r Midterms are graded. r Lab 4 is posted. Acknowledgement:
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 4: Addressing in an Enterprise Network Introducing Routing and Switching in the.
1 TCP/IP Networking. 2 TCP/IP TCP/IP is the networking protocol suite most commonly used with UNIX, Windows, NT and most other OS’s. TCP/IP defines a.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
1 COP 4343 Unix System Administration Unit 11: Networking – basic concepts: IP, TCP, UDP, DHCP – devices: setup, status.
2010 paro, bhutan IP Basics IP/ISP Services Workshop July, 2010 Paro, Bhutan.
Networking in Linux. ♦ Introduction A computer network is defined as a number of systems that are connected to each other and exchange information across.
1 TCP/IP Networking Yue Cui 06/13/02. 2 Presentation Outline Introduction Packets and Encapsulation IP Addresses, Routing ARP, DHCP and PPP Security Issue.
How to connect to the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
Linux Operations and Administration Chapter Eight Network Communications.
Hour 5 Subnetting 1. you will be able to Explain how subnets and supernets are used Explain the benefits of subnetting Develop a subnet mask that meets.
Linux Operations and Administration
CPMT 1449 Computer Networking Technology – Lesson 3
(ITI310) By Eng. BASSEM ALSAID SESSIONS 9: Dynamic Host Configuration Protocol (DHCP)
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
CEG 2400 FALL 2012 Chapter 9 In-Depth TCP/IP Networking 1.
ITE PC v4.0 Chapter 8 1 © 2007 Cisco Systems, Inc. All rights reserved.Cisco Public  Networks are systems that are formed by links.  People use different.
Chapter 8: IP Addressing
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
Chapter 4: server services. The Complete Guide to Linux System Administration2 Objectives Configure network interfaces using command- line and graphical.
Ip addressing & subnetting
Created by : Asst. Prof. Ashish Shah, J. M
LESSON Networking Fundamentals Understand IPv4.
Scaling the Network: Subnetting and Other Protocols
Networking for Home and Small Businesses – Chapter 5
4.3 Network Layer Logical Addressing
Chapter 12: Configuring Networks
Windows 2008 Overview Lecture 1.
Internetworking JEOPARDY Discovery Module 5 K. Martin.
Networking for Home and Small Businesses – Chapter 5
Module 8: Networking Services
DHCP server & Client Objectives Contents
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
NET302 Lecture#3 IPV4 Addressing Asma AlOsaimi.
Chapter 9 Objectives Understand TCP/IP Protocol.
Networking for Home and Small Businesses – Chapter 5
Design Unit 26 Design a small or home office network
Lecture#3 IPV4 Addressing Net 302- Asma AlOsaimi.
Ct1304 Lecture#4 IPV4 Addressing Asma AlOsaimi.
Scaling the Network: Subnetting and Other Protocols
Allocating IP Addressing by Using Dynamic Host Configuration Protocol
Module 12 Network Configuration
Ip addressing & subnetting
Created By : Asst. Prof. Ashish Shah, J. M
Lecture#3-IPV4 Addressing
Presentation transcript:

LINUX ADMINISTRATION www.educlash.com

UNIT 2 CHAPTER-2 & 3 2 www.educlash.com

CHAPTER 2 : TCP/IP NETWORKING TCP/IP Explained TCP/IP is an acronym for Transmission Control Protocol/Internet Protocol It is able to send and receive information on the network, each device connected to it must have an address. Address consists of two parts the address of the network to which the device is connected the address of the device itself — its node or host address www.educlash.com

Understanding Network Classes All addresses must have two parts, the network part and the node, or host part NETWORK CLASSES AND THEIR IP NUMBER RANGE www.educlash.com

Setting Up a Network Interface Card (NIC) ifconfig command will be shown your current network interface configuration. Configuring the loopback address (lo) Add the device by using the ifconfig command ifconfig lo 127.0.0.1 You then need to use the route command to give the system a little more information about this interface route add -net 127.0.0.0 www.educlash.com

Configuring the network card  ifconfig eth0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.1.255 A file is created in /etc/sysconfig/network-scripts called ifcfg- eth0 Configuring an internal network To add additional computers to your network you need to repeat network device configuration on the other computers you want to add. Three files need to be modified. /etc/hosts.conf /etc/hosts /etc /resolv.conf /etc/hosts.conf file contains name Resolver Ipaddress hostnames /etc/resolv.conf. file provides nameservers employed to resolve host names Servername ipaddress 6

Understanding Subnetting A subnet is a logical grouping of connected network devices. Interpreting IP numbers IP numbers can have three possible meanings. 192.168.3.0 is a Class C network number 192.168.3.42 is a host address on this network 192.168.3.255 is the network broadcast address Classless InterDomain Routing (CIDR) CIDR was invented several years ago to keep the Internet from running out of IP addresses. The class system of allocating IP addresses can be very wasteful. Anyone who could reasonably show a need for more than 254 host addresses was given a Class B address block of 65,533 host addresses. 7 www.educlash.com

solution on scarcity of ipaddress on internet In 1992 as a scheme called supernetting. Was the solution on scarcity of ipaddress on internet Under CIDR, the subnet mask notation is reduced to simplified shorthand. Instead of spelling out the bits of the subnet mask the number of 1s bits that start the mask are simply listed  192.60.128.0, Subnet Mask 255.255.252.0 the network address is written simply as:  192.60.128.0/22 8 www.educlash.com

NETWORK INTERFACE CONFIGURATION NETWORK ROUTING CONFIGURATION Gateways and Routers This router that is connected to each network is called its gateway. All current Linux distributions have IP Forwarding compiled as a module, so all you need to do is make sure the module is loaded. cat /proc/sys/net.ipv4/ip_forwrd. 1 is returned  it is enabled 0 is returned  it is not enabled To enable IP forwarding echo ‚0‛ > /proc/sys/net/ipv4/ip_forward NETWORK INTERFACE CONFIGURATION Interface IP Address Netmask NETWORK ROUTING CONFIGURATION Destination Gateway Mask Interface www.educlash.com

Configuring Dynamic Host Configuration Protocol (DHCP) You can have an IP address and the other information automatically assigned to the hosts connected to your network. By using DHCP, you can ensure that every host on your network has a valid IP address, subnet mask, broadcast address, and gateway, with minimum effort on your part. You should have a DHCP server configured for each of your subnets. Each host on the subnet needs to be configured as a DHCP client. www.educlash.com

Setting up the server file dhcp-2.0pl5-1.i386.rpm rpm command from a command prompt to install it. DHCP server is controlled by the text file /etc/dhcpd.conf. start it by running the command dhcpcd. Each of your clients will now receive its IP address, subnet mask, gateway, and broadcast address from your dhcp server. place it in the /etc/rc.local file. Now whenever the system starts, this daemon will be loaded. www.educlash.com

CHAPTER 3 : THE NETWORK FILE SYSTEM NFS, the Network File System, is the most common method for providing file sharing services on Linux and Unix networks. Understanding NFS NFS uses a standard client/server architecture The server portion consists of the physical disks containing shared file systems It is visible to and available for use by client systems on the network www.educlash.com

www.educlash.com

NFS advantages NFS disadvantages NFS provides is centralized administration It is much easier Easy to back up a file system stored on a server NFS disadvantages Poor performance and security NFS is sensitive to network congestion constantly being probed and attacked running slowly because disk reads and writes take longer www.educlash.com

Server side configuration Configuring an NFS Server Configuring an NFS Server And client Server side configuration Server side configuration Edit /etc/exports file 1. /home/redhat 192.168.1.0/255.255.255.0(rw) 2. Service nfs restart Client side configuration Mount –t nfs siddhesh:/home/redhat/ /root/Desktop/sharingTest Cd /root/Desktop/sharingTest www.educlash.com

Nfs files rpcinfo’s output shows the RPC program‘s details exportfs command enables you to manipulate the list of available exports. showmount command queries the mount daemon, mountd, about the status of the NFS server rpcinfo -p to make sure the necessary daemons are running nfsstat command which prints the kernel‘s NFS statistics 16 www.educlash.com

THANK YOU 17 www.educlash.com