Posts Tagged ‘ tweaks

Error “SIOCSIFADDR: Cannot allocate memory” when adding many IPv6 addresses

While adding many many IPv6 addresses, you might run into this error

SIOCSIFADDR: Cannot allocate memory

The error isn’t very descriptive but fortunately this can be resolved very easily by increasing the IPv6 routing tables maximum size:

nano /proc/sys/net/ipv6/route/max_size