NWEN 243 Networked Applications Lecture 10: Layer 3 – BGP & IP © 2011-14, Kris BubendorferNWEN 243.

Slides:



Advertisements
Similar presentations
Addressing the Network – IPv4 by Dodi Heriadi. IP Addressing Structure Describe the dotted decimal structure of a binary IP address and label its parts.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Introduction to IPv4 Introduction to Networks.
Addressing the Network IPv4
© N. Ganesan, All rights reserved. Chapter IP Addressing Format.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
Chapter 18. IP: Internet Protocol Addresses
Computer Networks: Global Internet Global Internet.
Week 5: Internet Protocol Continue to discuss Ethernet and ARP –MTU –Ethernet and ARP packet format IP: Internet Protocol –Datagram format –IPv4 addressing.
Mini Introduction to BGP Michalis Faloutsos. What Is BGP?  Border Gateway Protocol BGP-4  The de-facto interdomain routing protocol  BGP enables policy.
Understanding IP Addressing Chuck Semeria Presented by Benyuan Liu for Internet Routing Seminar Sep 19, 2000.
CSE5803 Advanced Internet Protocols and Applications (7) Introduction The IP addressing scheme discussed in Chapter 2 are classful and can be summarised.
Mod 9 – IP Addressing Part 2 CIS151 Paul Morris MHCC.
TDC365 Spring 2001John Kristoff - DePaul University1 Interconnection Technologies Routing I.
Network Layer IS250 Spring 2010
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.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Network Addressing Networking for Home and Small Businesses – Chapter 5.
IP Addressing. Dotted Decimal Notation IP addresses are written in a so-called dotted decimal notation Each byte is identified by a decimal number in.
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 26-Aug-15 Addressing the network using IPv4 Lecture # 2 Engr. Orland G. Basas Prepared by: Engr. Orland G. Basas IT Lecturer.
1 26-Aug-15 S Ward Abingdon and Witney College CCNA Exploration Semester 1 Addressing the network IPv4 CCNA Exploration Semester 1 Chapter 6.
© 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.
IPv4 Addresses. Internet Protocol: Which version? There are currently two versions of the Internet Protocol in use for the Internet IPv4 (IP Version 4)
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
© N. Ganesan, All rights reserved. Chapter IP Addressing Format.
Physical & Logical Address COMP 315. MAC Address A media access control address (MAC address) is a unique identifier assigned to network interfaces for.
CSE5803 Advanced Internet Protocols and Applications (2) Universal Identifier In general, addressing in a network is closely linked with the issue.
Chapter 18 IP: Internet Protocol Addresses
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:
Chapter 6 VLSM and CIDR.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 VLSM and CIDR Routing Protocols and Concepts – Chapter 6 05/07/2009.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Addressing in an Enterprise Network Introducing Routing and Switching in the.
ICS 156: Lecture 2 (part 1) Today:  IP addressing  Data link protocols and ARP  Notes about lab.
© 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.
21-IP addressing Dr. John P. Abraham Professor UTPA.
Network Layer4-1 Chapter 4: Network Layer r 4. 1 Introduction r 4.2 Virtual circuit and datagram networks r 4.3 What’s inside a router r 4.4 IP: Internet.
IP addresses. Network Layer introduction 4.2 virtual circuit and datagram networks 4.3 what’s inside a router 4.4 IP: Internet Protocol datagram.
IP Internet Protocol Fundamental packet format that computers use to exchange information. Is a set of technical rules that defines how computers communicate.
21-IP addressing Dr. John P. Abraham Professor UTPA.
1 CMPT 471 Networking II Addressing assigning networks and sub-networks © Janice Regan, 2012.
1 Lecture, November 20, 2002 Message Delivery to Processes Internet Addressing Address resolution protocol (ARP) Dynamic host reconfiguration protocol.
Introduction to Internetworking. 2 The IP Addressing Scheme (IPv4) (psu.edu) Dotted Decimal Notation: A notation more convenient for humans.
1 ECE453 – Introduction to Computer Networks Lecture 11 – Network Layer III – IP Protocol.
Planning the Addressing Structure
IP – Subnetting and CIDR
LESSON Networking Fundamentals Understand IPv4.
Networked Applications Lecture 10: Layer 3 – BGP & IP
Scaling the Network: Subnetting and Other Protocols
4.3 Network Layer Logical Addressing
Instructor Materials Chapter 7: IP Addressing
Networked Applications Lecture 10: Layer 3 – BGP & IP
Addressing the Network – IPv4
Networking for Home and Small Businesses – Chapter 5
Instructor Materials Chapter 8: Subnetting IP Networks
Computer Communication and Networking
Chapter 8: Subnetting IP Networks
IPV4.
Objective: Classful Internet Addressing
Chapter 8: Subnetting IP Networks
IPv4 Addresses.
CS 457 – Lecture 14 Global Internet
IP Addressing Subnetting
Dr. John P. Abraham Professor UTPA
Dr. John P. Abraham Professor UTRGV
Planning the Addressing Structure
Scaling the Network: Subnetting and Other Protocols
Dr. John P. Abraham Professor UTRGV
IP Addressing.
Networking for Home and Small Businesses – Chapter 5
Layering and the TCP/IP protocol Suite
Presentation transcript:

NWEN 243 Networked Applications Lecture 10: Layer 3 – BGP & IP © , Kris BubendorferNWEN 243

What Is BGP? Border Gateway Protocol BGP-4 The de-facto interdomain routing protocol BGP enables policy in routing: ◦ Which information gets advertised and how BGP is a Distance Vector like protocol Within an AS, Interior Gateway Protocol (IGP or I-BGP) © , Kris BubendorferNWEN 243

Headline grabbing ! © , Kris BubendorferNWEN 243

A BGP Graph Each AS has designated BGP routers BGP routers of an AS communicate internally with another protocol (IGP) AS 1 AS 2 AS 3 AS 4 AS 5 © , Kris BubendorferNWEN 243

Some Basic Numbers ~20,000 Autonomous Systems approx. Corporate Networks ISP Internal Networks National Service Providers Identified by ASN a 16 bit value Assigned by IANA Superlinear growth © , Kris BubendorferNWEN 243

Advertising Routing Information Each AS advertises what it can reach from each BGP router Policies I: filter what you advertise Policies II: filter from what you hear advertised Build up a BGP routing table ◦ Remember which prefix you hear from which link © , Kris BubendorferNWEN 243

A video explaining BGP © , Kris BubendorferNWEN

Network examination. Ping Traceroute © , Kris BubendorferNWEN 243

IP Addresses (IPv4) © , Kris BubendorferNWEN 243 NetworkNode 32 bits Dotted Decimal

Network Addressing (Other 3L) All network addresses split into 2 parts. ◦ A network portion of the address, representing the bit of ‘wire’ (naming the network). ◦ The node portion of the address describes a specific host. ◦ This depends on the network layer protocol.  Novel IPX:  Appletalk: © , Kris BubendorferNWEN 243 NetworkNode

IP Address Format The problem we have with IP is that there is no fixed line. The line moves depending on how we are using it we can have: ◦ lots and lots of networks and few hosts, or ◦ lots and lots of hosts and few networks. © , Kris BubendorferNWEN 243 NetworkNode Where is the line?

IP Address Format (w/classes) © , Kris BubendorferNWEN 243 NetworkNode Where is the line? 24 bits node 8 bits network 16 bits node 16 bits network 8 bits node 24 bits network A B C D - MULTICAST E - RESERVED

Differentiation of IP Addresses How do we tell what type of address we have? They are all 32 bit numbers. Use the MSB. ◦ 0XXXXXXX – Class A, ◦ 10XXXXXX – Class B, ◦ 110XXXXX – Class C, ◦ 1110XXXX – Class D © , Kris BubendorferNWEN 243

Class A Address Ranges If we have 0 as the MSB ◦ Then we can address127 (really 126, see below) networks (not 255) ◦ ½ of our address space are for other classes. ◦ Reserved:  (old broadcast)  (loop back address – for testing) ◦ Giving Class A available address range of  1 – 126 © , Kris BubendorferNWEN bits node A

Class Address Ranges If we have 10 as the MSB(s) ◦ Giving Class B available address range of  If we have 110 as the MSB(s) ◦ Giving Class C available address range of  © , Kris BubendorferNWEN bits node bits node

IP class summary © , Kris BubendorferNWEN 243

