02-18-2019 09:33 AM - edited 02-18-2019 09:36 AM
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.
Solved! Go to Solution.
02-18-2019 01:19 PM
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
02-18-2019 09:38 AM
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
02-18-2019 10:01 AM - edited 02-18-2019 10:03 AM
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
02-18-2019 01:19 PM
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
02-18-2019 02:13 PM - edited 02-18-2019 02:39 PM
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.
02-19-2019 09:37 AM
Resolution was so simple!
I have to add command with new hop from R1 to R2 and everything is fine.
Thanks for your answear.
02-19-2019 11:22 AM
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
02-18-2019 09:43 AM - edited 02-18-2019 12:44 PM
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
02-18-2019 02:41 PM
UP is my configuration. Please see that.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide