Date: Fri, 08 Jun 2012 06:59:22 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: freebsd-questions@freebsd.org Subject: Re: Configuration problem with IPv6 router ("cannot forward src") Message-ID: <4FD194BA.3060208@infracaninophile.co.uk> In-Reply-To: <4FD12CFF.6020205@cran.org.uk> References: <4FD12CFF.6020205@cran.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigFA10510AB57AD141A1E1C816 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 07/06/2012 23:36, Bruce Cran wrote: > I'm trying to set up a IPv6 router (running -current) on my home > network. My ISP gives me a /128 via PPP and I have a /48 allocation, > which I use to give em0 and tun0 public addresses in different subnets > (tun0 is assigned the address via ppp.linkup). > I've added all the IPv6 settings to rc.conf (ipv6_gateway_enable, > ipv6_network_interfaces, rtadvd_enable etc.) and I can ping IPv6 sites > from the router. rtadvd can be limited to operate on a specific interface. Try setting rtadvd_interfaces=3D"em0" in /etc/rc.conf > The problem is that rtadvd continues advertising the default gateway as= > tun0's link-local address - and pinging from a machine on the network > results in "cannot forward src" messages on the router (strangely, > despite hisaddr being fe80::205:... in ppp.log, the kernel logs the > address as fe80:f::205:...). Try setting: ipv6_default_interface=3D"tun0" and possibly also ipv6_defaultrouter=3D"-interface tun0" I use a gif tunnel (IPv6 over IPv4) for my IPv6 connectivity -- no native support for IPv6 in my ADSL router -- so not exactly equivalent but pretty similar in many ways. > Is there some extra configuration I've likely missed that's needed when= > using IPv6 via PPP? Probably. The good news is that once you've got it running the IPv6 support in FreeBSD is rock solid and works like a charm. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enigFA10510AB57AD141A1E1C816 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/RlMIACgkQ8Mjk52CukIzohgCfbUc5w+JhT3r1BWXdQzTxi7vZ Hp8An3PI1Xj9PKEDSOM8Tqe/gXqpc1Av =v7my -----END PGP SIGNATURE----- --------------enigFA10510AB57AD141A1E1C816--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FD194BA.3060208>