Change NIC settings on Linux

By default, NIC settings on Linux Ubuntu, or any other, are configured as DHCP client and DNS settings will be received from DHCP server. In numerous situations this settings should be changed. Either you are in non DHCP environment or you want to use public DNS server instead ISP DNS.

In order to verify NIC settings go to Power button on your desktop (Slide 1.) and select System settings.. (Slide 2.) option.

Change NIC settings on Linux

Slide 1.

Change NIC settings on Linux

Slide 2.

On System settings.. locate and select Network icon (Slide 3).

Change NIC settings on Linux

Slide 3.

On next window you can verify current settings and parameters such as IP address, subnet mask or default gateway (Slide 4.).

Change NIC settings on Linux

Slide 4.

On same window select Options.. in order to change settings. First select IPv4 Settings tab and then choose method. Method will depend, whether you want configure all settings manually or you just want to configure DNS settings manually or even something else. For this tutorial I will select Manual option (Slide 5).

Change NIC settings on Linux

Slide 5.

On Editing Auto Ethernet select Add button (Slide 6.) and insert IP address, subnet mask in decimal notation and default gateway (Slide 7). Also insert DNS server IP address. You can insert some local DNS IP address, your ISP DNS or some public DNS. Select Save button.

Change NIC settings on Linux

Slide 6.

Change NIC settings on Linux

Slide 7.

Verify you settings by navigating back to Network section (Slide 8.) or by typing ifconfig in your Terminal. Sometimes change will not be visible momentarily and you have to turn off and then on your NIC.

Change NIC settings on Linux

Slide 8.

More tutorials about NIC settings will arrive soon.

I hope this tutorial was informative to you and thank you for visiting this website.

Dejan Dzodan

Dejan Dzodan

IT professional for more then 15 years, mostly in financial institutions but with experience in ISP and retail. Proven in networking and overall infrastructure projects. Cisco instructor.

Leave a Reply

Your email address will not be published. Required fields are marked *


4 + 9 =