09-24-2021 08:00 PM
I have a topology here,
I connected almost everything via multi area OSPF, and saved a little part for bgp +NAT,
after doing a redistribution in R6 - R7 and R5 are able to ping R8, but he cant ping them back,
and any other router in other areas can't ping R8,
Is that normal? am I doing something wrong? Its my first time using redistribution and BGP in the same time and ill be glad for some explanations and solutions, i added a rar file of the packet tracer here.
Solved! Go to Solution.
09-24-2021 10:37 PM - edited 09-24-2021 11:00 PM
Hi,
When you send ping from R8 the source ip is 110.0.0.2 by default,
in your configuration you not advertise this subnet in BGP.
If you send a ping and also tell R8 the source ip 192.168.1.1 with which it will send the ping it should work,
This is because in your configuration R8 advertise in BGP the 192.168.1.0 network but not the 110.0.0.0/30 network.
In the following example I sent a ping from R8 to R7 and also told R8 to use the source IP R8 advertise in BGP (192.168.1.0/30)
R8 # ping
Protocol [ip]:
Target IP address: 10.17.45.253
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 192.168.1.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose [none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.17.45.253, timeout is 2 seconds:
Packet sent with a source address of 192.168.1.1
!!!!!
To be able to ping from 110.0.0.2 to R7 you can configure the following commands :
R8 (config) #router bgp 2
R8 (config-router) #network 110.0.0.0 mask 255.255.255.252
R8 # ping 10.17.45.253
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.17.45.253, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min / avg / max = 2/25/47 ms
09-24-2021 10:37 PM - edited 09-24-2021 11:00 PM
Hi,
When you send ping from R8 the source ip is 110.0.0.2 by default,
in your configuration you not advertise this subnet in BGP.
If you send a ping and also tell R8 the source ip 192.168.1.1 with which it will send the ping it should work,
This is because in your configuration R8 advertise in BGP the 192.168.1.0 network but not the 110.0.0.0/30 network.
In the following example I sent a ping from R8 to R7 and also told R8 to use the source IP R8 advertise in BGP (192.168.1.0/30)
R8 # ping
Protocol [ip]:
Target IP address: 10.17.45.253
Repeat count [5]:
Datagram size [100]:
Timeout in seconds [2]:
Extended commands [n]: y
Source address or interface: 192.168.1.1
Type of service [0]:
Set DF bit in IP header? [no]:
Validate reply data? [no]:
Data pattern [0xABCD]:
Loose, Strict, Record, Timestamp, Verbose [none]:
Sweep range of sizes [n]:
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.17.45.253, timeout is 2 seconds:
Packet sent with a source address of 192.168.1.1
!!!!!
To be able to ping from 110.0.0.2 to R7 you can configure the following commands :
R8 (config) #router bgp 2
R8 (config-router) #network 110.0.0.0 mask 255.255.255.252
R8 # ping 10.17.45.253
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.17.45.253, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min / avg / max = 2/25/47 ms
09-24-2021 11:26 PM
Hello,
you can also do the below on R6:
router ospf 10
--> no passive-interface Serial0/1/0
--> network 110.0.0.0 0.0.0.3 area 10
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