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
-1 votes
1 answer
60 views

Ubuntu 23.10 - Nework interface settings visually revert after closing configuration dialog and internally revert after rebooting

I'm trying to permanently set a static IPv4 address on a specific network interface in Ubuntu 23.10, via the "Network" menu in the settings app. However, when I leave the network interface's ...
ninbura's user avatar
  • 107
0 votes
0 answers
46 views

Single Network Interface Deferent IP address and Gateway for Home and Office Networks

I need to connect my laptop running Ubuntu Server 22.04 to my home network 192.168.0.0/24 and Office network 192.168.1.0/24 without manually changing the settings every time. Is this possible with ...
Alasok Arandab's user avatar
0 votes
0 answers
19 views

after changing ip address to static internet connection is missing

I try to set ip static ip address via interface to this one 192.168.100.4 with this mask 255.255.255.0 and default route (get from route cmd) and dns ip from nmcli device show wlp1s0 | grep IP4.DNS ...
Nikita Smiatskii's user avatar
0 votes
1 answer
979 views

Unable to setup a static ip address on Ubuntu Server 22.04.3 LTS

This is the netplan config I've been attempting to use: network: version: 2 renderer: networkd ethernets: enp4s0: dhcp4: false addresses: [192.168.70.79/24] routes: ...
Ralph El Massih's user avatar
-1 votes
1 answer
2k views

Raspberry Pi 4 - Ubuntu Server 22.04 - HEADLESS Static IP Configuration

I have a Raspberry Pi 4. I want to burn an SD card with Ubuntu Server 22.04, with ETH0 configured STATIC IP 192.168.0.10. NO DHCP. (SSH enabled) Headless, meaning no screen, no keyboard, no mouse. ...
05032 Mendicant Bias's user avatar
0 votes
0 answers
131 views

How to set a static IP on a `tunnel` network?

I am using amazon AWS VPN endpoint and I have a ubuntu 20.04 client for which I would like to have a static IP on the VPN network. I cannot find any examples on how to setup the /etc/netplan/50-cloud-...
matthieu's user avatar
1 vote
1 answer
273 views

Setting up a static IP for my wireless interface on Ubuntu Server

I am trying to configure my wireless interface to use a static IPv4 address and I suddenly lost connection to the internet. This is my configuration file content: # This is the network config written ...
Gas-Andrew Chedid's user avatar
0 votes
0 answers
149 views

Ubuntu server 20.04 temporary failure in name resolution

I have installed ubuntu server 20.04 in VirtualBox and setup static ip address. now I am trying to install golang but shows this "Resolving go.dev(godev)...failed:temporary failure in name ...
Rasangi's user avatar
0 votes
1 answer
498 views

configure default static IP address in cloud-init nocloud config (CIDATA) on usb

I have built a custom Ubuntu 22.04 install that runs unattended from a USB stick. I am now trying to add a default static IP address that the target will boot with. These systems will be booting in ...
Robosmith's user avatar
0 votes
0 answers
987 views

Machine with Static IP Address will not connect to the internet - 20.04

Having a weird problem with configuring a public static IP address in Ubuntu 20.04. The computer will not connect to the internet. Cannot use web browser. Cannot ping 8.8.8.8 I checked over the ...
Chris Dutrow's user avatar
2 votes
1 answer
6k views

Network 'device is strictly unmanaged', trying to make static IP work

I have a Ubuntu 22.04.2 LTS machine here that needs to be set with static IP address. I followed the Linuxize tutorial for employing netplan, plus the StackExchange update on the new syntax to set /...
BsAxUbx5KoQDEpCAqSffwGy554PSah's user avatar
2 votes
1 answer
2k views

Assign multiple Static IP address to one NIC

Please, I need help on to assign multiple static IP's with different on one NIC for 2 different IP like 192.168.xx.xx/24 and 172.16.xx.xx/24. Any idea of how to configure it on Ubuntu Server 22.04. I ...
jesushova's user avatar
0 votes
1 answer
1k views

Ubuntu Server 22.04 has two IP addresses

My Ubuntu Server has over LAN (eth0) two IPv4 addresses from one day to another. Maybe this happened with an update. I use it as a web server for WordPress and local DNS with Pi-Hole. All services are ...
Alex's user avatar
  • 35
2 votes
1 answer
1k views

Can't connect SSH on static IP address

