Bug 225063

Summary: Add ifconfig_DEFAULT_ipv6 for fallback like ifconfig_DEFAULT
Product: Base System Reporter: Delta Regeer <xistence>
Component: confAssignee: freebsd-rc (Nobody) <rc>
Status: New ---    
Severity: Affects Many People CC: mallorya, ronald-lists, swills
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   

Description Delta Regeer 2018-01-11 04:36:46 UTC
I recently started playing with an Pine64 board using the latest ARM images available for CURRENT, and I noticed that there is a:

ifconfig_DEFAULT="DHCP"

Which is used as the fallback for allowing whatever interfaces exist and don't have explicit configuration to reach out over DHCP.

I'd like to have a similar flag for IPv6, so that the default could ship with IPv6 enabled in /etc/rc.conf as well so that devices are automatically dual-stacked by default.

ifconfig_DEFAULT_ipv6="inet6 accept_rtadv"

Could also be useful for VM images where the device name may not be known ahead of time due to the emulated hardware