On Fri, 2021-07-23 at 08:21 +0200, Harald Dunkel wrote: > Deutsche Telekom gives me a new /56 prefix for my internal net and > a new /64 prefix for the external connection on every reboot of my > modem. The old internal prefix is not routed anymore. Question is, > how can I tell pf to use the new prefix? > > There are a few constants in my pf.conf file, e.g. > > myhost = "{ 2001:db8:1f21:1c03:123:4567:89ab:cdef ... }" > > Currently they have to be edited on every prefix change.
I'd suggest to write them into a table, which is runtime modifyable.