Project

General

Profile

Feature #2156

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

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

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Network
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
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

Related to Foreman - Feature #2240: Full Multiple Interface SupportClosed2013-02-20
Related to Foreman - Tracker #2409: NetworkingNew

History

#1 Updated by Ohad Levy almost 7 years ago

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

#2 Updated by Benjamin Papillon almost 7 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.

#3 Updated by Ewoud Kohl van Wijngaarden about 6 years ago

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

#4 Updated by Marek Hulán about 5 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.

#5 Updated by Marek Hulán about 5 years ago

#6 Updated by Michael Moll over 2 years ago

  • Status changed from Feedback to Resolved

probably solved by now

Also available in: Atom PDF