<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=919030904-03062004><FONT face=Arial color=#0000ff size=2>Seems
like you don't know netmasks. A network with netmask 255.255.255.252 that
contains 64.80.211.41 starts at 40, not 0. Assuming 64.80.211.41 is your
default gateway, you would add this route:</FONT></SPAN></DIV>
<DIV><SPAN class=919030904-03062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=919030904-03062004><FONT face=Arial color=#0000ff size=2>route
add default gw 64.80.211.41 hdlc0</FONT></SPAN></DIV>
<DIV><SPAN class=919030904-03062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=919030904-03062004><FONT face=Arial color=#0000ff size=2>You
shouldn't need to add a route to the subnet you're physically connected to -
routers bridge only between networks that are physically
separate.</FONT></SPAN></DIV>
<DIV><SPAN class=919030904-03062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=919030904-03062004><FONT face=Arial color=#0000ff
size=2>Later,</FONT></SPAN></DIV>
<DIV><SPAN class=919030904-03062004><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=919030904-03062004><FONT face=Arial color=#0000ff
size=2>Mark</FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B> Patrick J. Conroy
[mailto:conroyp@contexttech.com]<BR><B>Sent:</B> Wednesday, June 02, 2004 8:41
AM<BR><B>To:</B> asterisk-dev@lists.digium.com<BR><B>Subject:</B>
[Asterisk-Dev] Problems with TE405P and generic hdlc<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=555532012-02062004>I am trying to
bring up a ppp internet T1 on a TE405P and I am not having any luck. I
have hdlc patched into the 2.4.18 kernel and I make zaptel with
CONFIG_ZAPATA_NET uncommented. I modprobe the zaptel, wct4xxp and hdlc
modules with no problems. I then run the following
commands:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=555532012-02062004></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=555532012-02062004>sethdlc hdlc0
ppp</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=555532012-02062004>ifconfig
hdlc0 64.80.211.42 pointopoint 64.80.211.41 netmask 255.255.255.252
up</SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=555532012-02062004></SPAN></FONT><FONT
size=+0><SPAN class=555532012-02062004><FONT face=Arial size=2>route add -net
64.80.211.0 netmask 255.255.255.252 hdlc0</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=555532012-02062004><FONT face=Arial
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT size=+0><SPAN class=555532012-02062004><FONT face=Arial
size=2>Everything seems to run fine without errors, but I can't ping the telco
side of the T1. When I run ifconfig it looks like I am transmitting
packets, but all received packets seem to be getting dropped. I have
cleared iptables to make sure that nothing is going wrong there. Does
anyone have any ideas? At this point, I don't know if I compiled
something wrong, or if I have the route table set up wrong, or if there is a
legitimate bug somewhere.</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=555532012-02062004><FONT face=Arial
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=555532012-02062004>BTW, I have 2
other ports on the TE405P running to a channel bank and a PRI, both of which
work fine.</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=555532012-02062004></SPAN></FONT> </DIV>
<DIV><FONT size=+0><SPAN class=555532012-02062004><FONT face=Arial size=2>Any
help would be greatly appreciated.</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=555532012-02062004><FONT face=Arial
size=2></FONT></SPAN></FONT> </DIV>
<DIV><FONT size=+0><SPAN class=555532012-02062004><FONT face=Arial
size=2>Thanks,</FONT></SPAN></FONT></DIV>
<DIV><FONT size=+0><SPAN class=555532012-02062004><FONT face=Arial
size=2>Patrick</FONT></DIV></SPAN></FONT>
<DIV><FONT size=2></FONT> </DIV><BR>-- <BR>This message has been scanned
for viruses and <BR>dangerous content and is believed to be clean.
</BLOCKQUOTE></BODY></HTML>