[Asterisk-Users] Routing over T100p Help Please...
Cirelle Enterprises
gcirino at cirelle.com
Mon Oct 18 15:56:42 MST 2004
Hello,
I currently have a t100p installed in a server running fedora c1
zaptel, libpri, asterisk..... version 1.0 downloaded about 7 days
ago (also a tdm04b 4xfxo)
When I connect the t100p card to the t1, I can (from the local machine)
ping the t100p local interface, I can see packets on the RX and TX side
doing an ifconfig but no data crosses over that I can tell.
I can ping the 65.167.180.1 from my workstation
I can ping the 160.81.118.46 from my workstation
I cannot ping the 160.81.118.45 address or anything beyond
from my workstation or the local machine.
I am going blind with this stuff, and can't see what I am missing.
Have tried this with and without asterisk running, can someone
see the err of my ways and point me in the right direction? pls?
T1 provider info
HDLC 24 channel
160.81.118.46/30 (my side)
160.81.118.45/30 (sprint)
65.167.180.0/24 (local ip class)
65.167.180.1 local ethernet
# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
160.81.118.44 0.0.0.0 255.255.255.252 U 0 0 0 hdlc0
65.167.180.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 160.81.118.45 0.0.0.0 UG 0 0 0 hdlc0
(this does not show the traffic just for config purposes)
# ifconfig
eth0 Link encap:Ethernet HWaddr 00:30:48:54:8D:3F
inet addr:65.167.180.1 Bcast:65.255.255.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:27457 errors:0 dropped:0 overruns:0 frame:0
TX packets:4075 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2709996 (2.5 Mb) TX bytes:1090267 (1.0 Mb)
Interrupt:11 Base address:0x8000 Memory:f8000000-f8020000
hdlc0 Link encap:(Cisco)-HDLC
inet addr:160.81.118.46 P-t-P:160.81.118.45 Mask:255.255.255.252
UP POINTOPOINT RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:1399 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:50
RX bytes:0 (0.0 b) TX bytes:40388 (39.4 Kb)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3468 errors:0 dropped:0 overruns:0 frame:0
TX packets:3468 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:141932 (138.6 Kb) TX bytes:141932 (138.6 Kb)
commands to achieve the above:
/sbin/modprobe zaptel
/sbin/modprobe wct1xxp
/sbin/modprobe hdlc
/sbin/ztcfg
/sbin/sethdlc hdlc0 cisco
/sbin/ifconfig hdlc0 arp multicast 160.81.118.46 pointopoint 160.81.118.45 netmask 255.255.255.252
/sbin/route add default gw 160.81.118.45 netmask 0.0.0.0 dev hdlc0
/sbin/ifconfig eth0 65.167.180.2 netmask 255.255.255.0
/proc/sys/net/ipv4/ip_forward = 1
sysctl.conf:
# Controls IP packet forwarding
net.ipv4.ip_forward = 1
/etc/sysconfig/network:
NETWORKING=yes
HOSTNAME=ast.cirelle.com
IPV4_FORWARD=yes
GATEWAY=
iptables, accepts in all directions
zaptel.conf:
span=1,1,5,esf,b8zs
nethdlc=1-24
fxsks=25-28
loadzone = us
defaultzone=us
zapata.conf
switchtype = national
signalling = pri_cpe
group = 6
faxdetect=no
group = 1
callerid=asreceived
context => incoming-852
signalling=fxs_ks
callgroup=1
pickupgroup=1
channel => 25
musiconhold=default
faxdetect=both
group = 2
callerid=asreceived
context => incoming-865
signalling=fxs_ks
channel => 26
faxdetect=no
group = 3
callerid=asreceived
context => incoming-221
signalling=fxs_ks
channel => 27
group = 4
callerid=asreceived
context => incoming-975
signalling=fxs_ks
channel => 28
fxsks=25-28
loadzone=us
defaultzone=us
Regards
Greg Cirino
___________________________________
More information about the asterisk-users
mailing list