Page MenuHomeVyOS Platform

dhcp-client: invalid warning "is not a DHCP interface but uses DHCP name-server option" for VLAN interfaces
Closed, ResolvedPublicBUG

Description

To Reproduce

set interfaces ethernet eth1 vif 10 address 'dhcp'
set system name-server 'eth1.10'

Triggers an invalid warning due to an implementation issue of interface handling and retrieving address details.

[ system name-server eth1.10 ]
WARNING: "eth1.10" is not a DHCP interface but uses DHCP name-server option!

Details

Difficulty level
Easy (less than an hour)
Version
1.4.0-epa2
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)