{"id":489,"date":"2010-03-21T07:55:23","date_gmt":"2010-03-21T07:55:23","guid":{"rendered":"http:\/\/mccltd.net\/blog\/?p=489"},"modified":"2010-03-26T06:12:18","modified_gmt":"2010-03-26T06:12:18","slug":"basic-ipv6-routing-setup-example","status":"publish","type":"post","link":"http:\/\/darenmatthews.com\/blog\/?p=489","title":{"rendered":"Basic IPv6 Routing Setup &#8211; Example"},"content":{"rendered":"<p>This is a simple example and step-by-step configuration of two LAN segments connecting over a Frame Relay WAN link.\u00a0 IPv6 Addressing is used.<!--more--><\/p>\n<p>Before configuring IPv6, use Cisco CDP to see the current interface used to connect from R1 to R2 over the WAN Link (Frame Relay):<\/p>\n<blockquote><p>R1#sh cdp nei<br \/>\nCapability Codes: R &#8211; Router, T &#8211; Trans Bridge, B &#8211; Source Route Bridge<br \/>\nS &#8211; Switch, H &#8211; Host, I &#8211; IGMP, r &#8211; Repeater<\/p>\n<p>Device ID\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Local Intrfce\u00a0\u00a0\u00a0\u00a0 Holdtme\u00a0\u00a0\u00a0 Capability\u00a0 Platform\u00a0 Port ID<br \/>\n2924-XL-EN\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Fas 1\/1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 179\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 T S\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 WS-C2924-XFas 0\/6<br \/>\nR2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Ser 1\/0.102\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 141\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 R S\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 2611\u00a0\u00a0\u00a0\u00a0\u00a0 Ser 0\/0.201<br \/>\nR1#sh run int s1\/0.102<br \/>\nBuilding configuration&#8230;<\/p>\n<p>Current configuration : 118 bytes<br \/>\n!<br \/>\ninterface Serial1\/0.102 point-to-point<br \/>\nip address 10.1.2.1 255.255.255.252<br \/>\nframe-relay interface-dlci 102<br \/>\nend<\/p><\/blockquote>\n<p>NOW configure IPv6 addresses on WAN<\/p>\n<p><a rel=\"attachment wp-att-490\" href=\"http:\/\/darenmatthews.com\/blog\/?attachment_id=490\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-490\" title=\"IPv6 Global IANA Delegated Address\" src=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2010\/03\/IPv6-Global-IANA-Delegated-Address.JPG\" alt=\"IPv6 Global IANA Delegated Address\" width=\"622\" height=\"101\" srcset=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2010\/03\/IPv6-Global-IANA-Delegated-Address.JPG 622w, http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2010\/03\/IPv6-Global-IANA-Delegated-Address-300x48.jpg 300w\" sizes=\"(max-width: 622px) 100vw, 622px\" \/><\/a><\/p>\n<p>and then configure LAN interfaces (loopbacks used in this example):<\/p>\n<p><a rel=\"attachment wp-att-491\" href=\"http:\/\/darenmatthews.com\/blog\/?attachment_id=491\"><img loading=\"lazy\" class=\"alignnone size-full wp-image-491\" title=\"Global Unformatted Prefix Address\" src=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2010\/03\/Global-Unformatted-Prefix-Address.JPG\" alt=\"Global Unformatted Prefix Address\" width=\"598\" height=\"85\" srcset=\"http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2010\/03\/Global-Unformatted-Prefix-Address.JPG 598w, http:\/\/darenmatthews.com\/blog\/wp-content\/uploads\/2010\/03\/Global-Unformatted-Prefix-Address-300x42.jpg 300w\" sizes=\"(max-width: 598px) 100vw, 598px\" \/><\/a><\/p>\n<blockquote><p>R1#<br \/>\nR1#conf t<br \/>\nEnter configuration commands, one per line.\u00a0 End with CNTL\/Z.<br \/>\nR1(config)#int s0\/1.102<br \/>\nR1(config-subif)#ipv6 address ?<br \/>\nX:X:X:X::X\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 IPv6 link-local address<br \/>\nX:X:X:X::X\/&lt;0-128&gt;\u00a0 IPv6 prefix<br \/>\nautoconfig\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Obtain address using autoconfiguration<\/p>\n<p>R1(config-subif)#ipv6 add 2001:210:10:1::1\/64<br \/>\nR1(config-subif)#descr Global IANA Delegated Address &#8211; One end of WAN<br \/>\nR1(config-subif)#ipv6 enable<br \/>\nR1(config-subif)#^Z<br \/>\nR1#wr<\/p>\n<p>R1(config)#int lo 6<br \/>\nR1(config-if)#ipv6 add 1fe:1111::1\/16<br \/>\nR1(config)#description subnet 1111 &#8211; Global (Unformatted Prefix) Address<br \/>\nR1(config-if)#^Z<br \/>\nR1#wr<\/p><\/blockquote>\n<p>NOW verify.\u00a0 Notice the interfaces have more than one address.\u00a0 The Link Local has been configured<\/p>\n<blockquote><p>R1#sh ipv6 int br<br \/>\nSerial0\/0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [administratively down\/down]<br \/>\nunassigned<br \/>\nSerial0\/1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [administratively down\/down]<br \/>\nunassigned<br \/>\nSerial0\/1.102\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [administratively down\/down]<br \/>\nFE80::210:7BFF:FE32:6CF1<br \/>\n2001:210:10:1::1<br \/>\nSerial0\/2\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [administratively down\/down]<br \/>\nunassigned<br \/>\nSerial0\/3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [administratively down\/down]<br \/>\nunassigned<br \/>\nFastEthernet1\/0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [administratively down\/down]<br \/>\nunassigned<br \/>\nSerial1\/0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nunassigned<br \/>\nSerial1\/0.102\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nunassigned<br \/>\nSerial1\/0.103\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nunassigned<br \/>\nSerial1\/0.104\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nunassigned<br \/>\nFastEthernet1\/1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nunassigned<br \/>\nSerial1\/3\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [administratively down\/down]<br \/>\nunassigned<br \/>\nLoopback6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nFE80::210:7BFF:FE32:6CF1<br \/>\n1FE:1111::1<\/p><\/blockquote>\n<p>NOW connect to the other end of the WAN and configure the LAN and WAN interfaces:<\/p>\n<blockquote><p>R1#10.1.2.2<br \/>\nTrying 10.1.2.2 &#8230; Open<\/p>\n<p>R2&gt;en<br \/>\nPassword:<br \/>\nR2#<br \/>\nR2#sh cdp nei<br \/>\nCapability Codes: R &#8211; Router, T &#8211; Trans Bridge, B &#8211; Source Route Bridge<br \/>\nS &#8211; Switch, H &#8211; Host, I &#8211; IGMP, r &#8211; Repeater<\/p>\n<p>Device ID\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Local Intrfce\u00a0\u00a0\u00a0\u00a0 Holdtme\u00a0\u00a0\u00a0 Capability\u00a0 Platform\u00a0 Port ID<br \/>\nR1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Ser 0\/0.201\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 170\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 R S\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 3620\u00a0\u00a0\u00a0\u00a0\u00a0 Ser 1\/0.102<br \/>\nR2#conf t<br \/>\nEnter configuration commands, one per line.\u00a0 End with CNTL\/Z.<br \/>\nR2(config)#int s0\/0.201<br \/>\nR2(config-subif)#ipv6 add 2001:210:10:1::2\/64<br \/>\nR1(config-subif)#descr Global IANA Delegated Address &#8211; One end of WAN<br \/>\nR2(config-subif)#int lo 6<br \/>\nR2(config-if)#ipv6 en<br \/>\nR2(config-if)#ipv6 add 1fe0:2222::1\/16<br \/>\nR1(config)#description subnet 2222 &#8211; Global (Unformatted Prefix) Address<br \/>\nR2(config-if)#^Z<br \/>\nR2#wr<br \/>\nBuilding configuration&#8230;<br \/>\n[OK]<br \/>\nR2#<\/p>\n<p>R2#sh ipv6 int br<br \/>\nEthernet0\/0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/down]<br \/>\nunassigned<br \/>\nSerial0\/0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nunassigned<br \/>\nSerial0\/0.201\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nFE80::209:43FF:FE6C:F0E0<br \/>\n2001:210:10:1::2<br \/>\nEthernet0\/1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [administratively down\/down]<br \/>\nunassigned<br \/>\nSerial0\/1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [administratively down\/down]<br \/>\nunassigned<br \/>\nVirtual-Access1\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nunassigned<br \/>\nLoopback6\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 [up\/up]<br \/>\nFE80::209:43FF:FE6C:F0E0<br \/>\n1FE0:2222::1<br \/>\nR2#<\/p><\/blockquote>\n<p>NOW show the routing table to see the directly connected networks.\u00a0 Note that a static route or OSPFv3 \/ RIPNG will need to be configured.<\/p>\n<blockquote><p>R2#sh ipv6 rou<br \/>\nIPv6 Routing Table &#8211; 6 entries<br \/>\nCodes: C &#8211; Connected, L &#8211; Local, S &#8211; Static, R &#8211; RIP, B &#8211; BGP<br \/>\nU &#8211; Per-user Static route<br \/>\nI1 &#8211; ISIS L1, I2 &#8211; ISIS L2, IA &#8211; ISIS interarea<br \/>\nO &#8211; OSPF intra, OI &#8211; OSPF inter, OE1 &#8211; OSPF ext 1, OE2 &#8211; OSPF ext 2<br \/>\nC\u00a0\u00a0 1FE0::\/16 [0\/0]<br \/>\nvia ::, Loopback6<br \/>\nL\u00a0\u00a0 1FE0:2222::1\/128 [0\/0]<br \/>\nvia ::, Loopback6<br \/>\nC\u00a0\u00a0 2001:210:10:1::\/64 [0\/0]<br \/>\nvia ::, Serial0\/0.201<br \/>\nL\u00a0\u00a0 2001:210:10:1::2\/128 [0\/0]<br \/>\nvia ::, Serial0\/0.201<br \/>\nL\u00a0\u00a0 FE80::\/10 [0\/0]<br \/>\nvia ::, Null0<br \/>\nL\u00a0\u00a0 FF00::\/8 [0\/0]<br \/>\nvia ::, Null0<br \/>\nR2#<\/p><\/blockquote>\n<p>TO configure dynamic routing using RIP NG:<br \/>\nR1(config-subif)#ipv6 rip RIPNG metric-offset 2<br \/>\nand<br \/>\nR2(config-subif)#ipv6 rip RIPNG metric-offset 2<\/p>\n<p>TO configure OSPFv3:<br \/>\nunder each interface:<br \/>\nipv6 ospf 1 area 0<\/p>\n<p>Configure OSPF router:<br \/>\nipv6 router ospf 1<br \/>\nrouter-id 1.1.1.1<br \/>\ndefault-metric 25<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is a simple example and step-by-step configuration of two LAN segments connecting over a Frame Relay WAN link.\u00a0 IPv6 Addressing is used.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83],"tags":[3,22],"_links":{"self":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/489"}],"collection":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=489"}],"version-history":[{"count":11,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/489\/revisions"}],"predecessor-version":[{"id":545,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/489\/revisions\/545"}],"wp:attachment":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=489"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=489"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=489"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}