Can't connect to the internet with static IP Ubuntu Server 18.04Ubuntu 18.04 (beta) - Cannot connect to wifi / internetHow to setup a static IP on Ubuntu Server 18.04Ubuntu 18.04 Server Static IP issuesCan't Connect to Minecraft Server Ubuntu 18.04Ethernet drops out on Ubuntu Server 18.04 using Realtek 8168Ubuntu guest can't connect to the internetCan't connect to internet Lubuntu 18.04Unable to ping 18.04 desktop unless this machine first pings the client, when using networkd instead of network-managerCan't connect to wired Internet with ubuntu 18.04 desktop.1 on workstation pro 15 but can connect use virtual boxProblem with internet connection in ubuntu 18.04

How to plot an unstable attractor?

What are the benefits of cryosleep?

File globbing pattern, !(*example), behaves differently in bash script than it does in bash shell

Can I use the Shadow Step feature to effectively teleport into a Darkness spell I cast upon myself?

What are these (utility?) boxes at the side of the house?

What's the connection between "kicking a pigeon" and "how a bill becomes a law"?

What is a subpixel in Super Mario Bros, and how does it relate to wall clipping?

1960s sci-fi novella with a character who is treated as invisible by being ignored

French translation of “only ever”

Break equation in parts

shutdown at specific date

Why does the 6502 have the BIT instruction?

Is healing by fire possible?

Were pen cap holes designed to prevent death by suffocation if swallowed?

Is this story about US tax office reasonable?

Why does the UK have more political parties than the US?

Question about exercise 11.5 in TeXbook

Is there an explanation for Austria's Freedom Party virtually retaining its vote share despite recent scandal?

Is CD audio quality good enough for the final delivery of music?

What is the 中 in ダウンロード中?

What is the National Identification Number of Dutch citizens?

Have I been doing real analysis incorrectly?

Is my router's IP address really public?

Can we reuse the Tridion search functionality in custom page?



Can't connect to the internet with static IP Ubuntu Server 18.04


Ubuntu 18.04 (beta) - Cannot connect to wifi / internetHow to setup a static IP on Ubuntu Server 18.04Ubuntu 18.04 Server Static IP issuesCan't Connect to Minecraft Server Ubuntu 18.04Ethernet drops out on Ubuntu Server 18.04 using Realtek 8168Ubuntu guest can't connect to the internetCan't connect to internet Lubuntu 18.04Unable to ping 18.04 desktop unless this machine first pings the client, when using networkd instead of network-managerCan't connect to wired Internet with ubuntu 18.04 desktop.1 on workstation pro 15 but can connect use virtual boxProblem with internet connection in ubuntu 18.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm running Ubuntu Server with VMware and I am trying to set up a static IP on it. I've written the following in /etc/netplan/50-cloud-init.yaml



network:
version: 2
renderer: networkd
ethernets:
ens33:
dhcp: no
addresses: [192.168.1.101/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]


I can't connect to the internet after doing this, I've tested with sudo apt-get update and it cannot resolve 'archive.ubuntu.com'



I'm quite new to this and any help would be much appreciated :D










share|improve this question






















  • Try to ping 8.8.8.8, if that works it means there is fault in your DNS. Then write the result in comment.

    – John Ronald
    Apr 13 at 15:58











  • From 192.168.1.101 icmp_seq=1 Destination Host Unreachable

    – Amy
    Apr 13 at 16:01











  • you say you're using VMware, is this VMware Workstation? Or full-blown VMware ESXi server running the VM? I've used both products on a regular basis and can probably shed a little bit of light here

    – Thomas Ward
    Apr 13 at 16:02












  • Just VMware Workstation, I downloaded the ISO from ubuntu.com

    – Amy
    Apr 13 at 16:03






  • 3





    @JohnRonald Given that this is a VM on VMware workstation, let's wait to hear which segment they placed the VM on. That'll determine the answer to your question.

    – Thomas Ward
    Apr 13 at 16:04

















0















I'm running Ubuntu Server with VMware and I am trying to set up a static IP on it. I've written the following in /etc/netplan/50-cloud-init.yaml



network:
version: 2
renderer: networkd
ethernets:
ens33:
dhcp: no
addresses: [192.168.1.101/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]


I can't connect to the internet after doing this, I've tested with sudo apt-get update and it cannot resolve 'archive.ubuntu.com'



I'm quite new to this and any help would be much appreciated :D










share|improve this question






















  • Try to ping 8.8.8.8, if that works it means there is fault in your DNS. Then write the result in comment.

    – John Ronald
    Apr 13 at 15:58











  • From 192.168.1.101 icmp_seq=1 Destination Host Unreachable

    – Amy
    Apr 13 at 16:01











  • you say you're using VMware, is this VMware Workstation? Or full-blown VMware ESXi server running the VM? I've used both products on a regular basis and can probably shed a little bit of light here

    – Thomas Ward
    Apr 13 at 16:02












  • Just VMware Workstation, I downloaded the ISO from ubuntu.com

    – Amy
    Apr 13 at 16:03






  • 3





    @JohnRonald Given that this is a VM on VMware workstation, let's wait to hear which segment they placed the VM on. That'll determine the answer to your question.

    – Thomas Ward
    Apr 13 at 16:04













0












0








0








I'm running Ubuntu Server with VMware and I am trying to set up a static IP on it. I've written the following in /etc/netplan/50-cloud-init.yaml



network:
version: 2
renderer: networkd
ethernets:
ens33:
dhcp: no
addresses: [192.168.1.101/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]


I can't connect to the internet after doing this, I've tested with sudo apt-get update and it cannot resolve 'archive.ubuntu.com'



I'm quite new to this and any help would be much appreciated :D










share|improve this question














I'm running Ubuntu Server with VMware and I am trying to set up a static IP on it. I've written the following in /etc/netplan/50-cloud-init.yaml



network:
version: 2
renderer: networkd
ethernets:
ens33:
dhcp: no
addresses: [192.168.1.101/24]
gateway4: 192.168.1.1
nameservers:
addresses: [8.8.8.8,8.8.4.4]


I can't connect to the internet after doing this, I've tested with sudo apt-get update and it cannot resolve 'archive.ubuntu.com'



I'm quite new to this and any help would be much appreciated :D







18.04






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 13 at 15:55









AmyAmy

185




185












  • Try to ping 8.8.8.8, if that works it means there is fault in your DNS. Then write the result in comment.

    – John Ronald
    Apr 13 at 15:58











  • From 192.168.1.101 icmp_seq=1 Destination Host Unreachable

    – Amy
    Apr 13 at 16:01











  • you say you're using VMware, is this VMware Workstation? Or full-blown VMware ESXi server running the VM? I've used both products on a regular basis and can probably shed a little bit of light here

    – Thomas Ward
    Apr 13 at 16:02












  • Just VMware Workstation, I downloaded the ISO from ubuntu.com

    – Amy
    Apr 13 at 16:03






  • 3





    @JohnRonald Given that this is a VM on VMware workstation, let's wait to hear which segment they placed the VM on. That'll determine the answer to your question.

    – Thomas Ward
    Apr 13 at 16:04

















  • Try to ping 8.8.8.8, if that works it means there is fault in your DNS. Then write the result in comment.

    – John Ronald
    Apr 13 at 15:58











  • From 192.168.1.101 icmp_seq=1 Destination Host Unreachable

    – Amy
    Apr 13 at 16:01











  • you say you're using VMware, is this VMware Workstation? Or full-blown VMware ESXi server running the VM? I've used both products on a regular basis and can probably shed a little bit of light here

    – Thomas Ward
    Apr 13 at 16:02












  • Just VMware Workstation, I downloaded the ISO from ubuntu.com

    – Amy
    Apr 13 at 16:03






  • 3





    @JohnRonald Given that this is a VM on VMware workstation, let's wait to hear which segment they placed the VM on. That'll determine the answer to your question.

    – Thomas Ward
    Apr 13 at 16:04
















Try to ping 8.8.8.8, if that works it means there is fault in your DNS. Then write the result in comment.

– John Ronald
Apr 13 at 15:58





Try to ping 8.8.8.8, if that works it means there is fault in your DNS. Then write the result in comment.

– John Ronald
Apr 13 at 15:58













From 192.168.1.101 icmp_seq=1 Destination Host Unreachable

– Amy
Apr 13 at 16:01





From 192.168.1.101 icmp_seq=1 Destination Host Unreachable

– Amy
Apr 13 at 16:01













you say you're using VMware, is this VMware Workstation? Or full-blown VMware ESXi server running the VM? I've used both products on a regular basis and can probably shed a little bit of light here

