This shows you the differences between two versions of the page.
pr:labs:07:contents:04 [2019/11/11 12:29] octavian.grigorescu created |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ==== 04. [15p] Propagare rute în BGP ==== | ||
- | Propagați interfața Lo0 de pe R1 în BGP cu originea internă (i). Propagați **doar** interfața Lo0 de pe IronMan în BGP cu originea necunoscută (?). Verificați propagarea corectă a măștii. | ||
- | <hidden> | ||
- | <solution -hidden> | ||
- | |||
- | <code> | ||
- | R1(config)#router bgp 200 | ||
- | R1(config-router)#network 1.1.1.1 mask 255.255.255.255 | ||
- | |||
- | R2(config)#ip access-list standard ACL_BGP_RDST | ||
- | R2(config-std-nacl)#permit 2.2.2.2 0.0.0.0 | ||
- | R2(config-std-nacl)#exit | ||
- | R2(config)#route-map BGP_RDST | ||
- | R2(config-route-map)#match ip add ACL_BGP_RDST | ||
- | R2(config-route-map)#exit | ||
- | R2(config)#router bgp 300 | ||
- | R2(config-router)#redistribute connected route-map BGP_RDST | ||
- | |||
- | R1#show ip bgp | ||
- | trebuie sa apara ambele rute | ||
- | </code> | ||
- | </solution> | ||
- | </hidden> |