BGP の実装として、BGP Router Reflector から iBGP peer に対してアドバタイズしている経路情報に対して Routing Loop を回避するために、iBGP session に対しては attribute の変更が行われません。これは実装による動作となりますが、以下のコマンドでこの制限を回避することが可能です。
設定コマンド |
---|
ibgp policy out enforce-modifications |
例えば以下の設定の状態では、10.20.1.1 の iBGP peer に対して、next-hop-self は動作しませんので、udpate に自身の next-hop 情報は含まれません。
ibgp policy out enforce-modifications 設定無し |
---|
router bgp 65000 address-family ipv4 unicast ! neighbor 10.20.1.1 remote-as 65000 update-source Loopback0 address-family ipv4 unicast next-hop-self ! ! ! |
しかし、以下のようにコマンドを設定した場合には、next-hop-self が有効な状態でアドバタイズが行われます。
ibgp policy out enforce-modifications 設定有り |
---|
router bgp 65000 ibgp policy out enforce-modifications address-family ipv4 unicast ! neighbor 10.20.1.1 remote-as 65000 update-source Loopback0 address-family ipv4 unicast next-hop-self ! ! ! |