Ipv6 Addressing & Routing Protocols: Isp/Ixp Workshops
Ipv6 Addressing & Routing Protocols: Isp/Ixp Workshops
ISP/IXP Workshops
ARIN
LACNIC
Use 6to4
Take a single public IPv4 /32 address
2002:<ipv4 /32 address>::/48 becomes your IPv6 address
block, giving 65k subnets
Requires a 6to4 gateway
Phase One
2001:db8::/32
Link-local address:
Enabling IPv6 on an interface using:
Router(config-if)# ipv6 enable
will result in a link-local IPv6 address being constructed
automatically
FE80:: is concatenated with the Interface ID to give:
FE80::interface-id
Syntax is:
ipv6 route ipv6-prefix/prefix-length {ipv6-address | interface-type
interface-number} [administrative-distance]
Static Route
ipv6 unicast-routing
!
interface Ethernet0
ipv6 address 2001:db8:c18:1::a/64
!
interface Ethernet1
ipv6 address 2001:db8:c18:2::a/64
! Default Route
ipv6 route ::/0 2001:db8:c18:1::e to Router2
ISP Workshops © 2010 Cisco Systems, Inc. All rights reserved. 24
Dynamic Routing Protocols in IPv6
IGP
RIPng (RFC 2080)
Cisco EIGRP for IPv6
OSPFv3 (RFC 5340)
Integrated IS-ISv6 (RFC 5308)
EGP
MP-BGP4 (RFC 4760 and RFC 2545)
Some differences:
Hellos are sourced from the link-local address and destined to
FF02::A (all EIGRP routers). This means that neighbors do not
have to share the same global prefix (with the exception of
explicitly specified neighbours where traffic is unicasted).
Automatic summarisation is disabled by default for IPv6 (unlike
IPv4)
No split-horizon in the case of EIGRP for IPv6 (because IPv6
supports multiple prefixes per interface)
interface Ethernet0
Router 1
ipv6 address 2001:db8:c18:1::/64 eui-64
Ethernet1 ipv6 enable
ipv6 eigrp 100
LAN2: 2001:db8:c18:2::/64
Router1# Area 0
interface Ethernet0
ipv6 address 2001:db8:1:1::1/64 Router2
ipv6 ospf 1 area 0
LAN1: 2001:db8:1:1::/64
interface Ethernet1 Eth0
ipv6 address 2001:db8:2:2::2/64
ipv6 ospf 1 area 1
Router1
Eth1
ipv6 router ospf 1
router-id 1.1.1.1 LAN2: 2001:db8:2:2::/64
Area 1
Router1#
interface ethernet-1
ip address 10.1.1.1 255.255.255.0
ipv6 address 2001:db8:1::45c/64
LAN1: 2001:db8:1::45c/64 ip router isis
ipv6 router isis
Ethernet-1
interface ethernet-2
Router1 ip address 10.2.1.1 255.255.255.0
Ethernet-2 ipv6 address 2001:db8:2::45a/64
ip router isis
LAN2: 2001:db8:2::45a/64 ipv6 router isis
router isis
address-family ipv6
redistribute static
Dual IPv4/IPv6 configuration. exit-address-family
net 42.0001.0000.0000.072c.00
Redistributing both IPv6 static routes redistribute static
and IPv4 static routes.
ISP Workshops © 2010 Cisco Systems, Inc. All rights reserved. 36
Multi-Topology IS-IS extensions
Router1 Router2
AS 65001 AS 65002
2001:db8:c18:2:1::F 2001:db8:c18:2:1::1
Router1#
interface Ethernet0
ipv6 address 2001:db8:c18:2:1::F/64
!
router bgp 65001
bgp router-id 10.10.10.1
no bgp default ipv4-unicast
neighbor 2001:db8:c18:2:1::1 remote-as 65002
address-family ipv6
neighbor 2001:db8:c18:2:1::1 activate
neighbor 2001:db8:c18:2:1::1 prefix-list bgp65002in in
neighbor 2001:db8:c18:2:1::1 prefix-list bgp65002out out
exit-address-family
ISP/IXP Workshops