WHy i cant get an ip address from my dhcp server?

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I installed DHCP server, DNS server, FTP server, and LAMP. but I can't get an IP address from my PC client to DHCP server



ddns-update-style none;

option domain-name "server.com";
option domain-name-servers ns.server.com;

default-lease-time 600;
max-lease-time 7200;

authoritative;
log-facility local7;

subnet 192.168.2.0 netmask 255.255.255.0 {

range 192.168.2.1 192.168.2.10;
option domain-name "server.com";
#option routers 192.168.1.1;
#option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option domain-name-servers 194.168.2.1, 8.8.8.8;
default-lease-time 600;
max-lease-time 7200;









share|improve this question























  • Please edit your question and add the content of your /etc/dhcp/dhcpd.conf file.
    – Doug Smythies
    Feb 1 at 16:11










  • i just edited my question and insert an image og my /etc/dhcp/dhcpd.conf file. i hope you can help me
    – vonn samson
    Feb 1 at 18:06










  • Try adding an authoritative directive. Myself, I would move the other options stuff outside of your pool braces, but don't know if it actually matters. It would be easier for us if you would copy and paste directly into your question rather than have us look at a screen shot.
    – Doug Smythies
    Feb 1 at 21:16










  • I put my actual configuration in my question. thank you for your help.
    – vonn samson
    Feb 2 at 1:43














up vote
0
down vote

favorite












I installed DHCP server, DNS server, FTP server, and LAMP. but I can't get an IP address from my PC client to DHCP server



ddns-update-style none;

option domain-name "server.com";
option domain-name-servers ns.server.com;

default-lease-time 600;
max-lease-time 7200;

authoritative;
log-facility local7;

subnet 192.168.2.0 netmask 255.255.255.0 {

range 192.168.2.1 192.168.2.10;
option domain-name "server.com";
#option routers 192.168.1.1;
#option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option domain-name-servers 194.168.2.1, 8.8.8.8;
default-lease-time 600;
max-lease-time 7200;









share|improve this question























  • Please edit your question and add the content of your /etc/dhcp/dhcpd.conf file.
    – Doug Smythies
    Feb 1 at 16:11










  • i just edited my question and insert an image og my /etc/dhcp/dhcpd.conf file. i hope you can help me
    – vonn samson
    Feb 1 at 18:06










  • Try adding an authoritative directive. Myself, I would move the other options stuff outside of your pool braces, but don't know if it actually matters. It would be easier for us if you would copy and paste directly into your question rather than have us look at a screen shot.
    – Doug Smythies
    Feb 1 at 21:16










  • I put my actual configuration in my question. thank you for your help.
    – vonn samson
    Feb 2 at 1:43












up vote
0
down vote

favorite









up vote
0
down vote

favorite











I installed DHCP server, DNS server, FTP server, and LAMP. but I can't get an IP address from my PC client to DHCP server



ddns-update-style none;

option domain-name "server.com";
option domain-name-servers ns.server.com;

default-lease-time 600;
max-lease-time 7200;

authoritative;
log-facility local7;

subnet 192.168.2.0 netmask 255.255.255.0 {

range 192.168.2.1 192.168.2.10;
option domain-name "server.com";
#option routers 192.168.1.1;
#option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option domain-name-servers 194.168.2.1, 8.8.8.8;
default-lease-time 600;
max-lease-time 7200;









share|improve this question















I installed DHCP server, DNS server, FTP server, and LAMP. but I can't get an IP address from my PC client to DHCP server



ddns-update-style none;

option domain-name "server.com";
option domain-name-servers ns.server.com;

default-lease-time 600;
max-lease-time 7200;

authoritative;
log-facility local7;

subnet 192.168.2.0 netmask 255.255.255.0 {

range 192.168.2.1 192.168.2.10;
option domain-name "server.com";
#option routers 192.168.1.1;
#option subnet-mask 255.255.255.0;
option broadcast-address 192.168.2.255;
option domain-name-servers 194.168.2.1, 8.8.8.8;
default-lease-time 600;
max-lease-time 7200;






dhcp






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 2 at 1:50









muru

131k19275471




131k19275471










asked Feb 1 at 16:05









vonn samson

11




11











  • Please edit your question and add the content of your /etc/dhcp/dhcpd.conf file.
    – Doug Smythies
    Feb 1 at 16:11










  • i just edited my question and insert an image og my /etc/dhcp/dhcpd.conf file. i hope you can help me
    – vonn samson
    Feb 1 at 18:06










  • Try adding an authoritative directive. Myself, I would move the other options stuff outside of your pool braces, but don't know if it actually matters. It would be easier for us if you would copy and paste directly into your question rather than have us look at a screen shot.
    – Doug Smythies
    Feb 1 at 21:16










  • I put my actual configuration in my question. thank you for your help.
    – vonn samson
    Feb 2 at 1:43
















  • Please edit your question and add the content of your /etc/dhcp/dhcpd.conf file.
    – Doug Smythies
    Feb 1 at 16:11










  • i just edited my question and insert an image og my /etc/dhcp/dhcpd.conf file. i hope you can help me
    – vonn samson
    Feb 1 at 18:06










  • Try adding an authoritative directive. Myself, I would move the other options stuff outside of your pool braces, but don't know if it actually matters. It would be easier for us if you would copy and paste directly into your question rather than have us look at a screen shot.
    – Doug Smythies
    Feb 1 at 21:16










  • I put my actual configuration in my question. thank you for your help.
    – vonn samson
    Feb 2 at 1:43















Please edit your question and add the content of your /etc/dhcp/dhcpd.conf file.
– Doug Smythies
Feb 1 at 16:11




Please edit your question and add the content of your /etc/dhcp/dhcpd.conf file.
– Doug Smythies
Feb 1 at 16:11












i just edited my question and insert an image og my /etc/dhcp/dhcpd.conf file. i hope you can help me
– vonn samson
Feb 1 at 18:06




i just edited my question and insert an image og my /etc/dhcp/dhcpd.conf file. i hope you can help me
– vonn samson
Feb 1 at 18:06












Try adding an authoritative directive. Myself, I would move the other options stuff outside of your pool braces, but don't know if it actually matters. It would be easier for us if you would copy and paste directly into your question rather than have us look at a screen shot.
– Doug Smythies
Feb 1 at 21:16




Try adding an authoritative directive. Myself, I would move the other options stuff outside of your pool braces, but don't know if it actually matters. It would be easier for us if you would copy and paste directly into your question rather than have us look at a screen shot.
– Doug Smythies
Feb 1 at 21:16












I put my actual configuration in my question. thank you for your help.
– vonn samson
Feb 2 at 1:43




I put my actual configuration in my question. thank you for your help.
– vonn samson
Feb 2 at 1:43















active

oldest

votes











Your Answer







StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "89"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: false,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













 

draft saved


draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002111%2fwhy-i-cant-get-an-ip-address-from-my-dhcp-server%23new-answer', 'question_page');

);

Post as a guest



































active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes















 

draft saved


draft discarded















































 


draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1002111%2fwhy-i-cant-get-an-ip-address-from-my-dhcp-server%23new-answer', 'question_page');

);

Post as a guest













































































Popular posts from this blog

GRUB: Fatal! inconsistent data read from (0x84) 0+xxxxxx

Do not install recommended packages of dependencies

What makes Checkinstall packages not suitable for distribution?