Technical Anshu
Tutorials Blog
Installer Screen Guide

Set a Static IP Address During the Ubuntu Server Installation Network Screen

The network screen, field by field

Technical AnshuVMware ESXi5 minute read
Watch the full installation in the video - every screen, live on a real ESXi host

Most people blow straight past the installer's network screen on the default DHCP setting, and for a desktop VM that is fine. A server is the machine everything else connects to - its address is part of its identity. The installer gives you one clean chance to set that address permanently before the system even exists. This page explains the screen field by field, including the one trap that causes duplicate-address chaos.

Network connections - editing the adapter
ens160 - VMXNET 3 adapter
IPv4 methodManual
Subnet192.168.1.0/24
Address192.168.1.50
Gateway192.168.1.1
Name servers192.168.1.1, 1.1.1.1
Before you save
Address is free, outside the router DHCP pool
Example values from a typical home network. Yours must match your own network - copy the pattern, not the numbers.
1

Why a Server Wants a Fixed Address

During installation the network screen defaults to DHCP: the VM asks your router for an address and takes whatever it is given. That is fine for a laptop. A server is different - other machines, shortcuts, backups and your own memory all point at its address. If DHCP hands it a different address next month, everything pointing at the old one breaks at once.

Setting the address during installation is the cleanest moment to do it. The installer writes the configuration for you, the server comes up on its permanent address from the very first boot, and you never have to untangle it later.

2

The Four Fields, Honestly Explained

Select the adapter on the network screen, choose Edit IPv4, and change the method to Manual. Four fields appear:

  1. Subnet - your network range written in CIDR form, for example 192.168.1.0/24. The /24 means the first three numbers identify the network
  2. Address - the fixed address for this server, for example 192.168.1.50. Same first three numbers as the subnet, a last number nobody else is using
  3. Gateway - your router's address, usually ending in .1 - this is the door to every other network and the internet
  4. Name servers - who translates names like ubuntu.com into addresses. Your router's address works; you can add a public resolver such as 1.1.1.1 after it

There is also an optional search domains field. On a home or small office network, leave it empty.

3

Pick an Address That Stays Yours

The one real trap in this screen is choosing an address your router is also handing out by DHCP. Routers typically give DHCP addresses from a pool - often the higher numbers. Pick your server's address outside that pool but inside the subnet; on many home routers something like .10 to .50 is pool-free territory, but check your router's DHCP settings page if you can.

🔴 Two devices, one address: if the address you choose is already in use, both machines get flaky, half-working networking that looks like random failure. Before saving, be sure the number is genuinely free - ping it from another machine and expect no reply.
4

What If DHCP Is Actually Fine

Honesty matters here: a static address set in the installer is not the only correct pattern. Many administrators leave the VM on DHCP and create a reservation in the router instead - the router always gives that VM the same address, and address management stays in one place. That is a respectable approach too.

What is not fine is pure, unmanaged DHCP for anything you will connect to by address. Either fix the address here in the installer, or reserve it in the router - pick one, deliberately.

5

You Can Change It Later, and the Installer Proves Its Work

Nothing typed on this screen is carved in stone. Ubuntu Server stores its network configuration in netplan files, and the installer writes the first one from exactly what you entered here - which is why the values appear again on the summary before installation begins. If an address plan changes later, the configuration can be edited after installation; that is configuration work, covered in the companion guide.

One practical check before you press Done: read the subnet line twice. A typo here - /24 typed as /16, or a gateway on the wrong subnet - gives you a server that installs perfectly and then cannot be reached. The installer's own connection test on the mirror screen quietly depends on this screen being right.

Watch the Ubuntu Server Install in the Video

The complete installation on a live ESXi host - creating the virtual machine and working through the installer screens exactly as they appear.

Watch Full Video
Common Questions (FAQ)

What subnet value do I type for a typical home network?

For the very common 192.168.1.x network, the subnet is 192.168.1.0/24. The /24 suffix describes a network of 254 usable addresses where only the last number changes. If your router uses 192.168.0.x instead, the subnet is 192.168.0.0/24 - the pattern follows your router.

Can Ubuntu Server be installed with no network at all?

Yes. The installer does not require an internet connection to complete - it installs from the ISO. You can leave networking on DHCP or even disconnected and configure everything afterwards. The mirror test will fail gracefully; updates simply wait until the network is sorted out.

Static IP in the installer or a DHCP reservation in the router - which is better?

Both are legitimate. A static address in the installer keeps the server self-contained and reachable even if the router is replaced. A router reservation keeps all address management in one place. The only wrong answer is unmanaged DHCP for a machine other services depend on.

This guide is based on the Technical Anshu video on installing Ubuntu Server on VMware ESXi - stuck on a step? Ask in the video comments and you will get a reply.