Actions
Bug #16079
closedISC DHCP subnets fail to parse with host or class stanzas inside
Difficulty:
Triaged:
Bugzilla link:
Pull request:
Description
I have a subnet definition
subnet 10.253.2.0 netmask 255.255.255.0 {
stuff
}
If I add a host definition to the subnet like
subnet 10.253.2.0 netmask 255.255.255.0 { stuff host puter { server-name "puter"; hardware ethernet 00:18:dd:01:9e:2e; fixed-address 10.253.2.127; } }
the subnet does not get recoginzed.
If I add in the subnet stanza something like
class "pxeclients" { match if substring (option vendor-class-identifier, 0, 9) = "PXEClient"; if option pxe-system-type = 00:02 { filename "ia64/elilo.efi"; } else if option pxe-system-type = 00:06 { filename "grub/grub-x86.efi"; } else if option pxe-system-type = 00:07 { filename "grub/grub-x86_64.efi"; } else { filename "pxelinux.0"; } }
the same thing happens.
If I extract the static hosts into dhcpd.hosts and include it then things are ok.
Updated by Anonymous over 8 years ago
- Project changed from Foreman to Smart Proxy
- Category changed from DHCP to DHCP
Updated by Dominic Cleal over 8 years ago
- Subject changed from dhcp proxy parsing problem. to ISC DHCP subnets fail to parse with host or class stanzas inside
- Description updated (diff)
Updated by Lukas Zapletal about 8 years ago
- Related to Feature #12211: Improve DHCP subnets parsing to get more informations from DHCP server added
Updated by The Foreman Bot about 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Lukas Zapletal
- Pull request https://github.com/theforeman/smart-proxy/pull/474 added
Updated by Anonymous about 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 7f016ecae66ceb53f2144fb176092a2c034c62bb.
Updated by Dominic Cleal about 8 years ago
- Translation missing: en.field_release set to 189
Updated by Anonymous about 8 years ago
- Related to Bug #14808: Foreman-Proxy DHCP class doesn't properly read subnets containing if statements added
Updated by Dominic Cleal almost 8 years ago
- Has duplicate Bug #17800: ISC Dhcpd Config Parse Error added
Updated by Dominic Cleal over 7 years ago
- Has duplicate Bug #18674: on [commit,release,expiry] sections in dhcpd.conf cause subnet to not load in smart proxy added
Updated by Anonymous over 7 years ago
- Related to Refactor #19441: Rewrite isc dhcpd config parser to support various nested blocks added
Updated by Anonymous over 7 years ago
- Related to deleted (Refactor #19441: Rewrite isc dhcpd config parser to support various nested blocks )
Actions