NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: dhcpcd and IPv6 prefix delegation?



On Sat, 06 Jul 2024 10:21:19 +0200
Lars-Johan Liman <liman%cafax.se@localhost> wrote:

> _Finally_ my ISP has started to provide IPv6 support, and hands out
> delegation prefixes in what seems to be a proper fashion. My router is a
> PCengine with 3 ethernet interfaces running NetBSD 10.0-REL.
> 
> All hints will be warmly appreciated.

On the offchance that your ISP is also bahnhof.se via Zitius, here is a
config that works well for me. vlan101 is my external interface and the
rest are my internal networks. I run this with the following rc.conf
settings:

dhcpcd=YES
dhcpcd_flags="-d -t 0 -L --waitip -c /etc/dhcpcd-script vlan100 vlan101 vlan103 vlan104 vlan105 vlan106"

---8<--

noipv6rs

interface vlan101
ipv4
ipv6
ipv6rs
ia_na 1
ia_pd 2 vlan100/0 vlan103/3 vlan104/4 vlan105/5 vlan106/6

interface vlan100
ipv6only

interface vlan103
ipv6only

interface vlan104
ipv6only

interface vlan105
ipv6only

interface vlan106
ipv6only


Home | Main Index | Thread Index | Old Index