From owner-freebsd-bugs Thu Jul 6 20:30: 7 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 9152C37B750 for ; Thu, 6 Jul 2000 20:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id UAA51303; Thu, 6 Jul 2000 20:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Date: Thu, 6 Jul 2000 20:30:04 -0700 (PDT) Message-Id: <200007070330.UAA51303@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Vladimir B. Grebenschikov" Subject: Re: kern/19436: when using vlanX interface arp ageing work incorrectly Reply-To: "Vladimir B. Grebenschikov" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR kern/19436; it has been noted by GNATS. From: "Vladimir B. Grebenschikov" To: freebsd-gnats-submit@freebsd.org Cc: Subject: Re: kern/19436: when using vlanX interface arp ageing work incorrectly Date: Fri, 7 Jul 2000 07:24:51 +0400 (MSD) After some debugging I've found that there is actually two problems: First - with switching hardware (Inter 460t with 802.1Q capable firmware), It fails correct deliver broadcasts from trunked port to untrunked port after untrunked port goes down and then up. Second - with arp utility, it can't handle arp entries on vlanX interfaces correctly, there is simple patch for fix arp behavior: diff -N -u arp.c.orig arp.c --- usr.sbin/arp/arp.c.orig Fri Jul 7 07:11:48 2000 +++ usr.sbin/arp/arp.c Fri Jul 7 07:11:20 2000 @@ -397,7 +397,7 @@ (rtm->rtm_flags & RTF_LLINFO) && !(rtm->rtm_flags & RTF_GATEWAY)) switch (sdl->sdl_type) { case IFT_ETHER: case IFT_FDDI: case IFT_ISO88023: - case IFT_ISO88024: case IFT_ISO88025: + case IFT_ISO88024: case IFT_ISO88025: case IFT_PROPVIRTUAL: goto delete; } } -- TSB Russian Express, Moscow Vladimir B. Grebenschikov, vova@express.ru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message