Project

General

Profile

Actions

Bug #18125

closed

provisioning a client with 2 nics will have to default gateways

Added by Marek Hulán over 7 years ago. Updated almost 6 years ago.

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

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1376924

Description of problem:
provisioning a client with 2 nics will have to default gateways.

Version-Release number of selected component (if applicable):

Foreman 1.11+

How reproducible:

Create 2 subnets and specify the gateway for etch one then create a client and add 2 networks to point to these 2 subnets. After you kickstart the client the client will have 2 default gateways. when we create a new host we need to have an option to specify the default gateway instead to remove the gateway from the subnets.

Actions #1

Updated by Marek Hulán over 7 years ago

  • Subject changed from provisioning a client with 2 nics will have to default gateways to provisioning a client with 2 nics will have to default gateways
  • Assignee set to Marek Hulán
  • Target version set to 115

The issue is not the fact we have multiple gateways but that we don't have control over which default gateway wins. I didn't find a way to specify custom metric in dhcpd and it probably make sense to define only one default gateway based on which interface is primary. Therefore we can adjust the configuring template so it defines DEFROUTE accordingly. I don't know how this works on deb based systems, but so far no one reported issues there.

Actions #2

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/community-templates/pull/345 added
Actions #3

Updated by Anonymous over 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #4

Updated by Dominic Cleal over 7 years ago

  • translation missing: en.field_release set to 210
Actions

Also available in: Atom PDF