Static IPv6 address with gateway learned by RA
-
Hello,
I have a pfSense (2.7.2) virtual machine running on Proxmox (8.1-2) hosted on a physical box hosted by Scaleway.
The pfSense WAN interface is attached to a Proxmox virtual bridge (vmbr0), facing the Internet. I have an IPv6 /64 prefix allocated by Scaleway (what they call a "Flexible IP"), mapped with the virtual MAC address of the pfSense WAN interface, which I'd like to use. To do so, I have to configure a static IPv6 on the pfSense WAN interface and I should learn the IPv6 gateway by Router Advertisements (source: https://www.scaleway.com/en/docs/bare-metal/elastic-metal/how-to/configure-ipv6-hypervisor/). So what I did was to configure a static IPv6 address on the pfSense WAN interface, part of the /64 prefix I have, and set the gateway to none. However I do no learn the IPv6 gateway by Router Advertisements. Any idea?Regards,
Christophe
-
Hello,
FYI, I do receive the RAs on this pfSense VM:
[2.7.2-RELEASE][admin@hostname]/root: tcpdump -ani vtnet0 icmp6 and ip6\[40\] == 134 tcpdump: verbose output suppressed, use -v[v]... for full protocol decode listening on vtnet0, link-type EN10MB (Ethernet), snapshot length 262144 bytes 09:03:42.114128 IP6 fe80::d2e0:42ff:fe3c:607 > ff02::1: ICMP6, router advertisement, length 64 09:03:46.114561 IP6 fe80::d2e0:42ff:fe3c:607 > ff02::1: ICMP6, router advertisement, length 64 09:03:49.114770 IP6 fe80::d2e0:42ff:fe3c:607 > ff02::1: ICMP6, router advertisement, length 64 ^C 3 packets captured 329 packets received by filter 0 packets dropped by kernel
-
Hello,
I've just done a test with a virtual machine running Debian GNU/Linux, with its unique vNIC attached to the same virtual bridge (vmbr0) facing the Internet, and it works well:
# grep static -A2 /etc/network/interfaces iface ens18 inet6 static address 2001:abc:abc:abc::1000/64 # ip -6 r | grep default default via fe80::d2e0:42ff:fe3c:607 dev ens18 proto ra metric 1024 expires 14sec hoplimit 64 pref medium
Could someone tell me how to configure pfSense to set a static IPv6 on its WAN interface and get a default gateway dynamically? Thank you in advance.
Regards,
Christophe