cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
794
Views
15
Helpful
3
Replies

Redistribute routes into OSPF from BGP

EAleg
Level 1
Level 1


Hi guys, can u tell please, what i must type, that Server-Router know about this routes: 30.30.30.0, 60.60.60.0, 70.70.70.0, 10.10.10.0, 20.20.20.0? What i must specify in OSPF configuration on R3?

Thank u for help n attention

Server_Router knows about  40.40.40.0, 80.80.80.0, 50.50.50.0.

 

ss1.PNG


====R3=====

R3#sh run | s router bgp 300
router bgp 300
bgp log-neighbor-changes
network 40.40.40.0 mask 255.255.255.252
network 50.50.50.0 mask 255.255.255.252
network 80.80.80.0 mask 255.255.255.252

redistribute ospf 1
neighbor 40.40.40.1 remote-as 300
neighbor 50.50.50.1 remote-as 300
neighbor 80.80.80.2 remote-as 300


R3#sh run | s router ospf 1
router ospf 1
redistribute bgp 300 subnets
passive-interface default
no passive-interface GigabitEthernet0/2
network 10.11.12.0 0.0.0.3 area 1


====Server_Router===

router ospf 1
passive-interface default
no passive-interface GigabitEthernet0/0
network 10.11.12.0 0.0.0.3 area 1

 

1 Accepted Solution

Accepted Solutions

Hello,

 

on R3, try and add:

 

router bgp 300
bgp log-neighbor-changes
--> bgp redistribute-internal
network 40.40.40.0 mask 255.255.255.252
network 50.50.50.0 mask 255.255.255.252
network 80.80.80.0 mask 255.255.255.252

View solution in original post

3 Replies 3

balaji.bandi
Hall of Fame
Hall of Fame

 

If you not looking for Mutual redistribution,  If the Server router has only one path is to reach R3, R3 aware of all the routes you looking then the Default route should work here.

 

 

router ospf 1
 default-information originate

 

You can also add the always keyword to the default-information originate command to make a router originate a 0.0.0.0 type 5 LSA even if the router does not have a default route in its routing table.

 

Test and advise.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Hello,

 

on R3, try and add:

 

router bgp 300
bgp log-neighbor-changes
--> bgp redistribute-internal
network 40.40.40.0 mask 255.255.255.252
network 50.50.50.0 mask 255.255.255.252
network 80.80.80.0 mask 255.255.255.252

Hello
As Rtr3 is an ibgp rtr then you would need to redistribute ibgp routes into ospf by means of bgp redistribute-internal as already suggested however looking at your physical design it seems to suggest all rtrs are in the same ASN domain with a central rtr as a RR.

If so then R1 -R2 rtrs don’t require a physical connection or ibgp peering to each other, And as R3 is connecting to those two rtrs it also doesn’t require a direct connection to RR rtr either.


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Review Cisco Networking for a $25 gift card