Dnsmasq/Ubuntu “NoDHCP or proxyDHCP offers were received”2019 Community Moderator ElectionDebian dhcpd “No subnet declaration for eth0”Renew IP with dhclient on different interfacesHow to get rid of dummy interface?dnsmasq - flooding daemon.log with messagesdhclient giving weird address when hostapd and dnsmasq are installed but not runningHow to disable default NIC after a PXE BOOTUbuntu 16.04 not getting dhcp leaseHow to automaticaly assign network settings for dhcp server own interface with dnsmasq?DHCP server does not send all DNS servers in DHCP offerPXE boot times out after initial set up
"Spoil" vs "Ruin"
Is it improper etiquette to ask your opponent what his/her rating is before the game?
Why does the Sun have different day lengths, but not the gas giants?
How to implement a feedback to keep the DC gain at zero for this conceptual passive filter?
Are the IPv6 address space and IPv4 address space completely disjoint?
Loading commands from file
Did Swami Prabhupada reject Advaita?
Is it better practice to read straight from sheet music rather than memorize it?
Can I sign legal documents with a smiley face?
Has any country ever had 2 former presidents in jail simultaneously?
Why did the Mercure fail?
The IT department bottlenecks progress. How should I handle this?
Where does the bonus feat in the cleric starting package come from?
Longest common substring in linear time
What if a revenant (monster) gains fire resistance?
Delivering sarcasm
Offered money to buy a house, seller is asking for more to cover gap between their listing and mortgage owed
Is there any references on the tensor product of presentable (1-)categories?
Does an advisor owe his/her student anything? Will an advisor keep a PhD student only out of pity?
Creepy dinosaur pc game identification
What should you do when eye contact makes your subordinate uncomfortable?
Why electric field inside a cavity of a non-conducting sphere not zero?
2.8 Why are collections grayed out? How can I open them?
On a tidally locked planet, would time be quantized?
Dnsmasq/Ubuntu “NoDHCP or proxyDHCP offers were received”
2019 Community Moderator ElectionDebian dhcpd “No subnet declaration for eth0”Renew IP with dhclient on different interfacesHow to get rid of dummy interface?dnsmasq - flooding daemon.log with messagesdhclient giving weird address when hostapd and dnsmasq are installed but not runningHow to disable default NIC after a PXE BOOTUbuntu 16.04 not getting dhcp leaseHow to automaticaly assign network settings for dhcp server own interface with dnsmasq?DHCP server does not send all DNS servers in DHCP offerPXE boot times out after initial set up
I've spun up a Ubuntu 18.04 (Bionic Beaver) server* with the intention of mounting the DBAN .iso so that I can PXE boot this. *server version of Ubuntu but this is actually desktop hardware (a Dell Optiplex 3020).
I found a guide for configuring this on an older version of Ubuntu which seemed to be more or less the same (except the naming convention for network interfaces). Having followed the steps, I can't actually get the PXE boot from another machine (connected to the server via a switch) working, and as best I can tell this is to do with the configuration of dnsmasq which is being used as the DHCP server. The error I receive is
PXE-EH1: No DHCP or proxyDHCP offers were received.
PXE-MOF: Exiting PXE ROM
Between the initial guide I was following and some other forums and such I have found whilst troubleshooting I have cobbled together the following /etc/dnsmasq.conf
dhcp-authoritative
interface=enp2s0
bind-interfaces
dhcp-options=3,0.0.0.0
dhcp-options=6,0.0.0.0
dhcp-range=10.0.0.2,10.0.0.254,6h
dhcp-boot=pxelinux.0,dban-server,10.0.0.1
When I run dnsmasq --test the syntax check is OK. And if I restart dnsmasq it throws no errors.
For info the initial config was as below and was only changed when I was having the same issue as I am now.
dhcp-range=10.0.0.2,10.0.0.254,6h
dhcp-boot=pxelinux.0,dban-server,10.0.0.1
interface=enp2s0
I think the rest of my setup is OK, but as I can't seem to get dnsmasq to issue a DHCP lease to the other machines.
ubuntu networking dhcp dnsmasq pxe
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I've spun up a Ubuntu 18.04 (Bionic Beaver) server* with the intention of mounting the DBAN .iso so that I can PXE boot this. *server version of Ubuntu but this is actually desktop hardware (a Dell Optiplex 3020).
I found a guide for configuring this on an older version of Ubuntu which seemed to be more or less the same (except the naming convention for network interfaces). Having followed the steps, I can't actually get the PXE boot from another machine (connected to the server via a switch) working, and as best I can tell this is to do with the configuration of dnsmasq which is being used as the DHCP server. The error I receive is
PXE-EH1: No DHCP or proxyDHCP offers were received.
PXE-MOF: Exiting PXE ROM
Between the initial guide I was following and some other forums and such I have found whilst troubleshooting I have cobbled together the following /etc/dnsmasq.conf
dhcp-authoritative
interface=enp2s0
bind-interfaces
dhcp-options=3,0.0.0.0
dhcp-options=6,0.0.0.0
dhcp-range=10.0.0.2,10.0.0.254,6h
dhcp-boot=pxelinux.0,dban-server,10.0.0.1
When I run dnsmasq --test the syntax check is OK. And if I restart dnsmasq it throws no errors.
For info the initial config was as below and was only changed when I was having the same issue as I am now.
dhcp-range=10.0.0.2,10.0.0.254,6h
dhcp-boot=pxelinux.0,dban-server,10.0.0.1
interface=enp2s0
I think the rest of my setup is OK, but as I can't seem to get dnsmasq to issue a DHCP lease to the other machines.
ubuntu networking dhcp dnsmasq pxe
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
I've spun up a Ubuntu 18.04 (Bionic Beaver) server* with the intention of mounting the DBAN .iso so that I can PXE boot this. *server version of Ubuntu but this is actually desktop hardware (a Dell Optiplex 3020).
I found a guide for configuring this on an older version of Ubuntu which seemed to be more or less the same (except the naming convention for network interfaces). Having followed the steps, I can't actually get the PXE boot from another machine (connected to the server via a switch) working, and as best I can tell this is to do with the configuration of dnsmasq which is being used as the DHCP server. The error I receive is
PXE-EH1: No DHCP or proxyDHCP offers were received.
PXE-MOF: Exiting PXE ROM
Between the initial guide I was following and some other forums and such I have found whilst troubleshooting I have cobbled together the following /etc/dnsmasq.conf
dhcp-authoritative
interface=enp2s0
bind-interfaces
dhcp-options=3,0.0.0.0
dhcp-options=6,0.0.0.0
dhcp-range=10.0.0.2,10.0.0.254,6h
dhcp-boot=pxelinux.0,dban-server,10.0.0.1
When I run dnsmasq --test the syntax check is OK. And if I restart dnsmasq it throws no errors.
For info the initial config was as below and was only changed when I was having the same issue as I am now.
dhcp-range=10.0.0.2,10.0.0.254,6h
dhcp-boot=pxelinux.0,dban-server,10.0.0.1
interface=enp2s0
I think the rest of my setup is OK, but as I can't seem to get dnsmasq to issue a DHCP lease to the other machines.
ubuntu networking dhcp dnsmasq pxe
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I've spun up a Ubuntu 18.04 (Bionic Beaver) server* with the intention of mounting the DBAN .iso so that I can PXE boot this. *server version of Ubuntu but this is actually desktop hardware (a Dell Optiplex 3020).
I found a guide for configuring this on an older version of Ubuntu which seemed to be more or less the same (except the naming convention for network interfaces). Having followed the steps, I can't actually get the PXE boot from another machine (connected to the server via a switch) working, and as best I can tell this is to do with the configuration of dnsmasq which is being used as the DHCP server. The error I receive is
PXE-EH1: No DHCP or proxyDHCP offers were received.
PXE-MOF: Exiting PXE ROM
Between the initial guide I was following and some other forums and such I have found whilst troubleshooting I have cobbled together the following /etc/dnsmasq.conf
dhcp-authoritative
interface=enp2s0
bind-interfaces
dhcp-options=3,0.0.0.0
dhcp-options=6,0.0.0.0
dhcp-range=10.0.0.2,10.0.0.254,6h
dhcp-boot=pxelinux.0,dban-server,10.0.0.1
When I run dnsmasq --test the syntax check is OK. And if I restart dnsmasq it throws no errors.
For info the initial config was as below and was only changed when I was having the same issue as I am now.
dhcp-range=10.0.0.2,10.0.0.254,6h
dhcp-boot=pxelinux.0,dban-server,10.0.0.1
interface=enp2s0
I think the rest of my setup is OK, but as I can't seem to get dnsmasq to issue a DHCP lease to the other machines.
ubuntu networking dhcp dnsmasq pxe
ubuntu networking dhcp dnsmasq pxe
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
edited yesterday
Rui F Ribeiro
41.6k1483141
41.6k1483141
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked yesterday
AstinTeebAstinTeeb
112
112
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
Got to the bottom of this - definitely just me knowing nothing about Linux. On the off chance that anyone else has the same issue:
It turned out by default IPv4 was disabled, noticed in ifconfig that the interface only had an IPv6 address. Open network config file:
sudo nano /etc/netplan/50-cloud-init.yaml
Then disabled DHCP and set an IPv4 address so the file reads as:
network:
ethernets:
enp2s0:
dhcp4: no
addresses: [10.0.0.1/24]
version: 2
Make sure you use spaces not tabs in this file as it does not work when tabs are used. And obviously make sure you are using your own interface (mine is enp2s0) and the static address and netmask that you want.
Once you've saved the file enter
sudo netplan apply
That's what worked for me anyway - all other configurations worked as expected.
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
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
);
);
AstinTeeb is a new contributor. Be nice, and check out our Code of Conduct.
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%2f507993%2fdnsmasq-ubuntu-nodhcp-or-proxydhcp-offers-were-received%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
Got to the bottom of this - definitely just me knowing nothing about Linux. On the off chance that anyone else has the same issue:
It turned out by default IPv4 was disabled, noticed in ifconfig that the interface only had an IPv6 address. Open network config file:
sudo nano /etc/netplan/50-cloud-init.yaml
Then disabled DHCP and set an IPv4 address so the file reads as:
network:
ethernets:
enp2s0:
dhcp4: no
addresses: [10.0.0.1/24]
version: 2
Make sure you use spaces not tabs in this file as it does not work when tabs are used. And obviously make sure you are using your own interface (mine is enp2s0) and the static address and netmask that you want.
Once you've saved the file enter
sudo netplan apply
That's what worked for me anyway - all other configurations worked as expected.
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Got to the bottom of this - definitely just me knowing nothing about Linux. On the off chance that anyone else has the same issue:
It turned out by default IPv4 was disabled, noticed in ifconfig that the interface only had an IPv6 address. Open network config file:
sudo nano /etc/netplan/50-cloud-init.yaml
Then disabled DHCP and set an IPv4 address so the file reads as:
network:
ethernets:
enp2s0:
dhcp4: no
addresses: [10.0.0.1/24]
version: 2
Make sure you use spaces not tabs in this file as it does not work when tabs are used. And obviously make sure you are using your own interface (mine is enp2s0) and the static address and netmask that you want.
Once you've saved the file enter
sudo netplan apply
That's what worked for me anyway - all other configurations worked as expected.
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
Got to the bottom of this - definitely just me knowing nothing about Linux. On the off chance that anyone else has the same issue:
It turned out by default IPv4 was disabled, noticed in ifconfig that the interface only had an IPv6 address. Open network config file:
sudo nano /etc/netplan/50-cloud-init.yaml
Then disabled DHCP and set an IPv4 address so the file reads as:
network:
ethernets:
enp2s0:
dhcp4: no
addresses: [10.0.0.1/24]
version: 2
Make sure you use spaces not tabs in this file as it does not work when tabs are used. And obviously make sure you are using your own interface (mine is enp2s0) and the static address and netmask that you want.
Once you've saved the file enter
sudo netplan apply
That's what worked for me anyway - all other configurations worked as expected.
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Got to the bottom of this - definitely just me knowing nothing about Linux. On the off chance that anyone else has the same issue:
It turned out by default IPv4 was disabled, noticed in ifconfig that the interface only had an IPv6 address. Open network config file:
sudo nano /etc/netplan/50-cloud-init.yaml
Then disabled DHCP and set an IPv4 address so the file reads as:
network:
ethernets:
enp2s0:
dhcp4: no
addresses: [10.0.0.1/24]
version: 2
Make sure you use spaces not tabs in this file as it does not work when tabs are used. And obviously make sure you are using your own interface (mine is enp2s0) and the static address and netmask that you want.
Once you've saved the file enter
sudo netplan apply
That's what worked for me anyway - all other configurations worked as expected.
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
answered yesterday
AstinTeebAstinTeeb
112
112
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
AstinTeeb is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
add a comment |
add a comment |
AstinTeeb is a new contributor. Be nice, and check out our Code of Conduct.
AstinTeeb is a new contributor. Be nice, and check out our Code of Conduct.
AstinTeeb is a new contributor. Be nice, and check out our Code of Conduct.
AstinTeeb is a new contributor. Be nice, and check out our Code of Conduct.
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%2f507993%2fdnsmasq-ubuntu-nodhcp-or-proxydhcp-offers-were-received%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