Re: route(8): /prefixlen syntax for -inet6

2012-06-28 Thread Florian Obser
On Thu, Jun 28, 2012 at 09:55:57AM +0100, Stuart Henderson wrote: [...] > # route add -inet6 ff55::1/96 ::1 > add net ff55::1/96: gateway ::1 > > # route delete -inet6 ff55::1/96 > route: writing to routing socket: No such process > delete net ff55::1/96: not in table > > # route delete -inet6 ff

Re: route(8): /prefixlen syntax for -inet6

2012-06-28 Thread Stuart Henderson
It's a step in the right direction, but compare this: # route add 5.5.5.1/26 127.0.0.1 add net 5.5.5.1/26: gateway 127.0.0.1 # route delete 5.5.5.1/26 delete net 5.5.5.1/26 ...with this: # route add -inet6 ff55::1/96 ::1 add net ff55::1/96: gateway ::1 # route delete -inet6 ff55::1/96 route: w

route(8): /prefixlen syntax for -inet6

2012-06-27 Thread Florian Obser
Hi, so route(8) drives me crazy. For some reason I always put -prefixlen before the address when adding IPv6 routes and route(8) happily accepts that: $ sudo route add -inet6 -prefixlen 32 2001:db8:: ::1 -blackhole add net 2001:db8::: gateway ::1 $ route -n show -inet6 | fgrep