Internetworking and IP Address



Similar documents
Internet Protocols. Addressing & Services. Updated:

1 Data information is sent onto the network cable using which of the following? A Communication protocol B Data packet

PART IV. Network Layer

IP Addressing. -Internetworking (with TCP/IP) -Classful addressing -Subnetting and Supernetting -Classless addressing

TCP/IP Basis. OSI Model

Internet Protocol Address

Lecture 15. IP address space managed by Internet Assigned Numbers Authority (IANA)

Lab#2: IP Addressing and Subnetting

Internetworking With TCP/IP

CE363 Data Communications & Networking. Chapter 6 Network Layer: Logical Addressing

Lecture 8. IP Fundamentals

Classful IP Addressing (cont.)

Internetworking Microsoft TCP/IP on Microsoft Windows NT 4.0

Networking Test 4 Study Guide

IP Addressing A Simplified Tutorial

ICS 351: Today's plan

Network-Oriented Software Development. Course: CSc4360/CSc6360 Instructor: Dr. Beyah Sessions: M-W, 3:00 4:40pm Lecture 2

Internet Protocol (IP) IP - Network Layer. IP Routing. Advantages of Connectionless. CSCE 515: Computer Network Programming IP routing

Transport and Network Layer

CS 348: Computer Networks. - IP addressing; 21 st Aug Instructor: Sridhar Iyer IIT Bombay

Desirable Properties Of An Internet Addressing Scheme

Guide to Network Defense and Countermeasures Third Edition. Chapter 2 TCP/IP

JOB READY ASSESSMENT BLUEPRINT COMPUTER NETWORKING FUNDAMENTALS - PILOT. Test Code: 4514 Version: 01

Computer Networks. Lecture 3: IP Protocol. Marcin Bieńkowski. Institute of Computer Science University of Wrocław

IP address format: Dotted decimal notation:

Efficient Addressing. Outline. Addressing Subnetting Supernetting CS 640 1

8.2 The Internet Protocol

Chapter 3: Review of Important Networking Concepts. Magda El Zarki Dept. of CS UC Irvine

Internet Addresses (You should read Chapter 4 in Forouzan)

IP Network Layer. Datagram ID FLAG Fragment Offset. IP Datagrams. IP Addresses. IP Addresses. CSCE 515: Computer Network Programming TCP/IP

IP Addressing Introductory material.

Interconnection of Heterogeneous Networks. Internetworking. Service model. Addressing Address mapping Automatic host configuration

Lab IP Addressing Overview

Internet Working 5 th lecture. Chair of Communication Systems Department of Applied Sciences University of Freiburg 2004

Savera Tanwir. Internet Protocol

Internetworking and Internet-1. Global Addresses

IP Subnetting and Addressing

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Module 2: Assigning IP Addresses in a Multiple Subnet Network

Tutorial (03) IP addresses & Sub netting

Lecture Computer Networks

Overview of Computer Networks

Chapter 19 Network Layer: Logical Addressing 19.1

UPPER LAYER SWITCHING

Networking Basics for Automation Engineers

Table of Contents. Cisco IP Addressing and Subnetting for New Users

TCP/IP Network Essentials. Linux System Administration and IP Services

Address Resolution Protocol (ARP), Reverse ARP, Internet Protocol (IP)

Network layer: Overview. Network layer functions IP Routing and forwarding

Ethernet. Ethernet. Network Devices

How To Make A Network Address Prefix Smaller

Computer Networks. Introduc)on to Naming, Addressing, and Rou)ng. Week 09. College of Information Science and Engineering Ritsumeikan University

IP Addressing. IP Addresses. Introductory material.

This tutorial will help you in understanding IPv4 and its associated terminologies along with appropriate references and examples.

2. IP Networks, IP Hosts and IP Ports

Technical Support Information Belkin internal use only

APPENDIX B. Routers route based on the network number. The router that delivers the data packet to the correct destination host uses the host ID.

