Monday, September 02, 2024

Re: IPv6 static host address inside dynamic network

On 9/2/24 16:21, Chris Ross wrote:
> I'm trying to move from a static IPv6 network to a dynamic allocation from an
> ISP. The hard part is that some of my hosts have secondary addresses for
> specific services to use. I need to find a way to listen to router adverts
> but then manually add an alias with a static lower 64 bits. Looking for
> suggestions.
>
> FreeBSD's recent rtsold has a -A option to run a script. I don't see anything
> in slaacd or dhcpleased that seems to provide anything like that.
>
> Let me know any thoughts you have. Ideally, not rolling my own tool to monitor
> the interface for a changing primary IPv6 network.
>
> - Chris

I have to assume you need a non-routable prefix for internal use.

I have some internal services which must not be superseded by the ISP
so I have to use clients and servers which I can configure for that.

dhcpcd as an IP6 client on my gateway machine tying its IP4
hands firmly behind its back works well enough for me.
It runs scripts on IP6 changes
dhcp6s pointed inward serving local clients seems to work OK.

Note that my ISP changes prefixes once every 2 or 3 years,
so if I saw a routing hiccup it was years ago.

In the best of all possible worlds you have 3 machines you can set
up configured as ISP - gateway - client & test.
tcpdump is your friend.

No comments:

Post a Comment