<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Tom Brown wrote:
<blockquote cite="mid:486A1496.1010302@ng23.net" type="cite"><br>
  <blockquote type="cite">Yes.  DHCP is needed, since your system
hasn't been assigned an IP address and can only identify itself by
MAC.  The network portion of your kickstart file will ensure that a
static IP will be assigned to eth0 only AFTER the kickstart file has
been downloaded.
    <br>
    <br>
    * Set 'manage_dhcp=1' in /etc/cobbler/settings (or
    <br>
      /var/lib/cobbler/settings if using an older version of cobbler).
    <br>
    * In the dhcp template file (/etc/cobbler/dhcp.template) ensure
    <br>
      that you have configured a stanza for the subnet corresponding
    <br>
      to that of your provisioned system.
    <br>
          o E.g.
    <br>
                + ...
    <br>
                + subnet 10.x.x.x netmask 255.255.254.0 {
    <br>
                       option routers          10.x.x.253;
    <br>
                       option subnet-mask      255.255.254.0;
    <br>
                       filename                "/pxelinux.0";
    <br>
                       next-server             $next_server;
    <br>
                  }
    <br>
                + ...
    <br>
          o Just be sure there are no 'range dynamic-bootp',
    <br>
            'default-lease-time', or 'max-lease-time' statements,
    <br>
            since you are probably concerned about dynamic IP
    <br>
            assignments in a prod environment.
    <br>
    * When provisioning your system with cobbler, specify *both* a MAC
    <br>
      address *and* an IP address, so that the host stanza in
    <br>
      /etc/dhcpd.conf is unique and not dependent upon dynamic options.
    <br>
    <br>
Give it a whirl and reply with any updates. :)
    <br>
    <br>
  </blockquote>
  <br>
  <br>
OK thanks for the update i am a bit confused though as i thought that
using koan i could _reinstall_ a system without the need for DHCP and
PXE - The simple fact is that right now i cant use DHCP in this
specific network and so using koan to rebuild, and thats the key i
think i am rebuilding a current running OS not bare metal, to contact
the cobbler server.
  <br>
  <br>
Koan contacts the cobbler server and i thought, and it seems correct,
that it builds a minimal boot kernel, this boots with IP info and then
the kickstart is downloaded negating the need for DHCP. I do similar
things in another network to rebuild people's VM's running on laptops
etc that are not covered in my DHCP setup and they rebuild fine, the
only issue is that this is a new server and o cant seem to figure out
whats wrong.
  <br>
  <br>
i'd like to know if i've had a misconception about koan all this time
;)
  <br>
  <br>
thanks
  <br>
</blockquote>
OK.  Something is definitely missing here.  Notice how (<a
 href="http://www.redhat.com/magazine/024oct06/features/kickstart/">http://www.redhat.com/magazine/024oct06/features/kickstart/</a>)
GRUB contains options for setting the IP address, netmask, and gateway
for the system you intend to boot.  These arguments are <i><b>not</b></i>
set in <i>your</i> grub configuration.  As to why they are not, either
you didn't specify them during your cobbler system provisioning OR
there is some kind of a bug in koan's 'reprovision' logic.  Likely the
former.  Please double check that you specified<br>
<br>
cobbler .... --ip=X --subnet=Y --gateway=Z ... <br>
<br>
in your provision command.<br>
<br>
-A.<br>
<blockquote cite="mid:486A1496.1010302@ng23.net" type="cite"><br>
_______________________________________________
  <br>
et-mgmt-tools mailing list
  <br>
<a class="moz-txt-link-abbreviated" href="mailto:et-mgmt-tools@redhat.com">et-mgmt-tools@redhat.com</a>
  <br>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/et-mgmt-tools">https://www.redhat.com/mailman/listinfo/et-mgmt-tools</a>
  <br>
  <br>
</blockquote>
<br>
</body>
</html>