Ubuntu 14.04 -- I cannot change IP from dynamic to static address

Hello Experts,

I am having a strange situation with my newly install Ubuntu workstation. I cannot change the IP address using the GUI.

I am trying to change from dynamic to static IP address.

I tried a few things such as text editing  this:

sudo vi /etc/network/interfaces

"auto eth0
iface eth0 inet static

What is it that I need to keep in mind to do this please?

Do I need to remove the dhcp client?
marceloNYCMiddle-Tier AdministratorAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Rezwan IslamSystems AdministratorCommented:
What IP do you see registered under eth0 when you run "ifconfig -a eth0"?
No, you do not need to remove dhcp client.
The settings on the /etc/network/interfaces file is right, you only need the following lines to make it work though.

auto eth0
iface eth0 inet static

and make sure you reload network by using the following and not by “service networking start|stop|restart” as this will not work (this is a bug in 14.04). You can restart Ubuntu box to make this happen anyway.

$sudo ifdown eth0 && sudo ifup eth0
marceloNYCMiddle-Tier AdministratorAuthor Commented:
I did what you said and no luck... Still wit5h the DHCP address

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
marceloNYCMiddle-Tier AdministratorAuthor Commented:
It worked....

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux Networking

From novice to tech pro — start learning today.