DHCP issue with linux server


(Nirosh Chaminda) #1

I am totally stucked with the ip range of my network. Can you explain me to how to extend dhcp ip range without restarting linux server. I tried editing dhcpd.conf file. But it is never save changes. thanks very much


(saikrishnavedaraju) #2

Hi,

May I know which class of IP u have assigned and subnet mask.


(Giacomo Sanchietti) #3

Just use the web interface, DHCP -> Range. See http://docs.nethserver.org/en/latest/dhcp.html


(saikrishnavedaraju) #4

Hi

you can watch the tutorial u will get some basic knowledge on it.

Thank you.


(Nirosh Chaminda) #5

The class of ip 255.255.255.0
ip range is 192.168.100.1 - 192.168.100.10

this is not enough now to backup the datas. Please help me to edit this range without restarting the server. because there is a message in server " you must restart". I made little changes and i am affraid of any problem to users. Because i am new to nethserver systems and linux. thanks for helping me


(saikrishnavedaraju) #6

Please go through the image. and extend ur range as u wish as per ur ip addresses.

Go to dashboard- services- check dhcp is running or not. and if require restart the dhcp service


(Nirosh Chaminda) #7

That sounds good. but it is asking to restart the server. Ok, Can you help me to linux command or editing and saving dhcpd.conf file. Once i done it, but dhcpd.conf file reverts back to the status it was before every time i edit and restart the dhcpd service. thats why i so tired of being search for the correct one for help me. thanks.


(saikrishnavedaraju) #8

Check this link. Hope it will be useful for you.

http://linuxconfig.org/what-is-dhcp-and-how-to-configure-dhcp-server-in-linux

After checking this if it not works then I guess u r stucked with some updates of RPM so it is not taking ur response, because of that it is asking for restart.


(Stefano) #9

changing dhcp ip range doesn’t need a server restart…
can you please take a snapshot of the “please restart your server” message?

you have to read and learn a bit how NS works… it’s not a “common” linux distro… and, IIRC, in the top (header) of dhcpd.conf you’d have a woarning about direct editing of that file.

please, seriously, take some time to study how NS works, since you said you’re unexperienced and you have some users behind your server…


(Jose G Jimenez S ) #10

You do not need to edit anything. It is easy


(Stefano) #11

OP already had the answer, in another place, for another linux distro… :slight_smile:


(Nirosh Chaminda) #12

Of cause. thank you all for supporting me. Because i am very new to linux, nethservice, it is very difficult to understand the theory. thank you all


(Jose G Jimenez S ) #13

Things get difficult, if you put your mind.

We are here to help and guide.

Regards.


(Alessio Fattorini) #14

That’s not NethServer indeed, you’re talking about something else. Please add screenshots and details following this guide

EDIT: NethServer never asks for reboot


(Jose "Martin" Abeleira. AKA Marto) #15

you need to restart dhcp server in order to take the changes.

service dhcpd restart or service dhcpd6 restart


(Stefano) #16

nevermind, as I said, his question was about another OS (SME)… he had answer “on the other side” :wink:


(Alessio Fattorini) #17

@ns_nirosh You’re asking questions about other products, this is not NethServer.
Please be aware of that and don’t take advantage of the kindness of others
Cheers

This topic is now closed. New replies are no longer allowed.