LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-09-2012, 08:58 PM   #1
miszum
LQ Newbie
 
Registered: Jul 2011
Posts: 12

Rep: Reputation: Disabled
Configure PXE server on RHEL 6


I am trying to configure /etc/dhcp/dhcpd.conf file to get a PXE server working on RHEL6 server. But the client complains about "no DHCP offers were received."
I have the conf file as below and then I just restart the dhcpd service. The pxelinux.0 is in /var/lib/tftpboot/ directory. What am i doing wrong?
192.168.95.12 is the port of the server.
========
authoritative;
ddns-update-style none;
allow booting;
allow bootp;
subnet 192.168.80.0 netmask 255.255.240.0 {
range 192.168.84.64 192.168.84.127;
default-lease-time 36000;
max-lease-time 100000;
next-server 192.168.95.12;
filename "pxelinux.0";
}
 
Old 05-09-2012, 09:33 PM   #2
smallpond
Senior Member
 
Registered: Feb 2011
Location: Massachusetts, USA
Distribution: Fedora
Posts: 4,149

Rep: Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264Reputation: 1264
Check syslog for dhcpd errors.
Check the leases file to see if the server thinks it offered a lease.
If it's not the server, try ping 192.168.95.12 from the client to make sure the net is working.
 
Old 05-10-2012, 02:02 PM   #3
miszum
LQ Newbie
 
Registered: Jul 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks for the reply. I see my IPs there (from the range I gave) but not MACs are not for my clients. How is that? I am using vlan for this pxe setup. So this is vlan issue?
======
# The format of this file is documented in the dhcpd.leases(5) manual page.
# This lease file was written by isc-dhcp-4.1.1-P1

lease 192.168.85.5 { this is the IP from my range
starts 4 2012/05/10 17:01:51;
ends 4 2012/05/10 17:11:51;
tstp 4 2012/05/10 17:11:51;
cltt 4 2012/05/10 17:01:51;
binding state free;
hardware ethernet 2c:27:d7:52:bb:b0; NOT MY MAC
uid "\001,'\327R\273\260";
}
lease 192.168.85.6 { this is the IP from my range
starts 4 2012/05/10 17:01:54;
ends 4 2012/05/10 17:11:54;
tstp 4 2012/05/10 17:11:54;
cltt 4 2012/05/10 17:01:54;
binding state free;
hardware ethernet 2c:27:d7:52:bb:b4; NOT MY MAC
uid "\001,'\327R\273\264";
}
server-duid "\000\001\000\001\027<A\373\000\300\335\020v\364";
 
Old 05-10-2012, 08:09 PM   #4
miszum
LQ Newbie
 
Registered: Jul 2011
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thanks. It was a vlan issue. It works now.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] PXE Server setup in RHEL linuxunix Linux - Newbie 1 01-06-2012 01:13 AM
how to configure yum server on rhel-5 without use of internet? jayaswalsnehil Linux - Newbie 1 01-17-2011 03:56 AM
How to configure RHEL5 PXE Install Server santanuray Linux - General 1 01-13-2010 03:38 AM
RHEL 5 PXE Server configuration amplifire Linux - Server 3 05-14-2009 09:36 PM
How to configure DHCP server for ( 1 server + 500 Clients) in RHEL 4 paulin Linux - General 4 07-18-2007 08:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration