Re: bgp tranzit
Andrei-Florian Staicu <[email protected]>
| Newsgroups | gmane.org.user-groups.rlug.offtopic |
|---|---|
| Message-ID | <CANK4U2qeiEZk1y6oef59KOBjusPyVp0EfL3seefbVayFyurYPQ@mail.gmail.com> |
Da, cred ca asta vreau. Merci. N-am mai BGP-at pana acum, si cam toate tutorialele zic numai de filtrare pe in. On Sat, Mar 11, 2017 at 12:23 AM Bogdan-Stefan Rotariu <[email protected]> wrote: > > > > > > On 11 Mar 2017, at 00:15, Andrei-Florian Staicu <[email protected]> > wrote: > > > > Salut, > > > > Am urmatoarea configuratie de bgpd/quagga: > > router bgp 65315 > > bgp router-id 10.129.1.34 > > bgp log-neighbor-changes > > network 192.168.0.0/21 > > neighbor 10.254.254.2 remote-as 65315 > > neighbor 10.254.254.2 soft-reconfiguration inbound > > neighbor 10.254.254.2 capability dynamic > > neighbor 10.254.254.2 weight 100 > > neighbor 10.254.254.2 description I01 > > neighbor 10.254.254.10 remote-as 65315 > > neighbor 10.254.254.10 soft-reconfiguration inbound > > neighbor 10.254.254.10 capability dynamic > > neighbor 10.254.254.10 weight 100 > > neighbor 10.254.254.10 description I02 > > ! > > access-list all permit any > > ! > > > > Primesc de la 10.254.254.2 10.200.1.0/24 si de la 10.254.254.10 > > 10.200.2.0/24. > > Dar cum pot sa le anunt "invers"? Adica sa anunt catre 10.254.254.2 > > 10.200.2.0/24 si catre 10.254.254.10 10.200.1.0/24 > > Mai pe scurt, as vrea ca 10.129.1.34 sa devina tranzit intre neighbor-ii > > aia doi. > > Salut, > > Fiind in acelasi L2, tu nu o sa fii decit un route-server, asta vrei? > > Solutia simpla: > > ip prefix-list PF-l01 permit 10.200.2.0/24 > ip prefix-list PF-l02 permit 10.200.1.0/24 > > neighbor 10.254.254.2 prefix-list PF-l01 in > neighbor 10.254.254.2 prefix-list PF-l02 out > > neighbor 10.254.254.10 prefix-list PF-l02 in > neighbor 10.254.254.10 prefix-list PF-l01 out > _______________________________________________ > Offtopic mailing list > [email protected] > http://lists.lug.ro/mailman/listinfo/offtopic > -- Beware of programmers who carry screwdrivers.