static ip address

Raseel Bhagat raseelbhagat at gmail.com
Wed Aug 12 06:08:38 UTC 2009


On Tue, Aug 11, 2009 at 3:23 AM, Daniel Dalton <d.dalton at iinet.net.au>wrote:

> Hi,
>
> On ubuntu what is the best way to set a static ip address?
>

If it's a one time thing, I would suggest :
$ sudo ifconfig eth0 192.168.1.10 (or whatever is the desired IP on the
desired interface)

Else, you can edit /etc/network/interfaces

Or else, you have to add appropriate entry in the Network Manager (or Wicd
if you are using it)

Thanks,
Raseel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090812/7555760a/attachment.html>


More information about the ubuntu-users mailing list