From owner-freebsd-atm Thu May 10 7:38:11 2001 Delivered-To: freebsd-atm@freebsd.org Received: from ryan.net (tki-1-240.tki.net [208.156.51.240]) by hub.freebsd.org (Postfix) with ESMTP id EA4F037B422 for ; Thu, 10 May 2001 07:38:01 -0700 (PDT) (envelope-from jeff@auerbach.org) Received: from localhost (jeff@localhost) by ryan.net (8.9.3/8.8.5) with ESMTP id KAA18890; Thu, 10 May 2001 10:30:45 -0400 (EDT) Date: Thu, 10 May 2001 10:30:44 -0400 (EDT) From: "Jeffrey S. Auerbach" X-Sender: jeff@ryan.net To: Adam Obszynski Cc: freebsd-atm@freebsd.org Subject: Re: PVC creation on FORE PCA-200E OC-3 PCI card running on FBSD 4.2 In-Reply-To: <36227001240.20010510092350@freebsd.pl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: QUOTED-PRINTABLE Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi I added the patch, rebooted and everything started up fine. Here is my pvc that I added to my box: atm add pvc hfa0 0 40 aal5 null ip atm0 10.1.1.1 The pvc is up, and I have a pvc on the switch with 0 40 but I still can't ping. I do not have any routes set to the 10.1.1.0 net but I don't think that I need a specific static route if the card is on the 10.1.1.0 net. ANy ideas? Thanks Jeff On Thu, 10 May 2001, Adam Obszynski wrote: > Hello Jeffrey, >=20 > Thursday, May 10, 2001, 1:52:25 AM, you wrote: >=20 > > I've been able to create actual PVC's with no problem but I can't ping = the > > destination host on the other end. For instance: > > I have a FORE-TNX1100 on one end with an IP of 10.1.1.1. On the switch = I > > created a PVC 0/40 that terminates to itself. On my BSD box I created = a pvc > > on atm0(10.1.1.109) with VPI/VCI 0 40 aal5 null ip 10.1.1.1. (The synt= ax is > > correct but I don't have it in front of me.) >=20 > > Wouldn't I be able to ping 10.1.1.1 from my atm card on the BSD box? > > Am I totally off here? Am I leaving a whole bunch out? >=20 > > Thanks >=20 > It is in the problem report: > http://www.freebsd.org/cgi/query-pr.cgi?pr=3D23620 >=20 > But here it is by itself: >=20 > diff -U5 sys/dev/hfa/fore.h sys.new/dev/hfa/fore.h > --- sys/dev/hfa/fore.h Fri Aug 27 17:41:48 1999 > +++ sys.new/dev/hfa/fore.h Mon Dec 18 10:26:49 2000 > @@ -115,11 +115,11 @@ > * BUF_DATA_ALIGN) - BUF1_SM_HDR) > * #define BUF1_SM_SIZE MAX(BUF1_SM_LEN - BUF1_SM_DOFF, 64) > * > */ > #if ((BSD >=3D 199103) && defined(FORE_PCI)) > -#define BUF1_SM_DOFF ((BUF1_SM_HOFF + SIZEOF_Buf_handle) - BUF= 1_SM_HDR) > +#define BUF1_SM_DOFF (SIZEOF_Buf_handle) > #define BUF1_SM_SIZE (BUF1_SM_LEN - BUF1_SM_DOFF) > #endif > #if ((BSD < 199103) && defined(FORE_SBUS) && defined(sun4c)) > #define BUF1_SM_DOFF (BUF_DATA_ALIGN - BUF1_SM_HDR) > #define BUF1_SM_SIZE (BUF1_SM_LEN - BUF1_SM_DOFF) > diff -U5 sys/dev/hfa/fore_receive.c sys.new/dev/hfa/fore_receive.c > --- sys/dev/hfa/fore_receive.c Fri Aug 27 17:41:51 1999 > +++ sys.new/dev/hfa/fore_receive.c Mon Dec 18 10:29:16 2000 > @@ -417,10 +417,13 @@ > } > =20 > /* > * It looks like we've got a valid PDU - count it quick!! > */ > + mhead->m_pkthdr.rcvif =3D NULL; > + mhead->m_pkthdr.csum_flags =3D 0; > + mhead->m_pkthdr.aux =3D NULL; > KB_PLENSET(mhead, pdulen); > fup->fu_pif.pif_ipdus++; > fup->fu_pif.pif_ibytes +=3D pdulen; > vcp =3D fvp->fv_connvc->cvc_vcc; > vcp->vc_ipdus++; >=20 >=20 >=20 > --=20 > Regards, > Adam Obszy=F1ski > awo@freebsd.pl >=20 >=20 Jeffrey S. Auerbach=20 jeff@auerbach.org http://www.auerbach.org ph(917)838-4233 Pager via email: 9178384233@message.bam.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message