<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=windows-1251"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Thank you, Michael<br>
<br>
I tried to switch to FR mode... but it did not help. I tied DLCI as 16
and 99... the same result.<br>
<br>
I attached one more full config from Netopia and from my Linux+Zaptel
T100P systems.<br>
<br>
<br>
DEVICE=hdlc0<br>
# MODE=hdlc<br>
# MODE=cisco<br>
MODE=fr<br>
NETMASK=255.255.255.252<br>
GATEWAY=REMOTE_IPADDR<br>
<br>
# FR<br>
FR_LMI=ansi<br>
FR_PVC=pvc0<br>
FR_DLC=16<br>
# FR_DLC=99<br>
<br>
case "$1" in<br>
'start')<br>
echo "Loading T1/HDLC modules..."<br>
/sbin/modprobe zaptel<br>
/sbin/modprobe wct1xxp<br>
/sbin/modprobe hdlc<br>
/sbin/modprobe syncppp<br>
/sbin/ztcfg -vvv<br>
echo -n "Configuring HDLC interfaces, with mode
\"${MODE}\""<br>
if [ "${MODE}" == "hdlc" -o "${MODE}" == "cisco" ]; then<br>
echo "..."<br>
/sbin/sethdlc ${DEVICE} ${MODE}<br>
/sbin/ifconfig ${DEVICE} ${LOCAL_IPADDR}
pointopoint ${REMOTE_IPADDR}<br>
/sbin/route add -net ${NETWORK} netmask
${NETMASK} ${DEVICE}<br>
echo "Configuring default gateway..." <br>
/sbin/route add default gw ${GATEWAY} metric 1
${DEVICE}<br>
elif [ "${MODE}" == "fr" ]; then<br>
echo ", LMI \"${FR_LMI}\"..."<br>
/sbin/sethdlc ${DEVICE} ${MODE} lmi ${FR_LMI}<br>
/sbin/sethdlc ${DEVICE} create ${FR_DLC}<br>
/sbin/ifconfig ${DEVICE} up<br>
echo "Configuring Frame-Relay PVC
\"${FR_PVC}\"..."<br>
/sbin/ifconfig ${FR_PVC} ${LOCAL_IPADDR}
pointopoint ${REMOTE_IPADDR}<br>
/sbin/route add -net ${NETWORK} netmask
${NETMASK} ${FR_PVC}<br>
echo "Configuring default gateway..." <br>
/sbin/route add default gw ${GATEWAY} metric 1
${FR_PVC}<br>
else <br>
echo ", unknown mode..."<br>
fi<br>
;;<br>
'stop') <br>
echo "Unloading default gateway..."<br>
/sbin/route del default <br>
echo -n "Unloading HDLC configuration."<br>
if [ "${MODE}" == "hdlc" -o "${MODE}" == "cisco" ]; then<br>
echo ", hdlc/cisco mode..."<br>
/sbin/route del -net ${NETWORK} netmask
${NETMASK} ${DEVICE}<br>
/sbin/ifconfig ${DEVICE} down<br>
elif [ "${MODE}" == "fr" ]; then<br>
echo ", frame-relay mode..."<br>
/sbin/route del -net ${NETWORK} netmask
${NETMASK} ${FR_PVC}<br>
/sbin/ifconfig ${FR_PVC} down<br>
/sbin/sethdlc ${DEVICE} delete<br>
/sbin/ifconfig ${DEVICE} down<br>
else <br>
echo ", unknown mode..."<br>
fi<br>
echo "Unloading T1/HDLI modules..."<br>
rmmod wct1xxp zaptel hdlc syncppp<br>
;;<br>
'restart') <br>
$0 stop<br>
sleep 1<br>
$0 start<br>
;;<br>
*) <br>
echo "usage $0 start|stop|restart"<br>
esac<br>
<br>
<br>
<br>
# $ show config<br>
# frame-relay lmi type ansi<br>
# frame-relay tim none<br>
# hardware acceleration enable yes<br>
# ip gateway REMOTE_IPADDR<br>
# ip route 0.0.0.0/0 REMOTE_IPADDR low<br>
# interface t1 1 buildout 0-0.6 <br>
# interface t1 1 channels count 24 start 1 contiguous rate 64k<br>
# interface t1 1 clock source network<br>
# interface t1 1 diagnostic mode normal<br>
# interface t1 1 dle hdlc <br>
# interface t1 1 encoding b8zs<br>
# interface t1 1 framing esf<br>
# interface t1 1 operation mode hdlc<br>
# interface t1 1 priority-queuing enable yes<br>
# interface t1 1 pvc 1 yes<br>
# interface t1 1 pvc 1 enable yes<br>
# interface t1 1 pvc 1 tag "Circuit 1"<br>
# interface t1 1 pvc 1 vpi 0<br>
# interface t1 1 pvc 1 vci 35<br>
# interface t1 1 pvc 1 cp default<br>
# interface t1 1 pvc 1 voice no<br>
# interface t1 1 pvc 1 pcr 0<br>
# interface t1 1 prm-enable no<br>
# interface t1 1 rfc1973 enable no<br>
# interface t1 1 rfc1973 dlci 16<br>
# interface t1 1 rfc1973 lmi none<br>
# interface t1 1 cell-format scrambled<br>
# interface t1 1 unused cell-format idle<br>
# interface t1 1 ds0-autodetect no<br>
# cp 1 yes<br>
# cp 1 tag 36.HCGA.101976.VA<br>
# cp 1 enable yes<br>
# cp 1 dle hdlc<br>
# cp 1 ip enable yes<br>
# cp 1 ip address local LOCAL_IPADDR/30<br>
# cp 1 ip address remote REMOTE_IPADDR/30<br>
# cp 1 ip addressing numbered<br>
# cp 1 ip dhcp client mode standard<br>
# cp 1 ip mask local 255.255.255.252<br>
# cp 1 ip mask remote 255.255.255.252<br>
# cp 1 ip nat enable no<br>
# cp 1 ip nat map-list "Easy-PAT List"<br>
# cp 1 ip nat server-list Easy-Servers<br>
# cp 1 ip negotiate-lan no<br>
# cp 1 ip netbios proxy enable no<br>
# cp 1 ip rip receive both<br>
# cp 1 ip rip transmit no<br>
# cp 1 ip multicast-fwd yes<br>
# cp 1 interface-group primary<br>
# ;Netopia 4622<br>
# name ""<br>
# preferences changes immediate yes<br>
# preferences console default menu<br>
# preferences date format mm/dd/yy<br>
# preferences output format verbose<br>
# preferences output mask bits<br>
# preferences time format 24-hour<br>
#<br>
#
=========================================================================================================================<br>
<br>
<b></b>
<pre class="moz-signature" cols="72">--
Thanks and regards,
Vasyl Rublyov
</pre>
</body>
</html>