DHCP Configuration

Corey Kovacs corey.kovacs at gmail.com
Thu Jul 28 13:57:50 UTC 2011


Static implies the interface will not use dhcp "after" the machine is built.
You still get an entry for kickstarting.

C
On Jul 28, 2011 7:49 AM, "Nathan Higgins" <nathan at link9.net> wrote:
> Hey all,
>
> I'm trying to exclude some interfaces from having DHCP entries as they
> appear to break the DHCP config by appending aliases with ':2' ':3'
> etc.
>
> An example of the interface from a cobbler report:
>
> Interface ===== : dmz:1
> Bonding Mode :
> Bonding Master :
> Bonding Opts :
> DHCP Tag :
> DNS Name : test.alias.domain.install
> IP Address : 172.16.52.56
> IPv6 Address :
> IPv6 Default Gateway :
> IPv6 MTU :
> IPv6 Secondaries : []
> IPv6 Static Routes : []
> MAC Address : 00:16:3e:ec:7e:73
> MTU :
> Static : True
> Static Routes : []
> Subnet : 255.255.255.240
> Virt Bridge :
>
> This causes DHCPd to error with:
>
> /etc/dhcp/dhcpd.conf line 30: expecting left brace.
> host test.alias.domain.install_dmz:
> ^
> ( ^ is below the ':')
>
> In the DHCP config file it looks like this:
>
> group {
> host test.alias.domain.install_dmz:1 {
> hardware ethernet 00:16:3e:ec:7e:73;
> ......
>
> I thought 'Static: True' would prevent the entry but seems not.
>
> Cobbler version is: 2.1.0-0ubuntu7
>
> Any ideas as to either stop certain interfaces from getting dhcp
> entries, or how to stop it trying to put a colon in an entry would be
> appreicated.
>
> Thanks,
>
> --
> Nathan
> _______________________________________________
> cobbler mailing list
> cobbler at lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/cobbler
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://fedorahosted.org/pipermail/cobbler/attachments/20110728/f8ea0c08/attachment-0001.html 


More information about the cobbler mailing list