PDA

View Full Version : Die, IP, Die


Craig R. Arko
04-16-2002, 03:11 PM
About 2 weeks ago we changed ISP's, which of course required a change to the (static) IP address of the OS X Server.

The problem is, that the old address seems to be cropping up in place still. Such as the SLP service advertisement, so the machine appears twice in the local network. Once with the new (correct) IP and once with the old (bad) IP.

I've searched through the NetInfo database and deleted all the references to the old address, but that doesn't seem to have done it. Neither does rebooting the server, or killing and restarting the indivdual daemons.

Where else might this address be hiding? A config file, or a cache, I assume, but which one(s)?

Anyone have any bright ideas? TIA.

mervTormel
04-16-2002, 06:50 PM
hmm, is it in the routing table?

netstat -ra

Craig R. Arko
04-16-2002, 08:49 PM
Originally posted by mervTormel
hmm, is it in the routing table?

netstat -ra

Nope.

mervTormel
04-16-2002, 09:18 PM
so, you've searched /etc ?

sudo find /etc/ -type f | xargs grep <theIPaddress>

and you've grep'd thru an nidump for theIPaddress ? any other netinfo domain configs on some other host on the LAN?

could it be stuck in a router cache somewhere?

what does traceroute say?

of course, you can't ping the old addy, right? hopefully, you don't have some unscrupulous host somewhere.

Craig R. Arko
04-16-2002, 09:32 PM
sudo find /etc/ -type f | xargs grep <theIPaddress>

-- Nothing

and you've grep'd thru an nidump for theIPaddress ? any other netinfo domain configs on some other host on the LAN?

-- No, I just searched using NetInfo Manager 'find'. It had found a few instances which I changed to reflect the new IP. I'll try your idea. This machine was the NetInfo domain root server but I deleted the 'network' domain because it had several instances of the old address. So all machines are using their local db. But the SLP server still binds the old address to AFP and Mac Manager.

could it be stuck in a router cache somewhere?

I don't know about router, but I'd believe it's in a cache somewhere.

what does traceroute say? of course, you can't ping the old addy, right? hopefully, you don't have some unscrupulous host somewhere.

No, it's unbound at the moment. I'm sure the old ISP will recycle it soon enough, though.

Craig R. Arko
04-17-2002, 04:19 PM
/var/slp.regfile

Edit the stuff out and reboot (after installing 10.1.4). Thanks for the help Merv. I learned quite a bit in this little venture.

mervTormel
04-17-2002, 04:31 PM
d'oh! i completely forgot about that little baddie. i vaguely remember reading somewhere that if you want to clean out your SLP entries, annihilate that file. but i didn't connect that with your 'SLP service advertisement'. i definitely have a blind spot for anything that contains even the slightest notion of advertisement ;]