cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
206
Views
0
Helpful
2
Replies

IBGP with EBGP

kumaranthiru86
Level 1
Level 1

R1

R1#sh ip int br
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES unset  administratively down down
Serial1/0                  172.16.0.1      YES manual up                    up

R1#sh run | begin bgp
router bgp 500
 no synchronization
 bgp log-neighbor-changes
 neighbor 172.16.0.2 remote-as 500
 no auto-summary

R1#sh ip bgp
BGP table version is 5, local router ID is 172.16.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*>i1.1.1.1/32       172.16.0.2               0    100      0 1000 i
*>i2.2.2.2/32       172.16.0.2               0    100      0 1000 i
*>i3.3.3.3/32       172.16.0.2               0    100      0 1000 i
*>i10.0.0.0/30      172.16.0.2               0    100      0 1000 i

R1#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

R1#sh ip rou
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, su - IS-IS summary, 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

     1.0.0.0/32 is subnetted, 1 subnets
B       1.1.1.1 [200/0] via 172.16.0.2, 18:40:39
     2.0.0.0/32 is subnetted, 1 subnets
B       2.2.2.2 [200/0] via 172.16.0.2, 18:40:39
     3.0.0.0/32 is subnetted, 1 subnets
B       3.3.3.3 [200/0] via 172.16.0.2, 18:40:39
     172.16.0.0/30 is subnetted, 1 subnets
C       172.16.0.0 is directly connected, Serial1/0
     10.0.0.0/30 is subnetted, 1 subnets
B       10.0.0.0 [200/0] via 172.16.0.2, 18:40:39

R1#tracerout
R1#traceroute 1.1.1.1

Type escape sequence to abort.
Tracing the route to 1.1.1.1

  1 172.16.0.2 24 msec 32 msec 20 msec
  2  *  *  *
  -------------------------------------------------------------------*******--------------------------------------

R2 :

R2#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES unset  administratively down down
Serial1/0                  172.16.0.2      YES manual up                    up
Serial1/1                  192.168.1.1     YES manual up                    up

 

router bgp 500
 no synchronization
 bgp log-neighbor-changes
 neighbor 172.16.0.1 remote-as 500
 neighbor 172.16.0.1 next-hop-self
 neighbor 192.168.1.2 remote-as 1000

R2#sh ip bgp
BGP table version is 13, local router ID is 192.168.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.1/32       192.168.1.2              0             0 1000 i
*> 2.2.2.2/32       192.168.1.2              0             0 1000 i
*> 3.3.3.3/32       192.168.1.2              0             0 1000 i
*> 10.0.0.0/30      192.168.1.2              0             0 1000 i

R2#sh ip bgp summary
BGP router identifier 192.168.1.1, local AS number 500
BGP table version is 13, main routing table version 13
4 network entries using 388 bytes of memory
4 path entries using 144 bytes of memory
1 BGP path attribute entries using 60 bytes of memory
1 BGP AS-PATH entries using 24 bytes of memory
0 BGP route-map cache entries using 0 bytes of memory
0 BGP filter-list cache entries using 0 bytes of memory
BGP using 616 total bytes of memory
BGP activity 27/23 prefixes, 31/27 paths, scan interval 60 secs

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd
172.16.0.1      4   500    4277    4307       13    0    0 18:43:41        0
192.168.1.2     4  1000    4220    4209       13    0    0 18:43:43        4

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, su - IS-IS summary, 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

     1.0.0.0/32 is subnetted, 1 subnets
B       1.1.1.1 [20/0] via 192.168.1.2, 18:44:13
     2.0.0.0/32 is subnetted, 1 subnets
B       2.2.2.2 [20/0] via 192.168.1.2, 18:44:13
     3.0.0.0/32 is subnetted, 1 subnets
B       3.3.3.3 [20/0] via 192.168.1.2, 18:44:13
     172.16.0.0/30 is subnetted, 1 subnets
C       172.16.0.0 is directly connected, Serial1/0
     10.0.0.0/30 is subnetted, 1 subnets
B       10.0.0.0 [20/0] via 192.168.1.2, 18:44:13
     192.168.1.0/30 is subnetted, 1 subnets
C       192.168.1.0 is directly connected, Serial1/1

R2#ping 1.1.1.1

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 1.1.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 12/28/44 ms

------------------------------------------------------********------------------------------------------------

R3:

R3#sh ip int br
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES unset  administratively down down
Serial1/0                  192.168.1.2     YES manual up                    up
Serial1/1                  unassigned      YES manual up                    down
Serial1/2                  unassigned      YES unset  administratively down down
Serial1/3                  unassigned      YES unset  administratively down down
Serial1/4                  unassigned      YES unset  administratively down down
Serial1/5                  unassigned      YES unset  administratively down down
Serial1/6                  unassigned      YES unset  administratively down down
Serial1/7                  unassigned      YES unset  administratively down down
Loopback0                  1.1.1.1         YES manual up                    up
Loopback1                  2.2.2.2         YES manual up                    up
Loopback2                  3.3.3.3         YES manual up                    up
Loopback5                  10.0.0.1        YES manual up                    up

R3#sh run | begin bgp
router bgp 1000
 no synchronization
 bgp log-neighbor-changes
 network 1.1.1.1 mask 255.255.255.255
 network 2.2.2.2 mask 255.255.255.255
 network 3.3.3.3 mask 255.255.255.255
 network 10.0.0.0 mask 255.255.255.252
 neighbor 192.168.1.1 remote-as 500
 no auto-summary

 

R3#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, su - IS-IS summary, 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

     1.0.0.0/32 is subnetted, 1 subnets
C       1.1.1.1 is directly connected, Loopback0
     2.0.0.0/32 is subnetted, 1 subnets
C       2.2.2.2 is directly connected, Loopback1
     3.0.0.0/32 is subnetted, 1 subnets
C       3.3.3.3 is directly connected, Loopback2
     10.0.0.0/30 is subnetted, 1 subnets
C       10.0.0.0 is directly connected, Loopback5
     192.168.1.0/30 is subnetted, 1 subnets
C       192.168.1.0 is directly connected, Serial1/0

R3#sh ip bgp
BGP table version is 5, local router ID is 10.0.0.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.1/32       0.0.0.0                  0         32768 i
*> 2.2.2.2/32       0.0.0.0                  0         32768 i
*> 3.3.3.3/32       0.0.0.0                  0         32768 i
*> 10.0.0.0/30      0.0.0.0                  0         32768 i

 

R3#
R3#
R3#tracer
R3#traceroute 172.16.0.1

Type escape sequence to abort.
Tracing the route to 172.16.0.1

  1  *  *  *

 

 

 

 

2 Replies 2

kumaranthiru86
Level 1
Level 1

Dear All,

I have pure IBGP session with R1 & R2 & EBGP session with R2 & R3.

In above R1 output , *valid and > best route is available .but unable to ping R3 EBGP router.

Note : All serial interface with respective device is directly connected.

Attached above topology & configuration for your reference .

Can experts please guide me in fixing this issue.

Regards

Thirukumaran

 

After enabling "redistribute connected " . Its working 

 

Thanks :)

 

Review Cisco Networking for a $25 gift card