Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Sep 2000 09:45:41 -0400
From:      Jorge Pastor <jorel@research.telcordia.com>
To:        <freebsd-atm@freebsd.org>
Cc:        <Mike@arl.army.mil>
Subject:   BSD & ATM question
Message-ID:  <0009081005550L.02532@semiramide>

next in thread | raw e-mail | index | archive | help

Hi,

I am trying to bring up a couple of FreeBSD boxes with ATM NICs connected
back-to-back and I'm having trouble getting the ATM link to come up. I 've been
following the discussions in the freebsd-atm list archive and used some of the
suggestions but still no luck. I gather that this problem has been brought up
but I didn't see any resolution. The postings about this problem has been about
a year old so I'm wishing there is a resolution by now. 

I'm running FreeBSD 3.3 generic kernel with ATM options enabled.The PCs  are
Compaq 1GHz Athlons. The NICs are new FORE PCA200EPC/SMF. Included in the
FreeBSD is HARP 3.0. The problem is that I cannot seem to get IP/PVC to work.

Here's the options I included in the kernel. 
        
 options ATM_CORE
 options ATM_IP
 options ATM_SIGPVC
 options ATM_SPANS
 options ATM_UNI
 device hfa0


I tried different firmware versions from the CD that came with the FORE NICs
( I think it is version 5.2) and also from FORE os2_4.0.2_1.20.200.zip
(suggested by HARP docs) without success. I've also used version 3.0.1
downloaded from Mike Muuss' web page... same result. 

I'm just trying to do IP/PVC for this test so the rc.conf file looks like this:
# -- rc.conf -- #

hostname="r2"
linux_enable="YES"
moused_port="/dev/psm0"
moused_enable="YES"
gateway_enable="YES"
network_interfaces="atm0 lo"


### ATM interface options: ###
atm_enable="YES"                 # Configure ATM interfaces (or NO).
atm_netif_hfa0="atm 1"           # Network interfaces for physical interface.
atm_sigmgr_hfa0="sigpvc"         # Signalling manager for physical interface.
#atm_prefix_hfa0="ILMI"          # NSAP prefix (UNI interfaces only) (or ILMI).
atm_macaddr_hfa0="NO"            # Override physical MAC address (or NO).
#atm_arpserver_atm0="0x47.0005.80.999999.9999.9999.9999.999999999999.00" # ATMARP server address (or local).
atm_scsparp_atm0="NO"            # Run SCSP/ATMARP on network interface (or NO).
atm_pvcs="pvc1"                  # Set to PVC list (or leave empty).
atm_arps=""                      # Set to permanent ARP list (or leave empty).
atm_pvc_pvc1="hfa0 0 100 aal5 snap ip atm0 192.168.21.211"
ifconfig_atm0="inet 192.168.21.212 netmask 255.255.255.240"


Here are some diagnostics that might help: (notice that I can ping the local
atm ip addr but not the remote one. Also the MAC address reports as 00:00:00:00:00:00)

$ uname -a
FreeBSD r2 3.3-RELEASE FreeBSD 3.3-RELEASE #0: Fri Aug  4 06:23:34 EDT 2000
jorel@r2:/usr/src/sys/compile/GENERIC_ATM  i386
 
$ ls -l /etc/pca200e.bin
-rw-r-----  2 root  root  40984 Aug 29 17:03 /etc/pca200e.bin
 
$ md5 /etc/pca200e.bin
MD5 (/etc/pca200e.bin) = 86c3f62566483ba357e1228fbfb3ec62  


r2# ifconfig -a

lp0: flags=8810<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
sl0: flags=c010<POINTOPOINT,LINK2,MULTICAST> mtu 552
ppp0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
 inet 127.0.0.1 netmask 0xff000000
atm0: flags=43<UP,BROADCAST,RUNNING> mtu 9180
 inet 192.168.21.212 netmask 0xfffffff0 broadcast 192.168.21.223
 ether 00:00:00:00:00:00

r2# atm show config

Intf      Vendor    Model     Media           Bus   Serial No
hfa0      Fore      PCA-200E  OC-3c           PCI   0
MAC address = 00:00:00:00:00:00
Hardware version =
Firmware version = 3.0.1


r2# atm show ipvcc

Net Intf  VPI   VCI  State   Flags IP Address
atm0        0   100  ACTIVE  PM    192.168.21.211

r2# atm show vcc

Interface  VPI   VCI  AAL   Type Dir    State    Encaps   Owner
hfa0         0   100  AAL5  PVC  InOut  ACTIVE   SNAP     IP

r2# atm show netif

Net Intf  Phy Intf  IP Address
atm0      hfa0      192.168.21.212


r2# ping r2

PING r2 (192.168.21.212): 56 data bytes
64 bytes from 192.168.21.212: icmp_seq=0 ttl=255 time=0.033 ms
64 bytes from 192.168.21.212: icmp_seq=1 ttl=255 time=0.013 ms
64 bytes from 192.168.21.212: icmp_seq=2 ttl=255 time=0.011 ms

--- 192.168.21.212 ping statistics ---
3 packets transmitted, 3 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.011/0.019/0.033/0.010 ms

r2# ping r1

PING r1 (192.168.21.211): 56 data bytes

--- 192.168.21.211 ping statistics ---
4 packets transmitted, 0 packets received, 100% packet loss





Thanks in advance.

-Jorge


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?0009081005550L.02532>