On Mon, 24 Apr 2006, Toni Mueller wrote: > Hello, > > I have a box that once had two IP addresses on one interface. I > deconfigured one of them using ifconfig -alias. > > Now, when I want to use any (?) program on that box to go over this > interface, it wants to use the addresses which is no longer present. I > double-checked to ensure that there is no NAT in the way, and also used > all netstat and ifconfig otions I know to convince myself that the old > address is gone. I also tried to 'ifconfig ifname inet > the-one-and-only-address' just in case there would be a different > handling of addresses assigned with and without using -alias, but to no > avail. > > What could that be, and why can't I see this address anywhere? > > I'd rather not reboot only to make a change in IP numbers effective...
Does it work when you force the source address to the desired address? With ping, use -I address, with ssh use -b address. 3.7 contains some route caching that might play a role. Forcing a source address might have the effect of clearing that cache. Also, double check the routing table with route -n show, to rule out wrong reverse lookups and remaining route entries for the old address. -Otto