Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 10:30:44 -0400 (EDT)
From:      "Jeffrey S. Auerbach" <jeff@auerbach.org>
To:        Adam Obszynski <awo@freebsd.pl>
Cc:        freebsd-atm@freebsd.org
Subject:   Re: PVC creation on FORE PCA-200E OC-3 PCI card running on FBSD 4.2
Message-ID:  <Pine.BSF.4.21.0105101028090.18876-100000@ryan.net>
In-Reply-To: <36227001240.20010510092350@freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105101028090.18876-100000>