EnglishJapanese Reload Front page List of pages Search Recent changes RSS of recent changes

Back to Installation page

Not completed this page

DHCP server

To use netboot, DHCP server have to know the MAC address of VMIVME/SVA041/CCNET. When controller is turned on, the log of the dhcp request in /var/log/message can be seen. Here, you can know the MAC address of controller. Or, simple, you can connect display to VME/CAMAC controller.

This is an example of dhcpd.conf, you have to modify the MAC address.

option domain-name "";
option domain-name-servers 192.168.3.1;

default-lease-time 600;
max-lease-time 7200;


log-facility local7;

subnet 192.168.3.0 netmask 255.255.255.0 {
  range 192.168.3.150 192.168.3.249;
  option domain-name-servers 192.168.3.1;
  option domain-name "";
  option routers 192.168.3.1;
  option broadcast-address 192.168.3.255;
  default-lease-time 600;
  max-lease-time 7200;

# fixed ip
  host gto {
    hardware ethernet  00:20:4A:E4:B9:09;
    fixed-address gto;
    option host-name "gto";
  }

  host hv {
    hardware ethernet 00:50:c2:2d:cb:2f;
    fixed-address 192.168.3.3;
    option host-name "hv";
  }
}

# for PXE boot
group {
  next-server   192.168.3.1;
  default-lease-time 1296000;
  max-lease-time     2592000;
  filename   "/linux-install/pxelinux.0";

  host sva01 {
    hardware ethernet  00:a0:b6:04:e9:f6;
    fixed-address sva01;
    option host-name "sva01";
  }

  host vmi01 {
#    hardware ethernet  00:20:38:01:ff:10;
    hardware ethernet 00:20:38:01:3e:53;
    fixed-address vmi01;
    option host-name "vmi01";
  }


#  host vmi02 {
#    hardware ethernet  00:20:38:01:ff:10;
#    fixed-address vmi01;
#    option host-name "vmi02";
#  }

}

The server must know IP-addresses written with "fixed-address". In this case, these addresses are written in /etc/hosts . If you prepare DNS server, it is more useful.

# example of /etc/hosts
127.0.0.1   localhost localhost.localdomain

192.168.3.1  daq
192.168.3.2  gto
192.168.3.3  hv
192.168.3.11 sva01
192.168.3.12 sva02
192.168.3.21 vmi01
192.168.3.22 vmi02
Last-modified: Mon, 01 Jul 2013 17:00:35 HADT (3004d)