Thread: changing ip

    #1
  1. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Posts
    23
    Rep Power
    0

    changing ip


    hi,

    due to some circumstance, i need to change my linux box's ip
    from 192.168.100.200 => 192.168.0.200


    how do i accomplish this? do i need to reinstall my linux box?
    (hopefully no need )



    cheers,
    melv
  2. #2
  3. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539
  4. #3
  5. 11
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Jul 2001
    Location
    Lynn, MA
    Posts
    4,635
    Rep Power
    83
    No, you don't need to reinstall. In fact, you don't even need to reboot after changing your IP address.

    What distro are you running? If redhat or mandrake (may work on other distros too), su to root and type "netconfig" from the prompt. This is probably the easiest way to change your IP. Then restart networking (on redhat and mandrake it's "/etc/init.d/network restart") and you should be set.

    If you can't get this to work, look for linuxconf.
  6. #4
  7. No Profile Picture
    Not there when you need me
    Devshed Beginner (1000 - 1499 posts)

    Join Date
    Oct 2001
    Location
    Berlin, Germany
    Posts
    1,430
    Rep Power
    15
  8. #5
  9. No Profile Picture
    Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2000
    Posts
    23
    Rep Power
    0
    i'm using redhat 7.0

    hmm... thanks Hero Zzyzzx, I will try that out. should be
    quite fairly easy.


    cheers,
    melv

IMN logo majestic logo threadwatch logo seochat tools logo