Setting Static IP Address

mascenzimascenzi Posts: 1New Member

New to the forum. I'm having some issues regarding setting a static IP Address running Ubilinux.

here's where I'm at.

The general information that I've found has said that by editing /etc/network/interfaces with an address, mask, and gateway it is all that really needs to be done. However, no matter what directions I follow it never uses the IP address I assign. It always defaults to the dhcp address.

here is the current configuration of /etc/network/interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

auto enp1s0
iface enp1s0 inet static

I also followed here with no success.

I've never attempted to make the changes with the GUI, as I need to make it work via the cmdline as I won't have access to the UI at all.

Anyone, any ideas????


  • ccaldeccalde Posts: 172New Member, Emutex mod

    Hi @mascenzi ,

    Did you try to restart your service?
    sudo systemctl restart isc-dhcp-server


Sign In or Register to comment.