cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1839
Views
0
Helpful
15
Replies

Redistributing static, RIPv6, and OSPFv6

Mohammad Rahman
Level 1
Level 1

Routers R5, R6, R10, and R11 talk each other by static route, and all other routers are using either RIPv6, OSPFv6 or EIGRP. Routers with dynamic routing protocols are working fine, and routers with static routes is also working very well. To go from static zone to dynamic zone static route is redistributed into OSPF in router R6. Static networks are visible in the dynamic zone but not pingable. Please see attached network topology and configuration below, and advise me.

Thanks,

Mostafa

R10:

!
interface Loopback0
 no ip address
 ipv6 address 2001:1237:CC45:CF10::/64 eui-64
!
interface Loopback10
 no ip address
 ipv6 address 2001:1010::10/64
!
interface GigabitEthernet1
 no ip address
 negotiation auto
!        
interface GigabitEthernet1.105
 encapsulation dot1Q 5
 ipv6 address 2001:1237:CC45:C005::2/64
 ipv6 enable
!
interface GigabitEthernet1.111
 encapsulation dot1Q 6
 ipv6 address 2001:1237:CC45:C006::1/64
 ipv6 enable

ipv6 route 2001:1005::/64 2001:1237:CC45:C005::1
ipv6 route 2001:1011::/64 2001:1237:CC45:C006::2
ipv6 route 2001:1237:CC45:C003::/64 2001:1237:CC45:C005::1
ipv6 route 2001:1237:CC45:C007::/64 2001:1237:CC45:C006::2
ipv6 route 2001:1237:CC45:CF05::/64 2001:1237:CC45:C005::1
ipv6 route 2001:1237:CC45:CF06::/64 2001:1237:CC45:C005::1
ipv6 route 2001:1237:CC45:CF06::/64 2001:1237:CC45:C006::2
ipv6 route 2001:1237:CC45:CF11::/64 2001:1237:CC45:C006::2
ipv6 route ::/0 2001:1237:CC45:C007::2
ipv6 route ::/0 2001:1237:CC45:C005::1
ipv6 route ::/0 2001:1237:CC45:C003::2
ipv6 route ::/0 2001:1237:CC45:C006::2
!
!

R10#sh ipv6 route
IPv6 Routing Table - default - 17 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
       NDr - Redirect, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
       OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid
       a - Application
S   ::/0 [1/0]
     via 2001:1237:CC45:C006::2
     via 2001:1237:CC45:C003::2
     via 2001:1237:CC45:C005::1
     via 2001:1237:CC45:C007::2
S   2001:1005::/64 [1/0]
     via 2001:1237:CC45:C005::1
C   2001:1010::/64 [0/0]
     via Loopback10, directly connected
L   2001:1010::10/128 [0/0]
     via Loopback10, receive
S   2001:1011::/64 [1/0]
     via 2001:1237:CC45:C006::2
S   2001:1237:CC45:C003::/64 [1/0]
     via 2001:1237:CC45:C005::1
C   2001:1237:CC45:C005::/64 [0/0]
     via GigabitEthernet1.105, directly connected
L   2001:1237:CC45:C005::2/128 [0/0]
     via GigabitEthernet1.105, receive
C   2001:1237:CC45:C006::/64 [0/0]
     via GigabitEthernet1.111, directly connected
L   2001:1237:CC45:C006::1/128 [0/0]
     via GigabitEthernet1.111, receive
S   2001:1237:CC45:C007::/64 [1/0]
     via 2001:1237:CC45:C006::2
S   2001:1237:CC45:CF05::/64 [1/0]
     via 2001:1237:CC45:C005::1
S   2001:1237:CC45:CF06::/64 [1/0]
     via 2001:1237:CC45:C006::2
     via 2001:1237:CC45:C005::1
C   2001:1237:CC45:CF10::/64 [0/0]
     via Loopback0, directly connected
L   2001:1237:CC45:CF10:21E:E6FF:FE42:C500/128 [0/0]
     via Loopback0, receive
S   2001:1237:CC45:CF11::/64 [1/0]
     via 2001:1237:CC45:C006::2
L   FF00::/8 [0/0]
     via Null0, receive
R10#

R5:

!
interface Loopback0
 no ip address
 ipv6 address 2001:1237:CC45:CF05::/64 eui-64
!
interface Loopback10
 no ip address
 ipv6 address 2001:1005::10/64
!
interface GigabitEthernet1
 no ip address
 negotiation auto
!
interface GigabitEthernet1.56
 encapsulation dot1Q 3
 ipv6 address 2001:1237:CC45:C003::2/64
 ipv6 enable
!
interface GigabitEthernet1.105
 encapsulation dot1Q 5
 ipv6 address 2001:1237:CC45:

