Page MenuHomeVyOS Platform

No longer able to assign a /31 address on Wireguard interface
Closed, ResolvedPublicBUG

Description

[edit interfaces wireguard wg1]
vyos@vyos# set address 10.255.249.0/31

  Invalid value
  Value validation failed
  Set failed

This worked on the 1.2.0-rolling+201812110337 build, but no longer works with the 1.2.0-rolling+201905170337 build.

I expect there's nothing but a simple validation variable that needs to be adjusted, but I wouldn't know where to look. As for the functionality of it, I had communication over the tunnel using addresses in a /31 block before, so there's no reason for it to be prevented now..

Details

Difficulty level
Easy (less than an hour)
Version
1.2.0-rolling+201905170337 && 1.2.2
Why the issue appeared?
Will be filled on close

Event Timeline

hagbard changed the task status from Open to Confirmed.Jun 19 2019, 5:27 PM
hagbard changed the task status from Confirmed to In progress.Jun 19 2019, 5:35 PM
hagbard triaged this task as Normal priority.
hagbard changed the task status from In progress to Needs testing.Jun 19 2019, 6:31 PM

Next rolling will have it fixed.

verified and successfully tested on VyOS 1.2.0-rolling+201906192322

c-po reopened this task as Backport pending.Jul 22 2019, 8:18 PM
c-po changed Version from 1.2.0-rolling+201905170337 to 1.2.0-rolling+201905170337 && 1.2.2.
c-po added subscribers: c-po, hagbard.

Problem exists on 1.2.2

c-po moved this task from Backlog to Finished on the VyOS 1.2 Crux (VyOS 1.2.3) board.