R1 interface f0/0 ip address 12.12.12.1 255.255.255.0 interface lo0 ip address 11.11.11.11 255.255.255.0 router ospf 1 network 12.12.12.0 0.0.0.255 area 0 router bgp 300 neighbor 12.12.12.2 remote-as 300 network 11.11.11.0 mask 255.255.255.0 R2 interface f0/0 ip address 12.12.12.2 255.255.255.0 interface f0/1 ip address 23.23.23.2 255.255.255.0 router ospf 1 network 12.12.12.0 0.0.0.255 area 0 network 23.23.23.0 0.0.0.255 area 23 router bgp 300 neighbor 12.12.12.1 remote-as 300 neighbor 12.12.12.1 next-hop-self neighbor 23.23.23.3 remote-as 400 R3 interface f0/0 ip address 34.34.34.3 255.255.255.0 interface 0/1 ip address 23.23.23.3 255.255.255.0 router ospf 1 network 23.23.23.0 0.0.0.255 area 23 router rip version 2 network 34.34.34.0 redistribute ospf 1 metric 3 router bgp 400 neighbor 23.23.23.2 remote-as 400 neighbor 34.34.34.4 remote-as 54 redistribute rip subnets R4 interface f0/0 ip address 34.34.34.4 255.255.255.0 interface lo0 ip address 44.44.44.0 255.255.255.0 router rip version 2 network 34.34.34.0 router bgp 54 neighbor 34.34.34.3 remote-as 400 network 44.44.44.0 mask 255.255.255.0 |
R3#sh ip bgp neighbors 34.34.34.4 advertised-routes BGP table version is 9, local router ID is 34.34.34.3 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 *> 11.11.11.0/24 23.23.23.2 0 300 i Total number of prefixes 1 |
R4#sh ip bgp BGP table version is 57, local router ID is 34.34.34.4 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 *> 11.11.11.0/24 34.34.34.3 0 400 300 i *> 44.44.44.0/24 0.0.0.0 0 32768 i |
R3#sh ip bgp neighbor 34.34.34.4 advertised-routes Total number of prefixes 0 |
R4#sh ip bgp BGP table version is 64, local router ID is 34.34.34.4 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 *> 44.44.44.0/24 0.0.0.0 0 32768 i |