APNIC Routing Workshop

Size: px
Start display at page:

Download "APNIC Routing Workshop"

Transcription

1 APNIC Routing Workshop Surabaya, Indonesia November, 2013 Proudly Supported by:

2 Presenter Champika Wijayatunga Training Unit Manager, APNIC Champika is responsible for managing its training activities in the Asia Pacific region and brings several years of experience, having worked in a number of countries in the IT industry, academia, research, and training environments. Areas of interests: Internet Resource Management, IPv6, DNS/DNSSEC, Network Security Contact: champika@apnic.net

3 Presenters Wita Laksono Internet Resource Analyst, APNIC Wita is responsible for analyzing IP address and AS number requests from APNIC members. He also supports APNIC helpdesk and skilled in Network Engineering aspects. Areas of interests: Internet Resource Management, IPv6 Contact:

4 Agenda Managing Internet Resources Routing Fundamentals IPv6 Overview Network Design and Address Planning Interior Gateway Protocol (IGP) OSPF (Case Study) Exterior Gateway Protocol (EGP) BGP (Case Study) 4

5 Managing Internet Resources 5

6 Internet Resource Management Conservation Efficient use of resources Based on demonstrated need Aggregation Limit routing table growth Support provider-based routing Registration Ensure uniqueness Facilitate troubleshooting Uniqueness, fairness and consistency

7 IPv4 Address Space Source: NRO

8 APNIC IPv4 Distribution

9 IPv6 Address Space Source - NRO

10 Allocation and Assignment Allocation A block of address space held by an IR (or downstream ISP) for subsequent allocation or assignment Not yet used to address any networks Assignment A block of address space used to address an operational network May be provided to ISP customers, or used for an ISP s infrastructure ( selfassignment ) 10

11 Allocation and Assignment APNIC Allocates to APNIC Member /8 (IPv4) /12 (IPv6) APNIC Allocation APNIC Member Allocates to downstream Downstream Assigns to end-user Assigns to end-user Customer / End User /24 (IPv4) /40 (IPv6) Sub- Allocation /27 /26 /25, /48 /22 (IPv4) /32 (IPv6) Member Allocation Customer Assignments /26, /56 /27, /64

12 Portable and Non-Portable Portable Assignments Customer addresses independent from ISP Keeps addresses when changing ISP Bad for size of routing tables Bad for QoS: routes may be filtered, flap-dampened Non-portable Assignments Customer uses ISP s address space Must renumber if changing ISP Only way to effectively scale the Internet Portable allocations Allocations made by APNIC/NIRs ISP Allocation ISP Customer assignments Customer assignments 12

13 Address Management Hierarchy /12 APNIC Allocation /12 APNIC Allocation Member Allocation Portable /32 Sub-allocation /40 Non-Portable Assignment Portable /48 Assignment Non-Portable /64 - /48 /64 - /48 Assignment Non-Portable Describes portability of the address space 13

14 Global Routing Table IPv prefixes As of 16 Oct 2013 Sustainable growth? Projected routing table growth without CIDR CIDR deployment Dot-Com boom

15 Global Routing Table IPv6 Source:

16 Questions?

17 Routing Fundamentals

18 Graphics / Symbols Used Router (layer 3, IP datagram forwarding) Network Access Server (layer 3, IP datagram forwarding ) Ethernet switch (layer 2, packet forwarding)

19 What is a Routing Protocol? A set of rules defined to facilitate the exchanges of routing information between routers (Layer 3 device) inside networks Builds routing tables dynamically based on updates from its neighbours Allows the router to find the best path in a network that has more than one path to a remote network. Maintains connectivity between devices within the network.

20 Routing Protocol Behaviour Updates Layer 3 routing devices, to route the data across the best path Learns participating routers advertised routes to discover their neighbors Learned routes are stored inside the routing table

21 What is Routing? Routing is the method of delivering an item from one location to another Example Post Mail = delivery is being done via Post Office In a router network environment, it forwards traffic to a logical device destination interface. Routers perform two functions to deliver the packets to their destination: 1. Routing: Learning the logical topology of the network to store the path inside the routing table to where the traffic should flow 2. Switching: Forwarding the packets from an inbound interface to the outbound interface within the router

22 Distinction between Routed and Routing Protocols Routed protocols Layer3 datagram that carry the information required in transporting the data across the network Routing protocols Handles the updating requirement of the routers within the network for determining the path of the datagram across the network

23 Routing and Routed Protocols Routed protocol Routing protocol AppleTalk IPX Vines DecNet IV IP RTMP, AURP, EIGRP RIP, NLSP, EIGRP RTP DecNet RIPv2, OSPF, IS-IS, BGP and (Cisco Systems proprietary) EIGRP,

24 Routing Requirements Activation of the protocol suite from such devices participating in the network Knowledge of the network destination Must have an available entry in the routing table Must have a valid and current route entry Interface presenting the best route path Outbound interface with the lowest metric path

25 Routing Information A routing table entry must contain the following information: Network field Outgoing interface Metric field Next-hop field

26 Network Field Contains information of entries Networks learned (destination logical network or subnets) Manually (static or default routes) Dynamically (learned from routing protocol as dynamic routes) Information recorded is the entry on where to forward traffic to its destination when the datagram is received.

27 Outgoing Interface Field Interface to where the router sends the datagram Informs the administrator of interface where the update came through

28 Metric Field Used to determine which path to use if there are multiple paths to the remote network Provides the value to select the best path But take note of the administrative distance selection process J

29 Routing Protocol Metrics Routing protocol Metric RIPv2 Hop count EIGRP Bandwidth, delay, load, reliability, MTU OSPF IS-IS Cost (the higher the bandwidth indicates a lowest cost) Cost

30 Administrative Distance The method used for selection of route priority of IP routing protocol. The lowest administrative distance is preferred. Manually entered routes are preferred over dynamically learned routes Static routes Default routes Dynamically learned routes depend on the routing protocol metric calculation algorithm. For default metric values, the smallest metric value is preferred.

31 Administrative Distance Chart (Cisco) Route sources Default distance Connected interface 0 Static route out an interface 0 Static route to a next hop 1 External BGP 20 IGRP 100 OSPF 110 IS-IS 115 RIP v1, v2 120 EGP 140 Internal BGP 200 Unknown 255

32 Next Hop Field Contains the destination address of the next forwarding router Address of the next hop (outgoing interface) usually within the same subnet ibgp (exemption to the rule) Identifies the next hop so that the router can create the Layer2 frame with the destination address

33 Routing Table Sample (Cisco) Cisco-router#sh ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set????????????? /24 is variably subnetted, 2 subnets, 2 masks S /24 is directly connected, Null0 C /32 is directly connected, Loopback0 O E [110/5] via , 0:01:00, Ethernet2 O [110/128] via , 0:02:22, Ethernet2 B /24 [20/0] via , 5d16h Sample only

34 Routing Table Updates Routing table entry accuracy is required to make sure of the following: Table entries are current and correct New networks are inserted into the table Best path is available to reach the destination network Alternative routes are available to reach the destination network Networks that is no longer available should not be seen in the routing table Depends on the routing protocol

35 Routing Decisions The main goal of the routing decision is to maintain a path that is valid and free from routing loops to the destination network, regardless of whether it is single hop or a multiple hop path The decision is made based on the metric value in the routing table Using the sum of the metrics associated with the default routing protocol value and the intermediate connections

36 Router Traffic Forwarding Forwards traffic to the out-bound interface Routing table entry ensures that the network topology is learnt Routing table entries that contain the information of the routes learned from other routers

37 Classful and Classless Distinction

38 Types of Routing Protocols Routing protocols are essentially applications inside the router designed to ensure correct and timely exchange of information within the network The IP routing protocol has several distinctions which can be divided into different groups The first is the group is how the routing protocol handles the subnet mask sent during the routing update The early routing protocols don t support this but the newer one s like RIP2, OSPF, ISIS, BGP4 support it. The distinctions are called classful and classless

39 Classful routing protocol (obsolete) Periodic updates are done by the routing protocol does not carry out subnet or routing masks because the assumption is always based on network bit boundaries does not support VLSM which makes it inefficient for addressing the network This has been obsolete for a long time but for knowledge purposes there are two protocols designed for it. RIPv1 IGRP It has created constraints to IP network design due to its limitations

