Quote from: luckylinux on May 17, 2024, 11:22:06 amAttached Network Diagram.For a bit added clarity:- RED: segment of the IPv6 Delegation Prefix for WAN-interfaced Zones- BLUE: segment of the IPv6 Delegation Prefix for LAN-interfaced ZonesThis looks fine to me, provided the LAN clients get the CARP address as their gateway.One thing perhaps, usually the gateway on LAN is a link-local address, so it should be preferred to use something like fe80::1 as CARP address on the LAN side and use that as gateway for the clients.Clients like to talk to their routers using link-local addresses only.The GUA CARP IP on LAN should then be unnecessary. It might well be that clients use the link-local addresses of the opnsense firewalls to route and then use the wrong one as their nexthop.You should be able to find all of that out using tcpdump.
Attached Network Diagram.For a bit added clarity:- RED: segment of the IPv6 Delegation Prefix for WAN-interfaced Zones- BLUE: segment of the IPv6 Delegation Prefix for LAN-interfaced Zones
You misunderstand, the clients use their public address as source, but the nexthop used is always link-local. Link-local is mainly for communication between clients and routers.Which well fits the subject .
Quote from: bimbar on May 17, 2024, 12:32:53 pmYou misunderstand, the clients use their public address as source, but the nexthop used is always link-local. Link-local is mainly for communication between clients and routers.Which well fits the subject .>> One thing perhaps, usually the gateway on LAN is a link-local address, so it should be preferred to use something like fe80::1 as CARP address on the LAN side and use that as gateway for the clients.So your comment was only for the CARP adress on the LAN side ? NOT Generally. Alright One thing that confuses me is that if I set fe80::1 for the LAN as CARP address, what am I going to use for the other Networks/VLANs in the future ? fe81::1 , fe82::1 , etc ?Or rather use fe80:0001::1 for LAN, fe80:0002::1 for NET2, fe80:0003::1 for NET3, etc ?
Either fe80::1 for all. Link local addresses are local to a single link (surprise!) so using the same address on all interfaces is fine.
Quote from: Patrick M. Hausen on May 17, 2024, 01:06:00 pmEither fe80::1 for all. Link local addresses are local to a single link (surprise!) so using the same address on all interfaces is fine.Ah, cool, I didn't know that multiple Interfaces could all be identified as "fe80::1" and the System would still work ...But where are you suggesting to put this for the CARP Interface ? On the OPNSense CARP Tutorial it says to use the CARP Address as "Source Adress" in the Router Advertisement Section: https://docs.opnsense.org/manual/how-tos/carp.html#setup-router-advertismentsSo far I have it set to "Automatic" and no Route is Advertised (I think it's more reliable like this than to advertise the route for the Subnet etc).
# !! WAN6 Interface must be reset BEFORE WAN Interface !!#1 * * * * /usr/local/bin/restart-wan-interfaces#0 * * * * /usr/local/bin/restart-wan6-interfaces
#!/bin/sh# Define Interfaceinterface="wan"# Echoecho "Bringing down Interface ${interface}"# Stop Interfacesifdown ${interface}# Wait a bitsleep 5# Echoecho "Bringing up again Interface ${interface}"# Start Interfacesifup ${interface}
#!/bin/sh# Define Interfaceinterface="wan6"# Echoecho "Bringing down Interface ${interface}"# Stop Interfacesifdown ${interface}# Wait a bitsleep 5# Echoecho "Bringing up again Interface ${interface}"# Start Interfacesifup ${interface}