Change Ubuntu Desktop from DHCP to a Static IP Address
If you’ve installed your Ubuntu installation with DHCP, it’s really easy to reconfigure your system to use a static IP address with the GUI based Network Settings dialog.
To open the utility, go to System \ Administration \ Networking
You’ll see your network adapter in the list. Click the Properties button, and you’ll see this dialog:
Just change the drop-down box to Static IP address, and then put in your static settings. Ubuntu is so easy, isn’t it ?
The Geek is the founder of How-To Geek and a geek enthusiast. This article was written on 12/13/06 and tagged with: SysAdmin, Ubuntu
Daily Email Updates
You can get our how-to articles in your inbox each day for free. Just enter your name and email below:
| Similar Articles | Featured Wiki Articles |
| Latest Software Reviews | Quick Linux Tips |
| Geek Arcade | Popular Forum Threads |


any possibility to do it from command line?
FWIW this set of instructions works reliably ONLY with wired connections. Wireless desktops and laptops require additional configuration (i.e. config file hacking) which may be chipset-specific. Wireless users may be better off configuring MAC-based static IPs inside their routers.
I tried this out on “Feisty” and lost my internet connection (Im on pppoe)
Just a (perhaps dumb) question: what is the benefit of doing this?
Tom: media server in living room too far from wired connection, must have persistent IP for other PCs to connect to it reliably.
If anyone ever finds out how to create static ip for wifi, heeeeelp! Thx.
@Tom: also need it to Port Forward, which you need to enable fast BitTorrenting, which you need to (legally) exchange large files.
If you need a static ip, you can do a static lease on your router, and tie the IP address to the MAC address on the wireless interface. I use this on my home system with a variety of devices. Also the router config will manage Port Forwarding and Quality of Service parameters for large file transfers. (like legal BitTorrent). Check out the dd-wrt or tomato if your router’s basic firmware doesn’t support this.