cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7001
Views
0
Helpful
8
Replies

Redistribution from BGP to RIP

AnetteT
Level 1
Level 1

Hello everybody!
I have some problem with configure my cisco network. In my network is 4 routers and 2 autonomous system. Router R1 use protocol RIP to communicate with R2 (this is my first AS) and router R2 communicate with R3 with BGP protocol (R2 is in AS 100, R3 is in AS 200). R3 is connected with R4 (use protocol OSPF).

 

(R1 ----(RIP)----- R2) ------(BGP)---- (R3 ------OSPF-----R4)

             AS 100                                                        AS 200

 

 

When i try communicate from R3 to R1 i have failure. Cause is in router R1. If i use command show ip route on R1, a don't have connected to R3, i don't have any way to AS 200. From R4 to R2/R1 connected is ok.

 

R1 192.168.40.1

R2 192.168.40.2 (to RIP) and 192.168.20.1 (to BGP)

R3 192.168.20.2 (to BGP) and 192.168.70.2 (to OSPF)

R4 192.168.70.1 (to OSPF)

 

 I'm trying retribution. I take some photo, sorry for quality.

 

Please help me get to connect R1 with R3/R4. I don't have any ideas.

1 Accepted Solution

Accepted Solutions

It is confusing whether the commands in the picture are from R1 or from R2. The presence of a network statement for 192.168.50.0 implies that it is from R1. But the BGP implies that it is R2. Can you clarify. 

 

I am disappointed to see one redistribute statement, and that is to redistribute connected. Redistribution is the critical part of what is going on here. I have the following comments:

- if you want to advertise subnets from R1 to R4 then I would expect R2 to redistribute RIP into BGP.

- if you want to advertise subnets from R4 to R1 then I would expect R3 to redistribute OSPF into BGP.

- if you want to advertise subnets from R3 to R1 then I would expect R2 to redistribute BGP into RIP.

- if you want to advertise subnets from R2 to R4 then I would expect R3 to redistribute BGP into OSPF.

 

 

HTH

 

Rick

HTH

Rick

View solution in original post

8 Replies 8

Richard Burts
Hall of Fame
Hall of Fame

We do not have enough information to understand what is going on and therefore can not suggest what might be the problem and how to solve. it. As a starting point would you post the output from each router of the command show ip route.

 

It might also help if you would post router configuration, especially the configuration of R2.

 

HTH

 

Rick

HTH

Rick

R1 interfaces:

Serial0/0 192.168.40.1 YES manual up up

FastEthernet1/0 192.168.50.1 YES manual up up

 

R2 int:

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 192.168.10.1 YES NVRAM up up

FastEthernet0/1 unassigned YES NVRAM up down

Serial0/0/0 192.168.20.1 YES NVRAM up up

Serial0/0/1 unassigned YES NVRAM up up

Serial0/1/0 192.168.40.2 YES manual up up

Serial0/1/1 unassigned YES NVRAM down down

Vlan1 unassigned YES unset administratively down down

 

R3 int:

Interface IP-Address OK? Method Status Protocol

FastEthernet0/0 192.168.30.1 YES NVRAM up up

FastEthernet0/1 unassigned YES NVRAM up down

Serial0/0/0 192.168.20.2 YES NVRAM up up

Serial0/0/1 unassigned YES NVRAM up up

Serial0/1/0 192.168.70.2 YES manual up up

Serial0/1/1 192.168.110.2 YES manual up up

Vlan1 unassigned YES unset administratively down down

 

R4 int:

Interface IP-Address OK? Method Status Protocol

Serial0/0 192.168.70.1 YES manual up up

FastEthernet1/0 192.168.60.1 YES manual up up

Serial2/0 192.168.100.2 YES manual up up

 

R1 configuration:
router rip

version 2

network 192.168.50.0

network 192.168.40.0

 

R2 conf:

router rip

version 2

network 192.168.10.0

network 192.168.40.0

router bgp 100

network 192.168.20.0

network 192.168.10.0

neighbor 192.168.30.1 remote-as 200

neighbor 192.168.20.2 remote-as 200

 

R3 conf:

router ospf 1

network 192.168.30.0 255.255.255.0 area 0

network 192.168.110.0 255.255.255.0 area 0

network 192.168.70.0 255.255.255.0 area 0

router bgp 200

network 192.168.20.0

network 192.168.30.0

neighbor 192.168.10.1 remote-as 100

neighbor 192.168.20.1 remote-as 100

 

R4 conf:

Router(config)#router ospf 1

Router(config-router)#network 192.168.60.0 255.255.255.0

% Incomplete command.

Router(config-router)#network 192.168.100.0 255.255.255.0 area 0

Router(config-router)#network 192.168.70.0 255.255.255.0 area 0

 

And then i try use command from this photo

It is confusing whether the commands in the picture are from R1 or from R2. The presence of a network statement for 192.168.50.0 implies that it is from R1. But the BGP implies that it is R2. Can you clarify. 

 

I am disappointed to see one redistribute statement, and that is to redistribute connected. Redistribution is the critical part of what is going on here. I have the following comments:

- if you want to advertise subnets from R1 to R4 then I would expect R2 to redistribute RIP into BGP.

- if you want to advertise subnets from R4 to R1 then I would expect R3 to redistribute OSPF into BGP.

- if you want to advertise subnets from R3 to R1 then I would expect R2 to redistribute BGP into RIP.

- if you want to advertise subnets from R2 to R4 then I would expect R3 to redistribute BGP into OSPF.

 

 

HTH

 

Rick

HTH

Rick

Yes, picture is from R2, but i don't know what is in this command not right. I found many example how to redistribute RIP to BGP, but i must do something wrong, because nothing do change. Still I haven't send packet from R1 to R4 and R3 (the same AS). I'm not expert in Cisco.

R4, R3, R2 have connection, IP route is ok, everything is succesfull. But i don't know what i can do to redistribute RIP to BGB from R1 to R4. On router R1 i don't have route to AS 200. A could send packet only in AS 100.

What command i could use for this.

 

If you need any information or picture please tell me. 

Resolution was so simple!
I have to add command with new hop from R1 to R2 and everything is fine.

Thanks for your answear.

Thanks for the update. I am glad that everything is fine and that my suggestions helped in resolving the issue. Thank you for marking the question as solved. This will help other participants in the community to identify discussions which have helpful information. This community is an excellent place to ask questions and to learn about networking. I hope to see you continue to be active in the community.

 

HTH

 

Rick

HTH

Rick

Hello

Have you advertised each routers connected interfaces into each routing process?

 

example: 

r2 interfaces advertised into both rip and bgp

 

Also it seems you don't have redistribution correct  for rip/bgp/ospf, please post the configuration for R2/R3


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

UP is my configuration. Please see that.