Setting a Static IP in Ubuntu

How to set a static IP in Ubuntu (the quick answer):
  1. Disable the graphical management of your network connection in /etc/NetworkManager/NetworkManager.conf   Set the following in the file to true:
    managed=false
  2. Gather the information for the static IP (interface, IP to be used, default gateway, subnet, DNS)
  3. Modify /etc/network/interfaces to include the information above.
  4. Restart networking and network-manager services

Comments

Popular Posts