40 Classless Routing Protocol Classless routing protocol was designed to overcome the constraints from classful routing OSPF IS-IS EIGRP (Cisco) BGP lead also to the development of RIP2

41 Characteristics of Classless Routing Support for different subnet mask values Routers can be configured to have different subnet masks (VLSM) Supports route summarisation Manual configuration Supports Classless Interdomain Routing (CIDR) architecture

42 Distance Vector

43 Distance Vector Routing Protocol Another distinction based on the behavior of learning the path to the destination network Distance vector and Link-State protocols Distance vector routing protocol Early technology of IP routing protocols (RIPv2) Concept design was for small networks

44 Distance Vector Operation Maintains its own table by sending its own modified table for updates Sends updates to directly connected neighbors is done in a periodic manner. This is commonly known as the (routing by rumor) the timer needs to reach the expiration stage before the next update will be sent NOTE: Updating of the tables affects the entire routing table, except those networks learned from interfaces where update is sent

45 Link-state

46 Link-State Routing Protocol Link-state routing protocol was designed to overcome the limitation of Distance Vector routing protocol. The main goal is to achieve the following: Maintain a loop-free and accurate table Utilises multicast address and make updated based on incremental Fast convergence of the network Reduce the network overhead during updates Selection of best path based on link status Routing protocols that support link-state are: OSPF IS-IS

47 Link-state Operation Link state operates through its main concern focusing on the link connected to the router (not the routes) Changes in the link state is propagated to its neighboring routers to maintain the same image of the network topology among each neighbors Uses the router s CPU resources instead of bandwidth like Distance Vector When there is a state change the incremental update is sent to neighboring routers immediately, remains silent if there s no change in the link state.

48 Link-state Operation Maintains the topology map of the network for easy local network table updates via incremental updates OSPF = Link State Advertisement (LSA) Dijkstra algorithm used to compute the new topology map of the network Metric used in Link-state is stated as cost Equipment vendors default value setting can be overridden in manual configuration

49 Link-State Comparison Chart Characteristic OSPF IS-IS Hierarchical topology X X Retains knowledge of all possible routes X X Routes summarisation - manual X X Event-triggered announcement X X Load balancing equal path X X VLSM support X X Routing algorithm Dijkstra IS-IS Metric Cost Cost Hop Count limit Unlimited 1024 Scalability Large Vry-Lrg

50 Interior and Exterior Routing Protocols Other group distinctions with routing protocols are simplified as the protocols used for internal or external networks Interior Routing protocol used to maintain routes within the organisation Routing protocols that support it are: RIPv2, OSPF, IS-IS, EIGRP (Cisco) Exterior Routing protocol used to maintain routes connecting to different organisations Exchange routing information between organisations Using Exterior Gateway Protocol (EGP) Border Gateway Protocol version 4 (BGP-4)

51 Addressing Issues and Solutions

52 IP Addressing Issues Exhaustion of IPv4 addresses Wasted address space in traditional subnetting Limited availability of /8 subnet addresses Internet routing table growth Size of the routing table due to higher number prefix announcement Tremendous growth of the Internet

53 IP Addressing Solutions Subnet masking and summarisation Variable-length subnet mask definition Hierarchical addressing Classless InterDomain Routing (CIDR) Routes summarisation (RFC 1518) Private address usage (RFC 1918) Network address translation (NAT) Development of IPv6 addresses

54 Subnetting Overview Allows the creation of additional sub-networks by simply moving the network boundary to the right When the contiguous 1s are added, it indicates by how many bits the network portion will be extended The sub-network is calculated by the 2 n where n is the number of extended bits.

55 Addressing Hierarchy Support for easy troubleshooting, upgrades and manageability of networks Performance optimisation Scalable and more stable Less network resources overhead (CPU, memory, buffers, bandwidth) Faster routing convergence

56 Addressing Hierarchy Example Upstream A Upstream B Border Core IXP A Distribution IXP B POP Access Access POP

57 Addressing Hierarchical (cont.) Network Number /16 Core /19 Upstream A Upstream B Border Core IXP A Distribution IXP B Distribution/Core /21 Access/Distribution /21 POP Access Access POP

58 Variable Length Subnet Mask Allows the ability to have more than one subnet mask within a network Allows re-subnetting create sub-subnet network addresses Increase the route capabilities Addressing hierarchy Summarisation

59 Calculating VLSM Example Subnet /24 into smaller subnet Subnet mask with /27 and /30 (point-to-point) / / / / / / / / /27

60 Calculating VLSM Example (cont.) Subnet /24 into smaller subnets Subnet mask with /30 (point-to-point) Description Decimal Binary Network Address /30 x.x.x st valid IP /30 x.x.x nd valid IP /30 x.x.x Broadcast address /30 x.x.x

61 Calculating VLSM Example (cont.) Subnet /24 into smaller subnets Subnet mask with /27 Description Decimal Binary Network Address Valid IP range /27 x.x.x x.x.x x.x.x Broadcast address /30 x.x.x

62 Calculating VLSM Example (cont.) Subnet /24 into smaller subnets Subnet mask with /27 Description Decimal VSLM Host Host range 1 st subnet /27 x.x.x nd subnet /2 7 3 rd subnet /2 7 4 th subnet /2 7 x.x.x x.x.x x.x.x n = 5 (n is the remaining subnet bits ) 2n 5 = 30 host per subnet

63 Summarisation of Routes

64 Route Summarisation Allows the presentation of a series of networks in a single summary address. Advantages of summarisation Faster convergence Reducing the size of the routing table Simplification Hiding Network Changes Isolate topology changes

65 Summarisation Example Router C summarises its networks (2 x/24) before announcing to its neighbors (routers B and D) Router A combined the networks received from B, C, D and announce it as single /16 routing to Internet / /20 B / /24 C / /16 A Internet / /20 D

66 Route summarisation Subnet /24 and /24 combining then to become a bigger block of address /23 Network Subnet Mask Binary x.x x x.x x Summary /23 x.x x x.x x

67 Discontiguous Networks A network not using routing protocols that support VLSM creates problems Router will not know where to send the traffic Creates routing loops or duplication Summarisation is not advisable for networks that are discontiguous Turn off summarisation Alternative solution but understand the scaling limitation Find ways to re-address the network Can create disastrous situation

68 CIDR Solution Advantage CIDR offers the advantage of reducing the routing table size of the network by summarising the ISP announcement into a single /21 advertisement /24 B / / / / /24 C /20 A Internet / /24 D

69 A day in a life of a router find path forward packet, forward packet, forward packet, forward packet... find alternate path forward packet, forward packet, forward packet, forward packet repeat until powered off

70 Routing versus Forwarding Routing = building maps and giving directions Forwarding = moving packets between interfaces according to the directions

71 IP Routing finding the path Path derived from information received from a routing protocol Several alternative paths may exist best path stored in forwarding table Decisions are updated periodically or as topology changes (event driven) Decisions are based on: topology, policies and metrics (hop count, filtering, delay, bandwidth, etc.)

72 IP route lookup Based on destination IP address longest match routing More specific prefix preferred over less specific prefix Example: packet with destination of /32 is sent to the router announcing 10.1/16 rather than the router announcing 10/8.

73 IP route lookup Based on destination IP address Packet: Destination IP address: R3 10/8 announced from here R1 R2 10/8 R3 10.1/16 R4 20/8 R5 30/8 R6.. R2 s IP routing table R4 10.1/16 announced from here

74 IP route lookup: Longest match routing Based on destination IP address Packet: Destination IP address: R3 10/8 announced from here R1 R2 10/8 R && FF /16 R4 vs. 20/8 R && FF /8 R6.. R2 s IP routing table Match! R4 10.1/16 announced from here

75 IP route lookup: Longest match routing Based on destination IP address Packet: Destination IP address: R3 10/8 announced from here R1 R2 10/8 R3 10.1/16 R4 20/8 R5 30/8 R6.. R2 s IP routing table && FF.FF.0.0 vs && FF.FF.0.0 R4 10.1/16 announced Match as well! from here

76 IP route lookup: Longest match routing Based on destination IP address Packet: Destination IP address: R3 10/8 announced from here R1 R2 10/8 R3 10.1/16 R4 20/8 R5 30/8 R6.. R2 s IP routing table && FF vs && FF R4 Does not match! 10.1/16 announced from here