Basic Networking Concepts. 1. Introduction 2. Protocols 3. Protocol Layers 4. Network Interconnection/Internet

Mobile IP. Bheemarjuna Reddy Tamma IIT Hyderabad. Source: Slides of Charlie Perkins and Geert Heijenk on Mobile IP

How To Use A Network Over The Internet (Networking) With A Network (Netware) And A Network On A Computer (Network)

Raritan Valley Community College Academic Course Outline. CISY Advanced Computer Networking

IP Addressing and Subnetting. 2002, Cisco Systems, Inc. All rights reserved.

IP addressing. Interface: Connection between host, router and physical link. IP address: 32-bit identifier for host, router interface

SSVP SIP School VoIP Professional Certification

Future Internet Technologies

Basic Network Configuration

SUPPORT DE COURS. Dr. Omari Mohammed Maître de Conférences Classe A Université d Adrar Courriel : omarinmt@gmail.com

IP Networking. Overview. Networks Impact Daily Life. IP Networking - Part 1. How Networks Impact Daily Life. How Networks Impact Daily Life

Scaling the Network: Subnetting and Other Protocols. Networking CS 3470, Section 1

Subnet + CIDR. Internet Networking recitation #1. 11: , Internet Networking,

CCNA 1: Networking Basics. Cisco Networking Academy Program Version 3.0

CCNA Tutorial Series SUBNETTING

Advanced Internetworking

TCP/IP works on 3 types of services (cont.): TCP/IP protocols are divided into three categories:

IT-AD08: ADD ON DIPLOMA IN COMPUTER NETWORK DESIGN AND INSTALLATION

Guide to TCP/IP, Third Edition. Chapter 2: IP Addressing and Related Topics

TCP/IP Networking Terms you ll need to understand: Techniques you ll need to master:

Chapter 5. IPv4 Addresses. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

CompTIA Exam N CompTIA Network+ certification Version: 5.1 [ Total Questions: 1146 ]

Zarząd (7 osób) F inanse (13 osób) M arketing (7 osób) S przedaż (16 osób) K adry (15 osób)

Subnetting and Network Management Omer F. Rana. Networks and Data Communications 1

IT4405 Computer Networks (Compulsory)

Computer Networks 1 (Mạng Máy Tính 1) Lectured by: Dr. Phạm Trần Vũ

Unix System Administration

Advanced IP Addressing

- IPv4 Addressing and Subnetting -

First Workshop on Open Source and Internet Technology for Scientific Environment: with case studies from Environmental Monitoring

IP Subnetting. Subnetting

Networking Technology Online Course Outline

2. What is the maximum value of each octet in an IP address? A. 28 B. 255 C. 256 D. None of the above

Introduction to Network Security Lab 1 - Wireshark

Lab a Basic Subnetting

SSVVP SIP School VVoIP Professional Certification

Module 10 Subnetting Class A, B and C addresses. Solutions to the Lab Exercises a, b, c and d

Essential Curriculum Computer Networking 1. PC Systems Fundamentals 35 hours teaching time

TCP/IP, Addressing and Services

We Are HERE! Subne\ng

PPS Internet-Praktikum. Prof. Bernhard Plattner Institut für Technische Informatik und Kommunikationsnetze (TIK)

Transcription:

Lecture 8 Internetworking and IP Address Motivation of Internetworking Internet Architecture and Router Internet TCP/IP Reference Model and Protocols IP Addresses - Binary and Dotted Decimal IP Address - Classful IP Addressing - Subnet and Classless IP Addressing - Address/Subnet Mask - Special Addresses Assigning IP Address to Host Computer Assigning IP Addresses to Router

