• Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • Categories
    Category
    {{ postCtrl.tags }}
    • {{ category.tag_type }}

      • {{tag.tag_name}}
      • View more
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial News Comments FAQ Related Articles

How to set static IP address and DNS in Ubuntu 15.10 desktop and server

{{postValue.id}}

To set static IP address and DNS in Ubuntu 15.10 desktop and server

In this article we will discuss about setting a static IP address and DNS in Ubuntu 15.10 desktop and server.

To assign static IP address to Ubuntu Server

[user1@linuxhelp~]$ ifconfig &ndash a


uuser2

To open interface file or configure file

[user1@linuxhelp~]$ sudo vim /etc/network/interfaces


uuser1

To apply the new configuration and restart Ubuntu

[user1@linuxhelp~]$ sudo /etc/init.d/networking restart

OR

[user1@linuxhelp~]$ sudo systemctl restart networking.service


uuser3

To check if your new IP address has been assigned

[user1@linuxhelp~]$ ifconfig -a


uuser4

To Set Static IP Address on Ubuntu

Step 1

Start the Unity Dash and check for Network Connections and click the Network connection icons.

d1

Step 2

Now click the wired connection and choose edit option.

s2

Step 3

Select IPv4 settings in new opened window. Now click on IPv4 settings in the drop down menu next to method and select manual. Click Add button to add IP address, Gateway and Subnet mask. And also enter DNS server and search domain’ s IP.

d3

Step 4

Click save button to apply the changes. Use connection icon in top right corner of the desktop panel to reconnect to your network static IP address. If the computer was using Dynamic IP address, before doing this setup disconnect the connection by clicking the icon and connect again.

D4

Step5:

To review your current settings click Connection Information on the panel icon, now it shows your connection status information.

D5

Tags:
owen
Author: 

Comments ( 0 )

No comments available

Add a comment
{{postCtrl.cmtErrMsg}}

Frequently asked questions ( 5 )

Q

Is there any other command to view ip address ?

A

You can use "ip a" to view ipaddress

Q

where we get nameserver details ?

A

You can find under /etc/resolve.conf

Q

How to Change DNS settings on ubuntu?

A

Change it from here "/etc/resolve.conf"

Q

how to down interface ?

A

Use the following commands sudo systemctl stop network 'or' ifdown interface_name

Q

I am facing a WiFi issue on Ubuntu How to fix it ?

A

Try this, sudo service network-manager restart ""OR"" Ignore file not found or errors..` sudo apt-get remove --purge broadcom-kernel-source sudo rm -rf bcma sudo apt-get update sudo apt-

Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help David Lopez Guillen ?
Ayuda urgente instale SSL para servidor Opensuse y ahora no funciona tengo servicio web

hola segui este tutorial para tener un certificado ssl y ahora no se ve mi app en la red, espero alguien pueda ayudarme, tengo M9oodle en3.5 en un servidor open suse y ahora no funciona por favor ayuda.

https://www.linuxhelp.com/how-to-create-ssl-certificate-in-opensuse

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.