Page MenuHomeVyOS Platform

Disabled vif interface with "address dhcp" requests DHCP address.
Open, Requires assessmentPublicBUG

Description

If an interface is disabled and configured to request its address from a DHCP-server, the interface will still get an IP-address (at least during boot)
I would expect that the "disabled"-statement would override/disable the dhcp process.

For recreation:

 ethernet eth0 {
     .....
     vif 2 {
          address dhcp
          disable
     }
}

save the configuration and reboot

I am trying have a DHCP-interface as a backup interface only to be enabled in failure-scenarios. As of now this is not working, and the interface grabs a DHCP-address during boot.

Details

Difficulty level
Unknown (require assessment)
Version
1.3-rolling-202003260634
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)

Event Timeline

janegil created this task.Thu, Mar 26, 5:04 PM