Network Services Configuration Module

The Network Services configuration module implements DNS and Syslog clients and servers; NTP and SNMP are planned for future releases.

Platform Support

netlab can configure DNS clients or servers on these platforms:

Device

IPv4 DNS

client

IPv6 DNS

client

Transport

VRF

DNS server

Arista EOS

Aruba AOS-CX

BIRD

Cisco IOS[*1]

Cisco IOS XR[*2]

Cisco IOSv layer-2 image

Cisco Nexus OS

dnsmasq

FRRouting (containers)

Junos[*3]

KinD cluster

Linux (containers)

Nokia SR Linux

Syslog is supported on these platforms:

Device

Syslog

client

Transport

VRF

Syslog server

Arista EOS

Aruba AOS-CX

Cisco IOS[*1]

dnsmasq

Common Network Services Parameters

You can configure the services (DNS, Syslog) clients with the global/node services.service dictionary, which can contain these parameters:

  • server (node name or list of node names): Specifies the DNS/Syslog server(s) node name. The node name(s) are resolved to IPv4/IPv6 addresses, which are then used to configure the lab devices.

  • ipv4 and ipv6 (address or list of addresses): Hard-coded IPv4/IPv6 server addresses.

  • transport_vrf: the VRF used to reach the DNS/Syslog server.

Warning

Configuring module: [ services ] and services.dns.server at the lab topology level is not enough to run DNS clients on all host nodes. Hosts do not inherit topology-level modules; you must configure the services module on hosts (preferably within a group).

DNS-Specific Parameters

  • Specify the DNS server(s) on the DNS clients with the services.dns common network services parameters.

  • The services.dns.domain (string) global/node parameter sets the lab DNS domain (default: netlab.local)

The DNS server is enabled on supported nodes with the services.server.dns parameter, which can be a boolean value or a dictionary with these parameters:

  • forwarder.ipv4 and forwarder.ipv6 (address or list of addresses): upstream DNS servers used for name resolution of domains other than services.dns.domain.

Syslog Parameters

  • Specify the Syslog server(s) on client nodes with the common network services parameters

  • The syslog server is enabled on supported nodes with the services.server.syslog: True parameter.