Project

General

Profile

Feature #4535

Make factory default interface assignment more flexible

Added by Phillip Davis about 4 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Installer
Target version:
Start date:
03/19/2015
Due date:
% Done:

0%

Estimated time:

Description

At the moment only 1 set of specific device assignments for WAN+LAN can be in the factory default config.
For initial setup, and for disaster recovery, it is often a benefit to be able to install an image, boot it without needing to access the (serial or VGA) console, and connect to LAN to login and setup the system or restore a backup config.
If this process can happen on more varieties of hardware, IMHO that would be good.

Make the factory default startup look for various pairs of devices to assign to WAN/LAN:
em0 em1 - the 2.2 defaults
vr1 vr0 - the 2.1 defaults (works on an Alix)
re1 re2 - matches the WAN and LAN labelled case on an APU
suggest other combinations used by popular hardware setups...

If none of the pairs exist, then resort to the existing interface assignment on console.

History

#1 Updated by Phillip Davis about 4 years ago

One possible implementation is here:
https://github.com/pfsense/pfsense/pull/1573

There a plenty of ways this could be designed and implemented.

#3 Updated by Phillip Davis over 3 years ago

IMHO this is now working and resolved for 2.3

#4 Updated by Chris Buechler over 3 years ago

  • Status changed from New to Resolved
  • Target version set to 2.3

Thanks Phil

Also available in: Atom PDF