– Thomas Ward
Apr 13 at 16:02






you say you're using VMware, is this VMware Workstation? Or full-blown VMware ESXi server running the VM? I've used both products on a regular basis and can probably shed a little bit of light here

– Thomas Ward
Apr 13 at 16:02














Just VMware Workstation, I downloaded the ISO from ubuntu.com

– Amy
Apr 13 at 16:03





Just VMware Workstation, I downloaded the ISO from ubuntu.com

– Amy
Apr 13 at 16:03




3




3





@JohnRonald Given that this is a VM on VMware workstation, let's wait to hear which segment they placed the VM on. That'll determine the answer to your question.

– Thomas Ward
Apr 13 at 16:04





@JohnRonald Given that this is a VM on VMware workstation, let's wait to hear which segment they placed the VM on. That'll determine the answer to your question.

– Thomas Ward
Apr 13 at 16:04










1 Answer
1






active

oldest

votes


















1














I fixed it! I added another network adapter that was NAT and that solved the issue. @Thomas Ward sparked my mind with his comment. Many thanks






share|improve this answer























  • Glad to hear it! Bridged will utilize your general network, but if you just need it 'up' and not accessible to other systems on the Ethernet, NAT will work to get you 'up and running' - you'll eventually want to start out with DHCP and Bridged if you intend to have other systems on your network reaching the system.

    – Thomas Ward
    Apr 13 at 16:45











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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133571%2fcant-connect-to-the-internet-with-static-ip-ubuntu-server-18-04%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









1














I fixed it! I added another network adapter that was NAT and that solved the issue. @Thomas Ward sparked my mind with his comment. Many thanks






share|improve this answer























  • Glad to hear it! Bridged will utilize your general network, but if you just need it 'up' and not accessible to other systems on the Ethernet, NAT will work to get you 'up and running' - you'll eventually want to start out with DHCP and Bridged if you intend to have other systems on your network reaching the system.

    – Thomas Ward
    Apr 13 at 16:45















1














I fixed it! I added another network adapter that was NAT and that solved the issue. @Thomas Ward sparked my mind with his comment. Many thanks






share|improve this answer























  • Glad to hear it! Bridged will utilize your general network, but if you just need it 'up' and not accessible to other systems on the Ethernet, NAT will work to get you 'up and running' - you'll eventually want to start out with DHCP and Bridged if you intend to have other systems on your network reaching the system.

    – Thomas Ward
    Apr 13 at 16:45













1












1








1







I fixed it! I added another network adapter that was NAT and that solved the issue. @Thomas Ward sparked my mind with his comment. Many thanks






share|improve this answer













I fixed it! I added another network adapter that was NAT and that solved the issue. @Thomas Ward sparked my mind with his comment. Many thanks







share|improve this answer












share|improve this answer



share|improve this answer










answered Apr 13 at 16:21









AmyAmy

185




185












  • Glad to hear it! Bridged will utilize your general network, but if you just need it 'up' and not accessible to other systems on the Ethernet, NAT will work to get you 'up and running' - you'll eventually want to start out with DHCP and Bridged if you intend to have other systems on your network reaching the system.

    – Thomas Ward
    Apr 13 at 16:45

















  • Glad to hear it! Bridged will utilize your general network, but if you just need it 'up' and not accessible to other systems on the Ethernet, NAT will work to get you 'up and running' - you'll eventually want to start out with DHCP and Bridged if you intend to have other systems on your network reaching the system.

    – Thomas Ward
    Apr 13 at 16:45
















Glad to hear it! Bridged will utilize your general network, but if you just need it 'up' and not accessible to other systems on the Ethernet, NAT will work to get you 'up and running' - you'll eventually want to start out with DHCP and Bridged if you intend to have other systems on your network reaching the system.

– Thomas Ward
Apr 13 at 16:45





Glad to hear it! Bridged will utilize your general network, but if you just need it 'up' and not accessible to other systems on the Ethernet, NAT will work to get you 'up and running' - you'll eventually want to start out with DHCP and Bridged if you intend to have other systems on your network reaching the system.

– Thomas Ward
Apr 13 at 16:45

















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133571%2fcant-connect-to-the-internet-with-static-ip-ubuntu-server-18-04%23new-answer', 'question_page');

);

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







Popular posts from this blog

Tamil (spriik) Luke uk diar | Nawigatjuun

Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?