From owner-freebsd-current Thu May 4 12:16:41 2000 Delivered-To: freebsd-current@freebsd.org Received: from yellow.rahul.net (yellow.rahul.net [192.160.13.18]) by hub.freebsd.org (Postfix) with ESMTP id EF8CF37C5AC for ; Thu, 4 May 2000 12:16:38 -0700 (PDT) (envelope-from dhesi@rahul.net) Received: by yellow.rahul.net (Postfix, from userid 104) id 64E077D0D; Thu, 4 May 2000 12:16:38 -0700 (PDT) To: freebsd-current@freebsd.org Subject: gratuituous arp for multiple IP addresses References: X-Newsreader: NN version 6.5.6 (NOV) Message-Id: <20000504191638.64E077D0D@yellow.rahul.net> Date: Thu, 4 May 2000 12:16:38 -0700 (PDT) From: dhesi@rahul.net (Rahul Dhesi) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was recently struck by this problem: Machine running 3.4-STABLE has multiple IP addresses on each of two network interfaces. IP addresses on network interfaces are exchanged for debugging. (de0 gets the IP addresses that de1 had, and vice versa). Machine is rebooted. Connectivity is now lost to secondary IP addresses on each interface, presumably because upstream router's arp cache still has old entries. Said router's arp timeout is long and said router is not under my control. Router administrator eventually forces a cache flush some time later, which restores connectivity. I think a possible solution would be for some future release of FreeBSD-CURRENT to send a gratuituous arp packet, at boot time, for each IP address on each interface. (It appears that FreeBSD does send a gratuituous arp but only for the primary IP address on each interface -- connectivity to the primary IP addresses was observed to be intact after the reboot.) Please correct me if I am making any wrong assumptions. -- Rahul Dhesi (spam-filtered with RSS and ORBS) See my ORBS faq: http://www.rahul.net/dhesi/orbs.faq.txt To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message