From owner-freebsd-bugs Sat Nov 25 4:40: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 85B9837B4CF for ; Sat, 25 Nov 2000 04:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id EAA80655; Sat, 25 Nov 2000 04:40:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id D06D937B479; Sat, 25 Nov 2000 04:32:03 -0800 (PST) Message-Id: <20001125123203.D06D937B479@hub.freebsd.org> Date: Sat, 25 Nov 2000 04:32:03 -0800 (PST) From: nop@sendmail.ru To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/23090: FreeBSD (all versions) sends ARP requests for MAC resolving of local aliases Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 23090 >Category: kern >Synopsis: FreeBSD (all versions) sends ARP requests for MAC resolving of local aliases >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 25 04:40:01 PST 2000 >Closed-Date: >Last-Modified: >Originator: Nop >Release: 4.2-RELEASE >Organization: VMTS >Environment: FreeBSD dialup375.primorye.ru 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Tue Nov 21 17:43:34 VLAT 2000 root@dialup375.primorye.ru:/usr/obj/usr/src/sys/GENERIC i386 >Description: FreeBSD of all 4.x versions sends ARP broadcast request for resolving MAC address of any local IP, which is _local_ alias on it's own ethernet interface. It can't find this MAC, because it's not respond on it's own broadcast. This is problem when, for example we have mass WEB hosting (IP based) on same machine and indexing robot on the same machine, which create indexes of any site, that is hosted on any of aliases on the same machine. We get "TIMEOUT" for such query. >How-To-Repeat: #ifconfig ep0 inet xx.xx.xx.xx alias - create an IP alias in the same network as main IP. #ping xx.xx.xx.xx ping: sendto: Host is down ping: sendto: Host is down >Fix: Problem can be fixed by: 1) explict arp table change: arp -s xx.xx.xx.xx MA-CM-AC-MA-CM-AC pub 2) and of coz by kernel patching, I have no patch. P.S. 1st method is rather anoying. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message