77 IP route lookup: Longest match routing Based on destination IP address Packet: Destination IP address: R3 10/8 announced from here R1 R2 10/8 R3 10.1/16 R4 20/8 R && FF /8 R6 vs && FF R2 s IP routing table R4 Does not match! 10.1/16 announced from here

78 IP route lookup: Longest match routing Based on destination IP address Packet: Destination IP address: R3 10/8 announced from here R1 10/8 R3 10.1/16 R4 20/8 R5 30/8 R6.. R2 s IP routing table R2 Longest match, 16 bit netmask R4 10.1/16 announced from here

79 FYI: Cisco IOS Default Administrative Distances Route Source Default Distance Connected Interface 0 Static Route 1 Enhanced IGRP Summary Route 5 External BGP 20 Internal Enhanced IGRP 90 IGRP 100 OSPF 110 IS-IS 115 RIP 120 EGP 140 External Enhanced IGRP 170 Internal BGP 200 Unknown 255

80 Questions?

81 The Internet Routing Registry (IRR) 81

82 What is a Routing Registry? A repository (database) of Internet routing policy information Autonomous Systems exchanges routing information via BGP Exterior routing decisions are based on policy based rules However BGP does not provides a mechanism to publish/ communicate the policies themselves RR provides this functionality Routing policy information is expressed in a series of objects Stability and consistency of routing Network operators share information

83 What is a Routing Registry? RIPE ARIN, ArcStar, FGC, Verio, Bconnex, Optus, Telstra,... RADB CW APNIC Connect IRR = APNIC RR + RIPE DB + RADB + C&W + ARIN +

84 What is Routing Policy? Description of the routing relationship between autonomous systems Who are my BGP peers? Customer, peers, upstream What routes are: Originated by each neighbour? Imported from each neighbour? Exported to each neighbour? Preferred when multiple routes exist? What to do if no route exists? What routes to aggregate?

85 Representation of Routing Policy AS1 AS2 NET1 NET2 In order for traffic to flow from NET2 to NET1 between AS1 and AS2: AS1 has to announce NET1 to AS2 via BGP And AS2 has to accept this information and use it Resulting in packet flow from NET2 to NET1

86 Representation of Routing Policy AS1 AS2 NET1 NET2 In order for traffic to flow towards from NET1 to NET2: AS2 must announce NET2 to AS1 And AS1 has to accept this information and use it Resulting in packet flow from NET 1 to NET2

87 RPSL Routing Policy Specification Language Object oriented language Based on RIPE-181 Structured whois objects Higher level of abstraction than access lists RFC 2622 RFC 2725 Describes things interesting to routing policy: Routes, AS Numbers Relationships between BGP peers Management responsibility RFC 2650

88 Routing Policy Examples Basic concept AS 1 AS 2 action pref the lower the value, the preferred the route aut-num: AS1 import: from AS2 action pref= 100; accept AS2 export: to AS2 announce AS1 aut-num: AS2 import: from AS1 action pref=100; accept AS1 export: to AS1 announce AS2

89 Routing Policy Examples AS 123 AS4 AS5 AS5 More complex example: AS10 AS4 gives transit to AS5, AS10 AS4 gives local routes to AS123

90 Routing Policy Examples AS 123 AS4 AS5 AS5 aut-num: AS4 import: from AS123 action pref=100; accept AS123 import: from AS5 action pref=100; accept AS5 import: from AS10 action pref=100; accept AS10 export: to AS123 announce AS4 export: to AS5 announce AS4 AS10 export: to AS10 announce AS4 AS5 Not a path AS10

91 Routing Policy Examples AS123 transit traffic over link2 AS4 AS6 link3 private link1 More complex example AS4 and AS6 private link1 AS4 and AS123 main transit link2 backup all traffic over link1 and link3 in event of link2 failure

92 Routing Policy Examples AS123 transit traffic over link2 AS4 AS representation AS6 link3 private link1 aut-num: AS4 import: from AS123 action pref=100; accept ANY Full routing received import: from AS6 action pref=50; accept AS6 High preference for AS6 import: from AS6 action pref=200; accept ANY export: to AS6 announce AS4 Lower preference for backup route export: to AS123 announce AS4

93 Inter-related IRR Objects aut-num: AS1 tech-c: mnt-by: KX17-AP MAINT-EX route: origin: /24 AS1 mnt-by: MAINT-EX inetnum: tech-c: KX17-AP mnt-by: MAINT-EX person: nic-hdl: KX17-AP mntner: MAINT-EX

94 Hierarchical Authorisation mnt-routes authenticates creation of route objects creation of route objects must pass authentication of mntner referenced in the mntroutes attribute Format: mnt-routes: <mntner> In: inetnum aut-num route

95 Authorisation Mechanism inetnum: netname: SPARKYNET-TC descr: SparkyNet Service Provider mnt-by: APNIC-HM mnt-lower: MAINT-SPARKYNET1-TC mnt-routes: MAINT-SPARKYNET2-TC This object can only be modified by APNIC Creation of more specific objects (assignments) within this range has to pass the authentication of MAINT-SPARKYNET Creation of route objects matching/within this range has to pass the authentication of MAINT-SPARKYNET-WF

96 Creating Route Objects Multiple authentication checks: Originating ASN mntner in the mnt-routes is checked If no mnt-routes, mnt-lower is checked If no mnt-lower, mnt-by is checked AND the address space Exact match & less specific route mnt-routes etc Exact match & less specific inetnum mnt-routes etc AND the route object mntner itself The mntner in the mnt-by attribute aut-num inetnum route route

97 Creating Route Objects 4 route route: /20 origin: AS1 1 2 IP address range inetnum: mnt-routes: MAINT-WF-EXNET AS number aut-num: AS1 mnt-routes: MAINT-WF-EXNET 5 maintainer mntner: MAINT-WF-EXNET auth: CRYPT-PW klsdfji Create route object and submit to APNIC RR database 2. DB checks aut-num obj corresponding to the ASN in route obj 3. Route obj creation must pass auth of mntner specified in aut-num mnt-routes attribute. 4. DB checks inetnum obj matching/encompassing IP range in route obj 5. Route obj creation must pass auth of mntner specified in inetnum mnt-routes attribute.

98 Using Routing Registry

99 IRRToolSet Set of tools developed for using the Internet Routing Registry (IRR) Work with Internet routing policies These policies are stored in IRR in the Routing Policy Specification Language (RPSL) The goal of the IRRToolSet is to make routing information more convenient and useful for network engineers Tools for automated router configuration, Routing policy analysis On-going maintenance etc.

100 Use of RPSL RtConfig RtConfig part of IRRToolSet Reads policy from IRR (aut-num, route & -set objects) and generates router configuration vendor specific: Cisco, Bay's BCC, Juniper's Junos and Gated/RSd Creates route-map and AS path filters Can also create ingress / egress filters

101 Why use IRR and RtConfig? Benefits of RtConfig Avoid filter errors (typos) Expertise encoded in the tools that generate the policy rather than engineer configuring peering session Filters consistent with documented policy (need to get policy correct though)

102 Using the Routing Registry Define your routing policy Enter policy in IRR Run RtConfig Apply config to routers router Costs config Upstream Upstream no access-list Requires 101 some initial access-list 101 permit ip routing access-list 101 permit ip access-list 101 permit ip access-list planning 101 permit ip policy access-list 101 deny ip ! no route-map AS3001-EXPORT! Takes some time to route-map AS3001-EXPORT permit 1 match ip address 101! peer AS1 router define bgp 4003 & register policy neighbor route-map AS3001-EXPORT out cust cust IRR Need to maintain data in cust cust RR peer Benefits router config You have a clear idea routing of no access-list 101 policy IRR access-list 101 permit ip your routing access-list 101 permit ip policy access-list 101 permit ip access-list 101 permit ip access-list 101 deny ip RtConfig! Consistent no route-map AS3001-EXPORT config over! route-map AS3001-EXPORT permit 1 match ip address 101 the whole! network router bgp 4003 neighbor route-map AS3001-EXPORT out Less manual maintenance in the long run

103 APNIC RR integrated in Whois DB Facilitates network troubleshooting Registration of routing policies Generation of router configurations Provides global view of routing

104 Questions?

105 IPv6 Overview 105

106 IPv6 Addressing An IPv6 address is 128 bits long So the number of addresses are 2^128 = In hex, 4 bits (also called a nibble ) is represented by a hex digit 2001:DC0:A910:: nibbles

