Find the answer to your Linux question:
Results 1 to 4 of 4
I had to reinstall FC4 in one of my machines cuz the harddrive went bad. When I started to check settings I noticed that the IP address on the machine, ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux User
    Join Date
    Jan 2005
    Location
    Florida
    Posts
    414

    Changing the IP address


    I had to reinstall FC4 in one of my machines cuz the harddrive went bad. When I started to check settings I noticed that the IP address on the machine, which used to be 192.168.0.102, is now 192.168.0.101, the same as the IP address on a windows XP machine my wife uses.
    How to I manually change the address?
    registered linux user: 387197

  2. #2
    Linux Newbie rat007's Avatar
    Join Date
    Jul 2004
    Location
    Brno
    Posts
    230
    ifconfig ethX newip

    where ethX is your network card (check ifconfig first)

  3. #3
    Linux Guru loft306's Avatar
    Join Date
    Oct 2003
    Location
    The DairyLand
    Posts
    1,666
    Quote Originally Posted by rat007
    ifconfig ethX newip

    where ethX is your network card (check ifconfig first)
    just remember that anything done with ifconfig is temporary and will go back to the other ip if u ever reboot

    somewhere there is a file prob in /etc that you config your network settings in ( in gentoo it is /etc/cong.d/net) i dont know what it is in fc
    ~Mike ~~~ Forum Rules
    Testing? What's that? If it compiles, it is good, if it boots up, it is perfect. ~ Linus Torvalds
    http://loft306.org

  4. #4
    scm
    scm is offline
    Linux Engineer
    Join Date
    Feb 2005
    Posts
    1,044
    [quote="loft306"]
    Quote Originally Posted by rat007
    somewhere there is a file prob in /etc that you config your network settings in ( in gentoo it is /etc/cong.d/net) i dont know what it is in fc
    /etc/sysconfig/network-scripts/ifcfg-eth0.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •