if (IN6_IS_ADDR_LINKLOCAL(&attr->mp_nexthop_local))
global_and_ll = true;
} else if (!ibgp_to_ibgp && !transparent &&
+ !CHECK_FLAG(from->af_flags[afi][safi], PEER_FLAG_REFLECTOR_CLIENT) &&
IN6_IS_ADDR_LINKLOCAL(&peer->nexthop.v6_local) && peer->shared_network &&
(from == bgp->peer_self || peer->sort == BGP_PEER_EBGP))
global_and_ll = true;
"ip": "fd00:0:2::1",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-sw",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:2::2",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-sw",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:2::3",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-sw",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:2::1",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-sw",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:2::2",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-sw",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:2::3",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-sw",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:3::9",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-r5",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:3::9",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-r5",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:3::9",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-r5",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:3::9",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-r5",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:3::9",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-r5",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]
"ip": "fd00:0:3::9",
"hostname": "rr",
"afi": "ipv6",
- "scope": "global"
- },
- {
- "ip": "link-local:rr:eth-r5",
- "hostname": "rr",
- "afi": "ipv6",
- "scope": "link-local",
+ "scope": "global",
"used": true
}
]