Page MenuHomeVyOS Platform

IPv6 BGP Neighbor Weight
Closed, ResolvedPublicFEATURE REQUEST

Description

For traffic engineering reasons, we need to balance traffic over equal links/sessions, for example to steer traffic towards a particular IX.

For IPv4, this works by setting a appropriate weight to routes received through a particular connection

# set protocols bgp XXX neighbor XXX address-family ipv4-unicast weight 1020

For IPv6, the address-family ipv6-unicast-weight parameter is not available:

# set protocols bgp 65534 neighbor fd00:111::11 address-family ipv6-unicast weight 23232
  Configuration path: protocols bgp 65534 neighbor fd00:111::11address-family ipv6-unicast [weight] is not valid

As discussed with Viacheslav in Slack already, its possible to expose the address-family ipv6-unicast-weight parameter to the configuration by updatinng the vyatta-cfg-quagga package (test version here) .

I tested the package provided in our lab and can confirm that the new setting is in place and does what i want to achieve. Please go on and release it for PR for crux and rolling.

Details

Difficulty level
Easy (less than an hour)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Related Objects

Event Timeline

PR https://github.com/vyos/vyatta-cfg-quagga/pull/68

set protocols bgp 65001 neighbor 2001:db8::2 address-family ipv6-unicast weight '222'
set protocols bgp 65001 neighbor 2001:db8::2 remote-as '65002'

Show

vyos@r5-roll# run show ipv6 bgp
BGP table version is 6, local router ID is 192.168.168.5, vrf id 0


   Network          Next Hop            Metric LocPrf Weight Path
*> 2001:db8:aa::/64 fe80::5054:ff:fe43:b82a
                                             0           222 65002 i
*> 2001:db8:bb::/64 fe80::5054:ff:fe43:b82a
                                             0           222 65002 i
dmbaturin changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.