Howdy, I have two machines that are regularly moved between two sub-nets. One a gentoo desktop, the other (boo hiss) that sorry excuse for an operating system laptop. Now the two subnets are my hardware VPN at home, and the office. Both machines need DHCP. I also have a third box (gentoo) at home on a static ip. Now I mostly access the laptop via VNC over ssh and via scp, rsync, and unison for file transfers. We do not have dynamic DNS available internally. What I currently do is just use nmblookup on the WINS name for each box and update the /etc/hosts file (actually I use a down and dirty perl script to do the update). This works as long as I remember to do it prior to trying to ssh to the laptop. If I forget, then sometimes the gentoo systems seems to get the old IP stuck in cache somewhere where I haven't figured out how to clear it, except by (gag) rebooting. I know, my ignorance.
So I'm wondering if there is a better solution and also how to clear the name server cache. Thank you, Roy -- [email protected] mailing list

