In 60 Days – ICND2 OSPFv3 OSPFv3 • Defined in RFC 2740 • Based on OSPFv2 with enhancements • Router can run both v2 and v3 simultaneously • Share many of the same packet types and mechanisms Router ID • Configured as an IPv4 address • Manually added if no active IPv4 interfaces Router(config)#ipv6 router ospf 1 %OSPFv3-4-NORTRID: OSPFv3 process 1 could not pick a router-id, please configure manually Router(config-rtr)#router-id 1.1.1.1 OSPFv3 Runs on Links • Negates the need for network statements • Configure OSPF on the link (and globally) Router(config)#int f0/0 Router(config-if)#ipv6 enable Router(config-if)#ipv6 ospf 1 area 0 OSPF process ID must match global process ID. OSPFv3 Adjencies • Uses link-local addresses R1#show ipv6 ospf interface f0/0 FastEthernet0/0 is up, line protocol is up Link Local Address FE80::290:2BFF:FE43:E201 , Interface ID 1 Area 0, Process ID 1, Instance ID 0, Router ID 1.1.1.1 Network Type BROADCAST, Cost: 1 Transmit Delay is 1 sec, State DR, Priority 1 Designated Router (ID) 2.2.2.2, local address FE80::290:2BFF:FE43:E201 Multicasting • FF02::5 equivalent of 224.0.0.5 (all SPF routers) • FF02::6 equivalent of 224.0.0.6 (designated routers) • Only ever travels one hop Configuring OSPFv3 1. 2. 3. 4. Enable IPv6 globally ipv6 unicast-routing Add OSPF process ipv6 router ospf 1 Add the router-id router-id 1.1.1.1 Enable per link Router(config-if)#ipv6 ospf 1 area 0 (interface) Basic OSPFv3 Network R1(config)#ipv6 unicast-routing R1(config)#ipv6 router ospf 1 R1(config-rtr)#router-id 1.1.1.1 R1(config-rtr)#exit R1(config)#interface Fa0/0 R1(config-if)#ipv6 add 3fff:1234:abcd:1::1/64 R1(config-if)#ipv6 enable R1(config-if)#ipv6 ospf 1 Area 0 R1(config-if)#exit R3(config)#ipv6 unicast-routing R3(config)#ipv6 router ospf 3 R3(config-rtr)#router-id 2.2.2.2 R3(config-rtr)#exit R3(config)#interface Fa0/0 R3(config-if)#ipv6 add 3fff:1234:abcd:1::3/64 R3(config-if)#ipv6 enable R3(config-if)#ipv6 ospf 3 Area 0 R3(config-if)#exit Basic OSPFv3 Network R1#show ipv6 ospf nei R2#show ipv6 ospf int f0/0 FastEthernet0/0 is up, line protocol is up Link Local Address FE80::290:CFF:FE66:5E01 , Interface ID 1 Area 0, Process ID 1, Instance ID 0, Router ID 2.2.2.2 Interface ID Interface 1 Neighbor ID Pri State Dead Time 2.2.2.2 1 FULL/DR 00:00:32 FastEthernet0/0 R1#show ipv6 ospf nei detail Neighbor 2.2.2.2, interface address FE80::290:CFF:FE66:5E01 In the area 0 via interface FastEthernet0/0 Neighbor priority is 1, State is FULL, 6 state changes DR is 2.2.2.2 BDR is 1.1.1.1 Options is 0x10 Dead timer due in 00:00:30 Neighbor is up for 01:48:17 Last retransmission scan time is 0 msec, maximum is 0 msec R1# R2(config)#int lo0 R2(config-if)#ipv6 address 2000:aaaa:bbbb:cccc::1/128 R2(config-if)#ipv6 ospf 1 area 0 R1#show ipv6 route IPv6 Routing Table - 4 entries Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP U - Per-user Static route, M - MIPv6 I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2 ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2 D - EIGRP, EX - EIGRP external O 2000:AAAA:BBBB:CCCC::1/128 [110/1] via FE80::290:CFF:FE66:5E01, FastEthernet0/0 C AAAA:BBBB:CCCC:DDDD::/64 [0/0] via ::, FastEthernet0/0 L AAAA:BBBB:CCCC:DDDD::1/128 [0/0] via ::, FastEthernet0/0 L FF00::/8 [0/0] via ::, Null0 Hello Packet • No address information • Only link-local (now the Link State ID) R1#debug ipv6 ospf adj OSPFv3 adjacency events debugging is on R1# 00:47:54: OSPF: Rcv hello from 2.2.2.2 area 0 from FastEthernet0/0 FE80::290:CFF:FE66:5E01 Passive Interface • • • • Suppresses OSPF updates on an interface Does not send updates or establish adjacencies Interface is part of the routing network Routing updates received but not sent F0/0 F0/0 X B F0/1 F0/1 F0/1 F0/0 A C RouterA(config-rtr)#passive-interface fast 0/0 OR R1(config-rtr)#passive-interface default R1(config-rtr)#no passive-interface fastEthernet 0/1 End