Skip to content

Default Interface#

Underlay Routing → DIDefault Interfaces

The DefaultInterface resource links an Interface to the DefaultRouter, with the addition of an optional VLAN tag. It can be configured with an IP-Prefix or IPv6 unnumbered, which configures the IP that will be associated with the interface.

Best deployed as part of a Fabric

When possible, we recommend that you deploy this resource through a Fabric which automatically creates two DefaultInterfaces for every inter-switch link: one on each side of the Link.

BFD#

BFD parameters can be configured on a DefaultInterface. The configured BFD session will monitor the neighboring interface, improving the fault detection time significantly if there is layer-2-only equipment in between the two switches.

Not seeing BFD sessions being established?

BFD requires a protocol to subscribe before a BFD session is created. This could be either a static route, a BGP peer, or OSPF neighbor. For example, a BGPPeer with BFD enabled will only establish a session with its peer if the underlying DefaultInterface has BFD enabled as well, and vice versa.

Dependencies#

DefaultRouter#

The DefaultInterface is always connected to a DefaultRouter, which is the abstraction for the routing table that will install the IP subnet configured on the interface. The DefaultRouter must be created before the DefaultInterface can be attached to it.

Referenced resources#

The DefaultInterface has no references to any other EDA resources.

Examples#

apiVersion: routing.eda.nokia.com/v1
kind: DefaultInterface
metadata:
  name: interface-leaf-1-ethernet-1-3
  namespace: eda
spec:
  bfd:
    desiredMinTransmitIntMs: 1000
    detectionMultiplier: 3
    enabled: true
    requiredMinEchoReceiveIntMs: 1000
    requiredMinReceiveIntMs: 1000
  defaultRouter: router-leaf-1
  interface: leaf-1-ethernet-1-3
  ipMTU: 8922
  ipv4Addresses:
    - ipPrefix: 12.0.0.8/31
cat << 'EOF' | kubectl apply -f -
apiVersion: routing.eda.nokia.com/v1
kind: DefaultInterface
metadata:
  name: interface-leaf-1-ethernet-1-3
  namespace: eda
spec:
  bfd:
    desiredMinTransmitIntMs: 1000
    detectionMultiplier: 3
    enabled: true
    requiredMinEchoReceiveIntMs: 1000
    requiredMinReceiveIntMs: 1000
  defaultRouter: router-leaf-1
  interface: leaf-1-ethernet-1-3
  ipMTU: 8922
  ipv4Addresses:
    - ipPrefix: 12.0.0.8/31
EOF

Custom Resource Definition#

To browse the Custom Resource Definition go to crd.eda.dev.

DefaultInterface

routing.eda.nokia.com / v1

SPEC

DefaultInterface enables the configuration of default interfaces, including Interface references, DefaultRouter, VLAN IDs, IP MTU settings, and options for IPv4 and IPv6 addresses. It also supports unnumbered interfaces and BFD (Bidirectional Forwarding Detection) configuration.

  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #
  • #

STATUS

DefaultInterfaceStatus defines the observed state of DefaultInterface

  • #
  • #
  • #
  • #