05-17-2023
06:38 AM
- last edited on
05-26-2023
02:45 AM
by
Translator
HI,
After advertising to e-bgp on my local LAN networks, I am not getting the following routes. I redistributed between OSPF to BGP Router MPLS-1. I do not find any routes from other end routers CE-UK. Please find all the router configurations below.
network 10.10.1.0
network 10.10.1.16
network 10.10.1.32
India-CE-MPLS#sh run | se bgp
router bgp 65002
bgp log-neighbor-changes
no synchronization
neighbor 172.16.12.1 remote-as 65004
network 10.10.1.0 mask 255.255.255.240
network 10.10.1.16 mask 255.255.255.240
network 10.10.1.32 mask 255.255.255.240
India-CE-MPLS#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 10.10.10.14 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 9 subnets, 3 masks
D 10.10.1.0/28 [90/25628160] via 10.10.10.14, 02:27:30, GigabitEthernet0/0
[90/25628160] via 10.10.10.9, 02:27:30, GigabitEthernet0/1
D 10.10.1.16/28 [90/25628160] via 10.10.10.14, 02:27:30, GigabitEthernet0/0
[90/25628160] via 10.10.10.9, 02:27:30, GigabitEthernet0/1
D 10.10.1.32/28 [90/25628160] via 10.10.10.14, 02:27:30, GigabitEthernet0/0
[90/25628160] via 10.10.10.9, 02:27:30, GigabitEthernet0/1
D 10.10.10.0/30 [90/30720] via 10.10.10.14, 02:27:30, GigabitEthernet0/0
D 10.10.10.4/30 [90/30720] via 10.10.10.9, 02:27:30, GigabitEthernet0/1
C 10.10.10.8/30 is directly connected, GigabitEthernet0/1
L 10.10.10.10/32 is directly connected, GigabitEthernet0/1
C 10.10.10.12/30 is directly connected, GigabitEthernet0/0
L 10.10.10.13/32 is directly connected, GigabitEthernet0/0
172.16.0.0/16 is variably subnetted, 9 subnets, 2 masks
B 172.16.1.0/24 [20/0] via 172.16.12.1, 00:00:00
B 172.16.3.0/24 [20/3] via 172.16.12.1, 00:00:00
B 172.16.4.0/24 [20/3] via 172.16.12.1, 00:00:00
B 172.16.5.0/24 [20/3] via 172.16.12.1, 00:00:00
B 172.16.7.0/24 [20/2] via 172.16.12.1, 00:00:00
B 172.16.8.0/24 [20/2] via 172.16.12.1, 00:00:00
B 172.16.10.0/24 [20/4] via 172.16.12.1, 00:00:00
C 172.16.12.0/24 is directly connected, GigabitEthernet0/2
L 172.16.12.2/32 is directly connected, GigabitEthernet0/2
201.0.0.0/30 is subnetted, 1 subnets
D 201.0.0.4/30 [90/30976] via 10.10.10.14, 02:27:30, GigabitEthernet0/0
[90/30976] via 10.10.10.9, 02:27:30, GigabitEthernet0/1
D* 0.0.0.0/0 [90/30976] via 10.10.10.14, 02:27:30, GigabitEthernet0/0
[90/30976] via 10.10.10.9, 02:27:30, GigabitEthernet0/1
MPLS-1#
router ospf 1
log-adjacency-changes
redistribute bgp 65004 metric 1
network 172.16.1.0 0.0.0.255 area 0
network 172.16.12.0 0.0.0.255 area 0
!
router bgp 65004
bgp log-neighbor-changes
no synchronization
neighbor 172.16.12.2 remote-as 65002
network 172.16.1.0 mask 255.255.255.0
network 172.16.12.0 mask 255.255.255.0
redistribute ospf 1
redistribute static
redistribute connected
MPLS-1#sh ip rou
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/28 is subnetted, 3 subnets
B 10.10.1.0/28 [20/0] via 172.16.12.2, 00:00:00
B 10.10.1.16/28 [20/0] via 172.16.12.2, 00:00:00
B 10.10.1.32/28 [20/0] via 172.16.12.2, 00:00:00
172.16.0.0/16 is variably subnetted, 10 subnets, 2 masks
C 172.16.1.0/24 is directly connected, GigabitEthernet0/2
L 172.16.1.1/32 is directly connected, GigabitEthernet0/2
O 172.16.3.0/24 [110/3] via 172.16.1.2, 02:29:04, GigabitEthernet0/2
O 172.16.4.0/24 [110/3] via 172.16.1.2, 02:29:04, GigabitEthernet0/2
O 172.16.5.0/24 [110/3] via 172.16.1.2, 02:29:04, GigabitEthernet0/2
O 172.16.7.0/24 [110/2] via 172.16.1.2, 02:29:04, GigabitEthernet0/2
O 172.16.8.0/24 [110/2] via 172.16.1.2, 02:29:04, GigabitEthernet0/2
O 172.16.10.0/24 [110/4] via 172.16.1.2, 02:21:39, GigabitEthernet0/2
C 172.16.12.0/24 is directly connected, GigabitEthernet0/0
L 172.16.12.1/32 is directly connected, GigabitEthernet0/0
O E2 192.168.10.0/24 [110/20] via 172.16.1.2, 01:26:57, GigabitEthernet0/2
MPLS-ISP-1#sh run | se osp
router ospf 1
log-adjacency-changes
network 172.16.1.0 0.0.0.255 area 0
network 172.16.7.0 0.0.0.255 area 0
network 172.16.8.0 0.0.0.255 area 0
ISP-MPLS-R1#sh ip rou
ISP-MPLS-R1#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 8 subnets
C 172.16.1.0 is directly connected, FastEthernet0/4
O 172.16.3.0 [110/2] via 172.16.8.2, 02:29:40, FastEthernet0/7
O 172.16.4.0 [110/2] via 172.16.8.2, 02:29:40, FastEthernet0/7
O 172.16.5.0 [110/2] via 172.16.8.2, 02:29:40, FastEthernet0/7
C 172.16.7.0 is directly connected, FastEthernet0/5
C 172.16.8.0 is directly connected, FastEthernet0/7
O 172.16.10.0 [110/3] via 172.16.8.2, 02:22:05, FastEthernet0/7
O 172.16.12.0 [110/2] via 172.16.1.1, 02:22:48, FastEthernet0/4
O E2 192.168.10.0/24 [110/20] via 172.16.8.2, 01:27:23, FastEthernet0/7
-MPLS-ISP-2#sh run | se ospf
router ospf 1
log-adjacency-changes
network 172.16.3.0 0.0.0.255 area 0
network 172.16.4.0 0.0.0.255 area 0
network 172.16.5.0 0.0.0.255 area 0
network 172.16.8.0 0.0.0.255 area 0
ISP-MPLS-R2#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 8 subnets
O 172.16.1.0 [110/2] via 172.16.8.1, 02:30:08, FastEthernet0/1
C 172.16.3.0 is directly connected, FastEthernet0/3
C 172.16.4.0 is directly connected, FastEthernet0/4
C 172.16.5.0 is directly connected, FastEthernet0/2
O 172.16.7.0 [110/2] via 172.16.8.1, 02:29:58, FastEthernet0/1
C 172.16.8.0 is directly connected, FastEthernet0/1
O 172.16.10.0 [110/2] via 172.16.5.1, 02:22:33, FastEthernet0/2
O 172.16.12.0 [110/3] via 172.16.8.1, 02:23:16, FastEthernet0/1
O E2 192.168.10.0/24 [110/20] via 172.16.5.1, 01:27:51, FastEthernet0/2
MPLS-2 #sh run | se ospf
router ospf 1
log-adjacency-changes
redistribute bgp 65003 subnets
network 172.16.5.0 0.0.0.255 area 0
network 172.16.10.0 0.0.0.255 area 0
redistribute ospf 1
ISP-MPLS-R1#sh run | se bgp
redistribute bgp 65003 subnets
router bgp 65003
bgp log-neighbor-changes
no synchronization
neighbor 172.16.10.1 remote-as 65001
network 172.16.5.0 mask 255.255.255.0
network 172.16.10.0 mask 255.255.255.0
redistribute ospf 1
redistribute static
redistribute connected
ISP-MPLS-R1#sh ip rou
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
172.16.0.0/16 is variably subnetted, 10 subnets, 2 masks
O 172.16.1.0/24 [110/3] via 172.16.5.2, 02:30:36, GigabitEthernet0/1
O 172.16.3.0/24 [110/2] via 172.16.5.2, 02:30:36, GigabitEthernet0/1
O 172.16.4.0/24 [110/2] via 172.16.5.2, 02:30:36, GigabitEthernet0/1
C 172.16.5.0/24 is directly connected, GigabitEthernet0/1
L 172.16.5.1/32 is directly connected, GigabitEthernet0/1
O 172.16.7.0/24 [110/3] via 172.16.5.2, 02:30:26, GigabitEthernet0/1
O 172.16.8.0/24 [110/2] via 172.16.5.2, 02:30:36, GigabitEthernet0/1
C 172.16.10.0/24 is directly connected, GigabitEthernet0/0
L 172.16.10.2/32 is directly connected, GigabitEthernet0/0
O 172.16.12.0/24 [110/4] via 172.16.5.2, 02:23:49, GigabitEthernet0/1
B 192.168.10.0/24 [20/0] via 172.16.10.1, 00:00:00
UK-CE-R1#sh run | se bgp
router bgp 65001
bgp log-neighbor-changes
no synchronization
neighbor 172.16.10.2 remote-as 65003
network 192.168.10.0
UK-CE-R1#sh ip rou
UK-CE-R1#sh ip route
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is 10.70.70.41 to network 0.0.0.0
10.0.0.0/8 is variably subnetted, 24 subnets, 3 masks
D 10.50.1.0/28 [90/25630720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
[90/25630720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.50.1.16/28 [90/25630720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
[90/25630720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.50.1.32/28 [90/25630720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
[90/25630720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.50.1.48/28 [90/25630720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
[90/25630720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.60.1.32/28 [90/25630720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
[90/25630720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.60.1.48/28 [90/25630720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
[90/25630720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.70.70.0/30 [90/30720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.70.70.4/30 [90/30720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
D 10.70.70.8/30 [90/30720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.70.70.12/30 [90/30720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
D 10.70.70.16/30 [90/30720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.70.70.20/30 [90/30720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
D 10.70.70.24/30 [90/30720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.70.70.28/30 [90/30720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
C 10.70.70.32/30 is directly connected, GigabitEthernet0/0
L 10.70.70.34/32 is directly connected, GigabitEthernet0/0
C 10.70.70.40/30 is directly connected, GigabitEthernet0/1
L 10.70.70.42/32 is directly connected, GigabitEthernet0/1
D 10.70.70.44/30 [90/30720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
D 10.70.70.48/30 [90/30720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.70.70.56/30 [90/30720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
D 10.70.70.60/30 [90/30720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
D 10.70.70.64/30 [90/30720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D 10.70.70.68/30 [90/30720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
172.16.0.0/16 is variably subnetted, 9 subnets, 2 masks
B 172.16.1.0/24 [20/3] via 172.16.10.2, 00:00:00
B 172.16.3.0/24 [20/2] via 172.16.10.2, 00:00:00
B 172.16.4.0/24 [20/2] via 172.16.10.2, 00:00:00
B 172.16.5.0/24 [20/0] via 172.16.10.2, 00:00:00
B 172.16.7.0/24 [20/3] via 172.16.10.2, 00:00:00
B 172.16.8.0/24 [20/2] via 172.16.10.2, 00:00:00
C 172.16.10.0/24 is directly connected, GigabitEthernet0/2
L 172.16.10.1/32 is directly connected, GigabitEthernet0/2
B 172.16.12.0/24 [20/4] via 172.16.10.2, 00:00:00
D 192.168.10.0/24 [90/25630720] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
[90/25630720] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
201.0.0.0/30 is subnetted, 1 subnets
D 201.0.0.20/30 [90/30976] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
[90/30976] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
D* 0.0.0.0/0 [90/30976] via 10.70.70.41, 02:32:18, GigabitEthernet0/1
[90/30976] via 10.70.70.33, 02:32:18, GigabitEthernet0/0
Solved! Go to Solution.
05-27-2023
08:16 AM
- last edited on
06-08-2023
06:36 PM
by
Translator
Hi @R Manjunatha ,
Sorry for the delay. Here the
.pkt file.
Regards,
05-27-2023 09:14 AM
Hi @R Manjunatha ,
I had forgotten to change the ASN to AS65011 on WAN-R. Here's the new file.
Regards,
05-29-2023
08:24 AM
- last edited on
06-08-2023
06:38 PM
by
Translator
Fantastic ....
Finally, my issue was resolved.
The only change here is the following commands to communicate from branch offices to US-Data center servers and HQ London servers.
redistribute ospf 1 match internal external 1 external 2
redistribute static
redistribute connected
05-29-2023 01:38 PM
You are very welcome @R Manjunatha and thanks for the feedback
06-16-2023 09:46 AM
Hi,
I am referring to the same topology which you attached (IT infrastructure design3.pkt.zip ), I am unable to ping from India SW-D1 switch to US-Data center servers (10.30.100.1) and HQ London servers (192.168.10.1). but I am getting the routes as mentioned snapshot.
06-26-2023 06:50 PM - edited 06-26-2023 06:51 PM
Hi @R Manjunatha ,
Sorry for the delay. I was away from the office for a while.
The reason you are not able to ping 192.168.10.1 and 10.30.100.1 from SW-D1 is that the ping will use FA0/6 as the source address to go to these destinations, but this address is not advertised to other sites. Normally in a real network, you would use the "ping x.x.x.x source" to specify one of the vlan (50 to 100) as the source of the ping, as these prefixes are advertised. But packet tracer does allow to specify the source on the ping command.
The other option is to advertise fa0/6 prefix to the remote sites via BGP, as follow:
India-CE-MPLS:
router bgp 65002
network 10.10.10.12 mask 255.255.255.252
You should then be able to ping.
SW-D1#ping 192.168.10.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/0 ms
SW-D1#ping 10.30.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.30.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
Regards,
07-21-2023 09:36 AM
Thanks for the solution. Let me check my end.
08-09-2023 10:18 AM
Hi,
Thanks, it's working now and I need to understand why you advertised all interface IPs instead of the full range network IP address and VLAN interface you created a passive interface. What will happen if I do not set a passive interface and configure a full network IP address range?
router eigrp 10
passive-interface Vlan50
passive-interface Vlan60
passive-interface Vlan70
passive-interface Vlan80
passive-interface Vlan90
passive-interface Vlan100
network 10.10.10.1 0.0.0.0
network 10.10.10.14 0.0.0.0
network 10.10.1.2 0.0.0.0
network 10.10.1.18 0.0.0.0
network 10.10.1.34 0.0.0.0
network 10.10.1.49 0.0.0.0
network 10.10.1.65 0.0.0.0
network 10.10.1.81 0.0.0.0
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