Bug 225063 - Add ifconfig_DEFAULT_ipv6 for fallback like ifconfig_DEFAULT
Summary: Add ifconfig_DEFAULT_ipv6 for fallback like ifconfig_DEFAULT
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Many People
Assignee: freebsd-rc mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-11 04:36 UTC by Bert JW Regeer
Modified: 2018-01-18 04:44 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bert JW 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