Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #194177

Re: IPv6 radvd questions

From Dan Ritter <dsr@randomstring.org>
Newsgroups linux.debian.user
Subject Re: IPv6 radvd questions
Date 2018-03-26 14:50 +0200
Message-ID <vxzJv-48y-5@gated-at.bofh.it> (permalink)
References <vxuJP-cu-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Mar 26, 2018 at 08:25:56PM +1300, Richard Hector wrote:
> Hi all,
> 
> I'm getting a little confused by the radvd docs, and possibly by IPv6
> concepts in general ...
> 
> The router I'm configuring isn't the default gateway of the LAN; it's an
> openvpn endpoint (server), and I just want to advertise the routes
> available via tunnels to the LAN.
> 
> radvd's prefix blocks, if I understand correctly, are for telling other
> machines on the local network what range to use for SLAAC, right? Which
> is a job already being done by (multiple) other routers.
> 
> Given that, can I ignore the prefix blocks, and just include route blocks?

Yes.


> Will that be enough?

Almost. The problem is that Linux makes a preventative
assumption that only default routes will be advertised.
(At least, this used to be the case. I don't have a
currently running example.)

On each client, you will need to set a sysctl:
net.ipv6.conf.all.accept_ra_rt_info_max_plen = 128

to enable accepting those non-default routes.

Also note that your openvpn server will probably stop
listening to route advertisements once it is an IPv6 router,
and so you will either need to set the default route there
statically, or run a routing protocol like RIPng between
them. If this is your only internal router, I would recommend
static.

-dsr-

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

IPv6 radvd questions Richard Hector <richard@walnut.gen.nz> - 2018-03-26 09:30 +0200
  Re: IPv6 radvd questions Dan Ritter <dsr@randomstring.org> - 2018-03-26 14:50 +0200
    Re: IPv6 radvd questions Richard Hector <richard@walnut.gen.nz> - 2018-03-27 00:50 +0200

csiph-web