Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Sep 1999 22:32:35 +0400 (MSD)
From:      Dron Link <dl@CyberPunk.ru>
To:        freebsd-bugs@FreeBSD.ORG
Cc:        dg@FreeBSD.ORG, wollman@FreeBSD.ORG, peter@FreeBSD.ORG
Subject:   ARP FDDI Trouble + PATCH
Message-ID:  <XFMail.990911223235.dl@CyberPunk.ru>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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

[-- Attachment #2 --]
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));
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.990911223235.dl>