[Asterisk-Users] hdlc setup routing question

Vasyl Rublyov vasyl.rublyov at ionidea.com
Mon Jun 7 19:28:51 MST 2004


I see that you configurataion is FR, and your router (with t100p) should 
have and P2P end shoud be
Usually they are both belongs to ISP (in this case to Sprint), but your 
Ethernet end is

Hope this will work for you;


# FR

/sbin/modprobe zaptel
/sbin/modprobe wct1xxp
/sbin/modprobe hdlc
/sbin/ztcfg -vvv

sethdlc-1.15 ${DEVICE} ${MODE} lmi ${FR_LMI}
sethdlc ${DEVICE} create ${FR_DLC}
ifconfig ${DEVICE} up
ifconfig ${FR_PVC} ${LOCAL_IPADDR} pointopoint ${REMOTE_IPADDR}
route add -net ${NETWORK} netmask ${NETMASK} ${FR_PVC}
route add default gw ${GATEWAY} metric 1 ${FR_PVC}

# belongs to your eth0 device.
ifconfig eth0 netmask
route add -net netmask dev eth0

=== /etc/zaptel.conf should be like this:
loadzone = us



also check /proc/sys/net/ipv4/ip_forward - it should be 1

Michael A Rowley wrote:

> Ok, I guess I wasn't clear enough.... I keep doing that.... Here is 
> what I recieved from sprint...
> * Linecode B8ZS
> Format ESF
> Timing from Network
> *
> If you are having any Internet issues call and report this circuit ID to
> (800) 603-8044 option 4, option 3, option1.
> *Circuit ID**
> (FRAME) 60.YGFS.576125.UFLG*
> *Order Number N495625
> WAN IP’s Far end (Gateway)
> Near end (local interface)
> Subnet mask
> Encapsulation Frame Relay
> Maintenance Protocol ANNEX D (ANSI)
> DLCI 44
> Ethernet IP on Router is subnet mask
> Usable IP’s are to
> DNS servers
> Primary
> Secondary
> *So, I need pointopoint from to
> Now, belongs to sprint... I can't use it... but it is 
> being assigned to pvc0 to complete the point to point protocol for 
> frame relay.
> is the router IP address that sprint set up on my 
> adtran. Thats fine. So I need the ip address for my box to actually be 
> so that I can actually reach it... I tried the setup 
> without, but I could not reach the box at all at 
> It would respond to a ping, but could not ssh into it, 
> or anything else. My guess is that is protected by a 
> firewall at sprint, and (my ip addresses) are set up 
> as DMZ's.
> With this setup, I can ssh, if is set up, 
> but not without it.....
> M
> On Monday, June 7, 2004, at 03:51 PM, Joseph wrote:
>     Not sure I understand what all you are doing here, but you need
>     your gateway to be on the same subnet as your main ip address.
>     Why do you assign 2 ip's to your pvc?
>     If ping's are allow, sometimes it helps to use traceroute to
>     see the path a packet is taking.
> Michael Rowley MD
> FP

Thanks and regards,
  Vasyl Rublyov

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040607/ef370100/attachment.htm

More information about the asterisk-users mailing list