^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) .. SPDX-License-Identifier: GPL-2.0
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) ================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4) Frame Relay (FR)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) ================
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7) Frame Relay (FR) support for linux is built into a two tiered system of device
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) drivers. The upper layer implements RFC1490 FR specification, and uses the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9) Data Link Connection Identifier (DLCI) as its hardware address. Usually these
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) are assigned by your network supplier, they give you the number/numbers of
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) the Virtual Connections (VC) assigned to you.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) Each DLCI is a point-to-point link between your machine and a remote one.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) As such, a separate device is needed to accommodate the routing. Within the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) net-tools archives is 'dlcicfg'. This program will communicate with the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) base "DLCI" device, and create new net devices named 'dlci00', 'dlci01'...
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) The configuration script will ask you how many DLCIs you need, as well as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) how many DLCIs you want to assign to each Frame Relay Access Device (FRAD).
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) The DLCI uses a number of function calls to communicate with the FRAD, all
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) of which are stored in the FRAD's private data area. assoc/deassoc,
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 22) activate/deactivate and dlci_config. The DLCI supplies a receive function
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 23) to the FRAD to accept incoming packets.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 24)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 25) With this initial offering, only 1 FRAD driver is available. With many thanks
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 26) to Sangoma Technologies, David Mandelstam & Gene Kozin, the S502A, S502E &
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 27) S508 are supported. This driver is currently set up for only FR, but as
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 28) Sangoma makes more firmware modules available, it can be updated to provide
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 29) them as well.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 30)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 31) Configuration of the FRAD makes use of another net-tools program, 'fradcfg'.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 32) This program makes use of a configuration file (which dlcicfg can also read)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 33) to specify the types of boards to be configured as FRADs, as well as perform
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 34) any board specific configuration. The Sangoma module of fradcfg loads the
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 35) FR firmware into the card, sets the irq/port/memory information, and provides
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 36) an initial configuration.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 37)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 38) Additional FRAD device drivers can be added as hardware is available.
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 39)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 40) At this time, the dlcicfg and fradcfg programs have not been incorporated into
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 41) the net-tools distribution. They can be found at ftp.invlogic.com, in
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 42) /pub/linux. Note that with OS/2 FTPD, you end up in /pub by default, so just
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 43) use 'cd linux'. v0.10 is for use on pre-2.0.3 and earlier, v0.15 is for
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 44) pre-2.0.4 and later.