Skip to content

ipv6 nd suppress-ra does not take for OS-configured interface #7738

@ZaphodB

Description

@ZaphodB

Describe the bug
Hoster reported my router VM to be sending IPv6 RAs, disabling them via

otemachi(config-if)# interface eth0
otemachi(config-if)# ipv6 nd suppress-ra
otemachi(config-if)# end

on the OS-configured interface did not take meaning the configuration did not disable the RAs from being sent and did not show up in show running-config.

[x] Did you check if this is a duplicate issue?
[-] Did you test it on the latest FRRouting/frr master branch?

To Reproduce
Debian /etc/network/interfaces configuration for eth0:

# The primary network interface
allow-hotplug eth0
iface eth0 inet static
        address 217.197.86.170
        netmask 255.255.255.240
        broadcast 217.197.86.171
        #gateway 217.197.83.129
        # dns-* options are implemented by the resolvconf package, if installed
        dns-nameservers 8.8.8.8
        dns-search zaphods.net
        post-up /sbin/ip ro add 217.197.83.128/25 dev eth0
        post-up /sbin/ip ro add default via 217.197.83.129 dev eth0

Interface eth0 not configured in frr.

otemachi(config-if)# interface eth0
otemachi(config-if)# ipv6 nd suppress-ra
otemachi(config-if)# end

Expected behavior

!
interface eth0
  ipv6 nd suppress-ra
!

in show running-config.
Not sending router advertisement messages on interface eth0.

Versions

  • OS Version: Debian 10.7 current
  • Kernel: 4.19.0-9-amd64
  • FRR Version: 7.5-0~deb10
ii  frr                                  7.5-0~deb10                  amd64        FRRouting suite of internet protocols (BGP, OSPF, IS-IS, ...)
ii  frr-doc                              7.5-0~deb10                  all          FRRouting suite - user manual
ii  frr-pythontools                      7.5-0~deb10                  all          FRRouting suite - Python tools

Additional context

otemachi# show interface eth0
Interface eth0 is up, line protocol is up
  Link ups:       0    last: (never)
  Link downs:     0    last: (never)
  vrf: default
  Description: Description
  index 2 metric 0 mtu 1500 speed 4294967295
  flags: <UP,BROADCAST,RUNNING,MULTICAST>
  Type: Ethernet
  HWaddr: 52:54:00:d9:18:69
  inet 217.197.86.170/28
  inet6 2001:67c:1400:1220::179/64
  inet6 fe80::5054:ff:fed9:1869/64
  Interface Type Other
  Interface Slave Type None
  ND advertised reachable time is 0 milliseconds
  ND advertised retransmit interval is 0 milliseconds
  ND advertised hop-count limit is 64 hops
  ND router advertisements sent: 270573 rcvd: 1055
  ND router advertisements are sent every 10 seconds
  ND router advertisements lifetime tracks ra-interval
  ND router advertisement default router preference is medium
  Hosts use stateless autoconfig for addresses.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions