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.

Slides:



Advertisements
Similar presentations
Static Routing Exercise AFNOG 2003/ Track 2 # 1 Static Routing Exercise u Unix network interface configuration u Cisco network interface configuration.
Advertisements

Static Routing Exercise. What will the exercise involve?  Unix network interface configuration  Cisco network interface configuration  Static routes.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 25 Introduction to Computer Networks.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
11 TROUBLESHOOTING Chapter 12. Chapter 12: TROUBLESHOOTING2 OVERVIEW  Determine whether a network communications problem is related to TCP/IP.  Understand.
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
11- IP Network Layer4-1. Network Layer4-2 The Internet Network layer forwarding table Host, router network layer functions: Routing protocols path selection.
Chapter 8 Administering TCP/IP.
Basic TCP/IP Networking
Introduction to TCP/IP
TCP/IP networking1-1 TCP/IP networking  TCP/IP m A networking protocol suite Use several protocols, main ones are tcp and ip. IP stands for Internet Protocol.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 18 Host Configuration: DHCP.
1 Version 3.0 Module 9 TCP/IP Protocol and IP Addressing.
Chapter 8: Configuring Network Connectivity. Installing Network Adapters Network adapter cards connect a computer to a network. Installation –Plug and.
Shivkumar Kalyanaraman Rensselaer Polytechnic Institute 1 Internet Protocol (IP): Addressing and Forwarding Shivkumar Kalyanaraman Rensselaer Polytechnic.
Chapter Overview TCP/IP Protocols IP Addressing.
1 Chapter Overview Subnet. What is a subnet When you break a network into a few smaller networks, you have created several subnets Like IP address where.
Network Layer (Part IV). Overview A router is a type of internetworking device that passes data packets between networks based on Layer 3 addresses. A.
IST 228\Ch3\IP Addressing1 TCP/IP and DoD Model (TCP/IP Model)
1 Dynamic Host Configuration Protocol (DHCP). 2 Dynamic Assignment of IP addresses Dynamic assignment of IP addresses is desirable for several reasons:
Chapter Eleven An Introduction to TCP/IP. Objectives To compare TCP/IP’s layered structure to OSI To review the structure of an IP address To look at.
Networking CSCI N321 – System and Network Administration Copyright © 2000, 2012 by Scott Orr and the Trustees of Indiana University.
TCP/IP Networking sections 13.2,3,4,5 Road map: TCP, provide connection-oriented service IP, route data packets from one machine to another (RFC 791) ICMP,
Chapter Twelve Using TCP/IP on the Network. Objectives Here, we’ll examine how to configure TCP/IP. The concepts of subnetting will be examined in detail.
Day15 IP Space/Setup. IP Suite of protocols –TCP –UDP –ICMP –GRE… Gives us many benefits –Routing of packets over internet –Fragmentation/Reassembly of.
1 UNIX Networking. 2 Section Overview TCP/IP Basics TCP/IP Configuration TCP/IP Network Testing Dynamic Host Config Protocol (DHCP) Wireless Networking.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
1 Dynamic Host Configuration Protocol (DHCP) Relates to Lab 7. Module about dynamic assignment of IP addresses with DHCP.
Connecting Networks © 2004 Cisco Systems, Inc. All rights reserved. Exploring How IP Address Protocols Work INTRO v2.0—4-1.
ITS CSS Desktop Support Introduction to networking concepts Last updated: 9/30/2008 by pxahelp.
Cisco 1 - Networking Basics Perrine. J Page 19/17/2015 Chapter 9 What transport layer protocol does TFTP use? 1.TCP 2.IP 3.UDP 4.CFTP.
A+ Guide to Managing and Maintaining Your PC Fifth Edition Chapter 19 PCs on the Internet.
Examining TCP/IP.
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.
Linux+ Guide to Linux Certification Chapter Fifteen Linux Networking.
Linux+ Guide to Linux Certification, Second Edition Chapter 14 Network Configuration.
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 COP 4343 Unix System Administration Unit 11: Networking – basic concepts: IP, TCP, UDP, DHCP – devices: setup, status.
1 Chapter 8 – TCP/IP Fundamentals TCP/IP Protocols IP Addressing.
Instructor & Todd Lammle
How to connect to the Internet 1998/12/09 KEIO University, JAPAN Mikiyo
Linux Operations and Administration Chapter Eight Network Communications.
ERICSON BRANDON M. BASCUG Alternate - REGIONAL NETWORK ADMINISTRATOR HOW TO TROUBLESHOOT TCP/IP CONNECTIVITY.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Chapter 38 Initialization & Configuration. Bootstrapping occurs during boot up to obtain boot program which may then load operating system may use network.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 9: Dynamic Host Configuration Protocol (DHCP)
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
1 Lecture 11 Routing in Virtual Circuit Networks Internet Addressing.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
 Router Configurations part2 2 nd semester
Chapter 8: IP Addressing
Cisco I Introduction to Networks Semester 1 Chapter 8 JEOPADY.
1 COMP 431 Internet Services & Protocols The IP Internet Protocol Jasleen Kaur April 21, 2016.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Created by : Asst. Prof. Ashish Shah, J. M
CompTIA Server+ Certification (Exam SK0-004)
LINUX ADMINISTRATION
Host Configuration: BOOTP and DHCP
Chapter 9 Objectives Understand TCP/IP Protocol.
Host Configuration: BOOTP and DHCP
Module 9: TCP/IP Protocol Suite and IP Addressing
Wide Area Networks and Internet CT1403
TCP/IP Protocol Suite and IP Addressing
TCP/IP Networking Chapter 13.
Module 12 Network Configuration
Figure 6.11 Configuration for Example 4
Presentation transcript:

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 Addition of Machines

