Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jul 2011 14:08:14 -0700
From:      Julian Elischer <julian@freebsd.org>
To:        Paul Schenkeveld <freebsd@psconsult.nl>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Multiple IPv6 ISPs
Message-ID:  <4E122BBE.5030809@freebsd.org>
In-Reply-To: <20110704122457.GA43696@psconsult.nl>
References:  <20110704122457.GA43696@psconsult.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On 7/4/11 5:24 AM, Paul Schenkeveld wrote:
> Hi,
>
> At one of my customers we have had 2 ISPs for a long time but now we
> have to support IPv6 too.
>
> In the IPv4 world I used ipfw for policy-based routing to separate
> traffic from the two public address ranges:
>
>      ipfw add 1010 allow ip from any to MY_IP_RANGES
>      ipfw add 1020 fwd ISP1_GW ip from ISP1_SUBNET to any
>      ipfw add 1030 fwd ISP2_GW ip from ISP2_SUBNET to any
>
> When I try the same with IPv6, it appears that ipfw(8) does not support
> an IPv6 destination with the fwd statement, the packet matching part
> seems to work fine.  This appears documented in bin/117214 (Oct 2007)
> but never solved.
>
> Before asking the list I went looking for other options, setfib came to
> mind but it appears that setfib only works on IPv4, is that correct or
> am I overlooking something?
no, setfib for IPV6 is not complete
I know that work is underway to fix that,

it may be possible to use netgraph and vnetjails to simulate it 
somehow as vnet supports ipv6.
> Pf is used for firewalling and doing both filtering and policy based
> routing in pf doesn't work.
>
> Anyway, how do other people solve this?  I need to run services on both
> address ranges so flipping a default gateway when pinging the next hop
> fails does not solve it for me.
>
> Soon, having IPv6 is no longer an option but rather a necessity.
>
> Regards,
>
> Paul Schenkeveld
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E122BBE.5030809>