OPNsense Forum

English Forums => General Discussion => Topic started by: Koloa on October 21, 2022, 04:39:46 am

Title: Static IPv6 for iOS devices in OPNsense network
Post by: Koloa on October 21, 2022, 04:39:46 am
I realise there may be no answer to this, but, I have a few iOS devices on the LAN side of my OPNsense controlled network that I'd like to have a static IPv6 address for. 

I want this because I have some policy based routing that I'd like to apply to both IPv4 and IPv6. 

My rules all work fine, but, iOS devices tend to rotate IPv6 addresses, which means I frequently have to update the rules for the NEW IPv6 address.

Assuming it's even possible (it may not be), what's the best/right technology to use on my OPNsense box to help?
Title: Re: Static IPv6 for iOS devices in OPNsense network
Post by: Patrick M. Hausen on October 21, 2022, 05:09:18 am
You can use a MAC address for device identification in rules. You can - IIRC - also disable the use of "fake" MAC addresses in IOS.
Title: Re: Static IPv6 for iOS devices in OPNsense network
Post by: Koloa on October 21, 2022, 06:48:56 am
Thanks.  Forgot about that.

I added a new alias which has the MAC address of a device I care about, and ensured that alias was included in the policy based routing rules.  Easy fix!  Ta!