Basic configuration of all routers:ipv uni ! interface fastEthernet0/0 ip address 192.168.123.1 255.255.255.0 ipv6 address 123::1/64 ipv6 ospf 1 area 123 no shut ! interface FastEthernet0/1 up address 12.12.12.1 255.255.255.0 ipv6 address 12::1/64 ipv6 ospf 1 area 0 no shut ! interface FastEthernet1/0 ip address 192.168.13.1 255.255.255.0 ipv6 address 13::1/64 ipv6 ospf 1 area 0 no shut ! router ospf 1 router-id 1.1.1.1 area 123 nssa network 12.12.12.0 0.0.0.255 area 0 network 192.168.13.0 0.0.0.255 area 0 network 192.168.123.0 0.0.0.255 area 123 ! ipv6 router ospf 1 router-id 11.11.11.11 area 123 nssa R2:uni ! interface FastEthernet0/0 ip address 192.168.123.2 255.255.255.0 ipv6 address 123::2/64 ipv6 ospf 1 area 123 no shut ! interface fastEthernet0/1 ip address 12.12.12.2 255.255.255.0 ipv6 address 12::2/64 ipv6 ospf 1 area 0 no shut ! router ospf 1 router-id 2.2.2.2 area 123 nssa network 12.12.12.0 0.0.0.255 area 0 network 192.168.123.0 0.0.0.255 area 123 ! ipv6 ospf 1 router-id 22.22.22.22 area 123 nssa R3 ipv uni ! interface loopback0 ipv6 address 3::3/64 ! interfaceLoopback1 ip address 3.3.3.3 255.255.255.0 ! interface fastEthernet0/0 ip address 192.168.123.3 255.255.255.0 ipv6 address 123::3/64 ipv6 address ospf 1 area 123 no shut ! interface fastEthernet1/0 ip address 192.168.13.3 255.255.255.255.0 ipv6 address 13::3/64 ipv6 ospf 1 area 0 no shut ! router ospf 1 router-id 3.3.3.3 area 123 nssa redistribute connected subnets route-map CONNECTED-IPV4 network 192.168.13.0 0.0.0.255 area 0 network 192.168.123.0 0.0.0.255 area 123 ! ipv6 router ospf 1 router-id 33.33.33.33 area 123 nssa redistribute connected route-map CONNECTED-IPV6 ! ! route-map CONNECTED-IPV4 permit 10 match interface Loopback1 ! route-map CONNECTED-IPV6 permit 10 match interface Loopback0

Leave a comment