107 IPv6 Address Representation RFC 5952 Hexadecimal values of eight 16 bit fields X:X:X:X:X:X:X:X (X=16 bit number, ex: A2FE) 16 bit number is converted to a 4 digit hexadecimal number Case insensitive Example: FE38:DCE3:124C:C1A2:BA03:6735:EF1C:683D Abbreviated form of address FE80:0023:0000:0000:0000:036E:1250:2B00 FE80:23:0:0:0:36E:1250:2B00 FE80:23::36E:1250:2B00 (Null value can be used only once) Leading zeroes Groups of zeroes Double colons

108 IPv6 Address Representation (2) Double colons (::) representation RFC5952 recommends that the rightmost set of :0: be replaced with :: for consistency 2001:db8:0:2f::5 rather than 2001:db8::2f:0:0:0:5 In a URL, it is enclosed in brackets (RFC3986) Cumbersome for users, mostly for diagnostic purposes Use fully qualified domain names (FQDN) Prefix Representation Representation of prefix is just like IPv4 CIDR In this representation, you attach the prefix length IPv6 address is represented as: 2001:db8:12::/40

109 IPv6 Addressing 2001:0DB8:DEAD:BEEF:1AB6:503F:A804:71D bits is reduced down to 32 hex digits

110 Exercise :0db8:0000:0000:0000:0000:0000: :0db8:0000:0000:d170:0000:1000:0ba :0db8:0000:0000:00a0:0000:0000:10bc :0db8:0fc5:007b:ab70:0210:0000:00bb

111 Unicast address Address given to interface for communication between host and router Global unicast address currently delegated by IANA 001 FP Global routing prefix Subnet ID Interface ID 3bits 45 bits 16 bits 64 bits Local use unicast address Link-local address (starting with FE80::) Interface ID 10 bits 54 bits 64 bits

112 Global Addresses With Network Prefix IPV6 Global Unicast Address Global Unicast Range: ::/ ::/3 All five RIRs are given a /12 from the /3 to further distribute within the RIR region APNIC 2400:0000::/12 ARIN 2600:0000::/12 AfriNIC 2C00:0000::/12 LACNIC 2800:0000::/12 Ripe NCC 2A00:0000::/12 112

113 Global Addresses With Network Prefix 6to4 Addresses 2002::/16 Designed for a special tunneling mechanism [RFC 3056] to connect IPv6 Domains via IPv4 Clouds Automatic tunnel transition Mechanisms for IPv6 Hosts and Routers Need 6to4 relay routers in ISP network

114 Local Addresses With Network Prefix Link Local Address A special address used to communicate within the local link of an interface (i.e. anyone on the link as host or router) The address in the packet destination would never pass through a router (local scope) Mandatory address - automatically assigned as soon as IPv6 is enabled fe80::/10

115 Local Addresses With Network Prefix 128 Bits Remaining 54 Bits Interface ID FE80::/10 10 Bits Remaining 54 bits could be Zero or any manual configured value

116 Examples and Documentation Prefix Two address ranges are reserved for examples and documentation purpose by RFC 3849 For example 3fff:ffff::/32 For documentation 2001:0DB8::/32 116

117 Special addresses The unspecified address A value of 0:0:0:0:0:0:0:0 (::) It is comparable to in IPv4 The loopback address It is represented as 0:0:0:0:0:0:0:1 (::1) Similar to in IPv4

118 Interface ID The lowest-order 64-bit field addresses may be assigned in several different ways: auto-configured from a 48-bit MAC address expanded into a 64-bit EUI-64 assigned via DHCP manually configured auto-generated pseudo-random number possibly other methods in the future

119 EUI-64 Mac Address B 0 E C EUI-64 Address B 0 E C U/L bit F F F E Interface Identifier B 0 F F F E E C

120 Initial IPv6 Allocation To qualify for an initial allocation of IPv6 address space, an organization must: Not be an end site (must provide downstream services) Plan to provide IPv6 connectivity to organizations to which it will make assignments Meet one of the two following criteria: Have a plan for making at least 200 assignments to other organizations within two years OR Be an existing ISP with IPv4 allocations from an APNIC or an NIR, which will make IPv6 assignments or sub-allocations to other organizations and announce the allocation in the inter-domain routing system within two years

121 One Click IPv6 Policy Members with IPv4 holdings can click the button in MyAPNIC to instantly receive their IPv6 block No forms to fill out! Get your IPv6 addresses icon in the main landing page at MyAPNIC A Member that has an IPv4 allocation is eligible for a /32 A Member that has an IPv4 assignment is eligible for a /48

122 IPv6 addressing structure 128 bits Network Prefix Interface ID ISP /32 Customer Site /48 End Site Subnet /64 Device 128 Bit Address

123 IPv6 Assignment Policy Assignment address space size Minimum of /64 (only 1 subnet), Normal maximum of /48, Larger end-site assignment can be justified In typical deployments today Several ISPs gives small customers a /56 or a /60 and Single LAN end sites a /64, e.g., /64 if end-site will ever only be a LAN /60 for small end-sites (e.g. consumer) /56 for medium end-sites (e.g. small business) /48 for large end-sites Assignment of multiple /48s to a single end site Documentation must be provided Will be reviewed at the RIR/NIR level Assignment to operator s infrastructure /48 per PoP as the service infrastructure of an IPv6 service operator

124 Subnetting Network engineers must have a solid understanding of subnetting Important for address planning IPv6 subnetting is similar (if not exactly the same) as IPv4 subnetting Note that you are working on hexadecimal digits rather than binary 0 in hex = 0000 in binary 1 in hex = 0001 in binary

125 Subnetting (Example) Provider A has been allocated an IPv6 block 2001:DB8::/32 Provider A will delegate /48 blocks to its customers Find the blocks provided to the first 4 customers

126 Subnetting (Example) Original block: Rewrite as a /48 block: 2001:0DB8::/ :0DB8:0000:/48 This is your network prefix! How many /48 blocks are there in a /32? /32 /48 = Find only the first 4 /48 blocks = =

127 Subnetting (Example) 2001:0DB8:0000::/48 Start by manipulating the LSB of your network prefix write in BITS In bits 2001:0DB8: ::/ :0DB8: ::/ :0DB8: ::/ :0DB8: ::/ :0DB8:0000::/ :0DB8:0001::/ :0DB8:0002::/ :0DB8:0003::/48 Then write back into hex digits

128 Exercise 1.1: IPv6 subnetting Identify the first four /64 address blocks out of 2001:DB8:0::/

129 Exercise 1.2: IPv6 subnetting Identify the first four /36 address blocks out of 2406:6400::/

130 Exercise 1.3: IPv6 subnetting Identify the first six /35 address blocks out of 2406:6400::/

131 Configuration of IPv6 Nodes There are 3 ways to configure IPv6 address on an IPv6 node: Static address configuration DHCPv6 assigned node address Autoconfiguration (New feature in IPv6)

132 Configuration of IPv6 Nodes Stateless mechanism For a site not concerned with the exact addresses No manual configuration required Minimal configuration of routers No additional servers Stateful mechanism For a site that requires tighter control over exact address assignments Needs a DHCPv6 server

133 IPv6 Autoconfiguration RFC 4862 IPv6 Stateless Address Autoconfiguration (SLACC) Allow a host to obtain or create unique addresses for its interface/s Manual configuration should not be required Even if no servers/routers exist to assign an IP address to a device, the device can still auto-generate an IP address Small sites should not require DHCPv6 server to communicate Plug and play Allows interfaces on the same link to communicate with each other Facilitate the renumbering of a site s machines

134 Interface ID The lowest-order 64-bit field addresses May be assigned in several different ways: auto-configured from a 48-bit MAC address expanded into a 64-bit EUI-64 assigned via DHCP manually configured auto-generated pseudo-random number possibly other methods in the future

135 EUI-64 Mac Address A B C D E EUI-64 Address A B C D E U/L bit F F F E Interface Identifier F F F E 9 A B C D E EUI-64 address is formed by inserting FFFE and OR ing a bit identifying the uniqueness of the MAC address

