[Asterisk-Users] T100P HDLC configuration

Vasyl Rublyov vasyl.rublyov at ionidea.com
Fri May 21 16:25:36 MST 2004


All,

I am trying to configure hdlc support on T100P Digium card - everything 
seems ok... but it just does not work at all.
I was able to compile all drivers, the light on the card becomes green 
when I plug T1 link.... but I even can't ping default router IP... there 
is no data coming back to me, so I am confused completely now.
Also I tried both protocols - raw hdlc and cisco hdlc. The last one 
(Cisco HDLC) gives print to system console "Unsupported Protocol Version 8"

Here is my configuration from Linux system, as well as from working 
Netopia T1 router

============ Netopia T1 Router (working) ====================
$ show config
     frame-relay lmi type ansi
     frame-relay tim none
     hardware acceleration enable yes
     ip gateway ${T1_REMOTE_IP}
     ip route 0.0.0.0/0 ${T1_REMOTE_IP} low
     interface t1 1 buildout 0-0.6
     interface t1 1 channels count 24 start 1 contiguous rate 64k
     interface t1 1 clock source network
     interface t1 1 diagnostic mode normal
     interface t1 1 dle hdlc
     interface t1 1 encoding b8zs
     interface t1 1 framing esf
     interface t1 1 operation mode hdlc
     interface t1 1 priority-queuing enable yes
     interface t1 1 pvc 1 yes
     interface t1 1 pvc 1 enable yes
     interface t1 1 pvc 1 tag "Circuit 1"
     interface t1 1 pvc 1 vpi 0       
     interface t1 1 pvc 1 vci 35      
     interface t1 1 pvc 1 cp default
     interface t1 1 pvc 1 voice no
     interface t1 1 pvc 1 pcr 0       
     interface t1 1 prm-enable no
     interface t1 1 rfc1973 enable no
     interface t1 1 rfc1973 dlci 16      
     interface t1 1 rfc1973 lmi none
     interface t1 1 cell-format scrambled
     interface t1 1 unused cell-format idle
     interface t1 1 ds0-autodetect no
     cp 1 yes
     cp 1 tag 36.HCGA.101976.VA
     cp 1 enable yes
     cp 1 dle hdlc
     cp 1 ip enable yes
     cp 1 ip address local ${T1_LOCAL_IP}/30
     cp 1 ip address remote ${T1_REMOTE_IP}/30
     cp 1 ip addressing numbered
     cp 1 ip dhcp client mode standard
     cp 1 ip mask local 255.255.255.252
     cp 1 ip mask remote 255.255.255.252
     cp 1 ip nat enable no
     cp 1 ip nat map-list "Easy-PAT List"
     cp 1 ip nat server-list Easy-Servers
     cp 1 ip negotiate-lan no
     cp 1 ip netbios proxy enable no
     cp 1 ip rip receive both
     cp 1 ip rip transmit no
     cp 1 ip multicast-fwd yes
     cp 1 interface-group primary
     ;Netopia 4622

=============================================================
MODE=cisco
# MODE=hdlc
DEVICE=hdlc0

/sbin/modprobe zaptel
/sbin/modprobe wct1xxp
/sbin/modprobe hdlc
/sbin/modprobe syncppp
/sbin/ztcfg -vvv
/sbin/sethdlc ${DEVICE} ${MODE}
/sbin/ifconfig ${DEVICE} ${T1_LOCAL_IPADDR} pointopoint ${T1_REMOTE_IPADDR}
/sbin/route add -net ${T1_NETWORK} netmask ${T1_NETMASK} ${DEVICE}
/sbin/route add default gw ${T1_REMOTE_IPADDR} metric 1 ${DEVICE}

================================================================
$ cat /etc/zaptel.conf

loadzone = us
defaultzone=us

span=1,1,0,esf,b8zs

nethdlc=1-24

-- 
Thanks and regards,
  Vasyl Rublyov





More information about the asterisk-users mailing list