From owner-freebsd-atm Wed May 9 16:47:41 2001 Delivered-To: freebsd-atm@freebsd.org Received: from nyc.rr.com (nycsmtp1fb.rdc-nyc.rr.com [24.29.99.76]) by hub.freebsd.org (Postfix) with ESMTP id ACAE837B422 for ; Wed, 9 May 2001 16:47:39 -0700 (PDT) (envelope-from jeff@auerbach.org) Received: (apparently) from morpheus ([24.168.15.206]) by nyc.rr.com with Microsoft SMTPSVC(5.5.1877.357.35); Wed, 9 May 2001 19:52:07 -0400 From: "Jeffrey S. Auerbach" To: Subject: PVC creation on FORE PCA-200E OC-3 PCI card running on FBSD 4.2 Date: Wed, 9 May 2001 19:52:25 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 syntax is correct but I don't have it in front of me.) 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? Thanks ************************* Jeffrey S. Auerbach http://www.infocustechnology.com (917)838-4233 ************************* To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message 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 From owner-freebsd-atm Fri May 11 11:46:45 2001 Delivered-To: freebsd-atm@freebsd.org Received: from www0r.netaddress.usa.net (www0r.netaddress.usa.net [204.68.24.47]) by hub.freebsd.org (Postfix) with SMTP id A997B37B446 for ; Fri, 11 May 2001 11:46:43 -0700 (PDT) (envelope-from danielbat@usa.net) Received: (qmail 28711 invoked by uid 60001); 11 May 2001 18:46:42 -0000 Message-ID: <20010511184642.28710.qmail@www0r.netaddress.usa.net> Received: from 204.68.24.47 by www0r for [200.128.59.22] via web-mailer(34FM.0700.17C.01) on Fri May 11 18:46:42 GMT 2001 Date: 11 May 2001 15:46:42 EST From: Daniel Macedo Batista To: freebsd-atm@freebsd.org Subject: ATM adapter ForeRunner LE 25Mpbs X-Mailer: USANET web-mailer (34FM.0700.17C.01) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello all! I have two machines running freebsd 3.5.1 and ATM adapters ForeRunner LE 25Mbps. What I need configure in the kernel to these adapters will work ?= Please this is urgent! There is some tutorial where I find the instructio= ns ? Thanks ! []'s Daniel Macedo Batista Projeto REMA-UFBA ____________________________________________________________________ Get free email and a permanent address at http://www.netaddress.com/?N=3D= 1 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message From owner-freebsd-atm Fri May 11 13:52:58 2001 Delivered-To: freebsd-atm@freebsd.org Received: from web.cs.ndsu.NoDak.edu (web.cs.ndsu.NoDak.edu [134.129.125.7]) by hub.freebsd.org (Postfix) with ESMTP id 55F8937B424 for ; Fri, 11 May 2001 13:52:56 -0700 (PDT) (envelope-from tinguely@web.cs.ndsu.NoDak.edu) Received: (from tinguely@localhost) by web.cs.ndsu.NoDak.edu (8.11.1/8.11.1) id f4BKqqH15425; Fri, 11 May 2001 15:52:52 -0500 (CDT) (envelope-from tinguely) Date: Fri, 11 May 2001 15:52:52 -0500 (CDT) From: mark tinguely Message-Id: <200105112052.f4BKqqH15425@web.cs.ndsu.NoDak.edu> To: danielbat@usa.net, freebsd-atm@FreeBSD.ORG Subject: Re: ATM adapter ForeRunner LE 25Mpbs In-Reply-To: <20010511184642.28710.qmail@www0r.netaddress.usa.net> Sender: owner-freebsd-atm@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > > I have two machines running freebsd 3.5.1 and ATM adapters ForeRunner LE > 25Mbps. What I need configure in the kernel to these adapters will work ? > Please this is urgent! There is some tutorial where I find the instructions ? download: ftp://ftp.cs.ndsu.nodak.edu/pub/freebsd/atm/nicstar.tgz after expanding the files, read the file nicstar/README. FYI: There is a reported problem with Fore switches and the SPANS protocol, in that the swich does not have the end of PDU bit set for the SPANS PDUs. They are probably using AAL0 not AAL5. I would recommend adding an check in idt_openvcc() for the SPANS VCC, and open the SPANS VCC to use AAL0 instead of AAL5. The driver should hand the AAL0 packets to the HARP code just the same as AAL5 does. I am sorry, I no longer have access to the NICStAR cards nor do I have a Fore switch. --mark tinguely. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-atm" in the body of the message