136 IPv6 Addressing Examples LAN: 2001:db8:213:1::/64 Ethernet0 interface Ethernet0 ipv6 address 2001:db8:213:1::/64 eui-64 MAC address: e router# show ipv6 interface Ethernet0 Ethernet0 is up, line protocol is up IPv6 is enabled, link-local address is FE80::260:3EFF:FE47:1530 Global unicast address(es): 2001:db8:213:1:260:3EFF:FE47:1530, subnet is 2001:db8:213:1::/64 Joined group address(es): FF02::1:FF47:1530 FF02::1 FF02::2 MTU is 1500 bytes

137 Questions?

APNIC Training. Internet Routing Registry (IRR)

APNIC Training. Internet Routing Registry (IRR) APNIC Training Internet Routing Registry (IRR) Objectives To provide an introduction to the APNIC Routing Registry Explain concepts of the global RR Outline the benefits of the APNIC Routing Registry Discuss

More information

Internet Routing Registry Tutorial

Internet Routing Registry Tutorial Internet Routing Registry Tutorial July 15, 2012, Karachi, Pakistan In conjunction with Presenters Champika Wijayatunga Training Unit Manager, APNIC champika@apnic.net Vivek Nigam Internet Resource Analyst,

More information

Welcome! APNIC Internet Routing Registry Tutorial. In conjunction with SANOG IV

Welcome! APNIC Internet Routing Registry Tutorial. In conjunction with SANOG IV Welcome! APNIC Internet Routing Registry Tutorial 29 July 2004, Kathmandu, Nepal In conjunction with SANOG IV Introduction Presenters PART I Champika Wijayatunga champika@apnic.net PART II Gaurab Raj Upadhaya

More information

APNIC Internet Routing Registry. Tutorial Seoul 19 August 2003

APNIC Internet Routing Registry. Tutorial Seoul 19 August 2003 APNIC Internet Routing Registry Tutorial Seoul 19 August 2003 Overview What is an IRR Why use an IRR? RPSL IRR objects Recap attributes of some objects Routing Policy What is routing policy? Why define

More information

IP addressing. Overview. IP addressing Issues and solution Variable Length Subnet Mask (VLSM)

IP addressing. Overview. IP addressing Issues and solution Variable Length Subnet Mask (VLSM) Overview IP addressing IP addressing Issues and solution Variable Length Subnet Mask (VLSM) Written exercise : VLSM calculation Summarisation of routes Classless InterDomain routing (CIDR) Internet registry

More information

APNIC Internet Routing Registry

APNIC Internet Routing Registry APNIC Internet Routing Registry An introduction to the IRR TWNIC Meeting, 3 December 2003 Nurani Nimpuno, APNIC The Internet Routing Registry Global Internet Routing Registry database http://www.irr.net/

More information

Small additions by Dr. Enis Karaarslan, Purdue - Aaron Jarvis (Network Engineer)

Small additions by Dr. Enis Karaarslan, Purdue - Aaron Jarvis (Network Engineer) Routing Basics 1 Small additions by Dr. Enis Karaarslan, 2014 Purdue - Aaron Jarvis (Network Engineer) Routing Concepts IPv4 Routing Forwarding Some definitions Policy options Routing Protocols 3 IPv4

More information

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols

Routing Concepts. IPv4 Routing Forwarding Some definitions Policy options Routing Protocols Routing Basics 1 Routing Concepts IPv4 Routing Forwarding Some definitions Policy options Routing Protocols 2 IPv4 Internet uses IPv4 Addresses are 32 bits long Range from 1.0.0.0 to 223.255.255.255 0.0.0.0

More information

Routing Basics. ISP Workshops. Last updated 10 th December 2015

Routing Basics. ISP Workshops. Last updated 10 th December 2015 Routing Basics ISP Workshops Last updated 10 th December 2015 1 Routing Concepts p IPv4 & IPv6 p Routing p Forwarding p Some definitions p Policy options p Routing Protocols 2 IPv4 p Internet still uses

More information

Routing Basics ISP/IXP Workshops

Routing Basics ISP/IXP Workshops Routing Basics ISP/IXP Workshops 1 Routing Concepts IPv4 Routing Forwarding Some definitions Policy options Routing Protocols 2 IPv4 Internet uses IPv4 addresses are 32 bits long range from 1.0.0.0 to

More information

Routing Basics. Routing Concepts. IPv4. IPv4 address format. A day in a life of a router. What does a router do? IPv4 Routing

Routing Basics. Routing Concepts. IPv4. IPv4 address format. A day in a life of a router. What does a router do? IPv4 Routing Routing Concepts IPv4 Routing Routing Basics ISP/IXP Workshops Forwarding Some definitions Policy options Routing Protocols 1 2 IPv4 IPv4 address format Internet uses IPv4 addresses are 32 bits long range

More information

TDC 363 Introduction to LANs

TDC 363 Introduction to LANs TDC 363 Introduction to LANs Routing Protocols and RIP Greg Brewster DePaul University TDC 363 1 Dynamic Routing Routing Protocols Distance Vector vs. Link State Protocols RIPv1 & RIPv2 RIP Problems Slow

More information

Route Filtering. Types of prefixes in IP core network: Internal Prefixes External prefixes. Downstream customers Internet prefixes

Route Filtering. Types of prefixes in IP core network: Internal Prefixes External prefixes. Downstream customers Internet prefixes Types of prefixes in IP core network: Internal Prefixes External prefixes Downstream customers Internet prefixes Internal prefixes originated in IP core network Loopback Transport Connect inter-regional

More information

IPv6 Protocol Architecture

IPv6 Protocol Architecture IPv6 Protocol Architecture v4/v6 Header Comparison Not kept in IPv6 Renamed in IPv6 Same name and function New in IPv6 2 New Functional Improvement Address Space Increase from 32-bit to 128-bit address

More information

Introduction to Routing

Introduction to Routing 1 Introduction to Routing Session 2 Presentation_ID.scr 1 Agenda Addressing Concepts Routing Protocols Statics and Defaults 3 ISO OSI Reference Model Routing Information Protocol (RIP and RIPv2) L7 L6

More information

Routing Basics ISP/IXP Workshops

Routing Basics ISP/IXP Workshops Routing Basics ISP/IXP Workshops 1 Routing Concepts IPv4 Routing Forwarding Some definitions Policy options Routing Protocols 2 IPv4 Internet uses IPv4 addresses are 32 bits long range from 1.0.0.0 to

More information

Route Filtering. Types of prefixes in IP core network: Internal Prefixes External prefixes. Downstream customers Internet prefixes

Route Filtering. Types of prefixes in IP core network: Internal Prefixes External prefixes. Downstream customers Internet prefixes 1 Types of prefixes in IP core network: Internal Prefixes External prefixes Downstream customers Internet prefixes 2 Internal prefixes originated in IP core network Loopback Transport Connect inter-regional

More information

IPv6 Protocol & Structure. npnog Dec, 2017 Chitwan, NEPAL

IPv6 Protocol & Structure. npnog Dec, 2017 Chitwan, NEPAL IPv6 Protocol & Structure npnog3 9-11 Dec, 2017 Chitwan, NEPAL Protocol Header Comparison IPv4 contains 10 basic header fields, while IPv6 has 6 basic header fields IPv6 header size is 40 octets compared

More information

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles

Building the Routing Table. Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles Building the Routing Table Introducing the Routing Table Directly Connected Networks Static Routing Dynamic Routing Routing Table Principles Introducing the Routing Table R1# show ip route Codes: C - connected,

More information

Chapter 7: Routing Dynamically. Routing & Switching

Chapter 7: Routing Dynamically. Routing & Switching Chapter 7: Routing Dynamically Routing & Switching The Evolution of Dynamic Routing Protocols Dynamic routing protocols used in networks since the late 1980s Newer versions support the communication based

More information

APNIC Routing II Workshop

APNIC Routing II Workshop APNIC Routing II Workshop Jakarta, Indonesia 24 July 2017 Proudly Supported by: Overview Routing II Workshop (3 Days) Introduction to IP Routing Routing Protocol Basic IPv6 Address Structure Routing Lab

More information

Routing Basics. Campus Network Design & Operations Workshop

Routing Basics. Campus Network Design & Operations Workshop Routing Basics Campus Network Design & Operations Workshop These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license (http://creativecommons.org/licenses/by-nc/4.0/)

More information

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols

Top-Down Network Design, Ch. 7: Selecting Switching and Routing Protocols. Top-Down Network Design. Selecting Switching and Routing Protocols Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Copyright 2010 Cisco Press & Priscilla Oppenheimer 1 Switching 2 Page 1 Objectives MAC address table Describe the features

More information

Routing Basics. ISP Workshops

Routing Basics. ISP Workshops Routing Basics ISP Workshops These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International license (http://creativecommons.org/licenses/by-nc/4.0/) Last updated 26

More information

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching

CHAPTER 4: ROUTING DYNAMIC. Routing & Switching CHAPTER 4: ROUTING DYNAMIC Routing & Switching CHAPTER4 4.1 Dynamic Routing Protocols 4.2 Distance Vector Dynamic Routing 4.3 RIP and RIPng Routing 4.4 Link-State Dynamic Routing 4.5 The Routing Table

More information

Introduction to IPv6

Introduction to IPv6 Introduction to IPv6 1 What is IPv6? IP (Internet Protocol) The most common protocol over the Internet defines how packets are sent over the internet Addressing and routing Current versions IPv4 & IPv6

More information

debug ip ospf database external default-metric subnet area 0 stub distribute-list in Serial0/1

debug ip ospf database external default-metric subnet area 0 stub distribute-list in Serial0/1 Which statement about stateless autoconfiguration is true? A host can autoconfigure itself by appending its MAC address to the local link prefix (64 bits). 2 Autoconfiguration allows devices to connect

More information

Top-Down Network Design

Top-Down Network Design Top-Down Network Design Chapter Six Designing Models for Addressing and Naming Copyright 2010 Cisco Press & Priscilla Oppenheimer Guidelines for Addressing and Naming Use a structured model for addressing

More information

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP

Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP Appendix D Memory Tables Chapter 1 Table 1-2 Routing Protocol Characteristics Routing Protocol Type Primarily IGP or EGP RIP Distance-Vector IGP EIGRP OSPF IS-IS BGP Chapter 3 Table 3-2 Hexadecimal/Binary

More information

Networking Fundamentals IPv6 APNIC 44. TAICHUNG, TAIWAN 7-14 September 2017

Networking Fundamentals IPv6 APNIC 44. TAICHUNG, TAIWAN 7-14 September 2017 Networking Fundamentals IPv6 APNIC 44 TAICHUNG, TAIWAN 7-14 September 2017 What is IPv6? IP stands for Internet Protocol which is one of the main pillars that supports the Internet today Current version

More information

ABR (Area Border Router), 206, 216 access, dedicated networks, 23 access layer, three-layer hierarchical design model, 6

ABR (Area Border Router), 206, 216 access, dedicated networks, 23 access layer, three-layer hierarchical design model, 6 1358_fmi.book Page 460 Thursday, May 27, 2004 2:21 PM A ABR (Area Border Router), 206, 216 access, dedicated networks, 23 access layer, three-layer hierarchical design model, 6 access lists, scalable networks,

More information

Chapter 3. Introduction to Dynamic Routing Protocols. CCNA2-1 Chapter 3

Chapter 3. Introduction to Dynamic Routing Protocols. CCNA2-1 Chapter 3 Chapter 3 Introduction to Dynamic Routing Protocols CCNA2-1 Chapter 3 Introduction to Dynamic Routing Protocols Introduction to Dynamic Routing Protocols CCNA2-2 Chapter 3 Perspective and Background Dynamic

More information

Chapter 5 RIP version 1

Chapter 5 RIP version 1 Cisco CCNA 2 Exploration - Routing Chapter 5 RIP version 1 João José jjose@ualg.pt http://w3.ualg.pt/~jjose/cisco/ Based on: Graziani, R. (2008) CIS 82 Routing Theory and Concepts RIPv1: A Distance Vector,

More information

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783.

Introduction. Keith Barker, CCIE #6783. YouTube - Keith6783. Understanding, Implementing and troubleshooting BGP 01 Introduction http:// Instructor Introduction Keith Barker, CCIE #6783 CCIE Routing and Switching 2001 CCIE Security 2003 kbarker@ine.com YouTube -

More information

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

APNIC Internet Routing Registry. Kuala Lumpur, Malaysia, February 2004 APNIC 17 Open Policy Meeting

APNIC Internet Routing Registry. Kuala Lumpur, Malaysia, February 2004 APNIC 17 Open Policy Meeting APNIC Internet Routing Registry Kuala Lumpur, Malaysia, February 2004 APNIC 17 Open Policy Meeting Introduction Presenters Andy Linton Citylink, New Zealand Miwa Fujii Training Officer

More information

MPLS VPN C H A P T E R S U P P L E M E N T. BGP Advertising IPv4 Prefixes with a Label

MPLS VPN C H A P T E R S U P P L E M E N T. BGP Advertising IPv4 Prefixes with a Label 7 C H A P T E R S U P P L E M E N T This online supplement of Chapter 7 focuses on two important developments. The first one is Inter-Autonomous. Inter-Autonomous is a concept whereby two service provider

More information

OSI Data Link & Network Layer

OSI Data Link & Network Layer OSI Data Link & Network Layer Erkki Kukk 1 Layers with TCP/IP and OSI Model Compare OSI and TCP/IP model 2 Layers with TCP/IP and OSI Model Explain protocol data units (PDU) and encapsulation 3 Addressing

More information

Introduction to BGP. ISP/IXP Workshops

Introduction to BGP. ISP/IXP Workshops Introduction to BGP ISP/IXP Workshops 1 Border Gateway Protocol A Routing Protocol used to exchange routing information between different networks Exterior gateway protocol Described in RFC4271 RFC4276

More information

Top-Down Network Design

Top-Down Network Design Top-Down Network Design Chapter Seven Selecting Switching and Routing Protocols Original slides by Cisco Press & Priscilla Oppenheimer Selection Criteria for Switching and Routing Protocols Network traffic

More information

Unit 3: Dynamic Routing

Unit 3: Dynamic Routing Unit 3: Dynamic Routing Basic Routing The term routing refers to taking a packet from one device and sending it through the network to another device on a different network. Routers don t really care about

More information

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ...

Inter-networking. Problem. 3&4-Internetworking.key - September 20, LAN s are great but. We want to connect them together. ... 1 Inter-networking COS 460 & 540 2 Problem 3 LAN s are great but We want to connect them together...across the world Inter-networking 4 Internet Protocol (IP) Routing The Internet Multicast* Multi-protocol

More information

Routing, Routing Algorithms & Protocols

Routing, Routing Algorithms & Protocols Routing, Routing Algorithms & Protocols Computer Networks Lecture 6 http://goo.gl/pze5o8 Circuit-Switched and Packet-Switched WANs 2 Circuit-Switched Networks Older (evolved from telephone networks), a

More information

APNIC elearning: Internet Registry Policies. Revision:

APNIC elearning: Internet Registry Policies. Revision: APNIC elearning: Internet Registry Policies Issue Date: 01/04/2015 Revision: Overview Allocation and Assignment Portable and Non-Portable Addresses IRM Objectives and Goals APNIC Policy Environment APNIC

More information

BGP in the Internet Best Current Practices

BGP in the Internet Best Current Practices BGP in the Internet Best Current Practices 1 Recommended IOS Releases Which IOS?? 2 Which IOS? IOS is a feature rich and highly complex router control system ISPs should choose the IOS variant which is

More information

Connecting to a Service Provider Using External BGP

Connecting to a Service Provider Using External BGP Connecting to a Service Provider Using External BGP First Published: May 2, 2005 Last Updated: August 21, 2007 This module describes configuration tasks that will enable your Border Gateway Protocol (BGP)

More information

LEA Workshop. Champika Wijayatunga & George Kuo, APNIC Wellington, New Zealand 09, May, 2013

LEA Workshop. Champika Wijayatunga & George Kuo, APNIC Wellington, New Zealand 09, May, 2013 LEA Workshop Champika Wijayatunga & George Kuo, APNIC Wellington, New Zealand 09, May, 2013 Agenda Introduction to APNIC Know about APNIC Internet Policy Development How the Internet Policies are developed

More information

Recommended IOS Releases. BGP in the Internet. Which IOS? Which IOS? 12.2 IOS release images IOS release images is the old mainline train

Recommended IOS Releases. BGP in the Internet. Which IOS? Which IOS? 12.2 IOS release images IOS release images is the old mainline train BGP in the Internet Best Current Practices Recommended IOS Releases Which IOS?? 1 2 Which IOS? Which IOS? IOS is a feature rich and highly complex router control system ISPs should choose the IOS variant

More information

Basic Idea. Routing. Example. Routing by the Network

Basic Idea. Routing. Example. Routing by the Network Basic Idea Routing Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

IPv6 Protocols & Standards

IPv6 Protocols & Standards IPv6 Protocols & Standards ISP/IXP Workshops 1 So what has really changed? Expanded address space Address length quadrupled to 16 bytes Header Format Simplification Fixed length, optional headers are daisy-chained

More information

Introduction to OSPF

Introduction to OSPF Introduction to OSPF 1 OSPF Open Shortest Path First Link state or SPF technology Developed by OSPF working group of IETF (RFC 1247) OSPFv2 standard described in RFC2328 Designed for: TCP/IP environment

More information

Internet Routing Protocols, DHCP, and NAT

Internet Routing Protocols, DHCP, and NAT Internet Routing Protocols, DHCP, and NAT Hwajung Lee Modified from Slides Courtesy of Cisco Networking Academy and the book titled Communication Networks by Leon-Garcia Contents Basic Routing Single Area

More information

Routing by the Network

Routing by the Network Routing Basic Idea Routing table at each router/gateway When IP packet comes, destination address checked with routing table to find next hop address Questions: Route by host or by network? Routing table:

More information

Internet Network Protocols IPv4/ IPv6

Internet Network Protocols IPv4/ IPv6 Internet Network Protocols IPv4/ IPv6 Prof. Anja Feldmann, Ph.D. anja@inet.tu-berlin.de TCP/IP Illustrated, Volume 1, W. Richard Stevens http://www.kohala.com/start 1 IP Interfaces IP address: identifier

More information

Planning for Information Network

Planning for Information Network Planning for Information Network Lecture 7: Introduction to IPv6 Assistant Teacher Samraa Adnan Al-Asadi 1 IPv6 Features The ability to scale networks for future demands requires a limitless supply of

More information

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6)

Back to basics J. Addressing is the key! Application (HTTP, DNS, FTP) Application (HTTP, DNS, FTP) Transport. Transport (TCP/UDP) Internet (IPv4/IPv6) Routing Basics Back to basics J Application Presentation Application (HTTP, DNS, FTP) Data Application (HTTP, DNS, FTP) Session Transport Transport (TCP/UDP) E2E connectivity (app-to-app) Port numbers

More information

BGP Best Current Practices. ISP/IXP Workshops

BGP Best Current Practices. ISP/IXP Workshops BGP Best Current Practices ISP/IXP Workshops 1 Configuring BGP Where do we start? 2 IOS Good Practices ISPs should start off with the following BGP commands as a basic template: router bgp 64511 bgp deterministic-med

More information

internet technologies and standards

internet technologies and standards Institute of Telecommunications Warsaw University of Technology internet technologies and standards Piotr Gajowniczek BGP (Border Gateway Protocol) structure of the Internet Tier 1 ISP Tier 1 ISP Google

More information

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1

Chapter 4: Advanced Internetworking. Networking CS 3470, Section 1 Chapter 4: Advanced Internetworking Networking CS 3470, Section 1 Intra-AS and Inter-AS Routing a C C.b b d A A.a a b A.c c B.a a B c Gateways: perform inter-as routing amongst themselves b perform intra-as

More information

BGP101. Howard C. Berkowitz. (703)

BGP101. Howard C. Berkowitz. (703) BGP101 Howard C. Berkowitz hcb@clark.net (703)998-5819 What is the Problem to be Solved? Just configuring the protocol? Participating in the Internet and/or running Virtual Private Networks A Life Cycle

More information

shortcut Tap into learning NOW! Visit for a complete list of Short Cuts. Your Short Cut to Knowledge

shortcut Tap into learning NOW! Visit  for a complete list of Short Cuts. Your Short Cut to Knowledge shortcut Your Short Cut to Knowledge The following is an excerpt from a Short Cut published by one of the Pearson Education imprints. Short Cuts are short, concise, PDF documents designed specifically

More information

Introduction to BGP. ISP Workshops. Last updated 30 October 2013

Introduction to BGP. ISP Workshops. Last updated 30 October 2013 Introduction to BGP ISP Workshops Last updated 30 October 2013 1 Border Gateway Protocol p A Routing Protocol used to exchange routing information between different networks n Exterior gateway protocol

More information

Campus Networking Workshop CIS 399. Core Network Design

Campus Networking Workshop CIS 399. Core Network Design Campus Networking Workshop CIS 399 Core Network Design Routing Architectures Where do we route? At the point where we want to limit our layer-2 broadcast domain At your IP subnet boundary We can create

More information

ISO 9001:2008. Pankaj Kumar Dir, TEC, DOT

ISO 9001:2008. Pankaj Kumar Dir, TEC, DOT ISO 9001:2008 Pankaj Kumar Dir, TEC, DOT AWARENESS OBJECTIVES IPv6 Address Format & Basic Rules Understanding the IPv6 Address Components Understanding & Identifying Various Types of IPv6 Addresses 3/25/2012

More information

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0

Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0 Chapter 7: IP Addressing CCENT Routing and Switching Introduction to Networks v6.0 CCNET v6 13 Chapter 7 - Sections & Objectives 7.1 IPv4 Network Addresses Convert between binary and decimal numbering

More information

Introduction to IP Routing

Introduction to IP Routing Introduction to IP Routing Static-, Default-, Dynamic-Routing, RIP Classless/Classful Routing, Internet Routing Overview Agenda Introduction to IP Routing Static Routing Default Route Dynamic Routing RIP

More information

Connecting to a Service Provider Using External BGP

Connecting to a Service Provider Using External BGP Connecting to a Service Provider Using External BGP This module describes configuration tasks that will enable your Border Gateway Protocol (BGP) network to access peer devices in external networks such

More information

RIP Version 2. The Classless Brother

RIP Version 2. The Classless Brother RIP Version 2 The Classless Brother (C) Herbert Haas 2005/03/11 1 Why RIPv2 Need for subnet information and VLSM Need for Next Hop addresses for each route entry Need for external route tags Need for multicast

More information

Transitioning to IPv6

Transitioning to IPv6 Transitioning to IPv6 麟瑞科技區域銷售事業處副處長張晃崚 CCIE #13673 2007 Cisco Systems, Inc. All rights reserved. ICND2 v1.0 7-1 IPv4 and IPv6 Currently, there are approximately 1.3 billion usable IPv4 addresses available.

More information

Chapter 7 Routing Protocols

Chapter 7 Routing Protocols Chapter 7 Routing Protocols Nonroutable Protocols In the early days of networking, networks were small collections of computers linked together For the purposes of sharing information and expensive peripherals

More information

IPv4/IPv6 BGP Routing Workshop. Organized by:

IPv4/IPv6 BGP Routing Workshop. Organized by: IPv4/IPv6 BGP Routing Workshop Organized by: Agenda Multihoming & BGP path control APNIC multihoming resource policy 2 ISP Hierarchy Default free zone Made of Tier-1 ISPs who have explicit routes to every

More information

Chapter 18 and 22. IPv4 Address. Data Communications and Networking

Chapter 18 and 22. IPv4 Address. Data Communications and Networking University of Human Development College of Science and Technology Department of Information Technology Chapter 18 and 22 Data Communications and Networking IPv4 Address 1 Lecture Outline IPv4 Addressing

More information

Introduction to Dynamic Routing Protocols

Introduction to Dynamic Routing Protocols Introduction to Dynamic Routing Protocols 1 Objectives Describe the role of dynamic routing protocols and place these protocols in the context of modern network design. Identify several ways to classify

More information

Why dynamic route? (1)

Why dynamic route? (1) Routing Why dynamic route? (1) Static route is ok only when Network is small There is a single connection point to other network No redundant route 2 Why dynamic route? (2) Dynamic Routing Routers update

More information

A few notes. The following slides are NOT from the online curriculum. However, they do cover the same topics using different examples.

A few notes. The following slides are NOT from the online curriculum. However, they do cover the same topics using different examples. Objectives This module explores the evolution and extension of IPv4, including the key scalability features that engineers have added to it over the years: Subnetting Classless interdomain routing (CIDR)

More information

Part II. Chapter 3. Determining IP Routes

Part II. Chapter 3. Determining IP Routes Part II Chapter 3 Routers perform two main functions: switching and routing. The switching function is the process of moving packets from an inbound interface to an outbound interface. The switching function

More information

APNIC Internet Resource Management (IRM) Cyber Security & Network Security March, 2017 Dhaka, Bangladesh

APNIC Internet Resource Management (IRM) Cyber Security & Network Security March, 2017 Dhaka, Bangladesh APNIC Internet Resource Management (IRM) Cyber Security & Network Security 20-22 March, 2017 Dhaka, Bangladesh Issue Date: 17 May 2016 Revision: 2.3.0 Agenda Introduction to APNIC Internet Registry Policies

More information

This appendix contains supplementary Border Gateway Protocol (BGP) information and covers the following topics:

This appendix contains supplementary Border Gateway Protocol (BGP) information and covers the following topics: Appendix C BGP Supplement This appendix contains supplementary Border Gateway Protocol (BGP) information and covers the following topics: BGP Route Summarization Redistribution with IGPs Communities Route

More information

IP Routing Volume Organization

IP Routing Volume Organization IP Routing Volume Organization Manual Version 20091105-C-1.03 Product Version Release 6300 series Organization The IP Routing Volume is organized as follows: Features IP Routing Overview Static Routing

More information

Introduction to Local and Wide Area Networks

Introduction to Local and Wide Area Networks Introduction to Local and Wide Area Networks Lecturers Amnach Khawne Jirasak Sittigorn Chapter 1 1 Routing Protocols and Concepts Chapter 8 : The Routing Table: A Closer Look Chapter 9 : EIGRP Chapter

More information

Internet Routing Protocols Tuba Saltürk

Internet Routing Protocols Tuba Saltürk Internet Routing Protocols 15505068 Tuba Saltürk Outline Internet Routers Routing Protocol Interior Gateway Protocol (IGP) Distance- Vector Routing Protocol Routing Information Protocol (RIP) Interior

More information

Networking 101 ISP/IXP Workshops

Networking 101 ISP/IXP Workshops Networking 101 ISP/IXP Workshops 1 Network Topology and Definitions Definitions and icons Network topologies PoP topologies Interconnections and IXPs IP Addressing Gluing it all together 2 Topologies and

More information

Information About Routing

Information About Routing 19 CHAPTER This chapter describes underlying concepts of how routing behaves within the adaptive security appliance, and the routing protocols that are supported. The chapter includes the following sections:,

More information

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents

Operation Manual IPv4 Routing H3C S3610&S5510 Series Ethernet Switches. Table of Contents Table of Contents Table of Contents Chapter 1 Static Routing Configuration... 1-1 1.1 Introduction... 1-1 1.1.1 Static Route... 1-1 1.1.2 Default Route... 1-1 1.1.3 Application Environment of Static Routing...

More information

BGP Best Current Practices. ISP/IXP Workshops

BGP Best Current Practices. ISP/IXP Workshops BGP Best Current Practices ISP/IXP Workshops 1 What is BGP for?? What is an IGP not for? 2 BGP versus OSPF/ISIS Internal Routing Protocols (IGPs) examples are ISIS and OSPF used for carrying infrastructure

More information

EE 122: Inter-domain routing Border Gateway Protocol (BGP)

EE 122: Inter-domain routing Border Gateway Protocol (BGP) EE 122: Inter-domain routing Border Gateway Protocol (BGP) Ion Stoica October 2, 2002 (* this presentation is based on Lakshmi Subramanian s slides) Big Picture Large ISP Large ISP St u b D i al - U p

More information

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs).

