Results 1 to 4 of 4

Thread: Change ip address in ubuntu 8.10

  1. #1
    Join Date
    Apr 2009
    Posts
    48

    Change ip address in ubuntu 8.10

    I have installed Ubuntu 8.10 on my machine and i am using Linksys WPC54G to access internal network. Now i want to change my ip address, i need static ip address. Does anyone know how to change IP address in ubuntu?

  2. #2
    Join Date
    Jan 2006
    Posts
    4,221

    Re: Change ip address in ubuntu 8.10

    You can edit the /etc/network/interfaces file to change ip address in ubuntu. Open this file up in editor Now, modify /etc/network/interfaces and add.

    auto eth0
    iface eth0 inet static
    address 192.168.0.10
    netmask 255.255.248.0
    gateway 192.168.0.224

  3. #3
    Join Date
    Jan 2006
    Posts
    3,792

    Re: Change ip address in ubuntu 8.10

    Remove the Gnome Network Manager,You need to complete this step first because if left installed this application will overwrite any changes you make to your configuration when the system is rebooted.In reality there are two files that must be configured and one file that can be configured. The “must files” are /etc/network/interfaces and /etc/resolv.conf. The “can file” is /etc/hosts.

  4. #4
    Join Date
    Jan 2009
    Posts
    106

    Re: Change ip address in ubuntu 8.10

    You can change ip address in Linux using ifconfig command itself. To set IP address 192.168.22.105, enter command:
    # ifconfig eth0 192.168.22.105 netmask 255.255.224.0 up
    # ifconfig eth0

    To make permanent changes to IP address you need to edit or modify the following file: /etc/networks/interfaces. according to your Linux distribution.

Similar Threads

  1. Change ip address from 10.0.2.14 to 192.168.X.X
    By dalsandhu in forum Networking & Security
    Replies: 3
    Last Post: 09-10-2009, 03:06 PM
  2. change IP address
    By iRounak in forum Networking & Security
    Replies: 6
    Last Post: 25-08-2009, 08:29 AM
  3. How To Change a MAC Address?
    By Aramax in forum Networking & Security
    Replies: 2
    Last Post: 04-02-2009, 06:59 PM
  4. How to change WAN IP address?
    By Rugby in forum Networking & Security
    Replies: 3
    Last Post: 13-01-2009, 06:33 PM
  5. How to change IP address
    By Jerome in forum Tips & Tweaks
    Replies: 0
    Last Post: 03-11-2008, 05:50 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,001,557.10700 seconds with 17 queries