Project

General

Profile

Actions

Feature #2156

closed

Be able to set netmask and not mac when using multiple nics

Added by Benjamin Papillon almost 12 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

We are using foreman in provision mode without DHCP

When setting multiple NIC, be able to select netmask instead of mac address. These variables (IP/maks) can/should be used for kickstart templating


Related issues 2 (1 open1 closed)

Related to Foreman - Feature #2240: Full Multiple Interface SupportClosed02/20/2013Actions
Related to Foreman - Tracker #2409: NetworkingNew

Actions
Actions #1

Updated by Ohad Levy almost 12 years ago

can you elaborate more? how would we find the specific host entry based on a range?

Actions #2

Updated by Benjamin Papillon almost 12 years ago

In the case of just one interface, you have to know the mac address, dhcp or not, to identify the good host at foreman level (when templating kickstart).

If you have 2 interfaces, only one of them is generally used for installation, not both. For the other one, there is fewer chances to have a second DHCP setup that will attribute IP/netmask/gw in this LAN.

In that case, the 2nd mac address is useless as it is not important during the installation process. therefore for templating the kickstart the netmask parameter of this second interface is usefull.

If we extend the perimeter to 'n' interfaces, only one will be used for installations (but not necessary the first one). The others can be :
- statically configured : in this case the netmask parameter is crucial. Other information such as gateway/specific routes can be customised by the user with parameters, I dont think a specific code should include these.
- configured by DHCP out of scope of foreman
- configured by DHCP with the current smart proxy of the host (how to find next available IP in this case?)
- configured by DHCP with another smart proxy because of network isolation, blablabla (how to find next available IP in this case?)

I'd like to concentrate this feature on the 2nd nic statically configured as it is my current issue.

Actions #3

Updated by Ewoud Kohl van Wijngaarden almost 11 years ago

If you have multiple IPs on a single NIC, the mac address doesn't add anything either.

Actions #4

Updated by Marek Hulán about 10 years ago

  • Description updated (diff)
  • Status changed from New to Feedback

Could you please check out nightly features and verify whether anything is missing? I think all of four scenarios you've mentioned are possible now.

Actions #5

Updated by Marek Hulán about 10 years ago

Actions #6

Updated by Anonymous over 7 years ago

  • Status changed from Feedback to Resolved

probably solved by now

Actions

Also available in: Atom PDF