LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-26-2013, 08:30 AM   #16
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965

Quote:
Originally Posted by amartlk View Post
Guru
i want to bind mac addreess to fixed address and no pc will get ip until it's mac address entered in dhcpd.conf file ,and i got it as per your solution
Which is not what you originally asked, and I did NOT post how to do that, but glad that it's working.
Quote:
but now my question is for 100 pcs i have to enter 100 entries manually any alternative for same .
Did you not understand the past TWO TIMES you were told yes?

Pay attention: YOU specifically said you didn't want people to get an address until you entered the MAC address into DHCP...and now you're asking if there's any alternative to doing it?? Yes, there is...use DHCP for what it was intended for: let it automatically give out addresses. Otherwise, AGAIN, you will have to manually enter them, WHICH IS WHAT YOU ASKED FOR.
 
Old 08-28-2013, 01:04 AM   #17
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
Hi guru

you not understand what i trying to same , i want mac bind to each ip in dhcp for that i have to manually enter entries for 100 pc's

my question is that any GUI or any script so that i will enter all this entries at one click
 
Old 08-28-2013, 08:39 AM   #18
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,635

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by amartlk View Post
Hi guru
you not understand what i trying to same , i want mac bind to each ip in dhcp for that i have to manually enter entries for 100 pc's

my question is that any GUI or any script so that i will enter all this entries at one click
No, I understand it quite well...YOU are not understanding the answer, and you keep changing the question. You asked in your last post if there was 'any alternative to same', for entering addresses into the DHCP file. There isn't, and won't be. Now you're asking if there's a GUI or script.

If you want the entries in there, you have to PUT them there. There is no 'one-click' way to do this...YOU need to edit the file manually, and restart the service. If you want to write a script, then feel free to.

AGAIN, this makes NO SENSE at all. You are NOT making DHCP more secure, and you are NOT preventing anyone from getting on your network by doing this. All you're doing is making things harder to administrate.

Last edited by TB0ne; 08-28-2013 at 08:41 AM.
 
1 members found this post helpful.
Old 08-28-2013, 10:56 AM   #19
SAbhi
Member
 
Registered: Aug 2009
Location: Bangaluru, India
Distribution: CentOS 6.5, SuSE SLED/ SLES 10.2 SP2 /11.2, Fedora 11/16
Posts: 665

Rep: Reputation: Disabled
Quote:
Originally Posted by amartlk View Post
Hi guru

you not understand what i trying to same , i want mac bind to each ip in dhcp for that i have to manually enter entries for 100 pc's

my question is that any GUI or any script so that i will enter all this entries at one click
Amar,

for a more easy way what we are trying to tell you since last 4-5 times, there is no other way of doing this automatically with one or two or even 50 clicks...

if you want this to be set up in your DHCP configs you have to do it manually with your own hands on keyboard.

And seriously this makes no sense at all..

Last edited by SAbhi; 08-28-2013 at 11:00 AM.
 
1 members found this post helpful.
Old 08-29-2013, 07:14 AM   #20
amartlk
Member
 
Registered: Sep 2010
Location: Nagpur India
Posts: 347

Original Poster
Rep: Reputation: 1
Thanks all of us !!!!
 
Old 09-05-2013, 12:13 PM   #21
NM04
Member
 
Registered: Jan 2011
Distribution: Back Track,Fedora,centos
Posts: 240

Rep: Reputation: 14
amartlk,
if your problem is solved then mark this thread as solved.

cheers,
nm
 
  


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
Two DHCP ranges in one DHCP server using one NIC on a MPLS network - centos6 6.3 x64 pablobhz Linux - Newbie 7 03-04-2013 04:22 PM
Baffling DNS from a DHCP server problem. Appears to be ignoring dhcp.conf royce2020 Linux - Networking 1 02-16-2010 12:40 PM
Problem on acquiring IP addr. on client from dhcp server through dhcp relay server haariseshu Linux - Server 5 08-10-2009 01:20 AM
Instead of Router DHCP Server, Pass DHCP Server control to Slackware orbit Slackware 6 05-11-2009 02:00 AM
XP Pro Build 2600/sp1 v.1105 DHCP Client to Redhat 8.0 DHCP Server - Problems atomant Linux - Networking 5 06-28-2003 11:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:58 AM.

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