Networking Forums

Networking Forums > Computer Networking > Linux Networking > Setting up sync wan card - rx packet dropped

Reply
Thread Tools Display Modes

Setting up sync wan card - rx packet dropped

 
 
Ferenc Sarkozy
Guest
Posts: n/a

 
      02-03-2004, 08:42 PM
Hello All,
I installed a Cyclades PC300/TE2 synchronous router card according
its
manual. This is a 2 port card and i connected the two ports with a
cross cable.
The ports configuration parameters are here:

# This file was generated by PC300 Configuration Utility.
DEVICE=hdlc0
BOARD=pc300
MEDIA=e1
PROTO=ppp
CLOCK=int
LCODE=ami
FRAME=crc4
RX_SENS=sh
ACTIVE_CH=all
IPADDR=192.168.2.2
NETMASK=255.255.255.0
NETWORK=192.168.2.0
BROADCAST=192.168.2.255
POINTOPOINT=192.168.2.1
MTU=1500
ONBOOT=no

# This file was generated by PC300 Configuration Utility.
DEVICE=hdlc1
BOARD=pc300
MEDIA=e1
PROTO=ppp
CLOCK=ext
LCODE=ami
FRAME=crc4
RX_SENS=sh
ACTIVE_CH=all
IPADDR=192.168.2.1
NETMASK=255.255.255.0
NETWORK=192.168.2.0
BROADCAST=192.168.2.255
POINTOPOINT=192.168.2.2
MTU=1500
ONBOOT=no

I brought up the interfaces with the pc300up script of Cyclades which
produce the following commands:

/usr/local/sbin/pc300cfg hdlc0 lcode ami frame crc4 rx_sens sh
active_ch all
/usr/local/sbin/sethdlc hdlc0 e1 clock int
/usr/local/sbin/sethdlc hdlc0 ppp
ifconfig hdlc0 192.168.2.2 mtu 1500 netmask 255.255.255.0 pointopoint
192.168.2.1 up

and

/usr/local/sbin/pc300cfg hdlc1 lcode ami frame crc4 rx_sens sh
active_ch all
/usr/local/sbin/sethdlc hdlc1 e1 clock ext
/usr/local/sbin/sethdlc hdlc1 ppp
ifconfig hdlc1 192.168.2.1 mtu 1500 netmask 255.255.255.0 pointopoint
192.168.2.2 up

After that the ifconfig hdlcX output is the following:

hdlc0 Link encap:Point-to-Point Protocol
inet addr:192.168.2.2 P-t-P:192.168.2.1 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1682 errors:0 dropped:1682 overruns:0 frame:0
TX packets:1794 errors:4 dropped:0 overruns:0 carrier:4
collisions:0 txqueuelen:10
Interrupt:11 Memory:da000000-da03ffff

hdlc1 Link encap:Point-to-Point Protocol
inet addr:192.168.2.1 P-t-P:192.168.2.2 Mask:255.255.255.0
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:1766 errors:37 dropped:1766 overruns:0 frame:37
TX packets:1682 errors:3 dropped:0 overruns:0 carrier:3
collisions:0 txqueuelen:10
Interrupt:11 Memory:da000000-da03ffff

My kernel version is 2.4.22, the patch from http://hq.pm.waw.pl/hdlc/
is applied to the kernel. When I use both of the cards in two
computers the rx packets are dropped as in this case. Could you help
me to figure out the cause of this problem ? Why are the all the rx
packets dropped ?
Thank you for your help:
Ferenc Sarkozy


Outputs of other tools:
++++++++++++++++++++++++++++++++++++++++++++++
sethdlc hdlc0
hdlc0: clock int rate 64000
protocol ppp

sethdlc hdlc1
hdlc1: clock ext
protocol ppp

++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++

pc300cfg hdlc0:
Interface: hdlc0
- Media: E1
- Line Code: AMI
- Frame Mode: CRC4
- RX Sensitivity: Short Haul
- Active channels: all
- Protocol: PPP
- Clock: master

pc300cfg hdlc1:
Interface: hdlc1
- Media: E1
- Line Code: AMI
- Frame Mode: CRC4
- RX Sensitivity: Short Haul
- Active channels: all
- Protocol: PPP
- Clock: slave

++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++

pc300util -s -d hdlc0:

PC300 - pc300util for kernel 2.4.x

---------------- PC300 - STATISTICS ----------------

hw type:TE line on:8 line off:5 multicast:0 collisions:0

rx : pack:2363 bytes:33082 errors:2 drops:2363 compressed:0
errors : length:0 overrun:0 crc:1 frame:1 fifo:0 missed:0

tx : pack:2483 bytes:53886 errors:9 drops:0 compressed:0
errors : abort:0 carrier:9 heartbeat:0 window:0

TE statistic
pden : 0 los : 1 losr : 1
lfa : 1 farec: 1 lmfa : 1
ais : 0 sec : 710 es : 2
rai : 0 bec : 0 fec : 0
cvc : 118 cec : 0 ebc : 1

Alarms : Red : OFF Blue : OFF
Yellow : OFF LFA : OFF
LMFA : OFF prbs : OFF

pc300util -s -d hdlc1:

PC300 - pc300util for kernel 2.4.x

---------------- PC300 - STATISTICS ----------------

hw type:TE line on:8 line off:5 multicast:0 collisions:0

rx : pack:2363 bytes:33082 errors:2 drops:2363 compressed:0
errors : length:0 overrun:0 crc:1 frame:1 fifo:0 missed:0

tx : pack:2483 bytes:53886 errors:9 drops:0 compressed:0
errors : abort:0 carrier:9 heartbeat:0 window:0

TE statistic
pden : 0 los : 1 losr : 1
lfa : 1 farec: 1 lmfa : 1
ais : 0 sec : 710 es : 2
rai : 0 bec : 0 fec : 0
cvc : 118 cec : 0 ebc : 1

Alarms : Red : OFF Blue : OFF
Yellow : OFF LFA : OFF
LMFA : OFF prbs : OFF

++++++++++++++++++++++++++++++++++++++++++++++++++ +++++++++++++++

pc300util -S -d hdlc0:

PC300 - pc300util for kernel 2.4.x

------------------ PC300 - STATUS ------------------

Hardware Type: TE

TE Status: sync: ON
Red Alarm: OFF
Blue Alarm: OFF
Loss of Frame alignment: OFF
Yellow Alarm: OFF
Loss of Multi Frame alignment: OFF
Prbs: OFF

pc300util -S -d hdlc1:

PC300 - pc300util for kernel 2.4.x

------------------ PC300 - STATUS ------------------

Hardware Type: TE

TE Status: sync: ON
Red Alarm: OFF
Blue Alarm: OFF
Loss of Frame alignment: OFF
Yellow Alarm: OFF
Loss of Multi Frame alignment: OFF
Prbs: OFF
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++++++++++++++
The pattern test seems to be OK.
++++++++++++++++++++++++++++++++++++++++++++++++++ ++++++++++
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dropped Packet Statistics Geoff Lane Broadband 4 02-14-2008 08:06 PM
Dropped Packet Statistics Geoff Lane Home Networking 0 02-13-2008 08:45 PM
packet len > ?? --> dropped (RRAS Windows 2003 R2) Axel Daubner Windows Networking 1 05-13-2007 02:10 AM
What to do about dropped sync with Tiscali? Pete Verdon Broadband 2 12-03-2006 10:54 AM
FreeSwan errors : ipsec4_rcv: incoming packet failed policy check; dropped charlesdarw@gmail.com Linux Networking 0 08-02-2005 01:55 PM



1 2 3 4 5 6 7 8 9 10 11