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.

Filter by
Sorted by
Tagged with
0
votes
0answers
39 views

Still getting address from DHCP when static address is set

I'm trying to set a static IP to my machine. I have edited /etc/network/interfaces file to this: source /etc/network/interfaces.d/* auto lo iface lo inet loopback auto eth0 iface eth0 inet static ...
0
votes
0answers
13 views

Static IP DNS Emulation

I have to access a Windows Server 2014 TS via Ubuntu, but the DNS just accepts Static IP, so I have to send them my IP to permit my access. Since for default my internet is a Dynamic IP, from time to ...
0
votes
1answer
40 views

What should be the etc/network/interfaces to set a static IP address?

I try to set a static IP address (192.168.2.1) here the output of ifconfig enp3s0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500 ether c8:1f:66:06:94:a1 txqueuelen 1000 (Ethernet) ...
0
votes
1answer
64 views

Ubuntu 18.04 is broken once I use a static IP

When I try to change my wired ethernet connection from DHCP to Manaul, with the IP 192.168.100.100 and the Netmask of 24 and a gateway of 192.168.121.1, the connection suddenly stops working. Could ...
0
votes
0answers
41 views

Set static IPs to multiple interfaces Ubuntu 18.04.4 LTS (Bionic Beaver)

I'm trying to set a static IP on two interfaces (ens160 "Main") and (ens192 "I added later"). I tried setting up configuration files for netplan (/etc/netplan/01-network-card.yaml) and for (/etc/...
0
votes
1answer
367 views

Too many problems with Netplan

I have been working on this problem for 3 days now. FYI I have read all posts on this subject with no results. Always the same problem. I am building an 18.04 LTS server with the Unity desktop as a ...
0
votes
0answers
28 views

Cannot change static ip address

I'm running ubuntu 18.04. I had network/router issues and ultimately I replaced my router. Both intranet and internet communications are now working, but I have a problem with one node, a laptop. ...
1
vote
1answer
50 views

Can't access by name when setting static IP

I'll do my best to provide as much information as possible, I'm still fairly new to linux, but I have Ubuntu Server 18.04.4 currently running my media server, and I'm trying to set a static IP. I ...
1
vote
0answers
40 views

Server Ubuntu strange connection behaviour - static IP

I've an Ubuntu server 18.04 with a static IP address, and the follow is the /etc/netplan/01-netcfg.yaml file: network: version: 2 renderer: networkd ethernets: enp3s0: dhcp4: no ...
0
votes
1answer
45 views

Trouble setting up static ip. Ubuntu 18.04

When I put in my subnet mask 255.255.255.248/29 it now says my ip is not contained in 255.255.255.248/29. What do I do?
0
votes
0answers
297 views

netplan apply required after reboot

I'm running 18.04.4 LTS with HWE. After a reboot, I must manually run "sudo netplan apply" to set the static IP described in 50-cloud-init.yaml: network: ethernets: renderer: networkd ...
0
votes
0answers
61 views

Static netplan yaml error messages

strong textI miss the old /etc/network/interfaces means to configure IP addresses. My file is located in /etc/netplan/ The configuration is: network version: 2 renderer:networkd ethernets: ...
0
votes
0answers
210 views

How to set up static ip in ubuntu-server 18.04 using netplan on VM VirtualBox?

Now I'm trying to set up static IP using netplan in ubuntu-server(18.04) on VM VirtualBox. I can access ubuntu-server(in VM) using putty in my local desktop, but ubuntu-server cannot access the ...
0
votes
1answer
315 views

Fallback to default IP on DHCP failure via netplan

Background I'm currently using netplan to configure a number of Ubuntu Server 18.04 machines. I have a number of machines (specialized test units with HASP dongles installed) that are literally ...
0
votes
0answers
152 views

Ubuntu as IPv6 router

