How to set a static IP address using Webmin

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"

Hello, friends. In this post, we will help you to set a static IP address using Webmin. This is another post in a small series where we will explore this cool tool.

Webmin has many different options for managing a Linux server. One of these options is to define a static IP address that can be used to change a previously defined one or to switch from DHCP to a static address.

This process can be done using terminal commands. However, having webmin reduces the process to a couple of clicks.

So, let’s go for it.

Set a static IP address using webmin

Starting from the Webmin dashboard, then on the left side we have to go to Networking > Network Configuration to access the following screen.

1.- Network configuration on Webmin
1.- Network configuration on Webmin

In it, you will have several options that you can use to configure everything related to the operating system network.

First of all, you have the Network Interfaces button which is where you can configure each of the interfaces. Click on the button.

2.- Network interfaces on Webmin
2.- Network interfaces on Webmin

In the Active Now tab you will see a list of all the active network interfaces. There you can select one of them for configuration. Also, from this screen, you can add a new one and know the status.

To edit the configuration of any of them, you have to click on it. In this case, the one we are interested in configuring is eth0.

3.- Set a static IP Address with Webmin
3.- Set a static IP Address with Webmin

When you click on the interface, you will see an image similar to this one.

In it, we can define the static IP address, broadcast, and IPv6 options. Just modify the values as you see fit and click save.

Then, click on Routing and Gateways in the main Network interfaces screen and there you will have other options to define such as the gateway and static routes. When you are done configuring what you have, click on save.

4.- Routing and Gateways screen
4.- Routing and Gateways screen

Now it is time to click on Hostname and DNS Client to set the DNS that our server will use. Here you can also change the hostname. When you are ready, click on Save.

5.- Set a new hostname for the system with Webmin
5.- Set a new hostname for the system with Webmin

In the end, to apply all the changes, you have to click on Apply Configuration.

6.- Apply the new configuration
6.- Apply the new configuration

So, enjoy it.

Conclusion

In this post, you learned how to change the static IP address using webmin. So we will have another way to do it, this time graphically.

Everything Linux, A.I, IT News, DataOps, Open Source and more delivered right to you.
Subscribe
"The best Linux newsletter on the web"
Angelo
Angelo
I am Angelo. A systems engineer passionate about Linux and all open-source software. Although here I'm just another member of the family.

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest articles

Join us on Facebook