Find the answer to your Linux question:
Results 1 to 5 of 5
I have redhat 9 install running an old postfix mail server. Just had to change it's ip address. Edited the /etc/network-scripts/ifcfg-eth0 file and rebooted. It still pulls over the old ...
  1. #1
    Just Joined!
    Join Date
    Jan 2010
    Posts
    5

    ip address

    I have redhat 9 install running an old postfix mail server. Just had to change it's ip address. Edited the /etc/network-scripts/ifcfg-eth0 file and rebooted. It still pulls over the old ip address somehow. So my temp work around is to manually change the ip at the command line.

    Were else could the system be getting the old ip address from? I also checked in the /etc/rc.d/rc.local file....not in there.

    Thanks,

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    I don't know about RH9, but on my RHEL (CentOS) 5 system, the settings are in /etc/sysconfig/networking/devices - ifcfg-eth0 and ifcfg-eth1 (I have 2 ports). It looks to be a clone of /etc/sysconfig/network-scripts/ifcfg-eth0. Perhaps you need to modify both files? On my system, both files are just that, files not links.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  3. #3
    Just Joined!
    Join Date
    Jan 2010
    Posts
    5
    Oh that may be it. I know I have seen that devices folder on there before.

    Anyone know why there are 2 files that contain the ip address info like this?

    Gonna check this out later today to see if it really fixes the issue.

  4. #4
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    Location
    I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
    Posts
    8,974
    Quote Originally Posted by icedutah View Post
    Oh that may be it. I know I have seen that devices folder on there before.

    Anyone know why there are 2 files that contain the ip address info like this?
    I don't know why, but I'm still getting up-to-speed Linux-admin-wise. I'd like to know also.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

  5. #5
    Just Joined! Farolito's Avatar
    Join Date
    Feb 2008
    Posts
    8

    could you fix the problem

    I had the same issue in fedora, fedora has a entry in the that allow NetworkManager to controlled it so change in the eth# won't stay after restart the services

Posting Permissions

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