Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jul 2017 19:32:16 +0000
From:      Mark Raynsford <list+net.freebsd@io7m.com>
To:        freebsd-net@freebsd.org
Subject:   Preventing the acquisition of IPv6 addresses
Message-ID:  <20170709193216.02b1c098@copperhead.int.arc7.info>

next in thread | raw e-mail | index | archive | help
--Sig_/.YtIiX=LY+BV27J=ArV.+=z
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello.

My VPS provider gives me a /64, within which I'm expected to either use
SLAAC to acquire IP addresses, or statically assign them myself. My
provider does, however, require me to use router solicitation in order
to learn routes. I choose to statically assign addresses on my instances.

I'm doing the following:

1. I execute the following on boot:

  /sbin/ifconfig vtnet0 inet6 2001:19f0:0005:0752:f000:0000:0000:0000 prefi=
xlen 64 accept_rtadv

2. I run the rtsold service:

  /usr/sbin/rtsold -f -F vtnet0

This allows me to acquire a proper route, but it also seems to mean that I
acquire spurious IP addresses on the vtnet0 interface that I don't want=20
or need. I filter outgoing traffic, so nothing gets in or out on those=20
addresses, but I'd prefer if they just weren't there at all.

Is it possible to acquire routes without also getting addresses assigned?

M

--Sig_/.YtIiX=LY+BV27J=ArV.+=z
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEgWja4isV0+3HIsI9DxW30G+oDLgFAllihMAACgkQDxW30G+o
DLjZjBAAm4+fO5wKIGI0PI8daJOtcyEuZumXRLFYAgQkI3qaZBmZo9ENi2VXr20a
61YliRPMocZw0Jvtr1JJlvKdkf2zYprui6rhEsU3UMtgS4XlpwxYoSnHlmasO/+P
JGQHpkmSOBHFDEvo8YQ8BwQhWkHH+/1WK5XmEi7xc4lvAxDweUqBDw5UOHR7RdRq
ryOwp0+/IB3zk6uGcWYDm3Lpy01eRasZapIojU7s+G48LMDPauBXG6/pb5jpJ+fH
uQF/9y3wkovisifdyLOa/on9hcq+vVMQS5cN0AJrODepqbmI+wssH6I7B0I+qSE7
rbQoWg/5vVtWbcT2ver/hHezgjIYRtt87698lcg8+uZQbBBFL05xrAMvHuoCe0zt
XFp7GB8sq6cSdKnbs3W6jQHRRoRSF4Qdf/nLiy0kxnw2Y4NEU1Brj13mLA0JCJud
L0gEIfC6IJXEpqD1dQSZiAiFasv5yKIoO2RfctzkX2Lwd2vC84XHedqoyfs4g3n1
kyPfczi3PAJMFbMbiua3qrEjg0PBqoSXp67WWYFzIMAG2O369zJSyutt9F8HwHcF
hlgITcghZLvR+/zHiey4r6+yXwBlarIvRbOuTDHPVlDlx7O83vUV/F72Thf7JntV
6Drc6j8dhYKLqOMV9oBWD8L2eeOwfhgEb/VCzFoyiHMHkp2DT2I=
=wEWH
-----END PGP SIGNATURE-----

--Sig_/.YtIiX=LY+BV27J=ArV.+=z--



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