BGP filtry
Napsal: 17 Jun 2013 23:53
Nejak se me nedari nastavit bgp filtry tak abych si mohl vyspecifikovat aby na nektere cilove AS byla zvyhodnena backup linka.
napr aby se do AS 29208 dialtelecomu slo hlavne přes AS41824 a az v pripade vypadku linky to použilo cestu přes AS28755.
Na linuxu v quaqe se me to povedlo rozchodit ale na mikrotku nejak nevim jak specifikovat cestu..a z wikiny moc chytrej nejsem.
Prikladam aktualni nastaveni filtru.
0 chain=AS41824-bgp-out prefix=91.229.252.0/22 invert-match=no action=accept
set-bgp-prepend-path=""
1 chain=AS41824-bgp-out invert-match=no action=discard set-bgp-prepend-path=">
2 chain=AS41824-bgp-in prefix=10.0.0.0/8 invert-match=no action=discard
set-bgp-prepend-path=""
3 chain=AS41824-bgp-in prefix=169.254.0.0/16 invert-match=no action=discard
set-bgp-prepend-path=""
4 chain=AS41824-bgp-in prefix=192.168.0.0/16 invert-match=no action=discard
set-bgp-prepend-path=""
5 chain=AS41824-bgp-in prefix=172.16.0.0/12 invert-match=no action=discard
set-bgp-prepend-path=""
6 chain=AS41824-bgp-in prefix=224.0.0.0/4 invert-match=no action=discard
set-bgp-prepend-path=""
7 chain=AS41824-bgp-in prefix=240.0.0.0/4 invert-match=no action=discard
set-bgp-prepend-path=""
<
8 chain=AS41824-bgp-in prefix=127.0.0.0/8 invert-match=no action=discard
set-bgp-prepend-path=""
9 chain=AS41824-bgp-in prefix=91.229.252.0/22 invert-match=no action=discard
set-bgp-prepend-path=""
10 chain=AS41824-bgp-in invert-match=no action=accept set-bgp-prepend-path=""
11 chain=AS28755-bgp-out prefix=91.229.252.0/22 invert-match=no action=accept
set-bgp-prepend-path=""
12 chain=AS28755-bgp-out invert-match=no action=discard set-bgp-prepend-path=">
13 chain=AS28755-bgp-in prefix=10.0.0.0/8 invert-match=no action=discard
set-bgp-prepend-path=""
14 chain=AS28755-bgp-in prefix=169.254.0.0/16 invert-match=no action=discard
set-bgp-prepend-path=""
15 chain=AS28755-bgp-in prefix=192.168.0.0/16 invert-match=no action=discard
set-bgp-prepend-path=""
16 chain=AS28755-bgp-in prefix=172.16.0.0/12 invert-match=no action=discard
set-bgp-prepend-path=""
17 chain=AS28755-bgp-in prefix=224.0.0.0/4 invert-match=no action=discard
set-bgp-prepend-path=""
18 chain=AS28755-bgp-in prefix=240.0.0.0/4 invert-match=no action=discard
set-bgp-prepend-path=""
19 chain=AS28755-bgp-in prefix=127.0.0.0/8 invert-match=no action=discard
set-bgp-prepend-path=""
20 chain=AS28755-bgp-in prefix=91.229.252.0/22 invert-match=no action=discard
set-bgp-prepend-path=""
napr aby se do AS 29208 dialtelecomu slo hlavne přes AS41824 a az v pripade vypadku linky to použilo cestu přes AS28755.
Na linuxu v quaqe se me to povedlo rozchodit ale na mikrotku nejak nevim jak specifikovat cestu..a z wikiny moc chytrej nejsem.
Prikladam aktualni nastaveni filtru.
0 chain=AS41824-bgp-out prefix=91.229.252.0/22 invert-match=no action=accept
set-bgp-prepend-path=""
1 chain=AS41824-bgp-out invert-match=no action=discard set-bgp-prepend-path=">
2 chain=AS41824-bgp-in prefix=10.0.0.0/8 invert-match=no action=discard
set-bgp-prepend-path=""
3 chain=AS41824-bgp-in prefix=169.254.0.0/16 invert-match=no action=discard
set-bgp-prepend-path=""
4 chain=AS41824-bgp-in prefix=192.168.0.0/16 invert-match=no action=discard
set-bgp-prepend-path=""
5 chain=AS41824-bgp-in prefix=172.16.0.0/12 invert-match=no action=discard
set-bgp-prepend-path=""
6 chain=AS41824-bgp-in prefix=224.0.0.0/4 invert-match=no action=discard
set-bgp-prepend-path=""
7 chain=AS41824-bgp-in prefix=240.0.0.0/4 invert-match=no action=discard
set-bgp-prepend-path=""
<
8 chain=AS41824-bgp-in prefix=127.0.0.0/8 invert-match=no action=discard
set-bgp-prepend-path=""
9 chain=AS41824-bgp-in prefix=91.229.252.0/22 invert-match=no action=discard
set-bgp-prepend-path=""
10 chain=AS41824-bgp-in invert-match=no action=accept set-bgp-prepend-path=""
11 chain=AS28755-bgp-out prefix=91.229.252.0/22 invert-match=no action=accept
set-bgp-prepend-path=""
12 chain=AS28755-bgp-out invert-match=no action=discard set-bgp-prepend-path=">
13 chain=AS28755-bgp-in prefix=10.0.0.0/8 invert-match=no action=discard
set-bgp-prepend-path=""
14 chain=AS28755-bgp-in prefix=169.254.0.0/16 invert-match=no action=discard
set-bgp-prepend-path=""
15 chain=AS28755-bgp-in prefix=192.168.0.0/16 invert-match=no action=discard
set-bgp-prepend-path=""
16 chain=AS28755-bgp-in prefix=172.16.0.0/12 invert-match=no action=discard
set-bgp-prepend-path=""
17 chain=AS28755-bgp-in prefix=224.0.0.0/4 invert-match=no action=discard
set-bgp-prepend-path=""
18 chain=AS28755-bgp-in prefix=240.0.0.0/4 invert-match=no action=discard
set-bgp-prepend-path=""
19 chain=AS28755-bgp-in prefix=127.0.0.0/8 invert-match=no action=discard
set-bgp-prepend-path=""
20 chain=AS28755-bgp-in prefix=91.229.252.0/22 invert-match=no action=discard
set-bgp-prepend-path=""