[linux-network] Linux Frame Relay Desteği

---------

From: Gürkan KARABATAK (gkarabatak@firat.edu.tr)
Date: Tue 01 Jul 2003 - 17:29:18 EEST

  • Next message: Ismet Sonmez: "[linux-network] RE: [linux-network] Linux Frame Relay Desteği"

    Frame Relay birim adları DLCI encapsulation birimler için `dlci00', `dlci01' v.b., FRAD için `sdla0', `sdla1' v.b. dir.

    Frame Relay veri iletişim trafiğine uygun tasarlanmış yeni bir ağ teknolojisidir. Frame Relay ağına "Frame Relay Erişim Birimi" (FRAD) ile bağlanabilirsiniz. Linux Frame Relay destği RFC-1490 belgesinde açıklandığı gibidir.

    Linux için Mike McLagan, mike.mclagan@linux.org,Frame Relay desteğini ve tanımlama araçlarını geliştirmiştir.

    Şu anda Sangoma Technologies http://www.sangoma.com/ ürünlerinden S502A, S502E and S508 ürün kodlu FRAD birimleri desteklenmektedir.

    Frame Relay tanımlama araçları aşağıdaki adresten sağlanabilir : ftp://ftp.invlogic.com/pub/linux/fr/frad-0.15.tgz

    Yazılımı yüklemek için gerekli adımlar :

    # cd /usr/src
    # tar xvfz .../frad-0.15.tgz
    # cd frad-0.15
    # for i in common dlci frad; do cd $i; make clean; make; cd ..; done
    # mkdir /etc/frad
    # install -m 644 -o root -g root bin/*.sfm /etc/frad
    # install -m 700 -o root -g root frad/fradcfg /sbin
    # install -m 700 -o root -g root dlci/dlcicfg /sbin

    Araçlar yüklendikten sonra /etc/frad/router.conf adlı kütük yaratılmalıdır. Bunun için aşağıdaki örnek tanım kullanılabilir.

    # /etc/frad/router.conf
    # This is a template configuration for frame relay.
    # All tags are included. The default values are based on the code
    # supplied with the DOS drivers for the Sangoma S502A card.
    #
    # A '#' anywhere in a line constitutes a comment
    # Blanks are ignored (you can indent with tabs too)
    # Unknown [] entries and unknown keys are ignored
    #

    [Devices]
    Count=1 # number of devices to configure
    Dev_1=sdla0 # the name of a device
    #Dev_2=sdla1 # the name of a device

    # Specified here, these are applied to all devices, and can be overriden for
    # each individual board.
    #
    Access=CPE
    Clock=Internal
    KBaud=64
    Flags=TX
    #
    # MTU=1500 # Maximum transmit IFrame length, default is 4096
    # T391=10 # T391 value 5 - 30, default is 10
    # T392=15 # T392 value 5 - 30, default is 15
    # N391=6 # N391 value 1 - 255, default is 6
    # N392=3 # N392 value 1 - 10, default is 3
    # N393=4 # N393 value 1 - 10, default is 4

    # Specified here, these set the defaults for all boards
    # CIRfwd=16 # CIR forward 1 - 64
    # Bc_fwd=16 # Bc forward 1 - 512
    # Be_fwd=0 # Be forward 0 - 511
    # CIRbak=16 # CIR backward 1 - 64
    # Bc_bak=16 # Bc backward 1 - 512
    # Be_bak=0 # Be backward 0 - 511

    #
    #
    # Device specific configuration
    #
    #

    #
    # The first device is a Sangoma S502E
    #
    [sdla0]
    Type=Sangoma # Type of the device to configure, currently only
    # SANGOMA is recognised
    #
    # These keys are specific to the 'Sangoma' type
    #
    # The type of Sangoma board - S502A, S502E, S508
    Board=S502E
    #
    # The name of the test firmware for the Sangoma board
    # Testware=/usr/src/frad-0.10/bin/sdla_tst.502
    #
    # The name of the FR firmware
    # Firmware=/usr/src/frad-0.10/bin/frm_rel.502
    #
    Port=360 # Port for this particular card
    Mem=C8 # Address of memory window, A0-EE, depending on card
    IRQ=5 # IRQ number, do not supply for S502A
    DLCIs=1 # Number of DLCI's attached to this device
    DLCI_1=16 # DLCI #1's number, 16 - 991
    # DLCI_2=17
    # DLCI_3=18
    # DLCI_4=19
    # DLCI_5=20
    #
    # Specified here, these apply to this device only,
    # and override defaults from above
    #
    # Access=CPE # CPE or NODE, default is CPE
    # Flags=TXIgnore,RXIgnore,BufferFrames,DropAborted,Stats,MCI,AutoDLCI
    # Clock=Internal # External or Internal, default is Internal
    # Baud=128 # Specified baud rate of attached CSU/DSU
    # MTU=2048 # Maximum transmit IFrame length, default is 4096
    # T391=10 # T391 value 5 - 30, default is 10
    # T392=15 # T392 value 5 - 30, default is 15
    # N391=6 # N391 value 1 - 255, default is 6
    # N392=3 # N392 value 1 - 10, default is 3
    # N393=4 # N393 value 1 - 10, default is 4

    #
    # The second device is some other card
    #
    # [sdla1]
    # Type=FancyCard # Type of the device to configure.
    # Board= # Type of Sangoma board
    # Key=Value # values specific to this type of device

    #
    # DLCI Default configuration parameters
    # These may be overridden in the DLCI specific configurations
    #
    CIRfwd=64 # CIR forward 1 - 64
    # Bc_fwd=16 # Bc forward 1 - 512
    # Be_fwd=0 # Be forward 0 - 511
    # CIRbak=16 # CIR backward 1 - 64
    # Bc_bak=16 # Bc backward 1 - 512
    # Be_bak=0 # Be backward 0 - 511

    #
    # DLCI Configuration
    # These are all optional. The naming convention is
    # [DLCI_D_]
    #

    [DLCI_D1_16]
    # IP=
    # Net=
    # Mask=
    # Flags defined by Sangoma: TXIgnore,RXIgnore,BufferFrames
    # DLCIFlags=TXIgnore,RXIgnore,BufferFrames
    # CIRfwd=64
    # Bc_fwd=512
    # Be_fwd=0
    # CIRbak=64
    # Bc_bak=512
    # Be_bak=0

    [DLCI_D2_16]
    # IP=
    # Net=
    # Mask=
    # Flags defined by Sangoma: TXIgnore,RXIgnore,BufferFrames
    # DLCIFlags=TXIgnore,RXIgnore,BufferFrames
    # CIRfwd=16
    # Bc_fwd=16
    # Be_fwd=0
    # CIRbak=16
    # Bc_bak=16
    # Be_bak=0

    Bu kütük yaratıldıktan sonra kalan son işlem gerçek birimin kendisinin parametrelerinin düzenlenmesi gerekir. Burada hatırlanması gereken en önemli nokta FRAD birimlerini başlatmanın (ayağa kaldırmanın), DLCI encapsulation birimlerinde önce yapılması gerektiğidir.

    # Configure the frad hardware and the DLCI parameters
    /sbin/fradcfg /etc/frad/router.conf || exit 1
    /sbin/dlcicfg file /etc/frad/router.conf
    #
    # Bring up the FRAD device
    ifconfig sdla0 up
    #
    # Configure the DLCI encapsulation interfaces and routing
    ifconfig dlci00 192.168.10.1 pointopoint 192.168.10.2 up
    route add 192.168.10.0 netmask 255.255.255.0 dlci00
    #
    ifconfig dlci01 192.168.11.1 pointopoint 192.168.11.2 up
    route add 192.168.11.0 netmask 255.255.255.0 dlci00
    #
    route add default dev dlci00
    #

     

     

    -----Original Message-----
    From: Ismet Sonmez [mailto:isonmez@bsy.com.tr]
    Sent: Tuesday, July 01, 2003 1:46 PM
    To: linux-network@liste.linux.org.tr
    Subject: [linux-network] Re: Frame Relay Hat

     

    1-"Ara adaptor" demek nedir.Bunu yapan kartlar ama "Adaptor" denmez.

    Evet Uygun kartlar linuxta çalışır.Şu an bu mail bu yolla gidiyor.

    2-Dedğim gibi bu mail

    linuxbox<------>NewBridge2703<------->NewBridge2703<----->AlliedTelesyn<------>LinuxBox<------>Cisco1751<------>NewBridge2902<-------->Internet

    yolundan gidiyor.

            -----Original Message-----
            From: linux-network-bounce@liste.linux.org.tr [mailto:linux-network-bounce@liste.linux.org.tr]On Behalf Of Emil
            Sent: Tuesday, July 01, 2003 10:56 AM
            To: linux-network@liste.linux.org.tr
            Subject: [linux-network] Frame Relay Hat

            1-Frame relay hat müracaatında bulundum modem ve router satın alıcam

            modemi direk bilgisayara bağlayabileceğim ara adaptörü buldum

            router olarak linux u konfigure edebilirmiyiz????

            2- Uygulayan oldumu?


  • Next message: Ismet Sonmez: "[linux-network] RE: [linux-network] Linux Frame Relay Desteği"

    ---------

    Bu arsiv hypermail 2.1.6 tarafindan uretilmistir.