Slides of the course was made by TAs of this and previous semesters 1 Internet Networking Spring 2002 Tutorial 1 Subnets, Proxy ARP.

Slides:



Advertisements
Similar presentations
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Advertisements

Chapter 18. IP: Internet Protocol Addresses
1 IP: Internet Protocol Addresses. 2 Internet Protocol (IP) Only protocol at Layer 3 Fundamental in suite Defines –Internet addressing –Internet packet.
An Engineering Approach to Computer Networking
COS 420 DAY 7. Agenda Assignment 2 posted Due Feb 13 (next class) Individual Projects Assigned Due March 20 & 23 Classless And Subnet Address Extensions.
1 Spring Semester 2007, Dept. of Computer Science, Technion Internet Networking recitation #1 Subnet + CIDR.
1 Internet Networking Spring 2004 Tutorial 1 Subnetting and CIDR Proxy ARP.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
1 Internet Networking Spring 2006 Tutorial 1 Subnetting and CIDR.
Oct 26, 2004CS573: Network Protocols and Standards1 IP: Routing and Subnetting Network Protocols and Standards Autumn
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
COS 420 Day 7. Agenda Assignment 2 Due Feb questions from text chaps 7-11 Midterm Exam on Feb 19 Chap 1-13 (maybe 12, were a little behind) All.
Introduction to TCP/IP
Subnetting.
1 Reminding - ARP Two machines on a given network can communicate only if they know each other’s physical network address ARP (Address Resolution Protocol)
© MMII JW RyderCS 428 Computer Networks1 Mapping Internet to Physical Addresses  2 machines on a physical network can only communicate if they know each.
Slides of the course was made by TAs of this and previous semesters 1 Internet Networking Spring 2003 Tutorial 1 Subnets, Proxy ARP.
Lecture Slide Rizwan Rehman, CCS. Classless and Subnet Address Extensions (CIDR) Topics: –There are problems with the IP addressing scheme we’ve studied.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—4-1 LAN Connections Constructing a Network Addressing Scheme.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
Layering and the TCP/IP protocol Suite  The TCP/IP Protocol only contains 5 Layers in its networking Model  The Layers Are 1.Physical -> 1 in OSI 2.Network.
Spring Ch 18 IP Addresses. 2 Internet Protocol  Only protocol at Layer 3  Defines Internet addressing Internet packet format Internet routing.
Types of Addresses in IPv4 Network Range
Subnet & Classless Address Extensions Linda Wu (CMPT )
Chap 10 Routing and Addressing Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Network Redundancy Multiple paths may exist between systems. Redundancy is not a requirement of a packet switching network. Redundancy was part of the.
Classless and Subnet Address Extensions (CIDR)
Classless and Subnet Address Extensions (CIDR)
IP Addressing Introductory material. An entire module devoted to IP addresses.
CSC 600 Internetworking with TCP/IP Unit 4: Internet Addresses (Ch. 4, 5, 6, 10) Dr. Cheer-Sun Yang Spring 2001.
1 IP Address Computer Network System Sirak Kaewjamnong.
Part 3: Internetworking Internet architecture, addressing, encapsulation, reliable transport and the TCP/IP protocol suite.
Chapter 18 IP: Internet Protocol Addresses
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
Universal Identifier UNIVERSAL IDENTIFIER Universal network = globally accepted method for identifying each computer. Host identifier = host is identify.
Network Layer COM211 Communications and Networks CDA College Theodoros Christophides
Cisco – Chapter 8&9 - Ethernet Technologies and Ethernet Switching TCP/IP IP Addressing ARP and RARP.
Chapter 4 Objectives Upon completion you will be able to: Classful Internet Addressing Understand IPv4 addresses and classes Identify the class of an.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing.
Layer 3: Internet Protocol.  Content IP Address within the IP Header. IP Address Classes. Subnetting and Creating a Subnet. Network Layer and Path Determination.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
IP1 The Underlying Technologies. What is inside the Internet? Or What are the key underlying technologies that make it work so successfully? –Packet Switching.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
Mapping IP Addresses to Hardware Addresses Chapter 5.
CS470 Computer Networking Protocols
Address Resolution Protocol (ARP). Internet and Data Link Layer Addresses Each host and router on a subnet needs a data link layer address to specify.
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
Final Examination of Internet Communication Protocol.
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
Wrapping up subnetting, mapping IPs to physical ports BSAD 146 Dave Novak Sources: Network+ Guide to Networks, Dean 2013.
1 K. Salah Module 5.1: Internet Protocol TCP/IP Suite IP Addressing ARP RARP DHCP.
Internet Architecture
IP Addressing Introductory material.
Address Resolution Protocol (ARP)
IP: Addressing, ARP, Routing
Internet Networking recitation #1
ARP and RARP Objectives Chapter 7 Upon completion you will be able to:
CS4470 Computer Networking Protocols
Objective: Classful Internet Addressing
Internetworking & Address Resolution
Net 323: NETWORK Protocols
Address Resolution Protocol (ARP)
Internet Protocol INTERNET PROTOCOL.
INTERNET PROTOCOL Presented by: Md:Faruque-A-Azam ID:1642CSE00570 Batch:42 CSE,MIU.
Ch 17 - Binding Protocol Addresses
Classless and Subnet Address Extensions (CIDR)
An Engineering Approach to Computer Networking
Layering and the TCP/IP protocol Suite
Presentation transcript:

Slides of the course was made by TAs of this and previous semesters 1 Internet Networking Spring 2002 Tutorial 1 Subnets, Proxy ARP

2 Administrative Information Course site: webcourse.technion.ac.il/ Assistants: Getselevich Vladimir, Taub 327, (829) Kapchits Boris, Taub 325, (829)