Hosts vs Networks Class C address: ◦ Identifies the network: ◦ Hosts are – © , Kris BubendorferNWEN We can’t use 255 as it is reserved for broadcast We can’t use 0 as it identifies the network Ethernet 0 Ethernet 1 AddressInterface

IP Addressing and Subnets Imagine a medium company ◦ With a class B address: ◦ Giving Addresses ◦ Take the longest ethernet cable you’ve ever imagined, and put computers on it. ◦ Will it work? ◦ NO! ◦ Remember collisions.  Use switches? Too big.  So, use Routers.  Split the address range up using routers.  Also keeps broadcasts in sub domains. © , Kris BubendorferNWEN 243

Addressing subnets Class B address , Subdivide into 255 networks of 255 hosts © , Kris BubendorferNWEN

Addressing subnets © , Kris BubendorferNWEN AddressInterface Ethernet 0 Ethernet 1 ×

What We Want © , Kris BubendorferNWEN AddressInterface Ethernet 0 Ethernet 1 HOW DO WE DO THIS?

Subnet Masks But how do we tell the router that we want to put the first 3 octets in the table, rather than the normal 2 octets for a Class B address? In fact, how we divide up our set of addresses between network and host portions is up to us. We use network masks. Wherever (in the mask) there is a ◦ 1 = network portion ◦ 0 = host portion, of the address. This means that we can split at arbitrary bit boundaries (although the math in dot decimal isn’t always pleasant) © , Kris BubendorferNWEN 243

IP Notation So, we can describe our Classes as: ◦ a.0.0.0/ ◦ a.b.0.0/ ◦ a.b.c.0/ ◦ Indeed, we can put 0-31 after the slash which describes where our boundary is drawn, and therefore determine the mask: ◦ a.b.c.d/ , ½ C ◦ a.b.c.d/ , ¼ C ◦ etc. © , Kris BubendorferNWEN 243

IP assignments The Internet Assigned Numbers Authority (IANA) issues blocks of IP addresses to regional Internet registries (RIRs) ◦ For example, /8, is administered by RIPE NCC, the European RIR. The RIRs are each responsible for a single, large, geographic area. These are then further subdivided into smaller blocks and issued to local Internet registries. End networks receive subnets sized according to the size of their network and projected short term need. The days of businesses getting /8 or /16 addresses are over (16M to 65K addresses is a big step). © , Kris BubendorferNWEN 243

IP assignments and Routing As long as the router is aware of the correct subnet mask, we can create arbitrary subnets within any IP address range. Routing tables can grow large. ◦ We can aggregate adjacent IP ranges ◦ Two adjacent /20s may be aggregated to a /19 ◦ This reduces the number of routes that need to be advertised and the size of the tables. ◦ This is possible due to the geographic way in which modern IP ranges are allocated. ◦ Routers higher up the hierarchy can aggregate whole regions into a single table entry. © , Kris BubendorferNWEN 243

Address Space Exhaustion From the 1980s it was apparent that the available IPv4 addresses were being exhausted. ◦ Motivation for the creation of Classless Inter-Domain Routing (CIDR) and IPv6. Things driving the acceleration of IPv4 address exhaustion: ◦ Unprecedented growth in the number of Internet users ◦ Always-on devices — ADSL modems, cable modems ◦ Mobile devices — laptop computers, PDAs, mobile phones Technologies introduced to mitigate IPv4 address exhaustion include: ◦ Network address translation (NAT) ◦ Use of private networks ◦ Dynamic Host Configuration Protocol (DHCP) ◦ Name-based virtual hosting ◦ Tighter control by Regional Internet Registries on the allocation of addresses to Local Internet Registries ◦ Network renumbering to reclaim large blocks of address space allocated in the early days of the Internet IANA's primary address pool was exhausted on 3 February 2011 when the last 5 blocks were allocated to the 5 RIRs. APNIC was the first RIR to exhaust its regional pool on 15 April 2011, except for a small amount of address space reserved for the transition to IPv6. The address size was increased from 32 bits in IPv4 to 128 bits in IPv6, allowing improved route aggregation and potential for allocations of a minimum of 264 host addresses to end-users. Migration to IPv6 is in progress but is expected to take considerable time. © , Kris BubendorferNWEN 243

© 2009 The Measurement Factory.The Measurement Factory.

Fin. Friday… - IPv6 etc. - Protocol Layer Service model. © , Kris BubendorferNWEN 243