On Fri, Nov 07, 2008 at 09:41:35PM +0100, Denis Fondras wrote:
>> BTW: Don't forget to route the prefix to lo at the last hop so that any
>> unassigned subnets don't cause the packet to be bounced back up to the
>> default route.
>>
>
> Could you explain how to do that on OpenBSD please ?
> Perhaps my box is misconfigured... :p

A bit late perhaps, but this is how I do it :

route add -inet6 -net $PREFIX:: -prefixlen 48 -interface ::1 -reject

Of course, you have to set PREFIX to the prefix you want to reject.
After this, all routes you add should be more specific (smaller
prefix) so should work anyway.

I add this line in the /etc/hostname.IF file of the interface where
the prefix is routed to (with a ! at the start, of course).

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to