問題
R1がR3の10.0.0.0/8をR2からiBGPで受信したが、next hopの192.168.10.20がinaccessibleになっている。R1のアドレスは192.168.20.10、R2のR1側は192.168.20.20、R3側のnext hopは192.168.10.20である。R2とR1はAS64512に属する。R3が広告したこの経路をR1で利用できるようにする設定はどれか。
- A
R2(config)#router bgp 64512 R2(config-router)#neighbor 192.168.20.10 next-hop-self - B
R1(config)#router bgp 64512 R1(config-router)#neighbor 192.168.10.20 next-hop-self - C
R1(config)#router bgp 64512 R1(config-router)#neighbor 192.168.20.20 next-hop-self - D
R2(config)#router bgp 64512 R2(config-router)#neighbor 192.168.10.20 next-hop-self
正解:A
理由
R2でR1宛てのneighborにnext-hop-selfを設定すると、R3から学んだ経路をR1へ通知する際のnext hopをR2自身へ変更できる。
選択肢ごとの説明
- A.
R2(config)#router bgp 64512 R2(config-router)#neighbor 192.168.20.10 next-hop-self R2からR1の192.168.20.10へ送る更新のnext hopをR2自身へ変更する。
- B.
R1(config)#router bgp 64512 R1(config-router)#neighbor 192.168.10.20 next-hop-self R1側の更新に作用する設定であり、R2からR1へ届く経路のnext hopを直す設定ではない。
- C.
R1(config)#router bgp 64512 R1(config-router)#neighbor 192.168.20.20 next-hop-self R1からR2へ送る方向を変更する。問題のR2からR1への広告方向と逆である。
- D.
R2(config)#router bgp 64512 R2(config-router)#neighbor 192.168.10.20 next-hop-self R3側への広告に作用し、R1へ送る更新のnext hopは変わらない。