Networking Forums

Networking Forums > Computer Networking > Linux Networking > DHCP problem in diskless Linux Booting

Reply
Thread Tools Display Modes

DHCP problem in diskless Linux Booting

 
 
tralsi@gmail.com
Guest
Posts: n/a

 
      11-24-2005, 05:22 AM
Hi I want to boot diskless pc with Linux (bpbtach)

I have configured DHCP & TFTP & both run fine.
According to my knowledge to work on a PXE bootrom i need
option option-135 "-i"; # for PXE 1.0
& option option-155 "-i"; # for PXE 2.0

When i add this entries to my dhcpd. conf it gives me below mentioned
error

Starting dhcpd: Internet Software Consortium DHCP Server V3.0pl1
Copyright 1995-2001 Internet Software Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
/etc/dhcpd.conf line 33: unknown option dhcp.option-135
option option-135 "-i"
^
Configuration file errors encountered -- exiting


#### My dhcpd.conf contents are as under ####

ddns-update-style interim;
option subnet-mask 255.255.255.0;
default-lease-time -1;



# Definition of PXE-specific options
# Code 1: Multicast IP address of bootfile
# Code 2: UDP port that client should monitor for MTFTP responses
# Code 3: UDP port that MTFTP servers are using to listen for MTFTP
requests
# Code 4: Number of secondes a client must listen for activity before
trying
# to start a new MTFTP transfer
# Code 5: Number of secondes a client must listen before trying to
restart
# a MTFTP transfer
#option vendor-encapsulated-options 01:04:00:00:00:00:ff;

option space PXE;

option PXE.mtftp-ip code 1 = ip-address;
option PXE.mtftp-cport code 2 = unsigned integer 16;
option PXE.mtftp-sport code 3 = unsigned integer 16;
option PXE.mtftp-tmout code 4 = unsigned integer 8;
option PXE.mtftp-delay code 5 = unsigned integer 8;

subnet 132.147.160.0 netmask 255.255.255.0 {
option routers 132.147.160.151;

host nilo-eth0 {
hardware ethernet 00:0D:61:6E:CC:97;
filename "bpbatch";
next-server 132.147.160.151;
fixed-address 132.147.160.152;
#option option-135 "-i";

#option option-135 "test";

# PXE specific options

class "pxeclients"
{
match if substring (option vendor-class-identifier,
0, 9)
="PXEClient";
option vendor-class-identifier "PXEClient";

option PXE.mtftp-ip 0.0.0.0;
vendor-option-space PXE;
}
}
}

Help me ASAP

THANX in advance

Regards,

CP

 
Reply With Quote
 
 
 
 
HIL
Guest
Posts: n/a

 
      11-24-2005, 09:35 AM

Hi,

See my dhcpd.conf file in a precedent post from the 11/22/2005 on the same
newsgroup, it works, subject is : "How to add a second DHCP server in a
network to use PXE boot without conflict with the first one ?"

Hilaire Verschuere
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Booting linux from tftp asdf Linux Networking 4 05-17-2009 02:23 AM
dhcp and pxe booting over a bonded network Jan Behrend Linux Networking 0 08-16-2005 09:04 AM
Net booting with dual DHCP servers Doug Farrell Linux Networking 5 09-29-2004 08:14 PM
Network booting diskless computer newton Linux Networking 3 10-02-2003 01:38 PM
Re-booting Windows machine from Linux box Timothy Murphy Linux Networking 1 07-27-2003 01:17 AM



1 2 3 4 5 6 7 8 9 10 11