Static IP addresses fail!

Tom H tomh0665 at gmail.com
Fri Jul 22 05:50:03 UTC 2011


On Fri, Jul 22, 2011 at 1:23 AM, don fisher <hdf3 at comcast.net> wrote:
>
> I am currently running Ubuntu 10.10 with no end of problems. How does one
> assign a static IP address. I have tried the standard network manager and
> WICD, all with no success. This used to be easy 10 years ago! In Redhat-9
> you just edited the interface description files and it was done. Now they
> have made it so easy I can find no options!

If you're using NM, go to "System" - "Preferences" - "Network
Connections", select the NIC, click the "Edit" button, select the
"IPv4 Settings" tab, select "Manual" from the "Method" dropdown, ...

If you're not using NM (or WICD), add to "/etc/network/interfaces"
auto ethX
iface ethX inet static
address <ip_address>
netmask <netmask>
broadcast <broadcast> # not essential
network <network> # not essential
gateway <gateway>




More information about the ubuntu-users mailing list