Debian dhcpd “No subnet declaration for eth0”
I am trying to set up a pxe boot server on a Debian 6.0.3 Squeeze machine that gives images of PLoP Linux. I was following a tutorial from http://www.plop.at/en/ploplinux/networkboot-linux.html#pxel12 .
When I try to start dhcpd (from package dhcp3-server), I get the following:
No subnet declaration for eth0 (10.0.0.0).
**Ignoring requests on eth0. If this is not what
you want, please write a subnet delclaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
My /etc/dhcpd.conf is identical to that in the tutorial save for a few changes:
host testpc {
hardware ethernet 00:0C:6E:A6:1A:E6;
fixed-address 10.0.0.250;
}
is instead
host tablet {
hardware ethernet 00:02:3F:FB:E2:6F;
fixed-address 10.0.0.249;
}
My /etc/network/interfaces is:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.0.0
netmask 255.255.255.0
And this is my /etc/default/isc-dhcp-server:
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0"
which I copied to /etc/default/dhcp3-server as well, unsure which it would check.
I also tried setting the ip in /etc/network/interfaces as 10.0.0.1 and 10.0.0.2, but it produced the same result.
debian dhcp pxe
add a comment |
I am trying to set up a pxe boot server on a Debian 6.0.3 Squeeze machine that gives images of PLoP Linux. I was following a tutorial from http://www.plop.at/en/ploplinux/networkboot-linux.html#pxel12 .
When I try to start dhcpd (from package dhcp3-server), I get the following:
No subnet declaration for eth0 (10.0.0.0).
**Ignoring requests on eth0. If this is not what
you want, please write a subnet delclaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
My /etc/dhcpd.conf is identical to that in the tutorial save for a few changes:
host testpc {
hardware ethernet 00:0C:6E:A6:1A:E6;
fixed-address 10.0.0.250;
}
is instead
host tablet {
hardware ethernet 00:02:3F:FB:E2:6F;
fixed-address 10.0.0.249;
}
My /etc/network/interfaces is:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.0.0
netmask 255.255.255.0
And this is my /etc/default/isc-dhcp-server:
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0"
which I copied to /etc/default/dhcp3-server as well, unsure which it would check.
I also tried setting the ip in /etc/network/interfaces as 10.0.0.1 and 10.0.0.2, but it produced the same result.
debian dhcp pxe
add a comment |
I am trying to set up a pxe boot server on a Debian 6.0.3 Squeeze machine that gives images of PLoP Linux. I was following a tutorial from http://www.plop.at/en/ploplinux/networkboot-linux.html#pxel12 .
When I try to start dhcpd (from package dhcp3-server), I get the following:
No subnet declaration for eth0 (10.0.0.0).
**Ignoring requests on eth0. If this is not what
you want, please write a subnet delclaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
My /etc/dhcpd.conf is identical to that in the tutorial save for a few changes:
host testpc {
hardware ethernet 00:0C:6E:A6:1A:E6;
fixed-address 10.0.0.250;
}
is instead
host tablet {
hardware ethernet 00:02:3F:FB:E2:6F;
fixed-address 10.0.0.249;
}
My /etc/network/interfaces is:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.0.0
netmask 255.255.255.0
And this is my /etc/default/isc-dhcp-server:
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0"
which I copied to /etc/default/dhcp3-server as well, unsure which it would check.
I also tried setting the ip in /etc/network/interfaces as 10.0.0.1 and 10.0.0.2, but it produced the same result.
debian dhcp pxe
I am trying to set up a pxe boot server on a Debian 6.0.3 Squeeze machine that gives images of PLoP Linux. I was following a tutorial from http://www.plop.at/en/ploplinux/networkboot-linux.html#pxel12 .
When I try to start dhcpd (from package dhcp3-server), I get the following:
No subnet declaration for eth0 (10.0.0.0).
**Ignoring requests on eth0. If this is not what
you want, please write a subnet delclaration
in your dhcpd.conf file for the network segment
to which interface eth0 is attached. **
Not configured to listen on any interfaces!
My /etc/dhcpd.conf is identical to that in the tutorial save for a few changes:
host testpc {
hardware ethernet 00:0C:6E:A6:1A:E6;
fixed-address 10.0.0.250;
}
is instead
host tablet {
hardware ethernet 00:02:3F:FB:E2:6F;
fixed-address 10.0.0.249;
}
My /etc/network/interfaces is:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 10.0.0.0
netmask 255.255.255.0
And this is my /etc/default/isc-dhcp-server:
# Defaults for dhcp initscript
# sourced by /etc/init.d/dhcp
# installed at /etc/default/isc-dhcp-server by the maintainer scripts
#
# This is a POSIX shell fragment
#
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACES="eth0"
which I copied to /etc/default/dhcp3-server as well, unsure which it would check.
I also tried setting the ip in /etc/network/interfaces as 10.0.0.1 and 10.0.0.2, but it produced the same result.
debian dhcp pxe
debian dhcp pxe
asked Mar 4 '12 at 6:31
SuchipiSuchipi
8043714
8043714
add a comment |
add a comment |
5 Answers
5
active
oldest
votes
Since dhcpd has to hand out IP addresses to clients, it needs to know the range of addresses that it is responsible for. The subnet declaration gives dhcpd that information and more. Assuming you're using 10.0.0/24, the following should get you started and past the error message, but you really need to get into the documentation to go further. Add this to your dhcpd.conf:
subnet 10.0.0.0 netmask 255.255.255.0 {
authoritative;
range 10.0.0.1 10.0.0.254;
default-lease-time 3600;
max-lease-time 3600;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option routers 10.0.0.0;
option domain-name-servers 8.8.8.8;
option domain-name "example.com";
}
The IP addresses I plugged in above are guesses. You've got to set these properly for your setup.
1
After adding this subnet declaration, I still get the same error. Is there any other place I have to define dhcpd to use eth0?
– Suchipi
Mar 4 '12 at 17:59
Nevermind- I just used dnsmasq instead and it worked. Thanks for your help anyway, though!
– Suchipi
Mar 4 '12 at 18:53
hi guys sorry for interrupt, I need a help on dhcp server. Could you check this one unix.stackexchange.com/questions/140387/…
– Beginner
Jul 3 '14 at 7:53
add a comment |
The problem is that 10.0.0.0 is not a valid IPv4 address. The first address in the subnet (the address with all zeros for the host portion) is the subnet identifier and therefore is not a valid host address. Try 10.0.0.1. You should also avoid the last address in a subnet, as that's the IP broadcast address.
Decimal:
Address: 10 .0 .0 .0
Subnet Mask: 255.255.255.255
Hex:
Address: 0A 00 00 00
Subnet Mask: FF FF FF 00
Network: ^^ ^^ ^^
Host: ^^
Smallest Addr: 01 (.1)
Largest Addr: FE (.254)
Broadcast: FF (.255)
add a comment |
I ended up just purging dhcp3-server and using dnsmasq instead. I went through the configuration file for it and was able to use the examples it had commented to configure my server how I needed. dnsmasq also has a built in tftp server that I used for the PXE boot.
I am having the same problem as you did here I was wondering if you can share some light on this or share your dnsmasq.conf please…Thanks!
– user1680784
Jun 26 '14 at 21:21
@user1680784 I no longer have the system that was set up to do this so I cannot share my config file. While I do not know what you are trying to accomplish specifically, if you are having trouble configuring dhcpd or dnsmasq by hand you may want to try using DRBL to give out Linux boot images.
– Suchipi
Jun 26 '14 at 22:57
add a comment |
Check with
ifconfig eth0
If your interface eth0 has the correct ipv4
(it seems you set it to address 10.0.0.0 which would be invalid anyway)
if it has an IP in the wrong range, give it a new adress for example with:
ifconfig eth0 10.0.0.1
then try restarting your dhcp server
add a comment |
Removing dnsmasq solved my problem
sudo apt-get -y remove dnsmasq
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
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',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f33376%2fdebian-dhcpd-no-subnet-declaration-for-eth0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
5 Answers
5
active
oldest
votes
5 Answers
5
active
oldest
votes
active
oldest
votes
active
oldest
votes
Since dhcpd has to hand out IP addresses to clients, it needs to know the range of addresses that it is responsible for. The subnet declaration gives dhcpd that information and more. Assuming you're using 10.0.0/24, the following should get you started and past the error message, but you really need to get into the documentation to go further. Add this to your dhcpd.conf:
subnet 10.0.0.0 netmask 255.255.255.0 {
authoritative;
range 10.0.0.1 10.0.0.254;
default-lease-time 3600;
max-lease-time 3600;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option routers 10.0.0.0;
option domain-name-servers 8.8.8.8;
option domain-name "example.com";
}
The IP addresses I plugged in above are guesses. You've got to set these properly for your setup.
1
After adding this subnet declaration, I still get the same error. Is there any other place I have to define dhcpd to use eth0?
– Suchipi
Mar 4 '12 at 17:59
Nevermind- I just used dnsmasq instead and it worked. Thanks for your help anyway, though!
– Suchipi
Mar 4 '12 at 18:53
hi guys sorry for interrupt, I need a help on dhcp server. Could you check this one unix.stackexchange.com/questions/140387/…
– Beginner
Jul 3 '14 at 7:53
add a comment |
Since dhcpd has to hand out IP addresses to clients, it needs to know the range of addresses that it is responsible for. The subnet declaration gives dhcpd that information and more. Assuming you're using 10.0.0/24, the following should get you started and past the error message, but you really need to get into the documentation to go further. Add this to your dhcpd.conf:
subnet 10.0.0.0 netmask 255.255.255.0 {
authoritative;
range 10.0.0.1 10.0.0.254;
default-lease-time 3600;
max-lease-time 3600;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option routers 10.0.0.0;
option domain-name-servers 8.8.8.8;
option domain-name "example.com";
}
The IP addresses I plugged in above are guesses. You've got to set these properly for your setup.
1
After adding this subnet declaration, I still get the same error. Is there any other place I have to define dhcpd to use eth0?
– Suchipi
Mar 4 '12 at 17:59
Nevermind- I just used dnsmasq instead and it worked. Thanks for your help anyway, though!
– Suchipi
Mar 4 '12 at 18:53
hi guys sorry for interrupt, I need a help on dhcp server. Could you check this one unix.stackexchange.com/questions/140387/…
– Beginner
Jul 3 '14 at 7:53
add a comment |
Since dhcpd has to hand out IP addresses to clients, it needs to know the range of addresses that it is responsible for. The subnet declaration gives dhcpd that information and more. Assuming you're using 10.0.0/24, the following should get you started and past the error message, but you really need to get into the documentation to go further. Add this to your dhcpd.conf:
subnet 10.0.0.0 netmask 255.255.255.0 {
authoritative;
range 10.0.0.1 10.0.0.254;
default-lease-time 3600;
max-lease-time 3600;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option routers 10.0.0.0;
option domain-name-servers 8.8.8.8;
option domain-name "example.com";
}
The IP addresses I plugged in above are guesses. You've got to set these properly for your setup.
Since dhcpd has to hand out IP addresses to clients, it needs to know the range of addresses that it is responsible for. The subnet declaration gives dhcpd that information and more. Assuming you're using 10.0.0/24, the following should get you started and past the error message, but you really need to get into the documentation to go further. Add this to your dhcpd.conf:
subnet 10.0.0.0 netmask 255.255.255.0 {
authoritative;
range 10.0.0.1 10.0.0.254;
default-lease-time 3600;
max-lease-time 3600;
option subnet-mask 255.255.255.0;
option broadcast-address 10.0.0.255;
option routers 10.0.0.0;
option domain-name-servers 8.8.8.8;
option domain-name "example.com";
}
The IP addresses I plugged in above are guesses. You've got to set these properly for your setup.
edited 11 mins ago
Brett Holman
426
426
answered Mar 4 '12 at 8:05
Kyle JonesKyle Jones
11.7k23149
11.7k23149
1
After adding this subnet declaration, I still get the same error. Is there any other place I have to define dhcpd to use eth0?
– Suchipi
Mar 4 '12 at 17:59
Nevermind- I just used dnsmasq instead and it worked. Thanks for your help anyway, though!
– Suchipi
Mar 4 '12 at 18:53
hi guys sorry for interrupt, I need a help on dhcp server. Could you check this one unix.stackexchange.com/questions/140387/…
– Beginner
Jul 3 '14 at 7:53
add a comment |
1
After adding this subnet declaration, I still get the same error. Is there any other place I have to define dhcpd to use eth0?
– Suchipi
Mar 4 '12 at 17:59
Nevermind- I just used dnsmasq instead and it worked. Thanks for your help anyway, though!
– Suchipi
Mar 4 '12 at 18:53
hi guys sorry for interrupt, I need a help on dhcp server. Could you check this one unix.stackexchange.com/questions/140387/…
– Beginner
Jul 3 '14 at 7:53
1
1
After adding this subnet declaration, I still get the same error. Is there any other place I have to define dhcpd to use eth0?
– Suchipi
Mar 4 '12 at 17:59
After adding this subnet declaration, I still get the same error. Is there any other place I have to define dhcpd to use eth0?
– Suchipi
Mar 4 '12 at 17:59
Nevermind- I just used dnsmasq instead and it worked. Thanks for your help anyway, though!
– Suchipi
Mar 4 '12 at 18:53
Nevermind- I just used dnsmasq instead and it worked. Thanks for your help anyway, though!
– Suchipi
Mar 4 '12 at 18:53
hi guys sorry for interrupt, I need a help on dhcp server. Could you check this one unix.stackexchange.com/questions/140387/…
– Beginner
Jul 3 '14 at 7:53
hi guys sorry for interrupt, I need a help on dhcp server. Could you check this one unix.stackexchange.com/questions/140387/…
– Beginner
Jul 3 '14 at 7:53
add a comment |
The problem is that 10.0.0.0 is not a valid IPv4 address. The first address in the subnet (the address with all zeros for the host portion) is the subnet identifier and therefore is not a valid host address. Try 10.0.0.1. You should also avoid the last address in a subnet, as that's the IP broadcast address.
Decimal:
Address: 10 .0 .0 .0
Subnet Mask: 255.255.255.255
Hex:
Address: 0A 00 00 00
Subnet Mask: FF FF FF 00
Network: ^^ ^^ ^^
Host: ^^
Smallest Addr: 01 (.1)
Largest Addr: FE (.254)
Broadcast: FF (.255)
add a comment |
The problem is that 10.0.0.0 is not a valid IPv4 address. The first address in the subnet (the address with all zeros for the host portion) is the subnet identifier and therefore is not a valid host address. Try 10.0.0.1. You should also avoid the last address in a subnet, as that's the IP broadcast address.
Decimal:
Address: 10 .0 .0 .0
Subnet Mask: 255.255.255.255
Hex:
Address: 0A 00 00 00
Subnet Mask: FF FF FF 00
Network: ^^ ^^ ^^
Host: ^^
Smallest Addr: 01 (.1)
Largest Addr: FE (.254)
Broadcast: FF (.255)
add a comment |
The problem is that 10.0.0.0 is not a valid IPv4 address. The first address in the subnet (the address with all zeros for the host portion) is the subnet identifier and therefore is not a valid host address. Try 10.0.0.1. You should also avoid the last address in a subnet, as that's the IP broadcast address.
Decimal:
Address: 10 .0 .0 .0
Subnet Mask: 255.255.255.255
Hex:
Address: 0A 00 00 00
Subnet Mask: FF FF FF 00
Network: ^^ ^^ ^^
Host: ^^
Smallest Addr: 01 (.1)
Largest Addr: FE (.254)
Broadcast: FF (.255)
The problem is that 10.0.0.0 is not a valid IPv4 address. The first address in the subnet (the address with all zeros for the host portion) is the subnet identifier and therefore is not a valid host address. Try 10.0.0.1. You should also avoid the last address in a subnet, as that's the IP broadcast address.
Decimal:
Address: 10 .0 .0 .0
Subnet Mask: 255.255.255.255
Hex:
Address: 0A 00 00 00
Subnet Mask: FF FF FF 00
Network: ^^ ^^ ^^
Host: ^^
Smallest Addr: 01 (.1)
Largest Addr: FE (.254)
Broadcast: FF (.255)
answered Jan 20 '18 at 8:20
HuckleHuckle
359418
359418
add a comment |
add a comment |
I ended up just purging dhcp3-server and using dnsmasq instead. I went through the configuration file for it and was able to use the examples it had commented to configure my server how I needed. dnsmasq also has a built in tftp server that I used for the PXE boot.
I am having the same problem as you did here I was wondering if you can share some light on this or share your dnsmasq.conf please…Thanks!
– user1680784
Jun 26 '14 at 21:21
@user1680784 I no longer have the system that was set up to do this so I cannot share my config file. While I do not know what you are trying to accomplish specifically, if you are having trouble configuring dhcpd or dnsmasq by hand you may want to try using DRBL to give out Linux boot images.
– Suchipi
Jun 26 '14 at 22:57
add a comment |
I ended up just purging dhcp3-server and using dnsmasq instead. I went through the configuration file for it and was able to use the examples it had commented to configure my server how I needed. dnsmasq also has a built in tftp server that I used for the PXE boot.
I am having the same problem as you did here I was wondering if you can share some light on this or share your dnsmasq.conf please…Thanks!
– user1680784
Jun 26 '14 at 21:21
@user1680784 I no longer have the system that was set up to do this so I cannot share my config file. While I do not know what you are trying to accomplish specifically, if you are having trouble configuring dhcpd or dnsmasq by hand you may want to try using DRBL to give out Linux boot images.
– Suchipi
Jun 26 '14 at 22:57
add a comment |
I ended up just purging dhcp3-server and using dnsmasq instead. I went through the configuration file for it and was able to use the examples it had commented to configure my server how I needed. dnsmasq also has a built in tftp server that I used for the PXE boot.
I ended up just purging dhcp3-server and using dnsmasq instead. I went through the configuration file for it and was able to use the examples it had commented to configure my server how I needed. dnsmasq also has a built in tftp server that I used for the PXE boot.
answered Mar 4 '12 at 18:56
SuchipiSuchipi
8043714
8043714
I am having the same problem as you did here I was wondering if you can share some light on this or share your dnsmasq.conf please…Thanks!
– user1680784
Jun 26 '14 at 21:21
@user1680784 I no longer have the system that was set up to do this so I cannot share my config file. While I do not know what you are trying to accomplish specifically, if you are having trouble configuring dhcpd or dnsmasq by hand you may want to try using DRBL to give out Linux boot images.
– Suchipi
Jun 26 '14 at 22:57
add a comment |
I am having the same problem as you did here I was wondering if you can share some light on this or share your dnsmasq.conf please…Thanks!
– user1680784
Jun 26 '14 at 21:21
@user1680784 I no longer have the system that was set up to do this so I cannot share my config file. While I do not know what you are trying to accomplish specifically, if you are having trouble configuring dhcpd or dnsmasq by hand you may want to try using DRBL to give out Linux boot images.
– Suchipi
Jun 26 '14 at 22:57
I am having the same problem as you did here I was wondering if you can share some light on this or share your dnsmasq.conf please…Thanks!
– user1680784
Jun 26 '14 at 21:21
I am having the same problem as you did here I was wondering if you can share some light on this or share your dnsmasq.conf please…Thanks!
– user1680784
Jun 26 '14 at 21:21
@user1680784 I no longer have the system that was set up to do this so I cannot share my config file. While I do not know what you are trying to accomplish specifically, if you are having trouble configuring dhcpd or dnsmasq by hand you may want to try using DRBL to give out Linux boot images.
– Suchipi
Jun 26 '14 at 22:57
@user1680784 I no longer have the system that was set up to do this so I cannot share my config file. While I do not know what you are trying to accomplish specifically, if you are having trouble configuring dhcpd or dnsmasq by hand you may want to try using DRBL to give out Linux boot images.
– Suchipi
Jun 26 '14 at 22:57
add a comment |
Check with
ifconfig eth0
If your interface eth0 has the correct ipv4
(it seems you set it to address 10.0.0.0 which would be invalid anyway)
if it has an IP in the wrong range, give it a new adress for example with:
ifconfig eth0 10.0.0.1
then try restarting your dhcp server
add a comment |
Check with
ifconfig eth0
If your interface eth0 has the correct ipv4
(it seems you set it to address 10.0.0.0 which would be invalid anyway)
if it has an IP in the wrong range, give it a new adress for example with:
ifconfig eth0 10.0.0.1
then try restarting your dhcp server
add a comment |
Check with
ifconfig eth0
If your interface eth0 has the correct ipv4
(it seems you set it to address 10.0.0.0 which would be invalid anyway)
if it has an IP in the wrong range, give it a new adress for example with:
ifconfig eth0 10.0.0.1
then try restarting your dhcp server
Check with
ifconfig eth0
If your interface eth0 has the correct ipv4
(it seems you set it to address 10.0.0.0 which would be invalid anyway)
if it has an IP in the wrong range, give it a new adress for example with:
ifconfig eth0 10.0.0.1
then try restarting your dhcp server
answered Feb 9 '17 at 22:52
rubo77rubo77
7,8872573136
7,8872573136
add a comment |
add a comment |
Removing dnsmasq solved my problem
sudo apt-get -y remove dnsmasq
add a comment |
Removing dnsmasq solved my problem
sudo apt-get -y remove dnsmasq
add a comment |
Removing dnsmasq solved my problem
sudo apt-get -y remove dnsmasq
Removing dnsmasq solved my problem
sudo apt-get -y remove dnsmasq
answered Dec 18 '17 at 16:06
Fathur RohimFathur Rohim
1011
1011
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f33376%2fdebian-dhcpd-no-subnet-declaration-for-eth0%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown