Page MenuHomeVyOS Platform

Prefix list names are shared between ipv4 and ipv6
Open, Requires assessmentPublicBUG

Description

The following config is allowed, but the ipv6 route map is matching the IPv4 named one

policy {
    prefix-list TENLOCAL {
        rule 10 {
            action permit
            le 32
            prefix 10.0.0.0/8
        }
        rule 20 {
            action deny
            le 32
            prefix 0.0.0.0/0
        }
    }
    prefix-list6 TENLOCAL {
        rule 10 {
            action permit
            le 128
            prefix 2001:dead:beef::/48
        }
        rule 20 {
            action deny
            le 128
            prefix ::/0
        }
    }
    route-map TENLOCAL-OUT {
        rule 10 {
            action permit
            match {
                ip {
                    address {
                        prefix-list TENLOCAL
                    }
                }
            }
        }
    }
    route-map TENLOCALv6-OUT {
        rule 10 {
            action permit
            match {
                ipv6 {
                    address {
                        prefix-list TENLOCAL
                    }
                }
            }
        }
    }
}

Details

Difficulty level
Unknown (require assessment)
Version
1.3
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

kroy updated the task description. (Show Details)