size of ipv6 routing table


#1

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
32768

http://marc.info/?l=linux-netdev&m=139352943109400&w=2
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?


#2

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'

#3

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

Could someone open trouble ticket in http://bugzilla.vyos.net/ ?