I have a default Ubuntu Server 22.04 installation (haven't done anything on it yet). SSH is working fine with default configuration on server's dynamic local IP. I then set up a new netplan ...
KarmaciouS's user avatar
0 votes
0 answers
252 views

Network configuration does not reflect the NetworkManager profile

In Ubuntu 22.04, I created a NetworkManager profile called netplan-enp2s0.nmconnection: [connection] id=netplan-enp2s0 uuid=7ea6f90b-3495-3533-948a-ef0035687c34 type=ethernet interface-name=enp2s0 ...
Mark's user avatar
  • 507
0 votes
0 answers
273 views

How to setup convenient ssh to ubuntu 20.04 vm on vmware workstation 16

I setup ubuntu server 20.04 LTS as a VM on Vmware Workstation. I want to be able to ssh into it from my windows 11 host. Everything works, but the dynamic IP is annoying. When I changed it to a static ...
medic17's user avatar
  • 101
-2 votes
1 answer
37 views

Cant log to vm via Static IP

i created static IP from File->Host Network Manager Then i changed Network Adapter to Host-only Adapter and Select created Static IP address Change configurations in /etc/netplan/00-installer-...
madusanka's user avatar
1 vote
1 answer
8k views

No internet connection with Static IP; Ubuntu Server 22.04 LTS

I'm newbie. I'm learning to hosting a server using Ubuntu (I wandered around and found that it's best for server hosting) I'm using Ubuntu Server 22.04 LTS, Oracle VBOX 6.1.36 I'm using Bridged ...
newbie's user avatar
  • 11
2 votes
2 answers
4k views

Ubuntu Server 22.04: Internet is not working after configuring Static IP

I was changing my network configuration from dhcp to assigning a Static IP, but after changing, the internet just won't work with my set Static IP. However reverting back to its dhcp conf. makes ...
Virtual Master's user avatar
3 votes
1 answer
9k views

Ubuntu 22.04: Netplan (static ip) - Unable to ping gateway or internet IP's, local network devices ping fine

Situation I have VMWare ESXI running with an Ubuntu Server 22.04 instance. This instance runs PowerDNS for my local network and needs a static IP. My local network uses class A-type IP addresses, in ...
Harold's user avatar
  • 159
1 vote
0 answers
4k views

Ubuntu Server 22.04 cannot assign static IP address using netplan

I'm running Ubuntu Server 22.04 on Oracle VM Virtual Box on a Windows 10 machine, and have the Bridged Adapter selected under Networking. I'm trying to assign a static IP address, and edited my 00-...
Norman's user avatar
  • 83
0 votes
0 answers
898 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, ...
v3xX's user avatar
  • 151
0 votes
3 answers
5k 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 ...
Serg's user avatar
  • 1
0 votes
1 answer
2k 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 /...
QF0's user avatar
  • 243
0 votes
0 answers
1k 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: ...
Kingfranz's user avatar
  • 113
0 votes
1 answer
1k 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 ...
Gitnik's user avatar
  • 195
0 votes
1 answer
1k 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: ...
Letal1s's user avatar
0 votes
1 answer
618 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 ...
Kevin john's user avatar
0 votes
1 answer
416 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 ...
ElliotDaly109's user avatar
0 votes
0 answers
869 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 ...
Destro's user avatar
  • 1
1 vote
0 answers
625 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 ...
noraworld's 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 ...
Thirumal's user avatar
  • 979
0 votes
1 answer
657 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 ...
Oren's user avatar
  • 13
1 vote
1 answer
387 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: ...
Madeo's user avatar
  • 123
0 votes
0 answers
236 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 ...
Arjen Lakerveld's user avatar
0 votes
0 answers
225 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
0 votes
2 answers
2k 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 ...
Ricardo MacCord's user avatar
0 votes
1 answer
3k 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 ...
Levente's user avatar
  • 3,953
-1 votes
2 answers
2k 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 ...
Fabian Syawali's user avatar
1 vote
1 answer
4k 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 ...
BigDave2001's user avatar
0 votes
1 answer
2k 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 ...
clorant's user avatar
0 votes
1 answer
235 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] ...
mostafa 's user avatar
1 vote
1 answer
2k 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?
YamiYukiSenpai's user avatar
0 votes
0 answers
172 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 ...
cal's user avatar
  • 41
0 votes
1 answer
3k 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 ...
NicoCaldo's user avatar
  • 133
0 votes
1 answer
8k views

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

I want a static IP in Ubuntu 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 /etc/netplan/00-installer-...
Missio's user avatar
  • 1
0 votes
2 answers
491 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 ...
YamiYukiSenpai's user avatar
1 vote
2 answers
3k 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 ...
Jannis Ioannou's user avatar
0 votes
0 answers
1k 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: ...
markum's user avatar
  • 61
0 votes
0 answers
267 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 ...
mohammad aghaie's user avatar

1
2 3 4 5 6