270 likes | 724 Views
Configuring OSPFv3. Bogdan Doinea & Eric Kwok. Technical Manager. Cisco Networking Academy . What is OSPFv3?. Neighbor Table. Neighbor Table. Neighbor Table. Neighbor Table. Topology Table. Topology Table. Topology Table. Topology Table. Routing Table. Routing Table.
E N D
Configuring OSPFv3 Bogdan Doinea & Eric Kwok Technical Manager Cisco Networking Academy
What is OSPFv3? Neighbor Table Neighbor Table Neighbor Table Neighbor Table Topology Table Topology Table Topology Table Topology Table Routing Table Routing Table Routing Table Routing Table IPv4 IPv6 • With the OPSFv3 Address Families features, the protocol supports both IPv4 and IPv6
Difference in LSAs OSPFv2 OSPFv3 • Neither LSA 1 or 2 contain any prefix or address information! • Router LSA – describe the state&cost of the router’s interfaces in the area • Network LSA – generated by the DR to describe all the routers connected to the segment • OSPFv3 Introduces 2 new LSAs • Link LSA • Intra-area Prefix LSA Router and Network LSAs contain addressing information 1. Router LSA – describe directly-attached networks in the area 2. Network LSA – generated by DR to describe the neighbors connected to the segment
Link-Local Addresses • The source address is always the link-local address of the router • The destination is either link-local or IPv6 multicast Neighbor Table Neighbor Table Topology Table Topology Table Routing Table Routing Table Link-Local Address Link-Local Address
Quiz – OSPFv2 vs v3 • In which of the below 3 options is: unicast routing enabled by default? IPSec used for authentication? the protocol a Link-State Routing Protocol? OSPF v2 OSPF v3 Both protocols
Quiz – OSPFv2 vs v3 • In which of the below 3 does the protocol: use cost as a metric? elects a DR and BDR? uses FF02::6 for DR and BDR multicasts? uses 224.0.0.6 for DR and BDR multicasts? OSPF v2 OSPF v3 Both protocols
Configuring OSPFv3 Basic Configuration (config)# ipv6 router ospf process-id (config-rtr)# router-id 1.1.1.1 (config-rtr)# auto-cost reference-bandwidth 1000 (config)# interface fa0/0 (config-if)# ipv6ospf 1 area 0 Reset OSPF process #clear ipv6ospf process
Verifying OSPF Configuration Basic IPv6 Routing #show ipv6 route ospf #show ipv6 protocol
Verifying OSPF ConfigurationBasic OSPF Information #show ipv6ospf #show ipv6ospf neighbor
Verifying OSPF ConfigurationBasic OSPF Information #show ipv6ospf database #show ipv6ospf interface
Debugging OSPFv3 #debug ipv6ospfadj #debug ipv6ospf event
Live Demo RID: 1.1.1.1 A:: A B C AC:: Area 0 Prefix Length /64 AB:: C:: RID: 3.3.3.3 BC:: RID: 2.2.2.2 B:: Command: show ipv6 ospfneighbor show ipv6 ospfinterface show ipv6 ospfdatabase show ipv6 route ospf show ipv6 protocol debug ipv6 ospfadj debug ipv6 ospfevent
Key Highlight • Ipv6 unicast must be enabled for OSPFv3 • C(config)#ipv6 router ospf 1 • % IPv6 routing not enabled • OSPFv3 router-id follows the same rule as OSPFv2 (IPv4).You might need to configure it manually if not IPv4 address presented • C(config-if)#ipv6 ospf 1 area 0 • %OSPFv3-4-NORTRID: OSPFv3 process 1 could not pick a router-id,please configure manually • OSPFv3 is enabled by the interface sub command not the network statement • The next-hop address is link-local address, not global unicast address
Reference Implementing OSPF for IPv6 http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-ospf.html Implementing IPsec in IPv6 Security http://www.cisco.com/en/US/docs/ios/ipv6/configuration/guide/ip6-ipsec.html