[c-nsp] IPv6 redistribute bgp into ospf
Tobias König
toebivankenoebi at gmail.com
Wed Jan 14 12:04:08 EST 2009
Hi there
I ran into a problem when trying to redistribute a bgp ipv6 route into ospf.
The scenario looks the following:
router0 <-- ospf (10:10:10::4/126) --> router1 <-- bgp (10:10:10::/126) -->
router2
Router2 advertises an ipv6 prefix (20:20:20::/48) via ibgp to router1, this
part works flawlessly.
Router1 should then redistribute that route into its ospf process and
advertise it to router0, which unfortunately it doesn't.
(When redistributing a static route on router1 into ospf, router0 sees that
prefix).
Maybe someone of you got any idea of what could be wrong or can provide a
hint on where to find detailed infos.
You can find the according configs at the bottom. The config was tested with
the following platforms and IOS -> always the same result:
c2800nm-advipservicesk9-mz.124-19
c3640-js-mz.124-23.bin
c3640-ik9s-mz.124-19.bin
Thanks in advance for any inputs.
Cheers
Tobias
---- sh ipv6 route
R0#sh ipv6 route
C 10:10:10::4/126 [0/0]
via ::, FastEthernet0/0
R1#sh ipv6 route
C 10:10:10::/126 [0/0]
via ::, FastEthernet1/0
C 10:10:10::4/126 [0/0]
via ::, FastEthernet0/0
B 20:20:20::/48 [200/0]
via 10:10:10::2
R2#sh ipv6 route
B ::/0 [200/0]
via 10:10:10::1
C 10:10:10::/126 [0/0]
via ::, FastEthernet0/0
S 20:20:20::/48 [1/0]
via ::, Null0
Config:
=====
router0:
----
interface FastEthernet0/0
ipv6 address 10:10:10::5/126
ipv6 enable
ipv6 ospf 1 area 0
ipv6 router ospf 1
router-id 10.10.10.0
log-adjacency-changes
passive-interface default
no passive-interface FastEthernet0/0
----
router1:
----
interface FastEthernet0/0
ipv6 address 10:10:10::6/126
ipv6 enable
ipv6 ospf 1 area 0
!
interface FastEthernet1/0
ipv6 address 10:10:10::1/126
ipv6 enable
!
router bgp 10
bgp router-id 10.10.10.1
bgp log-neighbor-changes
neighbor 10:10:10::2 remote-as 10
neighbor 10:10:10::2 version 4
!
address-family ipv4
no neighbor 10:10:10::2 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv6
neighbor 10:10:10::2 activate
neighbor 10:10:10::2 send-community
neighbor 10:10:10::2 default-originate
neighbor 10:10:10::2 soft-reconfiguration inbound
no synchronization
exit-address-family
ipv6 router ospf 1
router-id 10.10.10.1
log-adjacency-changes
passive-interface default
no passive-interface FastEthernet0/0
redistribute bgp 10
----
router2:
----
interface FastEthernet0/0
ipv6 address 10:10:10::2/126
ipv6 enable
!
router bgp 10
bgp router-id 10.10.10.2
bgp log-neighbor-changes
neighbor 10:10:10::1 remote-as 10
neighbor 10:10:10::1 version 4
!
address-family ipv4
no neighbor 10:10:10::1 activate
no auto-summary
no synchronization
exit-address-family
!
address-family ipv6
neighbor 10:10:10::1 activate
neighbor 10:10:10::1 send-community
neighbor 10:10:10::1 soft-reconfiguration inbound
network 20:20:20::/48
exit-address-family
!
ipv6 route 20:20:20::/48 Null0
----
More information about the cisco-nsp
mailing list