January 15, 2023

VyOS Dhcpv6-relay does not start on boot

Revised: Mon Aug 14 08:58:55 AM EDT 2023

NOTE: ticket T5277 says this is fixed

Summary

The VyOS dhcpv6 relay service does not start on boot. The package unit file does not allow enough time for the interfaces to receive IPv6 addresses from the ISP before the unit times out. Additional configuration is required in the unit file to accomodate the slow address assignment.

System

  • AT&T BGW320-500 fiber gigabit service
  • IPv6 DHCP run on a separate Raspberry Pi and not configured in the VyOS hardware.
  • Version: VyOS 1.4-rolling-202301141409

Work Around

  • VyOS Forum: Dhcpv6-relay does not start on boot
  • Subject File: /usr/lib/systemd/system/isc-dhcp-relay6.service
  • Add these statements in the sections shown. It appears to take about 20 seconds for the addresses to materialize.
  • [unit]
    StartLimitBurst=10
    StartLimitIntervalSec=60
    [service]
    RestartSec=5

No comments:

Post a Comment