Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [static-ip]

A static IP address is a unique identifier for your computer, while it's connected to the Internet or another network. It's called "static" because it doesn't change each time you connect to the network.

1
vote
1answer
47 views

Ubuntu Server 18.04.1 - error in network definition when trying to set static IP with sudo netplan apply

I get this error when trying to set static IP with the command sudo netplan apply: Error in network definition //etc/netplan/50-cloud.init.yaml line 5 column 34: expected scalar Here's what my config ...
0
votes
0answers
38 views

Setting IP address if DHCP server fails at bootup

Is there a way to set default eth0 setup in linux. I know I can give it a default static IP at boot up with sudo ip route add default via 10.0.0.1 dev eth0. Is there a way to change it to DHCP at ...
3
votes
0answers
187 views

Using an alternate server iso installer, how can I set an IP address during boot up?

Goal Using the latest LTS server iso (alternate), which at the time of writing is ubuntu-18.04.1-server-amd64.iso, I want to be able to do an installation, using a preseed and a kickstart file hosted ...
1
vote
1answer
84 views

Ubuntu 16.04 setting static IP not working

I'm trying to set up an Ubuntu server on a virtual machine hosted on a windows OS. When I set it to the default DHCP the internet works fine. When I attempt to set up a static IP I get TX but no RX. ...
0
votes
0answers
89 views

Set Static IP from my ISP using netplan in Ubuntu 18.04

This should be a pretty simple setup. I've edited my yaml config file in /etc/netplan/ to be: network: version: 2 renderer: networkd ethernets: ens32: addresses: - 98.xxx.xxx....
0
votes
0answers
75 views

Remotely accessing ubuntu terminal to connect to my digital ocean server

I recently setup a digital ocean account for my development purposes. Just created a droplet and then connected to it using ssh though my home Ubuntu system. Now, I want to be able to also access the ...
0
votes
1answer
733 views

Set static IP on Ubuntu Core

I'm new to Ubuntu Core. On first login I selected the option: Will use DHCP for IPv4 Now I'd like to change my machine to use a static IP to be easier to log in remotely. I ran sudo console-conf ...
0
votes
0answers
193 views

Setting a static IP doesn't work on Ubuntu/Armbian … I need help :)

after digging for three days now here in the stackexchange network and other websites I still can't solve my problem and I hope you can help me. I try to set up a static IP on my BananaPi M1 board (...
0
votes
0answers
79 views

DNS not working in ubuntu 18

I had installed ubuntu 18 in my local computer . After the successful installation i did some modification in etc/network/interfaces file for static IP address. After that DNS not working in my ...
1
vote
1answer
1k views

Ubuntu 18.04 SERVER VPS on failover IP OVH

I am new into Ubuntu 18.04 and I am trying to make my VPS hosted on dedicated server (VMware) working, I tried the automatic network setup during install, but I got an subnet error, because IP and ...
0
votes
1answer
266 views

Wifi Problem After Setting Static IP in Ubuntu 18.04.01 LTS

I set a static IP by following the instructions on https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/netplan-how-to-configure-static-ip-address-in-ubuntu-18-04-using-netplan.html At first, it ...
1
vote
2answers
98 views

networking: DNS settings ignored

For several months, I have been successfully connected to the net via a static IP with my machine that is running ubuntu (16.04.3). I recently had to reinstall the OS, and now on the same machine, the ...
0
votes
0answers
79 views

Ubuntu Server 16.04 LTS - NIC interfaces file not working properly -(also dual NICs & static IPS)

This used to be something I could do in a couple of minutes in my sleep but during the last couple of years many distros have changed the way they set up networking. I'm not sure why it's turned into ...
0
votes
0answers
760 views

How to setup static ip on Ubuntu Server 18.04 in VMWare Workstation 14

I am new so please bear with me. I am on a laptop with Windows 10 (which totally sucks) connected by wifi, and trying to setup a static ip in Ubuntu Server 18.04 in VMWare Workstation 14. I have ...
0
votes
2answers
161 views

Static IP on LAN and DHCP on WLAN on Ubuntu 16.04

I use a Netbook with LAN and WLAN. On LAN I need a static IP for dev. On WLAN I dont can use a static IP because I am in different WLANs. Here is my interfaces: auto lo iface lo inet loopback auto ...
0
votes
2answers
3k views

Why is Netplan/Networkd not bringing up a static ethernet interface?

