Ubuntu Server DNS Problem with Static IPDns problem ubuntu serverStatic DNS in Ubuntu Server 16.04Problem...
Two films in a tank, only one comes out with a development error – why?
How to determine what difficulty is right for the game?
How do I deal with an unproductive colleague in a small company?
What is the word for reserving something for yourself before others do?
Replacing matching entries in one column of a file by another column from a different file
Are astronomers waiting to see something in an image from a gravitational lens that they've already seen in an adjacent image?
Is it unprofessional to ask if a job posting on GlassDoor is real?
Important Resources for Dark Age Civilizations?
Today is the Center
Why doesn't H₄O²⁺ exist?
What typically incentivizes a professor to change jobs to a lower ranking university?
dbcc cleantable batch size explanation
Perform and show arithmetic with LuaLaTeX
Is it possible to do 50 km distance without any previous training?
Why "Having chlorophyll without photosynthesis is actually very dangerous" and "like living with a bomb"?
How does quantile regression compare to logistic regression with the variable split at the quantile?
Why is Minecraft giving an OpenGL error?
RSA: Danger of using p to create q
Accidentally leaked the solution to an assignment, what to do now? (I'm the prof)
Codimension of non-flat locus
Convert two switches to a dual stack, and add outlet - possible here?
A case of the sniffles
Can I make popcorn with any corn?
Watching something be written to a file live with tail
Ubuntu Server DNS Problem with Static IP
Dns problem ubuntu serverStatic DNS in Ubuntu Server 16.04Problem when creating a network with my virtual machineNetplan-configured LXD host doesn't restore network config on rebootProblems restarting networkingNetplan error, error on nameserverBIND server won't resolve names on LANUbuntu 18.04 Network card with two IP addressesStatic IP address in a VirtualBox machine running Ubuntu 18.04 server LTSUbuntu Bionic Server edition + Netplan: Not getting static IP on a ethernet connection
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}
I am running an Ubuntu Server on my VMBox and need to set static IP. By following the steps described in https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/, I created the configuration file 01-netcfg.yaml as follows.
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: no
addresses: [10.10.21.8/24]
gateway4: 10.10.21.100
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
Running sudo netplan apply --debugresults in:

Which I'm not sure if the process is succesful or not since it mentions a merged config but gives no error at the end. However, I can not connect to Internet. sudo ping www.facebook.com returns "Temporary failure in name resolution". ping 64.233.169.104 results in "Destination Host Unreachable". sudo apt-get update fails as well.
server dns netplan
New contributor
codemonkey 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 am running an Ubuntu Server on my VMBox and need to set static IP. By following the steps described in https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/, I created the configuration file 01-netcfg.yaml as follows.
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: no
addresses: [10.10.21.8/24]
gateway4: 10.10.21.100
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
Running sudo netplan apply --debugresults in:

Which I'm not sure if the process is succesful or not since it mentions a merged config but gives no error at the end. However, I can not connect to Internet. sudo ping www.facebook.com returns "Temporary failure in name resolution". ping 64.233.169.104 results in "Destination Host Unreachable". sudo apt-get update fails as well.
server dns netplan
New contributor
codemonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Do you actually have aenp0s3interface? what is the output ofls /sys/class/net?
– steeldriver
12 mins ago
add a comment |
I am running an Ubuntu Server on my VMBox and need to set static IP. By following the steps described in https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/, I created the configuration file 01-netcfg.yaml as follows.
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: no
addresses: [10.10.21.8/24]
gateway4: 10.10.21.100
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
Running sudo netplan apply --debugresults in:

Which I'm not sure if the process is succesful or not since it mentions a merged config but gives no error at the end. However, I can not connect to Internet. sudo ping www.facebook.com returns "Temporary failure in name resolution". ping 64.233.169.104 results in "Destination Host Unreachable". sudo apt-get update fails as well.
server dns netplan
New contributor
codemonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
I am running an Ubuntu Server on my VMBox and need to set static IP. By following the steps described in https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/, I created the configuration file 01-netcfg.yaml as follows.
network:
version: 2
renderer: networkd
ethernets:
enp0s3:
dhcp4: no
addresses: [10.10.21.8/24]
gateway4: 10.10.21.100
nameservers:
addresses: [8.8.8.8, 8.8.4.4]
Running sudo netplan apply --debugresults in:

Which I'm not sure if the process is succesful or not since it mentions a merged config but gives no error at the end. However, I can not connect to Internet. sudo ping www.facebook.com returns "Temporary failure in name resolution". ping 64.233.169.104 results in "Destination Host Unreachable". sudo apt-get update fails as well.
server dns netplan
server dns netplan
New contributor
codemonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
codemonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
codemonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
asked 39 mins ago
codemonkeycodemonkey
133
133
New contributor
codemonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
New contributor
codemonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
codemonkey is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
Do you actually have aenp0s3interface? what is the output ofls /sys/class/net?
– steeldriver
12 mins ago
add a comment |
Do you actually have aenp0s3interface? what is the output ofls /sys/class/net?
– steeldriver
12 mins ago
Do you actually have a
enp0s3 interface? what is the output of ls /sys/class/net?– steeldriver
12 mins ago
Do you actually have a
enp0s3 interface? what is the output of ls /sys/class/net?– steeldriver
12 mins ago
add a comment |
0
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',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
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
});
}
});
codemonkey 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%2faskubuntu.com%2fquestions%2f1131552%2fubuntu-server-dns-problem-with-static-ip%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
codemonkey is a new contributor. Be nice, and check out our Code of Conduct.
codemonkey is a new contributor. Be nice, and check out our Code of Conduct.
codemonkey is a new contributor. Be nice, and check out our Code of Conduct.
codemonkey is a new contributor. Be nice, and check out our Code of Conduct.
Thanks for contributing an answer to Ask Ubuntu!
- 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%2faskubuntu.com%2fquestions%2f1131552%2fubuntu-server-dns-problem-with-static-ip%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
Do you actually have a
enp0s3interface? what is the output ofls /sys/class/net?– steeldriver
12 mins ago