IP address configuration files

lfc

Registered
I have modified the IP address of my Darwin 5.5. Despite having looked in all imaginable IP configuration files (/etc /var/named....)
my machine still seems to maintain the old IP address somewhere. Looking at the ifconfig -a after reboot, the old IP comes out, togehter with the new one, but the netmask for this last one is set to 255.255.255.0 insted of the value I entered that is 255.255.255.240). I removed the old address with ifconfig and reconfigured properly with the new one and the correct netmask. but if I ping the HOSTNAME the resulting IP is the old one !!!

...getting crazy... any help is highly welcomed !!!

Graphic configuration tools (System Preferences/Network and NetInfo manager) do not help in sorting this problem...
 
I would post this in the Darwin area if you're _not_ using Mac OS X. If you ARE using Mac OS X, you shouldn't change your IP by hand, as NetInfo will simply overwrite your changed textfiles with the info in its own DB.
 
/etc/iftab is set to AUTOMATIC


I'm running MacOSX.
Despite setting the IP data with NetInfo, after a reboot my machine still has the old IP address and the new one with an incorrect netmask (ffffff00 instead of fffffff0)

I appreciate your replies [LfC]
 
No DHCP, I use static IP address.
Previously I had IP addresses assigned dinamically. Now my provider has given me static IP. With dynamic IP I used NAT and reserved IP addresses on my hosts (1.0.1.0 netmask ffffff00). Firewall and natd have been reconfigured not to use old addresses. But afer a restart, my MacOSX shows an old IP (10.0.1.2) on its en0, together with the new static one (but the netmask is set to ffffff00 instead of fffffff0, that I configured before). I have to manually intervene and fix the addresses (delete 10.0.1.2 and set the netmask for the new one correctly).

After that everything works fine. I think that the old IP has been hardcoded somewhere by some apps (like NetInfo), because I can not retrieve any file with that IP inside (running grep extensively).
 
Back
Top