Having Trouble Redistribute from OSPF to BGP
I'm doing a lab for my TSHOOT test and I trying to do redistribution from BGP to OSPF and I'm trying to do default-information originate from OSPF to BGP. My thinking is that when we type the default-information originate the default router will propagate with the OSPF process, but I don't see that is propagating(I'm probably wrong). I can see OSPF route on my BGP side, but I don't see any BGP route on my OSPF routers. I attached my topology and the following are the configs.
Router 1:
Border Router - Router 2:
BB1:
BB2
Router 1:
Router1#sh run Building configuration... Current configuration : 879 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname Router1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$1mjp$eATM30xDMzIGVi.JRnX111 ! no aaa new-model memory-size iomem 5 ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 10.1.1.1 255.255.255.255 ! interface FastEthernet0/0 ip address 192.168.1.1 255.255.255.0 speed 100 full-duplex ! interface FastEthernet0/1 ip address 192.168.0.11 255.255.255.0 speed 100 full-duplex ! router ospf 1 log-adjacency-changes network 10.1.1.1 0.0.0.0 area 0 network 192.168.0.0 0.0.0.255 area 0 network 192.168.1.0 0.0.0.255 area 0 ! ! ! ip http server no ip http secure-server ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 password cisco login line vty 1 4 login ! ! end
Border Router - Router 2:
ROUTER2#sh run Building configuration... Current configuration : 1682 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname ROUTER2 ! boot-start-marker boot-end-marker ! enable secret 5 $1$bnS6$eSVGXIjQc8DXUmUVMVPPN/ ! no aaa new-model memory-size iomem 5 ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 10.2.2.2 255.255.255.255 ! interface FastEthernet0/0 ip address 192.168.0.22 255.255.255.0 speed 100 full-duplex ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial1/0 no ip address encapsulation frame-relay IETF serial restart-delay 0 ! interface Serial1/0.1 point-to-point ip address 172.16.1.2 255.255.255.252 frame-relay interface-dlci 181 ! interface Serial1/0.2 point-to-point ip address 172.16.2.1 255.255.255.252 frame-relay interface-dlci 182 ! interface Serial1/1 no ip address shutdown serial restart-delay 0 ! interface Serial1/2 no ip address shutdown serial restart-delay 0 ! interface Serial1/3 no ip address shutdown serial restart-delay 0 ! router ospf 1 log-adjacency-changes network 10.2.2.2 0.0.0.0 area 0 network 192.168.0.0 0.0.0.255 area 0 default-information originate ! router bgp 65001 no synchronization bgp log-neighbor-changes network 172.16.1.0 mask 255.255.255.252 network 172.16.2.0 mask 255.255.255.252 redistribute ospf 1 neighbor 172.16.1.1 remote-as 65002 neighbor 172.16.2.2 remote-as 65003 default-information originate no auto-summary ! ! ! ip http server no ip http secure-server ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 password cisco login line vty 1 4 login ! ! end
BB1:
BB1#sh run Building configuration... Current configuration : 1508 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname BB1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$6m5O$/0qgccDh8SHOqShdBLL4q. ! no aaa new-model memory-size iomem 5 ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 10.3.3.3 255.255.255.255 ! interface FastEthernet0/0 ip address 10.1.2.1 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial1/0 no ip address encapsulation frame-relay serial restart-delay 0 ! interface Serial1/0.1 point-to-point ip address 10.1.3.1 255.255.255.252 frame-relay interface-dlci 881 ! interface Serial1/0.2 point-to-point ip address 172.16.1.1 255.255.255.252 frame-relay interface-dlci 811 ! interface Serial1/1 no ip address shutdown serial restart-delay 0 ! interface Serial1/2 no ip address shutdown serial restart-delay 0 ! interface Serial1/3 no ip address shutdown serial restart-delay 0 ! router bgp 65002 no synchronization bgp log-neighbor-changes network 10.1.2.0 mask 255.255.255.0 network 10.3.3.3 mask 255.255.255.255 network 172.16.1.0 mask 255.255.255.252 neighbor 10.1.3.2 remote-as 65003 neighbor 172.16.1.2 remote-as 65001 no auto-summary ! ! ! ip http server no ip http secure-server ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 password cisco login line vty 1 4 login ! ! end
BB2
BB2#sh run Building configuration... Current configuration : 1547 bytes ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname BB2 ! boot-start-marker boot-end-marker ! enable secret 5 $1$T/IP$Je0Gm4.8npi53N1kmU7CM. ! no aaa new-model memory-size iomem 5 ip cef ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 10.4.4.4 255.255.255.255 ! interface FastEthernet0/0 ip address 10.1.2.2 255.255.255.0 duplex auto speed auto ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial1/0 no ip address encapsulation frame-relay serial restart-delay 0 ! interface Serial1/0.1 point-to-point ip address 10.1.3.2 255.255.255.252 frame-relay interface-dlci 882 ! interface Serial1/0.2 point-to-point ip address 172.16.2.2 255.255.255.252 frame-relay interface-dlci 821 ! interface Serial1/1 no ip address shutdown serial restart-delay 0 ! interface Serial1/2 no ip address shutdown serial restart-delay 0 ! interface Serial1/3 no ip address shutdown serial restart-delay 0 ! router bgp 65003 no synchronization bgp log-neighbor-changes network 10.1.2.0 mask 255.255.255.0 network 10.1.3.0 mask 255.255.255.252 network 10.4.4.4 mask 255.255.255.255 network 172.16.2.0 mask 255.255.255.252 neighbor 10.1.3.1 remote-as 65002 neighbor 172.16.2.1 remote-as 65001 no auto-summary ! ! ! ip http server no ip http secure-server ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 password cisco login line vty 1 4 login ! ! end
Comments
-
amb1s1 Member Posts: 408I found the problem, I typed "default-information originate" instead of "default-information originate always" after I typed that I was able to see the BGP route on router 1
O*E2 0.0.0.0/0 [110/1] via 192.168.0.22, 00:00:27, FastEthernet0/1