File: br2684ctl.8

package info (click to toggle)
br2684ctl 20040226-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny, sarge
  • size: 60 kB
  • ctags: 18
  • sloc: ansic: 210; makefile: 42
file content (77 lines) | stat: -rw-r--r-- 2,390 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
.\"
.TH br2684ctl 8 "7 Jul 2003"
.SH NAME
br2684ctl \- RFC1483/2684 Bridge Daemon
.SH SYNOPSIS
.B br2684ctl
[
.BI \-b
] [[
.BI \-c\  n
] [
.BI \-e\  0|1
] [
.BI \-s\  sndbuf
] [
.BI \-a\  [itf].vpi.vci
]] ...
.SH PARAMETERS
.TP 15
.BI \-a\  [itf].vpi.vci
ATM PVC number, VPI and VCI.  (Required)
.BI \-b
Puts the process in the background.
.TP 15
.BI \-c\  n
br2684 interface number such as 0, 1, ... (Required)
.TP 15
.BI \-e\  0|1
Encapsulation method:  0=LLC, 1=VC mux (the default is 0 or LLC)
.TP 15
.TP 15
.BI \-s\  sndbuf
Send buffer size. Default is 8192.
.SH DESCRIPTION
br2684ctl handles RFC1483/2684 bridged PDUs.
This is most often used in ADSL scenarios where
.I usually
the subscribers'
ethernet traffic is encapsulated in ATM AAL5 (by bridging ADSL modems)
according to RFC2684. 
The subscriber-side ADSL modem can be external with an ethernet connector 
or an internal ADSL card in a PC.
RFC1483 has been obsoleted by RFC2684.

For example it is possible to set up your Linux box to handle several
ATM PVC's with bridged-1483 (sometimes referred as SNAP) encapsulation.
The Linux network stack might provide DHCP, IP masquerading, IP firewall services or
bridge the Ethernet frames just like it had several ethernet interfaces.
In fact it can have several (logical) ethernet interfaces, where
ATM is just used as a carrier.
.SH USAGE
br2684ctl creates a new network interface named nas[n]
which is bound to an specific ATM PVC. It requires two mandatory
arguments:  -c, the interface number, and -a, the ATM PVC. It should be
noted that the order of the command arguments matter; -c should be
followed by -a. You can create as many interfaces as necessary
in one go, just make a long command line ;) 

For example, following command will create a nas0 interface which uses
the ATM PVC with VPI=0 and VCI=401. You need to configure the PVC connection
0.401 on the ATM switch manually.

% br2684ctl -c 0 -a 0.401

The command will only create a new interface nas0.
Next step is to assign an IP address and netmask to
the interface nas0 using the ifconfig command. Using ifconfig, you can
also assign a Ethernet MAC address to the interface nas0, if necessary.

% ifconfig nas0 192.168.2.1 netmask 255.255.255.0

Messages are logged to the LOCAL2 syslog facility.

.SH NOTES
This man page is based on a tutorial by by Joonbum Byun <jbyun@megaxess.com>
.SH SEE ALSO
.BR qos (7)