20. BGP 設計 / Addressing
p2p block もなるべく集約可能に
経路が増えるとrouter への負荷が...
シンプルな設計は,理解しやすい
address を見て,どのへんのloopback, p2p address か推測でき
るだけで運用スピードが上がる
1 210.173.162.117 0.466 ms 0.408 ms 0.358 ms
2 210.173.162.110 0.480 ms 0.438 ms 0.448 ms
3 202.232.13.73 0.501 ms 0.500 ms 0.498 ms
4 58.138.98.217 1.265 ms 0.969 ms 1.106 ms
5 58.138.82.233 1.057 ms 58.138.80.245 1.219 ms 58.138.80.241 25.255 ms
6 206.132.169.121 102.497 ms 216.98.96.62 99.842 ms 206.132.169.109 101.315 ms
7 206.132.169.82 114.063 ms 206.132.169.2 110.394 ms 100.695 ms
8 198.172.90.101 116.817 ms 105.842 ms 128.241.219.17 106.500 ms
9 129.250.4.9 115.313 ms 129.250.5.54 96.205 ms 107.022 ms
10 129.250.4.24 152.412 ms 129.250.2.169 148.279 ms 142.641 ms
11 129.250.2.154 142.619 ms 129.250.2.174 139.038 ms 129.250.3.67 145.834 ms
12 129.250.17.38 148.640 ms 147.068 ms 129.250.17.42 154.900 ms
2012 (c) INTERNET MULTIFEED CO. 20
21. BGP 設計 / Addressing
顧客割り当てblock もなるべく集約可能に
traffic engineering (TE) しやすい
Internet 拠点Aの顧客prefix は
eBGP
Internet に広告したく
ない !!
POPごとにprefix を分
けていないとコント
ロールできない
実際はなかなか難
しい...
顧客 顧客
POP A POPB
2012 (c) INTERNET MULTIFEED CO. 21
24. A Border Gateway Protocol 4 (BGP-4)
RFC1654 (July 1994)
RFC1771 (March 1995)
!
RFC4271 (January 2006)
もちろん たくさん拡張されている
RFC1997 BGP Communities Attribute
RFC2385 Protection of BGP Sessions via the TCP MD5 Signature
RFC3065 AS Confederations for BGP
RFC4451 BGP MED Considerations
RFC4456 BGP Route Reflection
RFC4360 BGP Extended Communities Attribute
RFC5004 Avoid BGP Best Path Transitions from One External to Another
RFC5668 4-Octet AS Specific BGP Extended Community
...
2012 (c) INTERNET MULTIFEED CO. 24
47. 経路制御のオプション (受信) – LP 制御 –
一部経路はpeer よ transit A
り優先させたい (AS1) prefix LP MED AS_PATH
> 192.0.2.1/32 120 1000 1
192.0.2.1/32 110 1000 2
prefix MED AS_PATH
> 192.0.2.2/32 120 1000 1
192.0.2.1/32 100 1
192.0.2.2/32 100 1
peer B MY AS peer C
(AS2) (AS3)
prefix MED AS_PATH
prefix MED AS_PATH 192.0.2.1/32 100 1
192.0.2.1/32 50 2 192.0.2.2/32 100 1
顧客 A
2012 (c) INTERNET MULTIFEED CO. 47
48. 経路制御のオプション (受信)
– MED 制御 –
transit A
2 router から同じ経路を受信し
ているような場合で,
(AS1) prefix Next Hop MED AS_PATH
優先度を操作したい 192.0.2.1/32 x.x.x.x 110 2
> 192.0.2.1/32 y.y.y.y 100 2
peer B MY AS peer C
(AS2) (AS3)
prefix Next Hop MED AS_PATH
prefix Next Hop MED AS_PATH 192.0.2.1/32 z.z.z.z 100 2
192.0.2.1/32 x.x.x.x 50 2
192.0.2.1/32 y.y.y.y 100 2
顧客 A
2012 (c) INTERNET MULTIFEED CO. 48
49. 経路制御のオプション (受信)
– IGP 制御 –
2 router から同じ経路を受信し transit A
ているような場合で, (AS1) prefix Next Hop IGP
neighbor 単位で優先度を操作 > 192.0.2.1/32 x.x.x.x 10
したい 192.0.2.1/32 y.y.y.y 40
peer B MY AS peer C
(AS2) (AS3)
prefix Next Hop MED AS_PATH
prefix Next Hop 192.0.2.1/32 z.z.z.z 100 2
192.0.2.1/32 x.x.x.x
192.0.2.1/32 y.y.y.y protocols {
isis {
passive;
顧客 A level 1 disable;
level 2 metric 40;
}
}
# Juniper の例
2012 (c) INTERNET MULTIFEED CO. 49