7. BGP
• BGP Layer 3
• AS (prefix) 1
• /8 /24 OK
• AS prefix best path
(advertise)
• internet 26 (2009.06)
• internet full route
• 1 best path
doc. ver. 1.0 ShakeSoul, Inc.
8. AS
•
• OCN(4713) SoftbankBB(24256) BIGLOBE(2518)
• Sakura internet(9370), BBTower(9607)
• Web
• Google(15169), Yahoo!Japan(23816), mixi(38651)
•
[TODO] AS JPNIC list
http://www.nic.ad.jp/ja/ip/as-numbers.txt
whois -h whois.nic.ad.jp “AS 9607”/e
doc. ver. 1.0 ShakeSoul, Inc.
9. peer
• AS 1 1 BGP ( 1 1)
• peering
• TCP 179
• Idel => Connect => Active => OpenSent => OpenConfirm =>
Established
• config AS IP address peering
MD5 password
• peer
• peer (
)
peer peer AS2
AS4 AS1
AS3
doc. ver. 1.0 ShakeSoul, Inc.
10. • (source) (destination)
• source destination
(route)
• 1hop
A
destination
source B X
X ABC ...
C
doc. ver. 1.0 ShakeSoul, Inc.
11. BGP
1. AS (source) destination IP address
2. destination IP address prefix prefix
AS
3. AS path
BGP destination path
full route
AS(Upstream) 2 peering
doc. ver. 1.0 ShakeSoul, Inc.