3 Reminding - TCP/IP Layers Application (HTTP) Transport (TCP,UDP) Network (IP) Link Physical Electronic Engineering Introduction to Networking We study in this course

4 Reminding – IP Addressing (Original Classful Scheme) IP Address – 32-bit integer globally unique address Dotted Notation: IP Classes – dividing an address to net id and host id prefix of an IP address (net id) identifies a network and a suffix (host id) identifies a host on this network

5 Reminding – IP Addressing (Original Classful Scheme) Class A – 7 bits to net id, 24 bits to host id – Class B – 14 bits to net id, 16 bits to host id – Class C – 21 bits to net id, 8 bits to host id – Class D – for multicasting Class E – reserved for future use

6 Weaknesses of Classful Scheme Growth!!! Tens of thousands small networks. Extremely large routing tables Address space will be eventually exhausted Complex administration How can one minimize the number of assigned network addresses, especially class B, without abandoning 32-bit addressing scheme?

7 Subnet Addressing A site has a single IP network address assigned to it, but has two or more physical networks From outside it looks like a single network Only local routers know about multiple physical networks inside and how to route traffic among them Host ID is divided into a subnet ID and host ID  Accepted as a standard by RFC 950, 1985

8 How a Router Perform Routing Usual Routing When a router get a packet, it isolates by Net mask the packet net id address - if the packet is destined to other network then the router sends it to another router; otherwise according to host id, the router sends the packet to the appropriate host on its network.

9 How a Router Perform Routing Routing with subnetting When a router get a packet, it isolates by Net mask the packet net id address - if the packet is destined to other network then the router sends it to another router; otherwise the router isolates by Subnet mask at subnet id address of the packet – if it destined to another sub network then it sent to another internal router; otherwise according to host id, the router sends the packet to the appropriate host on its network.

10 Subnetting - Example R. Network H1H1 H2H2 Network H3H3 H4H Rest of the Internet All traffic to A site with two physical networks using subnet addressing to label them with a single class B network address. Router R accepts all traffic for net and chooses a physical network based on the third octet of the address.

11 Subnet Addressing Subnetting is hierarchical addressing scheme and it accommodates large growth because a given router doesn’t need to know as much detail about distant destinations as it does about local ones. It’s up to local policy to decide how to partition the local part of the IP address between subnet id and host id. When there is a compromise between large number of subnets with small number of hosts and the opposite.

12 Variable-Length Subnetting When we choose the subnet partitioning, we actually define constant number of possible physical subnetworks with maximum number of hosts on them. Difficult to keep small and big subnetworks and there could be unnecessary spending of address space. Solution is Variable-Length Subnetting – when a subnet partition is selected on a per-network basis.

13 Example – Configuring a Network with Variable-Length Subnetting We have a network with IP We need to support next sub networks: –6 networks with 26 hosts –3 networks with 10 hosts –4 networks with 2 hosts

14 Example – Configuring a Network with Variable-Length Subnetting The given network is of Class C Its Net Mask is: (the network id is 24 bits and local part is 8 bits) If we take subnet mask of /27 bits then we can get 8 sub networks of 30 hosts (all 0’s and all 1’s of host addresses are reserved). –  We need only 6 such sub networks

15 Example – Configuring a Network with Variable-Length Subnetting The rest 2 sub networks we will partition by subnet mask of /28 bits. We will get 4 sub networks of 14 hosts in each –  We need only 3 such sub networks

16 Example – Configuring a Network with Variable-Length Subnetting The rest we will partition by subnet mask of /30 bits. We will get 4 sub networks of 2 hosts in each –  and that is all what we needed!

17 Example – Configuring a Network with Variable-Length Subnetting Subnet mask #1 = /27 – Subnet mask #2 = /28 – Subnet mask #2 = /30 –

18 Reminding - ARP ARP (Address Resolution Protocol) serves for mapping from high-level IP address into low level MAC address. Two machines on a given network can communicate only if they know each other’s physical network address

19 Reminding - ARP When host A wants to resolve IP address I b, it broadcasts a special packet that asks the host with IP address I b to respond with its physical address, P b. All hosts, including B, receive the request, but only host B recognizes its IP address and sends a reply that contains its physical address. When A receives the reply, it uses the physical address to send the internet packet directly to B.

20 Proxy ARP Proxy ARP (also called promiscuous ARP or ARP hack) is a technique used to map a single IP network prefix into two physical addresses. Assume that there are 2 networks A and B connected by router R that runs Proxy ARP R knows IP addresses from both sides (knows where each host is located) R uses ARP to hide one of networks

21 Proxy ARP. H1H1 H2H2 H4H4 H5H5 H3H3 Network A Network B R Router running proxy ARP Router R answers ARP requests on each network for hosts on other network, giving its hardware address and then routing datagrams correctly when they arrive.

22 Proxy ARP - Example Assume that host H 1 from network A wants to send a packet to host H 4 from network B. –H 1 sends ARP request to get MAC address of H4. –Router R will catch this ARP request –R knows that H 4 is on network B answers with its own MAC address –H 1 will store this address in its cash and from now H 1 will send to R packets which are destined to H 4. –R according to its routing table will send the packets to H 4.

23 ARP Features ARP is a trusted protocol –therefore proxy ARP can work Weakness of ARP is possibility of IP Spoofing –ARP implementations that warning alerts on possible security violations will not work good with Proxy ARP

24 Proxy ARP cons/pros The advantage of proxy ARP is that it can be added to a single router on a network without disturbing the routing tables in other hosts or router on that network. The disadvantage of proxy ARP is that it does not work for networks unless they use ARP for address resolution and it does not generalize to more complex network topology.