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

[FRR] BGP IPv6 prefix-list with "any" keyword

Scheduled Pinned Locked Moved FRR
3 Posts 2 Posters 683 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.
  • J
    Juve
    last edited by Apr 3, 2018, 8:33 PM

    Hi,

    I am facing a litlle issue while defining a prefix-list for IPv6 prefixes and wanting to use the "any" keyword.

    While it is working great with IPv4 prefixes it is not working with IPV6 because the GUI is forcing the "any" keyword to a IPV4 prefix-list.

    If you enter "any" ine the "network" field of a prefix, then the GUI creates a IPv4 prefix-list :
    Exemple:
          ip prefix-list pl-deny-all seq 15 deny any

    And  I would like to be able to make the same for IPv6 :
          ipv6 prefix-list pl-deny-all-v6 seq 15 deny any

    But the GUI do not have a check-boox or something similar to force the ipv6.

    If someone has a workarround (without using the raw config) ?

    Thank you.

    1 Reply Last reply Reply Quote 1
    • J
      Juve
      last edited by Apr 4, 2018, 7:39 AM

      My workarround was to use ::/0 in a prefix-list to match all IPv6 networks.

      At first (before posting previous msg) it wasn't working and I thought it was because it had to be the any keyword.
      In fact it was because I set the incoming prefix filter at the peer-group level and not at the peer level itself.
      When set at the peer-group level it doesn't work for IPV6 and you see in the stats there is no filter configured for ipv6 unicast. As soon as you set the filter at the peer level you see the filter is enabled for the IPv6 unicast trafic (matching the peer-group name….)

      1 Reply Last reply Reply Quote 1
      • J
        jimp Rebel Alliance Developer Netgate
        last edited by Aug 21, 2019, 8:17 PM

        You can use the any6 keyword there to match any for IPv6.

        https://github.com/pfsense/FreeBSD-ports/blob/devel/net/pfSense-pkg-frr/files/usr/local/pkg/frr/inc/frr_zebra.inc#L265

        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

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