From owner-freebsd-net Mon Jun 28 3:18:50 1999 Delivered-To: freebsd-net@freebsd.org Received: from mh.acorn.co.uk (mh.acorn.co.uk [136.170.131.2]) by hub.freebsd.org (Postfix) with ESMTP id EEB2614E43 for ; Mon, 28 Jun 1999 03:18:40 -0700 (PDT) (envelope-from kbracey@e-14.com) Received: from kbracey (kbracey [136.170.129.213]) by mh.acorn.co.uk (8.8.6/8.8.6) with SMTP id LAA27702 for ; Mon, 28 Jun 1999 11:18:38 +0100 (BST) Date: Mon, 28 Jun 1999 11:18:15 +0100 From: Kevin Bracey To: freebsd-net@freebsd.org Subject: Old IP addresses hanging around in routes Message-ID: <5210331949%kbracey@kbracey.acorn.co.uk> X-Organization: Acorn Computers Ltd, Cambridge, United Kingdom X-Mailer: Messenger v1.40f for RISC OS MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Posting-Agent: RISC OS Newsbase 0.61b Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Our systems use a FreeBSD-derived networking stack, which has served us well for many years. However, during testing of some new DHCP client code, I appear to have opened up a can of worms with regard to interface IP addresses referenced in routing table entries. Our particular problem is that if you change the IP address of an interface, you end up with severe communication difficulties. The reason for this is that the routing table is full of references to struct ifaddrs containing our previous IP address - in particular the cloned link-level routes, our default route and any protocol-cloned TCP routes. This is not a FreeBSD-specific problem - it affects all 4.4BSD derivatives, but I'm posting here in the hope that I can find someone knowledgable enough to help work through a solution - comp.protocols.tcp-ip et al are no use whatsoever :) Note that a specific instance of this problem has been reported as kern/2991. -- Kevin Bracey, Senior Software Engineer Pace Micro Technology plc Tel: +44 (0) 1223 725228 645 Newmarket Road Fax: +44 (0) 1223 725328 Cambridge, CB5 8PB, United Kingdom WWW: http://www.acorn.co.uk/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message