在多個出口的情況下,為了使回程流量均分,可以使用虛擬下一跳搞搞震。
[admin@Tokyo_BGP] > /ip route print detail where dst-address in 10.0.0.1/32 Flags: X - disabled, A - active, D - dynamic, C - connect, S - static, r - rip, b - bgp, o - ospf, m - mme, B - blackhole, U - unreachable, P - prohibit 0 A S dst-address=10.0.0.1/32 gateway=10.99.99.2,10.99.99.6 gateway-status=10.99.99.2 reachable via AWS_JP_01,10.99.99.6 reachable via AWS_JP_02 check-gateway=ping distance=1 scope=30 target-scope=10
[admin@Tokyo_BGP] > /routing filter print detail where chain=BGP-AWS-IN Flags: X - disabled 0 chain=BGP-AWS-IN invert-match=no action=accept set-target-scope=50 set-in-nexthop=10.0.0.1 set-bgp-local-pref=101(可選) set-bgp-prepend-path=""