!
ipv6 route 2001:1006::/64 2001:1237:CC45:C003::1
ipv6 route 2001:1010::/64 2001:1237:CC45:C005::2
ipv6 route 2001:1237:CC45:CF06::/64 2001:1237:CC45:C003::1
ipv6 route 2001:1237:CC45:CF10::/64 2001:1237:CC45:C005::2
ipv6 route ::/0 2001:1237:CC45:C003::1
!

R11:

!
interface Loopback0
 no ip address
 ipv6 address 2001:1237:CC45:CF11::/64 eui-64
!
interface Loopback10
 no ip address
 ipv6 address 2001:1011::10/64
!
interface GigabitEthernet1
 no ip address
 negotiation auto
!        
interface GigabitEthernet1.111
 encapsulation dot1Q 6
 ipv6 address 2001:1237:CC45:C006::2/64
 ipv6 enable
!
interface GigabitEthernet1.116
 encapsulation dot1Q 7
 ipv6 address 2001:1237:CC45:C007::2/64
 ipv6 enable

!
ipv6 route 2001:1006::/64 2001:1237:CC45:C007::1
ipv6 route 2001:1237:CC45:CF06::/64 2001:1237:CC45:C007::1
ipv6 route 2001:1237:CC45:CF00::/60 2001:1237:CC45:C006::1
ipv6 route 2001:1237:CC45:CF10::/64 2001:1237:CC45:C006::1
ipv6 route ::/0 2001:1237:CC45:C003::1

R11# sh ipv6 route
IPv6 Routing Table - default - 13 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
       NDr - Redirect, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
       OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid
       a - Application
S   2001:1006::/64 [1/0]
     via 2001:1237:CC45:C007::1
C   2001:1011::/64 [0/0]
     via Loopback10, directly connected
L   2001:1011::10/128 [0/0]
     via Loopback10, receive
C   2001:1237:CC45:C006::/64 [0/0]
     via GigabitEthernet1.111, directly connected
L   2001:1237:CC45:C006::2/128 [0/0]
     via GigabitEthernet1.111, receive
C   2001:1237:CC45:C007::/64 [0/0]
     via GigabitEthernet1.116, directly connected
L   2001:1237:CC45:C007::2/128 [0/0]
     via GigabitEthernet1.116, receive
S   2001:1237:CC45:CF00::/60 [1/0]
     via 2001:1237:CC45:C006::1
S   2001:1237:CC45:CF06::/64 [1/0]
     via 2001:1237:CC45:C007::1
S   2001:1237:CC45:CF10::/64 [1/0]
     via 2001:1237:CC45:C006::1
C   2001:1237:CC45:CF11::/64 [0/0]
     via Loopback0, directly connected
L   2001:1237:CC45:CF11:21E:E6FF:FE5C:B500/128 [0/0]
     via Loopback0, receive
L   FF00::/8 [0/0]
     via Null0, receive
R11#

R6:

!
interface Loopback0
 no ip address
 ipv6 address 2001:1237:CC45:CF06::/64 eui-64
!
interface Loopback10
 no ip address
 ipv6 address 2001:1006::10/64
!
interface GigabitEthernet1
 no ip address
 negotiation auto
!
interface GigabitEthernet1.1
!
interface GigabitEthernet1.16
 encapsulation dot1Q 2
 ipv6 address 2001:1237:CC45:C001::2/64
 ipv6 enable
 ipv6 rip RIPv6NG enable
!
interface GigabitEthernet1.26
 encapsulation dot1Q 4
 ipv6 address 2001:1237:CC45:C004::2/64
 ipv6 enable
 ipv6 ospf 100 area 2
!
interface GigabitEthernet1.56
 encapsulation dot1Q 3
 ipv6 address 2001:1237:CC45:C003::1/64
 ipv6 enable
!
interface GigabitEthernet1.116
 encapsulation dot1Q 7
 ipv6 address 2001:1237:CC45:C007::1/64
 ipv6 enable
!
interface GigabitEthernet1.126
 encapsulation dot1Q 8
 ipv6 address 2001:1237:CC45:C008::1/64
 ipv6 enable
 ipv6 ospf 100 area 2

!
ipv6 route 2001:1237:CC45:C005::/64 2001:1237:CC45:C003::2
ipv6 route 2001:1237:CC45:C006::/64 2001:1237:CC45:C007::2
ipv6 route 2001:1237:CC45:CF05::/64 2001:1237:CC45:C003::2
ipv6 route 2001:1237:CC45:CF10::/64 2001:1237:CC45:C003::2

R6#
R6# sh run | sec router
ipv6 router ospf 100
 router-id 6.6.6.6
 redistribute static metric 5
 redistribute rip RIPv6NG metric 1 include-connected