I have a machine running Ubuntu Server 18.04. The network is configured using Netplan, so I have this config in /etc/netplan/01-netcfg.yaml: network: version: 2 renderer: networkd ethernets: ...
1
vote
0answers
3k views

Static IP config for Ubuntu Server 18.04 LTS w/ netplan

We are trying to get a new server running 18.04 LTS to connect to the internet, but no luck thus far. The router doesn't distribute DHCP, so we have a static IP assigned to the port the server is ...
1
vote
0answers
89 views

Ubuntu 16.04 statically routed IP's to main

My provider has allocated me a /30 block for my main IP. This works fine. They then provided me an additional /26 statically routed to the main IP of the /30 on the switch. They state that I need to ...
0
votes
1answer
2k views

Ubuntu 18.04 Server Static IP issues

I have attempted setting up a static IP for a server, under Ubuntu 18.04. I thought I had it working, but after restarting I found that my ethernet interface eno1 has been disabled. After re-enabling ...
2
votes
2answers
65 views

How to validate if static ip is valid

This is how I set up a static ip on my ubuntu machine: https://askubuntu.com/a/178981/630142 Pretend this happens: I connect my ubuntu machine to a router (network) that assigns ip addresses (192....
0
votes
1answer
1k views

How do I create a YAML file in order to set a static IP for my /etc/netplan directory? Server 18.04 LTS [duplicate]

I currently do not have any YAML files in my /etc/netplan directory than I can edit in order to set a static IP for my Ubuntu 18 server. I have tried: sudo netplan generate It returns no errors but ...
0
votes
1answer
3k views

Set static IP address on Ubuntu server 16.04.2 LTS

I'm facing strange problem on Ubuntu 16.04.2 LTS server with changing IP from DHCP to static. That's my /etc/network/interfaces: # The primary network interface auto enp2s0f0 iface enp2s0f0 inet ...
2
votes
1answer
3k views

Static IP with NetPlan

I have a dev server with a Comcast static ip that has worked wonderfully for 10 years...went to upgrade to Ubuntu 18.04 and whats this NetPlan biznezz and why will it not accept my subnet? Followed ...
0
votes
4answers
10k views

Netplan configuration error: “Invalid YAML … did not find expected key.”

I'm trying to connect to internet using static IP, but when I enter sudo netplan apply command, the console returns the following error: Invalid YAML at //etc/netplan/01-netcfg.yaml line 8 column 5: ...
0
votes
0answers
157 views

Second IP via DHCP. Why?

I have a secondary IP on my ens160 interface and I dont know why :) System is Ubuntu 17.10. Any hints where to dig here? 1: lo: mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000 link/...
1
vote
0answers
3k views

netplan bridge for one static interface not working

I have a static ip address for interface eno1 which should become a bridge for kvm/qemu. My netplan configuration (Ubuntu 18.04) for the static ip looks like this and is working: network: version: ...
0
votes
0answers
60 views

getting server to utilise hostnames on network

I have a Server 16.04, minimal install, running perfectly with one exception. When I change it to use a static ip it loses the ability to connect with other machines (both real and Vms) via their ...
0
votes
0answers
209 views

problem with ubuntu server 16.04 losing samba share with static ip

This is the first time posting here, this issue is driving me nuts !!!! I'm having problems with setting my server running Ubuntu server 16.04 to a static IP and keeping samba shares working. If I ...
0
votes
0answers
209 views

Ubuntu Server 16.04 LTS Static Wifi WPA2

I want to set up a wifi connection with a static IP address. I have tried googling and using most of the available tutorials. They have not worked, made my system hang, or were not for a static IP. I'...
0
votes
1answer
246 views

Confused about static IP address (16.04) (may be lubuntu)

Here is what my /etc/network/interfaces looks like: # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). source /...
0
votes
1answer
72 views

/etc/network/interfaces not changing server IP

My interfaces file which used to govern the IP configuration of my Ubuntu server is no longer having any affect over the interface settings on my ethernet int. On an identical hardware machine I have: ...
0
votes
1answer
876 views

Can't connect to internet on static ip configured on router

I have a static ip which is configured on a router. I have a Dual boot system with Windows and Ubuntu. I have installed Ubuntu 16.04 LTS Desktop and am unable to connect to internet. Within browser if ...
1
vote
1answer
140 views

Set static IP for Ubuntu mini 17.10

