diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-11-27 16:32:45 +0100 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-11-30 15:29:43 +0100 |
| commit | 2551b26e1c597476b4b96a13791e0ad976406653 (patch) | |
| tree | 22ef095363fd045804e3b47504e99d45d46a4ab2 /lib/lib_errors.c | |
| parent | f17b99ed1709c8e6cc940d3dbad737d3be21ddc4 (diff) | |
bgpd: add new draft for redirect ip for flowspec
that new option will overwrite simpson draft. There is a new ecommunity
option whose type is 0x1 and subtype is 0xc. That option is defined
here on iana.org/assignments/bgp-extended-communities page:
- bgp-extended-communities.xhtml#trans-ipv4
It contains the IP address to redirect traffic to. The understanding of
the draft is the following one:
- if that community is only present, then the ip contained inside will
be chosen as nexthop.
- if that community is provided along with simpson extended community,
then only the new redirect ip draft will be used. however, both will be
displayed.
- in other cases, if there is only the simpson extended community, then
the nexthop IP of the NLRI will be chosen.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'lib/lib_errors.c')
0 files changed, 0 insertions, 0 deletions
