This configuration has been tested with 3.0.5-18.el5.

Make sure that dhcp is installed on dulak-server:

yum install dhcp

You need to modify the following configuration files on dulak-server:

  • /etc/sysconfig/dhcpd (to tell dhcp service to serve the compute nodes on eth0 interface only):

    DHCPDARGS=eth0

    Make sure that this is the right interface by looking at the output of ifconfig command!

  • /etc/dhcpd.conf (this step is postponed - go directly to the next one (/etc/sysconfig/network) as the /etc/dhcpd.conf file will be generated during installing and configuring systemimager).

  • /etc/sysconfig/network:

    NETWORKING=yes
    NETWORKING_IPV6=no
    #HOSTNAME=localhost.localdomain
    HOSTNAME=dulak-server.dulak-cluster.fysik.dtu.dk
  • /etc/sysconfig/network-scripts/ifcfg-eth2 (interface to the public network):

    DEVICE=eth2
    ONBOOT=yes
    BOOTPROTO=dhcp
  • /etc/sysconfig/network-scripts/ifcfg-eth0 (interface serving compute nodes):

    DEVICE=eth0
    ONBOOT=yes
    BOOTPROTO=none
    NETMASK=255.255.255.0
    IPADDR=10.3.0.2

Now you need to activate eth0:

service network restart

Warning! At this stage dhcp server is not fully configured (/etc/dhcpd.conf missing). Do not start it now!.

Go to configuring DNS.

Niflheim: Building_a_Cluster_-_Tutorial/configuring_DHCP (last edited 2010-10-20 09:15:26 by localhost)