IP Networks and Routing

Slides:



Advertisements
Similar presentations
Neighbor Discovery for IPv6 Mangesh Kaushikkar. Overview Introduction Terminology Protocol Overview Message Formats Conceptual Model of a Host.
Advertisements

Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
1 IPv6. 2 Problem: 32-bit address space will be completely allocated by Solution: Design a new IP with a larger address space, called the IP version.
IPv6 Victor T. Norman.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
Computer Networks21-1 Chapter 21. Network Layer: Address Mapping, Error Reporting, and Multicasting 21.1 Address Mapping 21.2 ICMP 21.3 IGMP 21.4 ICMPv6.
21.1 Chapter 21 Network Layer: Address Mapping, Error Reporting, and Multicasting Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction.
Internet Control Protocols Savera Tanwir. Internet Control Protocols ICMP ARP RARP DHCP.
IST 201 Chapter 9. TCP/IP Model Application Transport Internet Network Access.
IP Version 6 (IPv6) Dr. Adil Yousif. Why IPv6?  Deficiency of IPv4  Address space exhaustion  New types of service  Integration  Multicast  Quality.
Routing Basics By Craig Lindstrom. Overview Routing Process Routing Process Default Routing Default Routing Static Routing Static Routing Dynamic Routing.
Module 4: Configuring Network Connectivity
1 Internet Protocol, Version 6 (IPv6) Chun-Chuan Yang Dept. Computer Science & Info. Eng. National Chi Nan University.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Chapter 8 Administering TCP/IP.
IP Routing: an Introduction. Quiz
Institute of Technology Sligo - Dept of Computing Chapter 11 Layer 3 Protocols Paul Flynn.
Guide to TCP/IP Fourth Edition
1 CMPT 471 Networking II ICMPv6 © Janice Regan, 2012.
Copyright 2003 CCNA 1 Chapter 7 TCP/IP Protocol Suite and IP Addressing By Your Name.
1 Chapter Overview IP (v4) Address IPv6. 2 IPv4 Addresses Internet Protocol (IP) is the only network layer protocol with its own addressing system and.
Lesson 6 Neighbor Discovery.
Cisco Public © 2013 Cisco and/or its affiliates. All rights reserved. 1.
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.
IPv6 – part I. FUNDAMENTALS AND PROTOCOLS / ICND 1.
Networking protocols Unit objective: Identify TCP/IP properties, and identify common ports and protocols.
IP Addressing Basics LAB 8.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Addressing the Network – IPv4 Network Fundamentals – Chapter 6.
TELE202 Lecture 10 Internet Protocols (2) 1 Lecturer Dr Z. Huang Overview ¥Last Lecture »Internet Protocols (1) »Source: chapter 15 ¥This Lecture »Internet.
Chapter 8 Routing. Introduction Look at: –Routing Basics (8.1) –Address Resolution (8.2) –Routing Protocols (8.3) –Administrative Classification (8.4)
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Cisco – Chapter 11 Routers All You Ever Wanted To Know But Were Afraid to Ask.
1 Chapter 27 Internetwork Routing (Static and automatic routing; route propagation; BGP, RIP, OSPF; multicast routing)
Objectives: Chapter 5: Network/Internet Layer  How Networks are connected Network/Internet Layer Routed Protocols Routing Protocols Autonomous Systems.
11 NETWORK LAYER PROTOCOLS Chapter 5 IP IPX NetBEUI AppleTalk.
10/8/2015CST Computer Networks1 IP Routing CST 415.
© 2007 Cisco Systems, Inc. All rights reserved. 1 Network Addressing Networking for Home and Small Businesses – Chapter 5 Darren Shaver – Modified Fall.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Addressing IP v4 W.Lilakiatsakun. Anatomy of IPv4 (1) Dotted Decimal Address Network Address Host Address.
IPv6 Routing Milo Liu SW2 R&D ZyXEL Communications, Inc.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
Engineering Workshops Purposes of Neighbor Solicitation.
Internet Protocols (chapter 18) CSE 3213 Fall 2011.
CCNA 1 v3.0 Module 9 TCP/IP Protocol Suite and IP Addressing
W&L Page 1 CCNA CCNA Training 3.5 Describe IPv6 addresses Jose Luis Flores / Amel Walkinshaw Aug, 2015.
© Cengage Learning 2014 How IP Addresses Get Assigned A MAC address is embedded on a network adapter at a factory IP addresses are assigned manually or.
Module 6: IPv6 Fundamentals. Introduction to IPv6 Unicast IPv6 Addresses Configuring IPv6.
ICMPv6 Error Message Types Informational Message Types.
Neighbor Discovery. IPv6 Terminology Additional subnets Router Host Neighbors Host Intra-subnet router Switch LAN segment Link Subnet Network.
Linux Operations and Administration Chapter Eight Network Communications.
IPv6 Host IP Addressing Julian CPE SW1 ZyXEL March 14, 2008.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 1 Module 10 Routing Fundamentals and Subnets.
1 Objectives Identify the basic components of a network Describe the features of Internet Protocol version 4 (IPv4) and Internet Protocol version 6 (IPv6)
IP Protocol CSE TCP/IP Concepts Connectionless Operation Internetworking involves connectionless operation at the level of the Internet Protocol.
+ Lecture#4 IPV6 Addressing Asma AlOsaimi. + Topics IPv4 Issues IPv6 Address Representation IPv6 Types.
TCP/IP Protocol Suite and IP Addressing Presented By : Dupien AMS.
Chapter 5. An IP address is simply a series of binary bits (ones and zeros). How many binary bits are used? 32.
BAI513 - Protocols IP Version 6 Operation BAIST – Network Management.
1 IPv6: Address Architecture Dr. Rocky K. C. Chang 29 January, 2002.
1 Internet Protocol, Version 6 (IPv6) Special Topics in Computer Sciences Second Term 1433/1434 H Dr. Loai Bani Melhim.
Network Layer IP Address.
1 Computer Networks Chapter 5. Network layer The network layer is concerned with getting packets from the source all the way to the destination. Getting.
Instructor Materials Chapter 7: IP Addressing
IP: Addressing, ARP, Routing
IPv6 101 pre-GDB - IPv6 workshop 7th of June 2016 edoardo
Network Layer, and Logical Addresses
CIS 116 IPv6 Fundamentals 2 – Primer Rick Graziani Cabrillo College
Chapter 6 – Routing.
Internet Protocol, Version 6 (IPv6)
Presentation transcript:

IP Networks and Routing Oakton Community College CIS 238

LINUX Network Setup Commands: - ip - ifconfig - ethtool, sysctl (see sysctl.conf) , see ndd on non-LINUX systems - service network start/stop Datasets: - /etc/sysctl.conf, sysctl.d - /etc/sysconfig/network-scripts

IP Addressing Requirements Network address NetMask Gateway address Static or DHCP

IP V4 addressing IP addresses Consist of 32 bits normally expressed either as four binary octets separated by periods or as four sets of decimal numbers separated by periods Contain a network ID and a host ID defined by the subnet mask If more than local addressing must also supply a Gateway address to the rest of the world.

IPv4 Address Classes Five different classes of IP addresses First three reserve a certain portion of the 32 bits available for the network ID and the host ID Last two are used in special situations only

Subnet Masks 32-bit numbers used to determine the portion of an IP address that represents the network ID and the host ID Place a 1 in bit positions that correspond to network ID bits and a zero in bits that represent host ID bits The host can perform a logical AND function to determine if a destination IP address is on a local network or a remote network

IP Subnetting Process of borrowing host bits to increase the number of network bits Allows administrators to better utilize IP networks that are either assigned to them from the Internet Assigned Numbers Authority (IANA) public IP addresses or from the private address space defined by RFC 1918: 10.0.0.0/8, 172.16.0.0/12. 192.168.0.0/16, 169.254.0.0/16

Network Routing Routing On an IP network: Process of moving information along a path from a source to a destination on a network or between networks On an IP network: Source and destinations are called hosts Information is fragmented into packets that are transferred between these hosts

Direct (Local) Routing Direct Routing (ARP only). Local delivery is via MAC Address contained in ARP table.

Indirect Routing Source and destination hosts are not on the same network segment Packets must pass through a router, a physical link between two or more networks

Indirect Routing IP determines location of routers in one of two ways: Consults a locally maintained routing table, a list of networks the system knows about and the IP addresses of routers that packets must pass through to get to those networks Uses a default gateway (if network is not found on the static routing table) Either way, the designated router for the address is on the local network and is ARP’ed for like any local host. A route consists of: a) network address b) subnet mask c) next hop gateway address.

Routers Routers A physical device used to connect a number of network segments Can be dedicated pieces of hardware, or can be computers with more than one network adapter card, each connected to a different network segment

Static and Dynamic Routers Static routers Router to which routes must be added manually. Provide an entry in the routing table for every network on the internetwork Configure each router with a default gateway Note: every host on a IP network is a static router, if only for itself. Dynamic routers Routers that automatically share their routing information with other routers on the network using a routing protocols such as RIP, OSPF, EIGRP or BGP

Routing Protocols Standard language that lets dynamic routers exchange routing information Basic types: - Distance (RIP, BGP) - Link State(OSPF) Both (EIGRP) - Interior: RIP, OSPF, IGRP - Exterior: EGP, BGP, EIGRP Link state protocols separate networks into areas with common network information Autonomous system One set of networks and routers all under the same administration or group

IPv4 Header