Motivation of Internetworking Lecture 8 Internetworking: networking technologies to connect multiple networks Many networks exist: LANs and WANs (Ethernet, Token Ring, FDDI, WiFi, BT, ) - No single networking technology suited for all needs - Computers in one type of network can t communicate with computer in another type - Repeater, bridge and hub connect only the same type of networks Universal service: Any pair of computers can communicate Heterogeneity and incompatibility among different networks - Media and electronic properties - Signaling and data encoding - Packet formats - Addresses - Protocols Ethernet Token Ring Goal of Internetworking - Uniform - Universal - Hides network details/differences from user SD AC FC DAdd SAdd Payload Up to 4550 bytes CRC ED FS

Lecture 8 Internet Architecture router router router network network network network A host computer connects to a physical network Internet building blocks: - Router * A hardware device with two or more interfaces to connect networks * A dedicated device/computer with CPU, memory, I/O, OS, etc. * Installed multiple NICs and network protocol suits when connecting different networks * Forwards packets from one network to another * Transforms packets as necessary to meet standards for each network * Sometimes called gateway if it can translate among different application protocols - Internet protocol suit * A software operated on different network protocols * A set of protocols, known as TCP/IP suite * Needed for both host computers and routers

Internet Concept - Create virtual network - Universal addressing scheme - Naming scheme - Implement with protocol software - All details of physical networks hidden from users Internet is a network of networks that interconnects millions of networks using routers and the Internet protocol suite (TCP/IP). No centralized governance! Each network sets its own policies. But must follow the name spaces, - Internet Protocol address space - Domain Name System (DNS)

Internet Connections

Internet Connections & Packet Routing Routers

Global Internet Connection Visualization http://en.wikipedia.org/wiki/internet

Lecture 8 Internet TCP/IP Reference Model Internet TCP/IP reference model ISO 7-layer reference model Layer 5: Application Layer Corresponds to ISO model layers 5, 6 and 7; used for communication among applications Layer 4: Transport Layer Corresponds to layer 4/5 in ISO model; provides reliable delivery of data Layer 3: Internet Layer (no such layer in ISO mode, extending network layer of ISO) Defines uniform format of packets forwarded across networks of different technologies and rules for forwarding packets in routers Layer 2: Network Interface Layer Corresponds to layer 2/3 in ISO model; defines formats for packets in hardware frame Layer 1: Hardware Layer Corresponds to layer 1 in ISO model; defines basic networking hardware

Application Presentation Session Transport FTP TEL NET TCP Application SMTP DHCP DNS SNMP RTP UDP TCI/IP Protocols H Message H Segment Message Address Session Address Port Number Inter- Network Data link Physical ICMP IGMP IPv4/IPv6 ARP Protocols defined by the underlying networks RARP H Datagram Frame Bits Internet Address Physical Address H IP Address MAC Address

Lecture 8 IP Address IP Address (Internet Protocol Address or Internet Address) - Abstraction only understood by software - Independent of hardware addressing - Used by TCP/IP protocols and other application programs - 32-bit integer, or 4 bytes - Does not identify a specific computer - Identifies a connection between a computer and a network - Unique value for a host (global/local address) - May have more than one IP addresses for a device/computer, e.g., a router - Classful IP addressing - Classless IP addressing - Assigned by global authority (IANA/ISP) and local administrator * IANA: Internet Assigned Number Authority * ISP: Internet Service Providers

Classful IP Addresses Lecture 8 IPv4 Addresses: 32 bits class Prefix/Netid Suffix/Hostid - Initial bits determine class: A, B, C, D, E - Prefix identifies a network: Network ID number - Suffix identifies a host/router: Host ID number - Class determines boundary between prefix & suffix - Global authority assigns unique prefix to network - Local administrator assigns prefix &/ unique suffix

Lecture 8 Dotted Decimal Notation of IP Addresses - 32 bit binary number is hard to remember - Divide 32 bits into four 8-bit sections called octet - Express each octet as a decimal number between 0 to 255 - Separate 4 decimal number by dot. - Easy for human and used by application programs More about IP address in Wikipedia http://en.wikipedia.org/wiki/ip_address

