Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#598 closed Feature Request (fixed)

Implement configuration of multiple interfaces with static IP addresses during installation

Reported by: glarkin Owned by: kris
Priority: minor Milestone:
Component: Installer Version: 9.0-RELEASE
Keywords: Cc: trac-bugs@…

Description

At the moment, pc-sysinstall only supports configuration of a single interface with a static IP. This enhancement will extend that capability to multiple interfaces.

NOTE: I will likely work on this in the coming weeks and will feed changes back for review once they are ready. Putting this ticket here as a placeholder and reminder.

Attachments (1)

functions-networking.sh.diff (2.2 KB) - added by glarkin 3 years ago.
Implements configuration of multiple interfaces with static IPs

Download all attachments as: .zip

Change History (5)

comment:1 Changed 3 years ago by glarkin

The version on this ticket should be "8.2", not "9.0-RELEASE". I don't have permissions to change it, though.

Changed 3 years ago by glarkin

Implements configuration of multiple interfaces with static IPs

comment:2 Changed 3 years ago by glarkin

The attached diff file changes the format of the pc-sysinstall.conf file slightly. The netSaveDev directive now accepts a list of network interfaces delimited by spaces:

netSaveDev=em0 em1 em2

To specify an IP address and mask for each one, the syntax is:

netSaveIP_em0=172.16.80.1
netSaveMask_em0=255.255.240.0
netSaveIP_em1=172.168.80.2
netSaveMask_em1=255.255.240.0
netSaveIP_em2=172.16.80.3
netSaveMask_em2=255.255.240.0

The netSaveDefaultRouter directive is unchanged, and the netSaveNameServer directive now accepts a list of nameservers delimited by spaces.

comment:3 Changed 3 years ago by kris

  • Resolution set to fixed
  • Status changed from new to closed

Looks good! Just committed your patch to our current/ branch. We'll get it into FreeBSD HEAD soon as well. Thanks for the enhancement!

comment:4 Changed 3 years ago by glarkin

Excellent, thank you for the quick turnaround!

Note: See TracTickets for help on using tickets.