size of ipv6 routing table


On an older vyatta 6.5 system with a full bgp view,

show ipv6 bgp sum
.... 16513 prefixes
cat /proc/sys/net/ipv6/route/max_size
contains a discussion of the problem. Apparently ipv4 route max_size auto-scales, but the ipv6 route max_size does not.

Is it reasonable for new vyos versions to raise that ipv6 route max_size to 100K?


hi an welcome,

you could change this value to your own needs in two ways.
First test if everything works as expected by invoking

sudo sysctl -w net.ipv6.route.max_size=100000

… and if everythings looks good to you, make it permanent with

sudo bash -c 'echo "net.ipv6.route.max_size=100000" >> /etc/sysctl.conf'


Won’t survive updates/upgrades though when new image is installed.

Could someone open trouble ticket in ?