Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.