[ubuntu-in] Configure the IP

Hrishikesh Murali hrishikeshmurali88 at gmail.com
Tue Apr 20 15:33:04 BST 2010


Hi,

On Tue, Apr 20, 2010 at 11:38 AM, Mehdi <akrinar at gmail.com> wrote:

> Thanks, but how i can change the IP address and Getaway and DNS? by
> TERMINAL
>

--- IP ADDRESS ---
$ ifconfig <ethernet_card_name> <ip_address>/<mask>
eg: ifconfig eth0 192.168.1.2/24

--- GATEWAY ---
$ route add default gw <gateway_address>

--- DNS ---
In /etc/resolv.conf, type the following:
nameserver <dns_server_ip>


P.S.: Please "google it up" before you ask questions :)

-- 
Thanks and Regards,
Hrishikesh Murali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20100420/dd7183ae/attachment.htm 


More information about the ubuntu-in mailing list