Two types of routing protocols are used in internetworks: interior gateway protocols (IGPs) and exterior gateway protocols (EGPs). Introduction Dynamic routing is when protocols are used to find networks and update routing tables on routers. True, this is easier than using static or default routing, but it ll cost you in terms of

More information

Symbols. Numerics I N D E X

Symbols. Numerics I N D E X I N D E X Symbols? (question mark), CLI help system, 126 Numerics A 2-router BGP topology, configuring, 279 284 4-router BGP topology, configuring, 266, 276 279 ABRs (area border routers), 9, 87, 95, 141

More information

Routing Overview. Information About Routing CHAPTER

Routing Overview. Information About Routing CHAPTER 21 CHAPTER This chapter describes underlying concepts of how routing behaves within the ASA, and the routing protocols that are supported. This chapter includes the following sections: Information About

More information

Draft Manuscript Draft M. Manuscript Draft Ma. t Manuscript Draft Manu. ipt Draft Manuscript Dra. anuscript Draft Manuscri

Draft Manuscript Draft M. Manuscript Draft Ma. t Manuscript Draft Manu. ipt Draft Manuscript Dra. anuscript Draft Manuscri M aft Ma CHAPTER 5 ript Dra RIP Version 1 Objectives aft Ma Upon completion of this chapter, you should be able to answer the following questions: What are the functions, characteristics, and operation

