From owner-freebsd-bugs Sat Sep 11 11:32:52 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from TFrost.PMCNet.net (TFrost.cch.pmc.ru [195.208.204.140]) by hub.freebsd.org (Postfix) with ESMTP id 547A514D32; Sat, 11 Sep 1999 11:32:41 -0700 (PDT) (envelope-from dl@antigona.PMCNet.net) Received: from antigona.PMCNet.net (antigona.PMCNet.net [195.208.204.66]) by TFrost.PMCNet.net (8.9.3/8.9.3) with ESMTP id WAA00803; Sat, 11 Sep 1999 22:32:51 +0400 (MSD) (envelope-from dl@antigona.PMCNet.net) Received: (from dl@localhost) by antigona.PMCNet.net (8.9.3/8.9.3) id WAA14936; Sat, 11 Sep 1999 22:32:35 +0400 (MSD) (envelope-from dl) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="_=XFMail.1.3.p0.FreeBSD:990911223235:34164=_" Date: Sat, 11 Sep 1999 22:32:35 +0400 (MSD) Organization: General Research Computer Centre of President's Medical Centre From: Dron Link To: freebsd-bugs@FreeBSD.ORG Subject: ARP FDDI Trouble + PATCH Cc: dg@FreeBSD.ORG, wollman@FreeBSD.ORG, peter@FreeBSD.ORG Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This message is in MIME format --_=XFMail.1.3.p0.FreeBSD:990911223235:34164=_ Content-Type: text/plain; charset=KOI8-R Hi Machine: Pent120+64+DFEA(Dual)+... Trouble: 2.2.1 -> 3.2 (4.0) = ARP on FDDI not work. Any ARP (0806) packets not send & not received. (tcpdump -i fea0 -x -e -n arp) Solve: 1) Static ARP for any host :-( 2) Edit Kernel source Problem with /usr/src/sys/netinet/if_ether.c For FDDI - ac->ac_if.if_type=IFT_FDDI => Patch See you...... -- 11-Sep-99 22:11:51 System Administrator Andrey M Linkevitch Department of Networks Technologies & Communications --_=XFMail.1.3.p0.FreeBSD:990911223235:34164=_ Content-Disposition: attachment; filename="sys.patch" Content-Transfer-Encoding: none Content-Description: sys.patch Content-Type: text/plain; charset=KOI8-R; name=sys.patch; SizeOnDisk=662 diff -u -r sys.orig/netinet/if_ether.c sys/netinet/if_ether.c --- sys.orig/netinet/if_ether.c Thu May 27 07:06:47 1999 +++ sys/netinet/if_ether.c Sat Sep 11 22:04:12 1999 @@ -292,6 +292,7 @@ return; m->m_pkthdr.rcvif = (struct ifnet *)0; switch (ac->ac_if.if_type) { + case IFT_FDDI: case IFT_ETHER: m->m_len = sizeof(*ea); m->m_pkthdr.len = sizeof(*ea); @@ -665,6 +666,7 @@ sa.sa_data[(sizeof(th->iso88025_dhost) * 2)] = 0x10; sa.sa_data[(sizeof(th->iso88025_dhost) * 2) + 1] = 0x40; break; + case IFT_FDDI: case IFT_ETHER: eh = (struct ether_header *)sa.sa_data; (void)memcpy(eh->ether_dhost, ea->arp_tha, sizeof(eh->ether_dhost)); --_=XFMail.1.3.p0.FreeBSD:990911223235:34164=_-- End of MIME message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message