Subject: Re: Question about source routing
To: None <tech-net@NetBSD.org>
From: Alan Barrett <email@example.com>
Date: 10/24/2007 21:25:11
On Wed, 24 Oct 2007, ??? wrote:
> Is there any possible way to do source routing(policy routing) in netBSD?
No really easy way. You can do it using pf(4) or ipf(4), with rules to
match the packets you care about and force their next hop.
> And one more question, if policy routing is not implemented in netBSD,
> then how does the netBSD process a packet which has a source routing
See sysctl net.inet.ip.forwsrcrt, net.inet.ip.allowsrcrt. Source
routes in IPv6 are ignored (they used to be honoured unconditionally,
then for a short time they were honoured or not according to sysctl
net.inet6.ip6.rht0, but now they are ignored unconditionally).
--apb (Alan Barrett)