OPNsense Forum

Archive => 20.7 Legacy Series => Topic started by: Greelan on November 25, 2020, 12:04:08 PM

Title: Adding an IPv6 GUA to loopback
Post by: Greelan on November 25, 2020, 12:04:08 PM
I've been investigating adding an IPv6 global unicast address to my OPNsense box's loopback.

I've achieved it by creating a new loopback device, assigning a new interface to that device, and then assigning a static IPv6 address to that interface using my prefix and an unused prefix ID. That works fine.

But that results in a new loopback interface being created (lo1, separate to the existing lo0), and also means that if my prefix changes, I need to manually update the static IP. That's not the end of the world, but:


In the end, it probably doesn't really matter if I can't change my current approach, but I was curious if I could streamline it.

Thanks