3 Introduction TCP/IP and the Internet A brief history ARPARNET(1969 by DARPA) Internet Management ICANN IETF ISOC Standards and Documentation RFCs, FYIs, STDs and BCPs

4 Introduction TCP/IP protocol suite IP – routes data packets from one machine to another ICMP – provides lower-level support for IP, including error messages, routing assistance and debugging help ARP – translates IP address to hardware address (a.k.a. MAC address) UDP and TCP – deliver data to specific applications on the destination machine

5 Introduction TCP/IP family

6 Presentation Outline Introduction Packets and Encapsulation IP Addresses, Routing ARP, DHCP and PPP Security Issue Addition of Machines

7 Packets and Encapsulation Packet Header—tells where the packet came from and where it’s going Payload—actual data to be transferred

8 Encapsulation Layer M H4H4 M H4H4 H4H4 H3H3 H3H3 H2H2 M M M H4H4 M H4H4 H4H4 H3H3 H3H3 H2H2 M M source machine destination machine

9 Presentation Outline Introduction Packets and Encapsulation IP Addresses, Routing ARP, DHCP and PPP Security Issue Addition of Machines

10 IP Addresses Historical Internet address classes IP addresses were grouped into “classes” Class A,B and C denote regular IP addresses. Class D and E are used for multicasting and research purpose. Subnet masks Part of the host portion of an address is “borrowed” to extend the network portion. Use ifconfig command to configure IP address and subnet masks

11 IP Addresses IP address crisis We were going to run out of class B addresses by mid-1995 The routing tables of Internet backbone sites were growing so large that they would not fit in the memory of available routers IP addresses were being allocated with no locality of reference

12 IP Addresses Solution to the IP address crisis CIDR (Classless Inter-Domain Routing) A short-term solution Manage the existing 4-byte address space that uses the available addresses more efficiently and allows routing tables to be simplified by taking numerical adjacencies into account IPv6 A long-term solution A revision of the IP protocol that expands the address space to 16 bytes

13 Routing Meaning Looking up a network address in the routing table to forward a packet toward its destination Building the routing table in the first place Configure netstat route get (on BSD-based system)

14 Presentation Outline Introduction Packets and Encapsulation IP Addresses, Routing ARP, DHCP and PPP Security Issue Addition of Machines

15 ARP, DHCP and PPP ARP: Address Resolution Protocol Discovers the hardware address(MAC address) associated with a IP address Usage: Redhat% /sbin/arp –a xor.com( ) at 08:00:20:77:5E:A0[ether] on eth0 earth.xor.com( ) at 00:50:DA:12:4E:E5[ether] on eth0

16 ARP, DHCP and PPP DHCP: Dynamic Host Configuration Protocol Dynamically assigns network parameters to hosts Leasable parameters include: IP addresses and netmasks Gateways(default routes) DNS name servers Syslog hosts WINS servers, proxy servers TFTP servers(for loading a boot image)

17 ARP, DHCP and PPP PPP: Point-to-Point Protocol Serial line encapsulation protocol that specifies how IP packets must be encoded for transmission on a slow serial line Sometimes used with home technologies such as Dial-up, DSL and cable modem

18 ARP, DHCP and PPP System Commands Config files Red Hat /usr/sbin/pppd /etc/ppp/options /usr/sbin/chat /etc/ppp/ppp.conf /etc/ppp/allow Free BSD /usr/sbin/pppd /etc/ppp/options /usr/sbin/chat /etc/ppp/options.ttyserver /etc/ppp/chat.ttyserver PPP-related commands and configuration files example

19 Presentation Outline Introduction Packets and Encapsulation IP Addresses, Routing ARP, DHCP and PPP Security Issue Addition of Machines

20 Security Issues IP forwarding ICMP redirects Source routing Broadcast pings and other forms of directed broadcast UNIX-based firewalls Virtual private networks(VPN) IPSEC: secure IP (Refer to Chapter 21 for details)

21 Presentation Outline Introduction Packets and Encapsulation IP Addresses, Routing ARP, DHCP and PPP Security Issue Addition of Machines

22 Addition of machines Basic steps Assign an IP address and hostname Set up the new host to configure its network interfaces at boot time Set up a default route Point to a DNS name server, to allow access to the rest of the Internet

23 Assign an IP address and hostname /etc/hosts file Example from text book localhost lollipop.xor.com lollipop loghost chimchim-gw.xor.comchimchim-gw ns.xor.com ns licenses.xor.com license-server hostname command Assigns a hostname to a machine Typically runs at boot time

24 Configure network interface ifconfig command Common form: ifconfig interface address options… up/down For example: Ifconfig en netmask up Options Netmask Sets the subnet mask for the interface Broadcast Specifies the IP broadcast address for the interface

25 Configure static routes route command Format: route [-f] op [type] destination gateway [hop-count] Options Add, delete, (get, change, flush, monitor) Default routes route add default gateway-IP-address

26 Configure DNS /etc/resolv.conf file All systems require to modify it Sample: Search cs.colorado.edu colorado.edu Nameserver Nameserver Nameserver

27 Configure DNS “service switch” file Some systems do not use DNS by default, these systems use “service switch” file to resolve hostname-to IP- address mapping Service switch files by system SystemSwitch filesDefault for hostname lookups Solaris/etc/nsswitch.confnis [NOTFOUND=return] files HP-UX/etc/nsswitch.confdns [NOTFOUND=return] nis [NOTFOUND=return] files Red Hat/etc/nsswitch.conf /etc/host.conf db files nisplus dns hosts, bind FreeBSD/etc/host.confhost,bind

28 Thank you! Questions?