A Classful Addressing Example Lecture 8 Class B Class B Class A Class C

Subnet and Classless Addresses Lecture 8 - Many IP addresses are wasted in classful addressing!!! class Prefix/Netid Suffix/Hostid - Example: 4 Labs each having 60 computers, 4 class C network ID needed, ¾ addresses wasted - Three fixed division boundaries between prefix (Netid) and suffix (Hostid) in classful addressing - Subnet addressing: Netid Subnetid - Classless addressing: arbitrary boundary - Class Inter-Domain Routing (CIDR) notation: Examples: Hostid Network IP address / Bit number of Netid 128.211.0.0/16 first 16 bits is network ID, corresponding class B 200.31.7.0/26 first 26 bits is network ID 200.31.7.66 200.31.7.125 200.31.7.130 200.31.7.189 Site 200.31.7.0 200.31.7.1 200.31.7.60 Subnet-1 200.31.7.0/26 200.31.7.64/26 Subnet-2 Subnet-3 200.31.7.128/26 Router Rest of the Internet 200.31.7.192/26 Subnet-4 200.31.7.194 200.31.7.253 More about subnet address in Wikipedia http://en.wikipedia.org/wiki/subnet_address

Address Mask and CIDR Host Address Lecture 8 Address mask or subnet mask: - defines the boundary between network/subnet ID and host ID - 32-bit binary number, e.g., 11111111 11111111 00000000 00000000 (NetID in first 16 bits) - Bit mask makes computation efficient with logic and : A==D & M Example: Host IP 200.31.7.130 11001000 00011111 00000111 10000010 26-bit subnet mask 11111111 11111111 11111111 11000000 & Subnet ID 200.31.7.128 11001000 00011111 00000111 10000000 CIDR host addresses 1 - ISP assigns CIDR prefix 128.211.0.16/28-4 bits (16 addresses) for subnet - Local administrator can assign a 4-bit value to a host - But leave two special addresses: all 0s/0000 and all 1s/1111

Special IP Addresses Lecture 8 - Some addresses have special meanings - This computer address means the computer sends the packet with all-0s - Network address refers to the network and not to the host - Directed broadcast address for broadcasting in a specified network - Limited broadcasting address for broadcasting in local network attached - Loopback address for sending a packet back to a computer itself. * The packet never leaves the computer * The packet goes from one application to another in the same computer * 127.x.y.z any address with head 127, e.g., 127.1.2.3, 127.255.0.0 * 127.0.0.1 is often used in test programming - All-1s and all-0s can not be assigned to any computer or router in a subnet!

IP Addressing Principle for Router Lecture 8 - Router connects to two or more physical networks - Each physical network has a unique prefix (Netid) - Router has multiple IP addresses, each for a connected network - Suffix in router IP address is assigned locally, like other host - Same suffix in routers IP addresses can help network administration Check your PC s - Physical/MAC address - IP addresses - Subnet Mask Using Command Prompt ipconfig ipconfig /all

Exercise 8 1. Describe similarities and differences between a network bridge and Internet router. 2. Describe similarities and differences between Internet reference model and ISO 7-layer model. 3. Identify the address class of the following IP addresses: a. 200.58.20.165 b. 128.167.23.20 c. 127.54.118.21 d. 16.196.128.50 e. 193.34.121.255 f. 150.156.10.10 g. 230.10.24.96 Point out which are special addresses. If an address is a host/router IP address in Class A, B or C, indicate its prefix (network ID) and suffix (host ID). 4. A small organization has a Class C address (196.125.56.0) for seven networks each with 24 hosts. Design an appropriate subnet addressing scheme (subnet addresses, host addresses and mask) for the organization. 5. Draw a TCP/IP internet that consists of two networks connected by a router. Show two computers attached to each network. Assign the IP addresses to the four computers and one router with the assumption that network prefixes or IDs of the two networks are 170.61.192.0/18 and 210.37.136.32/29, respectively.