Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

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
0 answers
40 views

How to set static ip of wifi on Ubuntu 20.04 LTS Server

I have a Raspberry Pi 4 (8GB RAM), I want to set static ip in it but I have Wi-Fi connected. Can anyone help me with this as I was not able to find any video on YouTube on this
user avatar
0 votes
0 answers
10 views

how can I configure a static IP(from router with a mac address) for a device from other device terminal

Actually I don't know Raspi-IP but I know MAC address. So I want to configure a fixed IP for my RasPi from router. is there any way to configure a fixed IP from my PC's terminal for my RasPi
user avatar
0 votes
0 answers
55 views

ISCP-DHCP server on Ubuntu 20.04, connect to RaspberryPi

I have failed to connect to my raspberryPi using a static IP and over my existing wireless network. My next attempt is to set up a DHCP server on my Ubuntu machine. I use several tutorials (tut1, ...
user avatar
  • 131
0 votes
3 answers
342 views

Ubuntu Server 20.04.3 Static IP hostname not resolving in Lan

What is working: Internet access The configured Static IP Pinging other machines in Lan (IP and hostname) What I'm trying to solve: I can't ping/ssh etc. the Ubuntu server from other clients using ...
user avatar
  • 1
0 votes
1 answer
223 views

systemd networking basics: cannot switch from DHCP to static IP address

I'm just starting with systemd networking, and I can't set up a new system with a static IP address. This is a default Ubuntu 20.04 server, and network-manager and ifupdown are not installed (so no /...
user avatar
  • 1
0 votes
0 answers
130 views

How do I stop DHCP to request address for a static interface?

I have a Raspberry PI 4 running Ubuntu 21.10 with a static ip-address on eth0. Despite that, I keep getting a secondary 'dynamic' DHCP address on on it. netplan network: version: 2 renderer: ...
user avatar
0 votes
0 answers
55 views

Ubuntu Server 20.04 installation with Static IP

I have installed Ubuntu 20.04 on a Dell Precision T7910. I would like to configure a static IP address, but cannot find a wired connection. The only network option I have is for a VPN: I would like ...
user avatar
0 votes
1 answer
97 views

Ubuntu 18.04 server unreachable after setting static IP

I've configured netplan to set static IP for a server on my local network. However, after sudo netstat apply server just becomes unreachable. When I check the router, I can see it listed with assigned ...
user avatar
  • 185
0 votes
1 answer
133 views

Netplan static IP subnets - am I accidentally adding extra IPs?

I'm not sure if this is the right place to ask this so sorry if not. I've configured a machine running ubuntu server on my network to have two local static IPs like so: network: ethernets: ...
user avatar
0 votes
1 answer
162 views

Static ip address issue

I gave a static IP address using following command network: version : 2 renderer: networkd ethernets: enp0s3: dhcp4 : false addresses : 192.168.3.244/24 ...
user avatar
0 votes
1 answer
109 views

Localhost (wordpress) works, but static IP and domain name does not show anything

I am a first-timer with this stuff. I have a new Ubuntu server. I have PostFix and SSH working. I have installed Wordpress (Lamp stack, apache2, and MariaDB). I also installed NextCloud and ...
user avatar
0 votes
0 answers
155 views

How do I configure multiple interfaces in Network Manager?

Ubuntu Desktop 20.04 I seem to be misunderstanding something. My workstation is plugged into wired Ethernet. When I opened NM, one interface said it was connected, so I configured that with a static ...
user avatar
  • 101
0 votes
0 answers
239 views

How to set up two wifi access-points on one wifi device on Ubuntu 20.04.3

So I want to set up Wi-Fi on the raspberry Ubuntu server, but I need to get it to connect to two access-points, one needs a static IP and the other one dhcp4. This is my network-config file that I ...
user avatar
  • 1
1 vote
0 answers
126 views

Why does my Ubuntu Server computer lose a static IP address suddenly?

My Ubuntu Server computer suddenly loses a static IP address assigned to it and a routing table. My environment is as follow. DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal ...
user avatar
0 votes
0 answers
21 views

Set up a static ip on Ubuntu [duplicate]

I have the VM Ubuntu version it has a first static IP fixed. I'm trying to add two others and change the default gateway but I can't, because when I finish the configuration and reboot the server all ...
user avatar
0 votes
1 answer
2k views

How to set static ip in Ubuntu 21.04?

The default configuration /etc/netplan/00-installer-config.yaml # This is the network config written by 'subiquity' network: ethernets: ens160: dhcp4: true version: 2 I tried to modify ...
user avatar
  • 859
0 votes
1 answer
153 views

Is it possible to provide an IP Address after flashing a new PC with Ubuntu image

I was wondering is it possible to provide an IP Address after flashing a new PC with an Ubuntu image? I'm flashing 3 raspberry pie for my K3S cluster and I was wondering if I can set a static IP ...
user avatar
  • 13
1 vote
1 answer
194 views

Netplan does nothing

I have this config network: ethernets: eno1: dhcp4: no addresses: [192.168.0.103/24] gateway4: 192.168.0.1 nameservers: addresses: [8.8.8.8,8.8.4.4] version: ...
user avatar
  • 121
0 votes
0 answers
65 views

Static IP Ubuntu Desktop 18.04 with 2 Ethernet ports

Bit of info: We're running Ubuntu Desktop 18.04 with 2 Ethernet Ports. On port enp2s0 we run hardware trough a static IP. On port enp3s0 we have a 'normal' DHCP internet connection. When enp3s0 is ...
user avatar
0 votes
0 answers
30 views

Is a static IP address set in GUI reflected in a config file?

I set a static IP address for my Ubuntu 18.04 machine using GUI and looked in several likely config files (referred to in Web tutorials) to see how the setting was reflected there and saw that it ...
user avatar
  • 101
0 votes
0 answers
22 views

Assigned IP doesn't work properly

I bought a dedicated server through PhoenixNap in August of last year. Since day one, one of my IPs hasn't worked. I have the range of x.x.x.130-134 and 131 has never worked. At first, I contacted ...
user avatar
0 votes
2 answers
691 views

Static IP with Netplan causes slow internet speed (Ubuntu Server 20.04)

I'm having an issue with internet speed when I set up a Static IP with Netplan in Ubuntu Server 20.04. I'm using a Dell PowerEdge R710, with no wifi card, so all solutions that I found in the forum ...
user avatar
0 votes
1 answer
706 views

Static wired LAN IP without a DHCP router ("Link-Local Only") on Ubuntu 20.04

Disclaimer: I the noobest noob when it comes to networking. I hardly have an idea what means what in a network setup. For me, there is no "trivial" information in this regard. I have an ...
user avatar
  • 2,866
0 votes
2 answers
357 views

How to set ip address correctly?

I apologize in advance if my english is bad i want to ask how to set the ip address, i have written this command, and then saved ctrl + x > Y > enter but the result doesn't match I've been ...
user avatar
0 votes
1 answer
868 views

Netplan config file not disabling dhcp

I've setup ubuntu 20.04 desktop version on a PC that has 2 NICs. I have uninstalled network-manager and just want to simply have a static IP on each interface. I've got the netplan .yaml file setup ...
user avatar
0 votes
1 answer
751 views

Ubuntu server 20.04 IPv6 DUID

on an Ubuntu server acting as an DHCPv6 client with netplan set like this renderer: networkd dhcp6: true I received an IPv6 address but I need the DUID to create a static lease on a router. I did a ...
user avatar
0 votes
1 answer
108 views

After trying to set a static IP address, my computer can't recognise the network card

After installing Ubuntu Server 20.xx, I changed /etc/netplan/00-installer-config.yaml content to get a static IP address : network: ethernets: enp0s3: addresses: [192.168.1.17/24] ...
user avatar
1 vote
1 answer
600 views

Is Netplan capable of setting link negotiation settings?

I set a static IP with Netplan on my desktop, but the link negotiation keeps resetting to "Ignore" every reboot on my Plasma desktop. How can I make it permanent?
user avatar
0 votes
0 answers
77 views

Netplan/ubuntu explained

I am still learning. My intent with the following netplan/ubuntu setup was to change my ip address to my ubuntu VM server (ubuntu 18.04) so I cut and pasted the following: network: version: 2 ...
user avatar
  • 31
0 votes
1 answer
1k views

Ubuntu Server 20.04.2 network interfaces won't keep static IP

I'm using VMware with Ubuntu Server 20.04.2 LTS VM. I have two network interfaces connected to the VM; the first one ens33 is connected to NAT and provides the internet connection to the server. The ...
user avatar
  • 103
0 votes
1 answer
4k views

Missing /etc/netplan/50-cloud-init.yaml

I want a static IP in 20.04 server. When directed to /etc/netplan/50-cloud-init.yaml, I notice I have no such file. I have /etc/netplan/00-default-nm-renderer.yaml and 00-installer-config.yaml. Why ...
user avatar
  • 1
0 votes
2 answers
94 views

Is it possible to set static IP on only for specific network, but use DHCP everywhere else?

I'm asking in cases for laptops when I want to connect to the internet using wired setup. Would it be possible to apply my Netplan settings at one network only (i.e. my home), and have the default ...
user avatar
0 votes
2 answers
1k views

How can I set a static ip on a fresh installation of ubuntu 20.04 on my raspberry pi?

I have just installed Ubuntu 20.04 64-bit server on raspberry pi. I want to provide a static ip to it. I'm thinking of adding a configuration file under /etc/netplan/ (following these examples), but ...
user avatar
0 votes
0 answers
566 views

static IPs and netplan

I am trying to create static IP addresses in Ubuntu. I have studied posts, etc. and see that this info is /etc/network/interfaces. I noticed that the ethernet name, for instance is not consistent: ...
user avatar
  • 31
0 votes
0 answers
156 views

how to set static ip to pc for tor

I use tor proxy and i set the tunnel port to 192.168.1.2:9050. I also set my router dhcp that give 192.168.1.2 to my pc but my problem is that sometimes I use another router or my phone hotspot and ...
user avatar
1 vote
1 answer
101 views

Ubuntu 19.10 network problem with public IP - connects but cannot send anything (SYN_RECV) [closed]

I'm a linux newbie trying to setup a public IP address on ubuntu 19.10. My netplan file looks like this: # Let NetworkManager manage all devices on this system network: version: 2 renderer: ...
user avatar
0 votes
0 answers
108 views

How to configure static IP address on Ubuntu 16.04 LTS from GUI interface?

How to configure static IP address on Ubuntu 16.04 LTS from GUI interface?
user avatar
  • 721
0 votes
0 answers
45 views

Ubuntu server 16.04 - Setup static IP on independent network switch (No Internet Network switch)

Please consider this. Scenario: The Device I'm using has Ubuntu server 16.04 installed. It is connected to a NETGEAR network switch but it has no internet access. Tried: Case 1) In the /etc/network/...
user avatar
1 vote
2 answers
1k views

Problems in setting a static IP address in Ubuntu MATE 20.04

I recently installed Ubuntu MATE 20.04 (desktop) on the desktop computer I use in the office. I was previously using Ubuntu MATE 18.04, but version advancing failed, so I created a USB installation ...
user avatar
0 votes
0 answers
971 views

Ubuntu 20.04 after setting static IP, apt update and SSL stopped working

I ws running mu Ubuntu server 20.04 (command line only) for few weeks with IP 192.168.1.5, unaware that it was dynamic. Today the IP changed to 192.168.1.6. I decided to change it to static with this ...
user avatar
  • 13
2 votes
0 answers
2k views

Vagrant static ip problems in ubuntu/focal64

I'm trying to start a a vagrant vm for a new project using image ubuntu/focal64. I want to have a static IP. So here's my Vagrantfile: Vagrant.configure("2") do |config| config.vm.box = &...
user avatar
0 votes
1 answer
206 views

Ubunutu 20.04: What is the Ubuntu appropriate method of setting a static IP address?

I am losing my mind with a fresh install of server 20.04 on Pi4. There is no desktop on this install. Only a terminal. I have disabled cloud-init with the following: echo "network: {config: ...
user avatar
1 vote
0 answers
549 views

Ubuntu Server 20.04 netplan Static IPs dropped after disconnecting

I am setting static IP addresses for multiple ethernet ports on a machine using netplan. They work until a cable gets disconnected and then reconnected. When I pull a cable and plug it back in I don't ...
user avatar
0 votes
1 answer
1k views

Unable to set up a static ip ethernet connection in Ubuntu 20.04 Desktop, what is normally put for netmask and gateway?

I have a static ip address and have been unable to connect to the internet through ethernet since upgrading from 18.04. I have the following information regarding the static ip configuration: Static ...
user avatar
1 vote
2 answers
12k views

Invalid YAML: mapping values are not allowed in this context: network:

I'm trying to configure a static IP and I keep getting this error when I try and execute the changes: Invalid YAML: mapping values are not allowed in this context: network: ^ I've edited my /...
user avatar
  • 77
2 votes
2 answers
393 views

Setting up local static IP with netplan causes network to sleep

I am currently setting up some rpi4 with ubuntu server 20.04, I have setup their static IPs using netplan(Wired LAN) and Somehow they end up sleeping in both SSH and TCP, if left for more than a ...
user avatar
0 votes
0 answers
80 views

Static ip getting released

I am setting up static ip in ubuntu 18.04 using /etc/network/interfaces file. auto lo iface lo inet loopback auto en0 iface en0 inet static address 10.10.10.1 netmask 255.255.255.0 Thereafter,...
user avatar
0 votes
2 answers
29 views

Configuring Internet Access on Ubuntu v18.04

All, To enable static IP, I had to update /etc/network/interfaces file and make the necessary changes in my Ubuntu v18.04 VM for the eth0 vitual ethernet card. I added the static IP of 192.168.56.101 ...
user avatar
1 vote
2 answers
356 views

Netplan try erroring out while making Static IP Change

All, I would like to change the IP Address in my Ubuntu v18.04 VM to Static IP address and I'm referring to these two articles to make the change: How to configure networking with Netplan on Ubuntu | ...
user avatar
0 votes
1 answer
209 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) ...
user avatar

1
2 3 4 5