I have several IPv6 addresses on a CentOS 7 server and need to make a specific v6 address the default address used in routing. I have been able to do this by modifying the route table.
ip -6 route del default
ip -6 route add default via 2001:470:xxxx:xx::1 src 2001:470:xxxx:xx::6
Problem is each time the network interface is restarted or the server itself is rebooted, the change to the default IPv6 route is lost. How can I make this change persistent so its permanently kept?
IPV6ADDR_SECONDARIES
configured on myeno1
interface becomes the primary, even the primary IPv6 defined isn't set as the default. – James White Aug 26 '15 at 17:49IPV6ADDR_SECONDARIES
and put the desired v6 address as the last value and it works! Didn't realise this behaviour exists. – James White Aug 26 '15 at 17:55