I am trying to configure ethernet, for my PC, with static IP/Gateway/Nameservers. I edited /etc/network/interfaces, /etc/systemd/network/*.network, /etc/netplan/*.yaml but none of these files give ...
0
votes
1answer
62 views

How do I choose my static IP address/Gateway etc?

How do I choose my: address netmask (255.255.255.0?) network broadcast gateway The tutorials and commentary from many of the more experienced penguins seems to assume that people have their ...
0
votes
0answers
34 views

How to assign static ip to devices connecting over wifi using Network Manager?

I have several devices connecting to my wifi, and I need to assign them a static ip address, but NetworkManager gives them sometimes different ip addresses. I tried adding a file in /etc/network/if-up....
1
vote
0answers
248 views

Ubuntu 14.04: Hostname showing as ubuntu on router

This is driving me crazy. I have a static IP configured, Ethernet cabled Ubuntu Server 14.04 machine Where you see MY_HOSTNAME, this is where I have configured my real hostname which is 5 characters ...
2
votes
0answers
367 views

Can't load websites when bridging enp0s3 with static IP

So I was trying to bridge the enp0s3 in a VM in ubuntu 16.04 LTS (64 Bit). The VM gets its internet connection through "bridged adapter", no NAT. If I go with the DHCP configuration everything works ...
0
votes
0answers
26 views

Basic DNS Question

I would like to create a system, in this case Ubuntu Server (16.04.3), so I want so that able to call my server with the name instead of IP. Currently able to connect my server with static IP I ...
1
vote
0answers
67 views

Help Please with Static IP

Ubuntu Community I have this situation MY ISP send to me Static IP 75.108.xxx.xxx and i need to access my server from the outside of my network i"m use Google DNS 208.180.42.68 and 208.180.42.100 i ...
0
votes
1answer
3k views

Problems with static IP config via interfaces file

I'd like to setup a static IP on Kubuntu 17.10 for my desktop PC. ifconfig enp10s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.100.32 netmask 255.255.255.0 ...
7
votes
2answers
4k views

Why is the network configuration I set in /etc/network/interfaces ignored on Ubuntu 17.10?

I've just installed ubuntu server 17.10. During installation, it suggested me to connect to the network through wifi, and so i did. After installation was finished and system was rebooted, computer ...
1
vote
0answers
214 views

assign static IP to secondary wifi controller Ubuntu Mate 16.04

I have a secondary Wifi connection on a Raspberry Pi3. The device drivers for this secondary adapter are loading fine. The first adapter is the onboard adapter that connects to my home network and ...
3
votes
3answers
14k views

Ubuntu 17.10 Server static IP netplan - how to set netmask

Ubuntu 17.10 Server uses the package netplan instead of /etc/network/interfaces. I have created the /etc/netplan/01-netcfg.yaml Like described here: Ubuntu 17.10 will not accept static IP # This ...
1
vote
0answers
562 views

How do I setup multiple static IP's on multiple NIC's with one gateway?

I'm using Ubuntu 16.04.3 LTS. Currently I have this in /etc/network/interfaces auto lo iface lo inet loopback auto eno1 inet static address 198.167.16.164 netmask 255.255.240.0 gateway ...
0
votes
0answers
665 views

Static IP address on ubuntu server 16.04 with Multiple interfaces

Ok, I've already search this everywhere. I was using the four interfaces without a problem, accesing them form the outside, but suddenly all of them where without internet (outside connection) and I ...
0
votes
0answers
785 views

Static ip address on lubuntu wont work

I setup some old pc and installed lubuntu. Got my self some old HDD so i can hawe it as backup PC. Decide to setup a static ip. But just can't make it work for some reason. I try multiple things to ...
0
votes
0answers
40 views

can't connect to wireless after set static ip

i'm using ubuntu 16.04 and i was not able to see wifi options in gui,then it suddenly change the wifi wave icon to this ↑↓ icon.Then i decided to set static ip for it by modifying the /etc/network/...
0
votes
1answer
523 views

Ubuntu server 16.04 static and private ip [closed]

I have tried a few different combinations in /etc/network/interfaces I'm wanting to add a public ip and a private to my server but it's not wanting to accept both iface eno1 inet static address ...
0
votes
1answer
750 views

Assigning a Permanent, Static IP Address

I'm having difficulty assigning a permanent, static IP address to the default eth0 interface on a system running Ubuntu 14.04.5 with the system ultimately resorting to no IP address. As a precursor ...
0
votes
1answer
348 views

Ethernet interface appears twice, how to fix?

EDIT: The static IP does not seem to be causing the problem. Even with default /etc/network/interface and /etc/NetworkManager/NetworkManager.conf settings, and with wireless disabled, there still ...