More information

SEMESTER 2 Chapter 3 Introduction to Dynamic Routing Protocols V 4.0

SEMESTER 2 Chapter 3 Introduction to Dynamic Routing Protocols V 4.0 SEMESTER 2 Chapter 3 Introduction to Dynamic Routing Protocols V 4.0 3.1.1 What are the four routing RIP, RIPv2, EIGRP, OSPFv2 protocols that are the focus of this course? 3.1.1.2 What are routing protocols?

More information

Chapter 5. RIP Version 1 (RIPv1) CCNA2-1 Chapter 5

Chapter 5. RIP Version 1 (RIPv1) CCNA2-1 Chapter 5 Chapter 5 RIP Version 1 (RIPv1) CCNA2-1 Chapter 5 RIP Version 1 RIPv1: Distance Vector, Classful Routing Protocol CCNA2-2 Chapter 5 Background and Perspective RIP evolved from the Xerox Network System

More information

Welcome! 31 August 2004, Nadi, Fiji APNIC 18 Open Policy Meeting. Introduction Presenters. Objectives. APNIC Members Training Course

Welcome! 31 August 2004, Nadi, Fiji APNIC 18 Open Policy Meeting. Introduction Presenters. Objectives. APNIC Members Training Course Welcome APNIC Members Training Course Internet Routing Registry Concept 31 August 2004, Nadi, Fiji APNIC 18 Open Policy Meeting Introduction Presenters Miwa Fujii Training Officer miwa@apnic.net

More information

Routing Protocols and

Routing Protocols and Introduction to Dynamic Routing Protocol Routing Protocols and Concepts Chapter 3 1 Objectives Describe the role of dynamic routing protocols and place these protocols in the context of modern network

More information

CCNP 1: Advanced Routing

CCNP 1: Advanced Routing Scope and Sequence CCNP 1: Advanced Routing Cisco Networking Academy Program Version 3.1 TABLE OF CONTENTS CCNP 1: ADVANCED ROUTING...1 TARGET AUDIENCE...3 PREREQUISITES...3 COURSE DESCRIPTION...3 COURSE

More information

IP Addressing & Interdomain Routing. Next Topic

IP Addressing & Interdomain Routing. Next Topic IP Addressing & Interdomain Routing Next Topic IP Addressing Hierarchy (prefixes, class A, B, C, subnets) Interdomain routing Application Presentation Session Transport Network Data Link Physical Scalability

More information

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0

APNIC elearning: BGP Basics. 30 September :00 PM AEST Brisbane (UTC+10) Revision: 2.0 APNIC elearning: BGP Basics 30 September 2015 1:00 PM AEST Brisbane (UTC+10) Issue Date: 07 July 2015 Revision: 2.0 Presenter Nurul Islam (Roman) Senior Training Specialist, APNIC Nurul maintains the APNIC

More information

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full

CCNA 3 (v v6.0) Chapter 5 Exam Answers % Full CCNA 3 (v5.0.3 + v6.0) Chapter 5 Exam Answers 2017 100% Full ccnav6.com /ccna-3-v5-0-3-v6-0-chapter-5-exam-answers-2017-100-full.html CCNA Exam Answers 2017 CCNA 3 (v5.0.3 + v6.0) Chapter 5 Exam Answers

More information

Introduction to OSPF

Introduction to OSPF Introduction to OSPF ISP/IXP Workshops ISP/IXP Workshops 1999, Cisco Systems, Inc. 1 OSPF Dynamic Routing Protocol Link State technology Runs over IP, protocol 89 Designed by IETF for TCP/IP Supports VLSM

More information