Date: Fri, 13 Jul 2001 21:16:05 +1000 (EST) From: =?iso-8859-1?q?Tim=20Lewis?= <timglewis@yahoo.com.au> To: freebsd-atm@freebsd.org Subject: Re: Fore PCA-200E HARP configuration problem Message-ID: <20010713111605.42139.qmail@web14808.mail.yahoo.com> In-Reply-To: <Pine.BSF.4.10.10107120937420.26612-100000@mail.matriplex.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Richard Hodges <rh@matriplex.com> wrote: > On Thu, 12 Jul 2001, [iso-8859-1] Tim Lewis wrote: > > > Hi, > > > > I am trying to use a FORE PCA-200E atm adapter for > > packet analysis (tcpdump, libpcap etc). > > > > My server is running FreeBSD 4.3-RELEASE connected via > > a netoptics tap. The tap attachment allows me to > > receive data only (no Tx to the tap). The tap is > > attached between two Cisco routers. > > > > I have configured the HARP software for SIGPVC > > signalling. Below is the output from the > > configuration. > > > # atm add pvc hfa0 0 32 aal5 snap ip atm0 10.0.0.1 > > atm: ATM network is inoperable > > > According to the source for /sbin/atm, the error is an > > ENETDOWN from a call to ioctl. > > That error value does not seem to exist in the netatm code, > so it must be the kernel stack returning that error. It looks > like HARP has registered your protocol. > > > I am not sure whether this error is from a configuration problem on my > > behalf or if it is because I have only one half of the link (Rx) > > connected. > > It looks like you have everything set up right. And SIGPVC shouldn't > know or care where the TX goes, so that should not be a factor. > > Sorry that I don't have any good ideas here. You mentioned setting > up ATM from the command line - did you "atm set netif" first? It may > not matter in your case, but I would try this order: > > /sbin/atm set netif hfa0 atm 1 > /sbin/atm attach hfa0 sigpvc > ifconfig atm0 10.0.0.2 > /sbin/atm add pvc hfa0 0 32 aal5 snap ip atm0 10.0.0.1 > > All the best, > > -Richard > > ------------------------------------------- > Richard Hodges | Matriplex, inc. > Product Manager | 769 Basque Way > rh@matriplex.com | Carson City, NV 89706 > 775-886-6477 | www.matriplex.com > # atm show config Intf Vendor Model Media Bus Serial No hfa0 Fore PCA-200E OC-3c PCI 41170 MAC address = 00:20:48:40:a0:d2 Hardware version = 2.0.1 Firmware version = 3.0.1 # atm show interface Interface Sigmgr State hfa0 - - ATM address = - Network interfaces: - # atm set netif hfa0 atm 1 # atm show interface Interface Sigmgr State hfa0 - - ATM address = - Network interfaces: atm0 # netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 <Link#1> 00:03:47:7a:1d:09 452 0 227 0 0 fxp0 1500 10.6.12/24 10.6.12.1 391 - 237 - - fxp1 1500 <Link#2> 00:b0:d0:f0:6f:85 0 0 0 0 0 fxp1 1500 192.168.1 192.168.1.100 0 - 3 - - lo0 16384 <Link#3> 0 0 0 0 0 lo0 16384 127 127.0.0.1 0 - 0 - - atm0 9180 <Link#4> 00:20:48:40:a0:d2 0 0 0 0 0 # atm attach hfa0 sigpvc # atm show interface Interface Sigmgr State hfa0 SIGPVC ACTIVE ATM address = - Network interfaces: atm0 # ifconfig atm0 inet 10.0.0.1 netmask 255.255.255.255 # netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 <Link#1> 00:03:47:7a:1d:09 637 0 334 0 0 fxp0 1500 10.6.12/24 10.6.12.1 573 - 340 - - fxp1 1500 <Link#2> 00:b0:d0:f0:6f:85 0 0 0 0 0 fxp1 1500 192.168.1 192.168.1.100 0 - 5 - - lo0 16384 <Link#3> 0 0 0 0 0 lo0 16384 127 127.0.0.1 0 - 0 - - atm0 9180 <Link#4> 00:20:48:40:a0:d2 0 0 0 0 0 atm0 9180 10.0.0.1/32 10.0.0.1 0 - 0 - - # atm add pvc hfa0 0 32 aal5 snap ip atm0 10.0.0.1 # netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll Net Intf Phy Intf IP Address *** Hangs *** # atm show stats interface hfa0 Input Input Input Output Output Output Cmd Interface PDUs Bytes Errs PDUs Bytes Errs Errs hfa0 1188348 642015073 3380 0 0 0 0 # tcpdump -i atm0 tcpdump: atm0: Device not configured ---- After adding the pvc, I get packets arriving on the interface, but I can't read them from the interface. I feel I am getting very close to success here. Any help from anyone with this again would be greatly appreciated. Regards, Tim Lewis _____________________________________________________________________________ http://messenger.yahoo.com.au - Yahoo! Messenger - Voice chat, mail alerts, stock quotes and favourite news and lots more! 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?20010713111605.42139.qmail>