[Asterisk-Users] OT: Linux routing with T100P problems

niles at atheos.net niles at atheos.net
Wed Dec 29 07:07:56 MST 2004


On Dec 29, 2004, at 12:18 AM, Matthew Boehm wrote:

> Hey gang,
>  I was successful in recompiling my 2.4.20 kernel to support HDLC. I 
> was
> successful in hooking up our T1 line into the zap card. I was 
> successful in
> being able to ping equipment on the other end of the T1. I was 
> unsuccessful
> in pinging the outside world from the other end of the T1.
>
> I've attached a cheezy image of the network. Here is the routing table:
>
> [root at asterisk root]# route
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 10.0.5.2           *             255.255.255.255 UH    0         0     
>    0
> hdlc0
> 10.0.0.0           *               255.255.255.0   U       0         0
> 0    eth1
> 10.0.3.0           *               255.255.255.0   U       0         0
> 0    eth1
> 65.78.109.0     *               255.255.255.0   U       0         0    
>     0
> eth0
> 127.0.0.0         *               255.0.0.0           U       0        
>  0
> 0    lo
> default       65.78.109.2     0.0.0.0               UG    0         0
> 0    eth0
>
> There are 2 NICs (10.0.3.10, 65.78.109.10) and 1 T100P (10.0.5.1) on 
> this
> box.
>
> Like I said above, from this machine I can ping everything in every 
> attached
> network and the outside world. For some reason, I cannot ping the 
> outside
> world if I am comming from the 10.0.0.* network on the diagram. From 
> that
> network, I can ping 10.0.5.1 (this box) but nothing else.

appears that your box isn't configured for NAT, so you want to brush up 
on iptables.
Most distributions make this pretty easy, and of course each distro has 
a different approach
on where to find the preconfigured scripts. (google)
Niles





More information about the asterisk-users mailing list