config t
interface FastEthernet0/1
ip address 160.5.1.99 255.255.255.0
int loopback 0
ip add 210.15.5.1 255.255.255.0
int loopback 1
ip add 210.15.15.1 255.255.255.0
int loopback 2
ip add 210.15.25.1 255.255.255.0
int loopback 3
ip add 210.15.35.1 255.255.255.0
int loopback 4
ip add 210.15.45.1 255.255.255.0
int loopback 5
ip add 210.15.55.1 255.255.255.0
int loopback 6
ip add 210.15.65.1 255.255.255.0
int loopback 7
ip add 210.15.75.1 255.255.255.0
int loopback 8
ip add 210.15.85.1 255.255.255.0
int loopback 9
ip add 210.15.95.1 255.255.255.0
int loopback 10
ip add 215.10.105.1 255.255.255.0
int loopback 11
ip add 215.10.115.1 255.255.255.0
int loopback 12
ip add 215.10.125.1 255.255.255.0
int loopback 13
ip add 215.10.135.1 255.255.255.0
int loopback 14
ip add 215.10.145.1 255.255.255.0
int loopback 15
ip add 215.10.155.1 255.255.255.0
int loopback 16
ip add 215.10.165.1 255.255.255.0
int loopback 17
ip add 215.10.175.1 255.255.255.0
int loopback 18
ip add 215.10.185.1 255.255.255.0
int loopback 19
ip add 215.10.195.1 255.255.255.0
int loopback 20
ip add 215.10.200.1 255.255.255.0
exit
router bgp 60
network 210.15.5.0
network 210.15.15.0
network 210.15.25.0
network 210.15.35.0
network 210.15.45.0
network 210.15.55.0
network 210.15.65.0
network 210.15.75.0
network 210.15.85.0
network 210.15.95.0
network 215.10.105.0
network 215.10.115.0
network 215.10.125.0
network 215.10.135.0
network 215.10.145.0
network 215.10.155.0
network 215.10.165.0
network 215.10.175.0
network 215.10.185.0
network 215.10.195.0
network 215.10.205.0
exit
exit
wr
Objective 1 and 2/ EBGP between R6 and BB1
router BGP 6050
neighbor 160.5.1.99 remote-as 60
show ip bgp summery
show ip bgp
Objective 2
config t
router BGP 6050
neighbor 10.6.6.6 remote-as 6050
neighbor 10.3.3.3 update-source loopback 0
config t
router BGP 6050
neighbor 10.6.6.6 remote-as 6050
neighbor 10.6.6.6 update-source loopback 0
neighbor 10.2.2.2 remote-as 6050
neighbor 10.2.2.2 update-source loopback 0
show ip bgp summery
show ip route
config t
router bgp 6050
neighbor 10.3.3.3 next-hop-self
clear ip bgp *
Router 2
config t
router bgp 6050
neighbor 10.3.3.3 remote-as 6050
neighbor bgp update-source loopback 0
Router 3
router bgp 6050
neighbor 10.2.2.2 route reflector client
neighbor 10.6.6.6 route reflector client
to reflect routes comming in from R6 to R2
to reflect routes comming in from R2 to R6
router bgp 112
neighbor 10.2.2.2 remote-as 6050
neighbor 10.2.2.2 ebgp-multihop 10
neighbor 10.2.2.2 update-source Loopback0
router bgp 6050
neighbor 10.1.1.1 remote-as 112
neighbor 10.1.1.1 ebgp-multihop 10
neighbor 10.1.1.1 update-source Loopback0
Explanation
"ebgp-multihop" to allow routers to be EBGP neighbour even if its not connected directly to each other.
"10" no of hops it can cross to form a EBGP neighbor relationship.
Trace-route to R2 loopback 0 without failure
R1#traceroute 10.2.2.2
Type escape sequence to abort.
Tracing the route to 10.2.2.2
1 130.13.11.2 20 msec * 36 msec
R1#
as of now the router 1 one hop to communicating with R2
now shutdown Ethernet port on R1 connected to R2
R1(config-if)#shutdown
R1(config-if)#
*Mar 1 01:01:24.543: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 on FastEthernet0/0 from FULL to DOWN, Neighbor Down: Interface down or detached
R1(config-if)#
*Mar 1 01:01:26.535: %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to administratively down
*Mar 1 01:01:27.535: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to down
R1(config-if)#
Not Pinging !!!!!!!!
ospf troublshooting
R1 and R7 are not OSPF neighbour
the OSPF interface are on "NON BROADCAST" mode which will not work on frame relay cloud.
change the ospf interface to point to point on bothe the routers
intterface XXX
ip ospf network point-to-point
NOW Pingin
R1#traceroute 10.2.2.2
Type escape sequence to abort.
Tracing the route to 10.2.2.2
1 129.186.17.7 36 msec 52 msec 36 msec
2 129.186.35.3 36 msec 84 msec 16 msec
3 129.186.23.2 108 msec * 120 msec
R1#
However BGP is not working
Reason area 17 is configured as stubby area which will not receive any external routes.
Router 1
config t
router ospf 1
no area 17 sub
area 17 nssa no-sum
Router 7
config t
router ospf 1
no area 17 sub
area 17 nssa no-sum
Show ip bgp n
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.2.2.2 4 6050 18 18 19 0 0 00:14:22 18
show ip bgp
R1#show ip bgp
BGP table version is 57, local router ID is 10.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 210.15.5.0 10.2.2.2 0 6050 60 i
*> 210.15.15.0 10.2.2.2 0 6050 60 i
*> 210.15.25.0 10.2.2.2 0 6050 60 i
*> 210.15.35.0 10.2.2.2 0 6050 60 i
*> 210.15.45.0 10.2.2.2 0 6050 60 i
*> 210.15.55.0 10.2.2.2 0 6050 60 i
*> 210.15.65.0 10.2.2.2 0 6050 60 i
*> 210.15.75.0 10.2.2.2 0 6050 60 i
*> 210.15.85.0 10.2.2.2 0 6050 60 i
*> 210.15.95.0 10.2.2.2 0 6050 60 i
*> 215.10.105.0 10.2.2.2 0 6050 60 i
*> 215.10.115.0 10.2.2.2 0 6050 60 i
*> 215.10.125.0 10.2.2.2 0 6050 60 i
*> 215.10.135.0 10.2.2.2 0 6050 60 i
*> 215.10.145.0 10.2.2.2 0 6050 60 i
*> 215.10.155.0 10.2.2.2 0 6050 60 i
*> 215.10.165.0 10.2.2.2 0 6050 60 i
*> 215.10.175.0 10.2.2.2 0 6050 60 i
*> 215.10.185.0 10.2.2.2 0 6050 60 i
*> 215.10.195.0 10.2.2.2 0 6050 60 i
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.2.2.2 4 6050 36 35 19 0 0 00:31:12 18
R2#show ip bgp summary
BGP router identifier 10.2.2.2, local AS number 6050
BGP table version is 19, main routing table version 19
18 network entries using 1818 bytes of memory
18 path entries using 864 bytes of memory
1 BGP path attribute entries using 60 bytes of memory
1 BGP rrinfo entries using 24 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 2790 total bytes of memory
BGP activity 18/0 prefixes, 18/0 paths, scan interval 60 secs
Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ Up/Down State/PfxRcd
10.1.1.1 4 112 34 35 19 0 0 00:30:41 0
10.3.3.3 4 6050 53 52 19 0 0 00:48:09 18
config t
int loopback 1
ip add 100.100.100.1 255.255.255.0
exit
ip access-list 79 permit 100.100.100.0 0.0.0.255
routemap REDIST_BGP
match ip address 79
exit
router bgp 112
redistribute connected rute-map REDIST_BGP
exit
exit
show ip bgp
R1#show ip bgp
BGP table version is 58, local router ID is 10.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 100.100.100.0/24 0.0.0.0 0 32768 ?
*> 210.15.5.0 10.2.2.2 0 6050 60 i
*> 210.15.15.0 10.2.2.2 0 6050 60 i
*> 210.15.25.0 10.2.2.2 0 6050 60 i
*> 210.15.35.0 10.2.2.2 0 6050 60 i
*> 210.15.45.0 10.2.2.2 0 6050 60 i
*> 210.15.55.0 10.2.2.2 0 6050 60 i
*> 210.15.65.0 10.2.2.2 0 6050 60 i
*> 210.15.75.0 10.2.2.2 0 6050 60 i
*> 210.15.85.0 10.2.2.2 0 6050 60 i
*> 210.15.95.0 10.2.2.2 0 6050 60 i
*> 215.10.105.0 10.2.2.2 0 6050 60 i
*> 215.10.115.0 10.2.2.2 0 6050 60 i
*> 215.10.125.0 10.2.2.2 0 6050 60 i
*> 215.10.135.0 10.2.2.2 0 6050 60 i
*> 215.10.145.0 10.2.2.2 0 6050 60 i
*> 215.10.155.0 10.2.2.2 0 6050 60 i
Network Next Hop Metric LocPrf Weight Path
*> 215.10.165.0 10.2.2.2 0 6050 60 i
*> 215.10.175.0 10.2.2.2 0 6050 60 i
*> 215.10.185.0 10.2.2.2 0 6050 60 i
*> 215.10.195.0 10.2.2.2 0 6050 60 i
R1#
Fix
config t
routemap REDIST_BGP 10
set origen igp
show ip bgp
R1#show ip bgp
BGP table version is 59, local router ID is 10.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,
r RIB-failure, S Stale
Origin codes: i - IGP, e - EGP, ? - incomplete
Network Next Hop Metric LocPrf Weight Path
*> 100.100.100.0/24 0.0.0.0 0 32768 i
*> 210.15.5.0 10.2.2.2 0 6050 60 i
*> 210.15.15.0 10.2.2.2 0 6050 60 i
*> 210.15.25.0 10.2.2.2 0 6050 60 i
*> 210.15.35.0 10.2.2.2 0 6050 60 i
*> 210.15.45.0 10.2.2.2 0 6050 60 i
*> 210.15.55.0 10.2.2.2 0 6050 60 i
*> 210.15.65.0 10.2.2.2 0 6050 60 i
*> 210.15.75.0 10.2.2.2 0 6050 60 i
*> 210.15.85.0 10.2.2.2 0 6050 60 i
*> 210.15.95.0 10.2.2.2 0 6050 60 i
*> 215.10.105.0 10.2.2.2 0 6050 60 i
*> 215.10.115.0 10.2.2.2 0 6050 60 i
*> 215.10.125.0 10.2.2.2 0 6050 60 i
*> 215.10.135.0 10.2.2.2 0 6050 60 i
*> 215.10.145.0 10.2.2.2 0 6050 60 i
*> 215.10.155.0 10.2.2.2 0 6050 60 i
*> 215.10.165.0 10.2.2.2 0 6050 60 i
*> 215.10.175.0 10.2.2.2 0 6050 60 i
*> 215.10.185.0 10.2.2.2 0 6050 60 i
*> 215.10.195.0 10.2.2.2 0 6050 60 i