Interfaces set as disabled in the configuration have an UP status in the operating system at boot
If you disable interface on interfaces.php page it's disabled
there is no UP in ifconfig output and `get_interface_info()` returns 'status' = 'down', 'enable' = 'false'
but after system reboot interface status is UP in ifconfig output and `get_interface_info()` returns 'status' = 'up', 'enable' = 'false', which is incorrect
it seems `interfaces_configure()` doesn't disable interfaces on boot
Updated by Viktor Gurov about 1 year ago
Updated by Alhusein Zawi 9 months ago
After reboot the interface is not UP in ipconfig
[2.5.1-RC][admin@pfSense.home.arpa]/root: ifconfig em2
em2: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 1500
built on Thu Mar 11 09:11:02 EST 2021
Updated by Jim Pingle 9 months ago
- Status changed from Resolved to In Progress
I think this may need some refinement as it could interfere with other things. If you have an interface assigned but disabled and use that interface as a parent for other things, the children will be affected.
For example if lagg0 is assigned and enabled, and you have VLAN children on lagg0, this takes out the VLAN children.
I think we should back this out of 2.5.1/21.02.2 and work on it more in master for the next release.
Updated by Viktor Gurov 7 months ago
Steve Wheeler wrote:
Confirmed; this breaks sub-interfaces on anything that is assigned but disabled by removing the parent entirely.