Skip to content. Skip to navigation

The indicbhaaratii collaborative portal

Sections
Personal tools
You are here: Home IndClient Dhcp-Sample
Document Actions

Dhcp-Sample

by sijisunny last modified 2008-09-16 16:38
# dhcpd.conf

ddns-update-style             ad-hoc;

option subnet-mask            255.255.255.0;
option broadcast-address      192.168.0.255;
option routers                192.168.0.1;
option domain-name-servers    192.168.0.1;
option domain-name            "indclient";   # You really should fix this
option option-128 code 128 = string;
option option-129 code 129 = text;


get-lease-hostnames           true;

next-server                   192.168.0.1;
option root-path              "192.168.0.1:/opt/ltsp/i386";

subnet 192.168.0.0 netmask 255.255.255.0 {
    range   192.168.0.100   192.168.0.199;
    if substring (option vendor-class-identifier, 0, 9) = "PXEClient" {
        filename "/tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0";
    }
    else{
        filename "/tftpboot/lts/vmlinuz-2.6.16.1-ltsp-2";
    }
}
#
# If you need to pass parameters on the kernel command line, you can
# do it with option-129.  In order for Etherboot to look at option-129,
# you MUST have option-128 set to a specific value.  The value is a
# special Etherboot signature of 'e4:45:74:68:00:00'.
#
# Add these two lines to the host entry that needs kernel parameters
#
#        option option-128     e4:45:74:68:00:00;       # NOT a mac address
#        option option-129     "NIC=ne IO=0x300";
#

host    ws002
{
hardware ethernet  00:13:D4:BA:AF:02;
fixed-address    192.168.0.2;
filename    "/tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0";
}
host    ws003
{
hardware ethernet  00:02:55:E6:06:8D;
fixed-address   192.168.0.3;
filename        "/tftpboot/lts/2.6.16.1-ltsp-2/pxelinux.0";
}
« July 2010 »
Su Mo Tu We Th Fr Sa
1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
 

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: