I would like to subnet the default IPv6 route into 2 network routes. The original default route was:
default via fe80::218:74ff:fe27:9640 dev eth0 proto kernel metric 1024
I tried adding the following 2 routes, which together should be equivalent to the default route:
ip -6 route add ::/1 dev eth0 via fe80::218:74ff:fe27:9640
ip -6 route add 80::/1 dev eth0 via fe80::218:74ff:fe27:9640
The first command went through, but the second one generated an error:
RTNETLINK answers: File exists
Why is this happening? What's the correct way to specify 2 network routes covering everything?
::/1shorthand for 'everything'? Why do you think the 80::/1 is necessary? – growse Dec 1 '11 at 15:41::/0would be everything,::/1is::through7fff:ffff:ffff:ffff:ffff:ffff:ffff:ffff- every address where the first bit (the/1mask) is a 0. – Shane Madden Dec 1 '11 at 19:17