Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Dec 2001 17:13:32 +1100
From:      "MurrayTaylor" <MurrayTaylor@bytecraftsystems.com>
To:        <freebsd-questions@FreeBSD.ORG>
Cc:        "Archie Cobbs" <archie@dellroad.org>, "Julian Elischer" <julian@elischer.org>
Subject:   netgraph frame relay
Message-ID:  <007f01c17d54$19f201e0$2a7627cb@lt99101401>

next in thread | raw e-mail | index | archive | help
I am getting these errors when trying to get a third framerelay link
setup here

sr0: transmit failed, ST0 00, ST1 50, ST3 07, DSR 03.

Please explain what these error codes mean, and what may be 
causing them... me or the telco

I am using (again) the Imagestream WanIC 405 card as I have been using
on the previous two installs.

this is the start_if.ng0 file

# $Id: start_if.ng0,v 1.1 2001/05/07 01:30:47 root Exp $
##############################################
# RCS controlled file                        #
#                                            #
# Must check out this file to modify it      #
#       co -l start_if.ng0                   #
#                                            #
# Must check in this file when edits done    #
#       ci -u start_if.ng0                   #
#                                            #
##############################################

# script to set up a frame relay link on the sr card.
# The dlci used is selected below. The default is 16
# we use 17 here

CARD=sync_sr0
DLCI=17

# create a frame_relay type node and attach it to the sync port.

ngctl mkpeer ${CARD}: frame_relay rawdata downstream

# Attach the dlci output of the (de)multiplexor to a new 
# Link management protocol node.

ngctl mkpeer ${CARD}:rawdata lmi dlci0 annexD

# Attach the DLCI(channel) the Telco has assigned you to
# a node to hadle whatever protocol encapsulation your peer
# is using. In this case rfc1490 encapsulation.

ngctl mkpeer ${CARD}:rawdata rfc1490 dlci${DLCI} downstream

# Attach the ip (inet) protocol output of the protocol mux to the ip (inet)
# input of a netgraph "interface" node (ifconfig should show it as "ng0").
#if interface ng0 needs to be created use a mkpeer command.. e.g.

ngctl mkpeer ${CARD}:rawdata.dlci${DLCI} iface inet inet

cheers

Murray Taylor
Bytecraft Systems Pty Ltd
email:     murraytaylor@bytecraftsystems.com
web(s):    www.bytecraftsystems.com
           www.bytecraftentertainment.com


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?007f01c17d54$19f201e0$2a7627cb>