ipv6 router rip RIPv6NG
 redistribute connected metric 1 route-map AL06
 redistribute ospf 100 metric 1
R6#

R6#sh ipv6 route
IPv6 Routing Table - default - 44 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
       NDr - Redirect, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
       OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid
       a - Application
C   2001:1006::/64 [0/0]
     via Loopback10, directly connected
L   2001:1006::10/128 [0/0]
     via Loopback10, receive
C   2001:1237:CC45:C001::/64 [0/0]
     via GigabitEthernet1.16, directly connected
L   2001:1237:CC45:C001::2/128 [0/0]
     via GigabitEthernet1.16, receive
C   2001:1237:CC45:C003::/64 [0/0]
     via GigabitEthernet1.56, directly connected
L   2001:1237:CC45:C003::1/128 [0/0]
     via GigabitEthernet1.56, receive
C   2001:1237:CC45:C004::/64 [0/0]
     via GigabitEthernet1.26, directly connected
L   2001:1237:CC45:C004::2/128 [0/0]
     via GigabitEthernet1.26, receive
S   2001:1237:CC45:C005::/64 [1/0]
     via 2001:1237:CC45:C003::2
S   2001:1237:CC45:C006::/64 [1/0]
     via 2001:1237:CC45:C007::2
C   2001:1237:CC45:C007::/64 [0/0]
     via GigabitEthernet1.116, directly connected
L   2001:1237:CC45:C007::1/128 [0/0]
     via GigabitEthernet1.116, receive
C   2001:1237:CC45:C008::/64 [0/0]
     via GigabitEthernet1.126, directly connected
L   2001:1237:CC45:C008::1/128 [0/0]
     via GigabitEthernet1.126, receive
OI  2001:1237:CC45:C011::/64 [110/2]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OI  2001:1237:CC45:C011::1/128 [110/1]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OI  2001:1237:CC45:C011::2/128 [110/2]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OE2 2001:1237:CC45:C012::/64 [110/30]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.126
OE2 2001:1237:CC45:C013::/64 [110/30]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.126
OE2 2001:1237:CC45:C014::/64 [110/30]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.126
OE2 2001:1237:CC45:C015::/64 [110/30]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.126
OI  2001:1237:CC45:C016::/64 [110/3]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OI  2001:1237:CC45:C017::/64 [110/3]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OI  2001:1237:CC45:C018::/64 [110/3]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OI  2001:1237:CC45:C019::/64 [110/4]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OE2 2001:1237:CC45:C020::/64 [110/1]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OE2 2001:1237:CC45:C021::/64 [110/30]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.126
OE2 2001:1237:CC45:C022::/64 [110/30]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.126
OE2 2001:1237:CC45:CF01::/64 [110/20]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OE2 2001:1237:CC45:CF02::/64 [110/20]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.126
O   2001:1237:CC45:CF02:21E:7AFF:FEAE:6100/128 [110/1]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OE2 2001:1237:CC45:CF03::/64 [110/20]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OE2 2001:1237:CC45:CF03:21E:E6FF:FE0E:BD00/128 [110/20]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OI  2001:1237:CC45:CF04:21E:E6FF:FED8:ED00/128 [110/3]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
S   2001:1237:CC45:CF05::/64 [1/0]
     via 2001:1237:CC45:C003::2
C   2001:1237:CC45:CF06::/64 [0/0]
     via Loopback0, directly connected
L   2001:1237:CC45:CF06:21E:F6FF:FEEF:600/128 [0/0]
     via Loopback0, receive
OI  2001:1237:CC45:CF07:21E:F6FF:FE47:CE00/128 [110/3]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OI  2001:1237:CC45:CF08:21E:E5FF:FE22:700/128 [110/3]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
OE2 2001:1237:CC45:CF09::/64 [110/1]
     via FE80::250:56FF:FE9F:4241, GigabitEthernet1.26
S   2001:1237:CC45:CF10::/64 [1/0]
     via 2001:1237:CC45:C003::2
O   2001:1237:CC45:CF12:21E:F6FF:FE8A:5E00/128 [110/1]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.126
OE2 2001:1237:CC45:CF13::/64 [110/30]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.126
L   FF00::/8 [0/0]
     via Null0, receive
R6#

R2:

!
interface Loopback0
 no ip address
 ipv6 address 2001:1237:CC45:CF02::/64 eui-64
 ipv6 enable
 ipv6 ospf 100 area 2
!
interface GigabitEthernet1
 no ip address
 negotiation auto
!
interface GigabitEthernet1.23
 encapsulation dot1Q 11
 ipv6 address 2001:1237:CC45:C011::1/64
 ipv6 enable
 ipv6 ospf 100 area 1
!
interface GigabitEthernet1.26
 encapsulation dot1Q 4
 ipv6 address 2001:1237:CC45:C004::1/64
 ipv6 enable
 ipv6 ospf 100 area 2
