Posts Tagged ‘ ipv6

ERROR: [ipv6_set_default_route] Given IPv6 default gateway ‘fe80 :: 1’ is link-local

ERROR: [ipv6_set_default_route] Given IPv6 default gateway ‘fe80 :: 1’ is link-local, but no scope or gateway device is specified

If you encounter this error on CentOS6 then remove IPV6_DEFAULTGW=fe80::1 from /etc/sysconfig/network-scripts/ifcfg-eth0 and do a

sercvice network restart

Your IPv6 networking should still be working but there error should be gone.

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