Draw of network is here. How can I configure Ubuntu server (A) to generate dynamic IP for new end points (like B) but C server should have static IP? (Firewall: A and C server accessible via SSH only ...
0
votes
0answers
109 views

VMware Ubuntu 18.04 Can't ping 8.8.8.8 with static ip

Sorry for posting the configuration as an image! I am new to so I might has misconfigured something here. I have configured my netplan like so in vmware: network: version: 2 renderer: networkd ...
0
votes
0answers
52 views

I used to “eth0”, why now we have “enp3s0” and “ens3”? [duplicate]

So ... I remember vaguely how to setup network with static IP. I got dedicated server from ikoula and for some stupid reason, it doesn't have DHCP. Before, I would just add the static IP to /etc/...
0
votes
2answers
63 views

Possible to allow static ip for computer on any LAN?

Here is my issue. I have two computers running ubuntu 16.04 with a static ip profile for in NetworkManager, this profile works according to the subnet and dns of this particular LAN. These two ...
0
votes
2answers
273 views

How to configure a fallback static IP address when there is no DHCP server present

I am working with an embedded linux device, which we typically connect to by static IP address during development. However, on-site we have a requirement to connect using DHCP and so, I would like to ...
0
votes
0answers
147 views

Port forwarding to OpenVPN client with static IP

I have running OpenVpn server on my router Asus RT-AC58U. The router has public static IP 82.119.97.206 My local net is 192.168.1.1/24 My vpn net is 10.8.0.1/24 On the OpenVpn server (running on ...
0
votes
1answer
434 views

Cannot configure static IPv6 (Ubuntu 19.04)

I'm trying to implement a network for a project where i need a server, a virtual machine running Ubuntu 19.04, with two static ipv4 and ipv6 addresses (one on each interface on the machine) to connect ...
0
votes
1answer
960 views

How to set static IP address on Ubuntu 16.04 LTS?

How to set static IP address on Ubuntu 16.04 LTS? I need connect router board which have static IP address ((192.168.15.1 address is board ip). I tried set via GUI, Network > Settings > IPv4 Settings >...
0
votes
0answers
82 views

Script to Toggle LAN adapter beween DHCP and a static IP

An IOT LAN sensor has a default address of 192.168.0.10 In 16.04, I would like invoke a script to toggle the LAN port between 192.168.0.1 and DHCP Pseudocode: If IP address not equal to 192.168.0.1 ...
0
votes
1answer
608 views

Netplan static IP doesn't work

Having trouble understanding why I don't get a connection on my static IP with netplan. My ip is 98.xxx.xxx.xx My reserved address for my device is 192.168.1.33 Ethernet interface: enp1s0. This is ...
0
votes
1answer
138 views

Ubuntu server 18.04 LTS static ip setup issue

I'm trying to install Ubuntu Server on my old machine and one thing has put on hold is this IP issue. This below is the exact message i get. 192.168.0.99 is not contained in 255.255.255.0/24 I'm ...
0
votes
1answer
118 views

Changing ip address of adapter

I am trying to change the IP address on a pc running ubuntu 16.04. The computer is not connected to the internet. I changed the /etc/network/interfaces file according to the instructions in the ...
0
votes
1answer
4k views

NETPLAN not acepting settings

yaml setup I have the following netplan layout and it keeps coming up with the error IP address shown here as xxx ethernets: check indentation^ network: version: 2 renderer: networkd ...
1
vote
1answer
2k views

Setting a Static IP Address Not Connecting?

I'm following a tutorial for setting a static IP address for my remote backup server. (https://www.techrepublic.com/article/how-to-configure-a-static-ip-address-in-ubuntu-server-18-04/) I've followed ...
0
votes
1answer
123 views

Ubuntu 18.04 LTS configuring WEPA WiFi for static address

I have an Ubuntu 18.04.02 LTS (headless) server that has been communicating with Ethernet. Circumstances demand that I now switch to Wifi using a USB Wifi dongle. I have used this Wifi dongle in the ...
1
vote
0answers
189 views

ubuntu 18.10 how to setup static ip network with local domain search post install

I just tried an install ubuntu 18.10 desktop on my intranet. I did a regular install, then I got a DHCP networking setup, that is ok with me for a fresh install. Then I am on an intranet with our ...
0
votes
1answer
138 views

WiFi with static IP configuration

I want to connect to my home wifi, which has a static IP configuration. I Have tried to set up the connection both using the GUI of network manager and by editing the network interface file, but in ...
6
votes
2answers
2k views

What does “changes to it will not persist across an instance” actually mean in 50-cloud-init.yaml

In recent Ubuntu, netplan is the default way of configuring network adapters. I want a static IP on one of mine, and there are some guides on how to do that. Some point you to editing 50-cloud-init....
1
vote
1answer
2k views

Invalid YAML for netplan: mapping values

So, I am trying to set a static IP address for my Ubuntu Server 18.04.1 LTS. I took the ethernet config from this site. network: version: 2 renderer: networkd ethernets: enp3s0: dhcp4:...
0
votes
1answer
339 views

Ubuntu 18.04.1 LTS keeps killing my Ethernet connection when it cannot find an Internet connection

I have a device (a nuclear radiation detector, specifically) that streams binary data over a TCP/IP connection. To stream the data, I simply connect it to my laptop via Ethernet and set the wired ...
0
votes
0answers
97 views

Ubuntu Server 18.10 LTE: after reboot can't connect to network

I just installed Ubuntu server, and I assigned it the IPv4 as static (no collisions). I rebooted my server after installation, and it was trying to connect to network for a while (2-3 minutes) and ...
0
votes
1answer
3k views

/etc/network/interfaces is not changing my static IP

I'm using xubuntu and I have set my /etc/network/interfaces file like this: auto lo iface lo inet loopback auto enp0s3 iface enp0s3 inet static address 192.168.1.10 netmask 255.255.255.0 ...
0
votes
1answer
544 views

Add static IP in Ubuntu 16.04 Host Laptop

I have HP laptop with an external wifi Adapter as there is no Wifi adapter inbuild. This is my ifconfig result docker0 Link encap:Ethernet HWaddr 02:42:fc:cf:ad:7c inet addr:172.17.0....
1
vote
1answer
714 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 ...
1
vote
0answers
449 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
313 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
2k 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. ...
8
votes
1answer
38k 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 ...
2
votes
1answer
8k 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
2k 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 ...
0
votes
2answers
298 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
2k 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 ...
1
vote
2answers
2k 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 ...
4
votes
2answers
16k 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
5k 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
93 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 ...

1
2 3 4 5