Route Debugging arp (-a) ping / pathping ipconfig /all, ifconfig -a tracert, traceroute netstat –rn route

IPv4 Protocols Internet Control Message Protocol (ICMP) Handles communication error messages Internet Group Management Protocol (IGMP) Provides functionality for multicasting Internet Protocol (IP) Connectionless, layer three protocol Determines proper routing within multiple networks Address Resolution Protocol (ARP) Maps a known IP address to a Media Access Control (MAC) layer address

IPv4 protocols (2) Multicast Routing Protocols Maintaining Multicast Routing Table E.g. DVMRP, MOSPF, CBT, PIM Exterior Routing Protocols (Inter-AS) E.g. BGP (Border Gateway Protocol) Quality-of-Service Frameworks Integrated Service (ISA, IntServ) Differentiated Service (DiffServ)

IPv4 to IPv6 Changed Removed

Network Layer in v4 & v6

IPv6 Addressing Model Addresses are assigned to interfaces, not hosts Interface expected to have multiple addresses Addresses have scope Link-Local Site-Local  Unique Local Global

Text Representation of Address Colon-Hex 3ffe:3600:2000:0800:0248:54ff:fe5c:8868 Compressed Format: 3ffe:0b00:0c18:0001:0000:0000:0000:0010 becomes 3ffe:b00:c18:1::10

Address Type Prefixes

Global Unicast Address Global routing prefix A (typically hierarchically-structured) value assigned to a site (a cluster of subnets/links) Subnet ID An identifier of a subnet within the site Interface ID Constructed in Modified EUI-64 format

MAC to IPv6 mapping

Site-Local Address Meaningful only in a single site zone, and may be re-used in other sites Equivalent to the IPv4 private address space Address are not automatically configured and must be assigned Prefix= FEC0::/48

Link-Local Address Meaningful only in a single link zone, and may be re-used on other links Link-local addresses for use during auto-configuration and when no routers are present Required for Neighbor Discovery process, always automatically configuration An IPv6 router never forwards link-local traffic beyond the link Prefix= FE80::/64

Special IPv6 Address Loopback address (0:0:0:0:0:0:0:1 or ::1) Identify a loopback interface IPv4-compatible address (0:0:0:0:0:0:w.c.x.z or ::w.c.x.z) Used by dual-stack nodes IPv6 traffic is automatically encapsulated with an IPv4 header and send to the destination using the IPv4 infrastructure IPv4 mapped address (0:0:0:0:0:FFFF:w.c.x.z or ::FFFF:w.c.x.z) Represent an IPv4-only node to an IPv6 node Only use a single listening socket to handle connections from client via both IPv6 and IPv4 protocols. Never used as a source or destination address of IPv6 packet Rarely implemented

IPv6 Header Format

Address Autoconfiguration (1) Allow plug and play BOOTP and DHCP are used in IPv4 DHCPng will be used with IPv6 Two Methods: Stateless and Stateful Stateless: A system uses link-local address as source and multicasts to "All routers on this link" (Router discovery protocol) Router replies and provides all the needed prefix info All prefixes have a associated lifetime System can use link-local address permanently if no router

Address Autoconfiguration (2) Stateful: Problem w/ stateless: Anyone can connect Routers ask the new system to go DHCP server (by setting managed configuration bit) System multicasts to "All DHCP servers" DHCP server assigns an address

Neighbor Discovery (ND) Node (Hosts and Routers) use ND to determinate the link-layer addresses for neighbors known to reside on attached links and quick purge cached valued that become invalid Hosts also use ND to find neighboring router that willing to forward packets on their behalf Nodes use the protocol to actively keep track of which neighbors are reachable and which are not, and to detect changed link-layer addresses Replace ARP, ICMP Router Discovery, and ICMP Redirect used in IPv4

IPv6 ND Mechanisms (1) Router discovery Prefix discovery Equivalent to ICMPv4 Router Discovery Prefix discovery Equivalent to ICMPv4 Address Mask Request/Reply Parameter discovery Discovery additional parameter (ex. link MTU, default hop limit for outgoing packet) Address auto-configuration Configure IP address for interfaces Address resolution: Equivalent to ARP in IPv4

IPv6 ND Mechanisms (2) Next-hop determination Destination address, or Address of an on-link default router Neighbor unreachable detection (NUD) Duplicate address detection (DAD) Determine that an address considered for use is not already in use by a neighboring node First-hop Redirect function Inform a host of a better first-hop IPv6 address to reach a destination, Equivalent to ICMPv4 Redirect

IPv6 References RFC 2460: IPv6 RFC 2461: Neighbor Discovery RFC 2462: Stateless Address Autoconfiguration RFC 3513: Addressing Architecture RFC 3679: Flow Label Specification RFC 4443: ICMPv6 RFC 3810: Multicast Listener Discovery (MLDv2)