!
interface GigabitEthernet1.112
 encapsulation dot1Q 10
 ipv6 address 2001:1237:CC45:C010::1/64
 ipv6 enable
 ipv6 rip RIPv6NG enable

!
ipv6 router ospf 100
 router-id 2.2.2.2
 area 1 virtual-link 3.3.3.3
 redistribute rip RIPv6NG
!
ipv6 router rip RIPv6NG
 redistribute connected route-map AL02
 redistribute ospf 100 metric 1
!
!
route-map AL02 permit 10
 match ipv6 address AL02
!
route-map AL02 permit 20
!
!
!
ipv6 access-list AL02
 permit ipv6 2001:1237:CC45:CF02::/64 any
control-plane host

R2#sh ipv6 route
IPv6 Routing Table - default - 36 entries
Codes: C - Connected, L - Local, S - Static, U - Per-user Static route
       B - BGP, R - RIP, H - NHRP, I1 - ISIS L1
       I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary, D - EIGRP
       EX - EIGRP external, ND - ND Default, NDp - ND Prefix, DCE - Destination
       NDr - Redirect, O - OSPF Intra, OI - OSPF Inter, OE1 - OSPF ext 1
       OE2 - OSPF ext 2, ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
       la - LISP alt, lr - LISP site-registrations, ld - LISP dyn-eid
       a - Application
OE2 2001:1237:CC45:C001::/64 [110/1]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
C   2001:1237:CC45:C004::/64 [0/0]
     via GigabitEthernet1.26, directly connected
L   2001:1237:CC45:C004::1/128 [0/0]
     via GigabitEthernet1.26, receive
OE2 2001:1237:CC45:C005::/64 [110/5]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
OE2 2001:1237:CC45:C006::/64 [110/5]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
O   2001:1237:CC45:C008::/64 [110/2]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
C   2001:1237:CC45:C010::/64 [0/0]
     via GigabitEthernet1.112, directly connected
L   2001:1237:CC45:C010::1/128 [0/0]
     via GigabitEthernet1.112, receive
C   2001:1237:CC45:C011::/64 [0/0]
     via GigabitEthernet1.23, directly connected
L   2001:1237:CC45:C011::1/128 [0/0]
     via GigabitEthernet1.23, receive
O   2001:1237:CC45:C011::2/128 [110/1]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
OE2 2001:1237:CC45:C012::/64 [110/30]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
OE2 2001:1237:CC45:C013::/64 [110/30]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
OE2 2001:1237:CC45:C014::/64 [110/30]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
OE2 2001:1237:CC45:C015::/64 [110/30]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
O   2001:1237:CC45:C016::/64 [110/2]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
O   2001:1237:CC45:C017::/64 [110/2]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
O   2001:1237:CC45:C018::/64 [110/2]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
O   2001:1237:CC45:C019::/64 [110/3]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
OE2 2001:1237:CC45:C020::/64 [110/1]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
OE2 2001:1237:CC45:C021::/64 [110/30]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
OE2 2001:1237:CC45:C022::/64 [110/30]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
R   2001:1237:CC45:CF01::/64 [120/2]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.112
C   2001:1237:CC45:CF02::/64 [0/0]
     via Loopback0, directly connected
L   2001:1237:CC45:CF02:21E:7AFF:FEAE:6100/128 [0/0]
     via Loopback0, receive
OE2 2001:1237:CC45:CF03::/64 [110/20]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
R   2001:1237:CC45:CF03:21E:E6FF:FE0E:BD00/128 [120/2]
     via FE80::250:56FF:FE9F:2C10, GigabitEthernet1.112
O   2001:1237:CC45:CF04:21E:E6FF:FED8:ED00/128 [110/2]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
OE2 2001:1237:CC45:CF05::/64 [110/5]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
O   2001:1237:CC45:CF07:21E:F6FF:FE47:CE00/128 [110/2]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
O   2001:1237:CC45:CF08:21E:E5FF:FE22:700/128 [110/2]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
OE2 2001:1237:CC45:CF09::/64 [110/1]
     via FE80::250:56FF:FE9F:52A5, GigabitEthernet1.23
OE2 2001:1237:CC45:CF10::/64 [110/5]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
O   2001:1237:CC45:CF12:21E:F6FF:FE8A:5E00/128 [110/2]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
OE2 2001:1237:CC45:CF13::/64 [110/30]
     via FE80::250:56FF:FE9F:D24D, GigabitEthernet1.26
L   FF00::/8 [0/0]
     via Null0, receive
R2#
!

15 Replies 15

Can you check your IP addressing on the subinterface for vlan 5  on R5 ie. it is not a properly formed IP address.

Jon

Review Cisco Networking for a $25 gift card