• Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login
Netgate Discussion Forum
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Search
  • Register
  • Login

Static IPv6 address with gateway learned by RA

Scheduled Pinned Locked Moved IPv6
3 Posts 1 Posters 493 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N
    N3oXid
    last edited by N3oXid Mar 23, 2024, 12:33 PM Mar 23, 2024, 12:31 PM

    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

    1 Reply Last reply Reply Quote 0
    • N
      N3oXid
      last edited by Mar 30, 2024, 9:15 AM

      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
      
      
      1 Reply Last reply Reply Quote 0
      • N
        N3oXid
        last edited by Apr 1, 2024, 3:26 PM

        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

        1 Reply Last reply Reply Quote 0
        1 out of 3
        • First post
          1/3
          Last post
        Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
          This community forum collects and processes your personal information.
          consent.not_received