ATM on Linux HOWTO

Paul B Schroeder

IBM Corporation

paulsch@us.ibm.com

朏夑桋巎 - 擔杮岅栿

yasufumi.haga@nifty.com

Linux 梡偺 ATM 僒億乕僩偼丄尰嵼僾儗傾儖僼傽抜奒偱偡偑丄幚尡梡偵儕儕乕僗
偟偨傕偺偑偁傝傑偡丅偙偺儕儕乕僗偱偼丄慺偺 ATM 僐僱僋僔儑儞乮偮傑傝 PVC
偲 SVC乯傗 IP over ATM丄LAN 僄儈儏儗乕僔儑儞丄儅儖僠僾儘僩僐儖丒僆乕僶
乕丒ATM(MPOA)丄偦傟偵 Arequipa 傪巒傔丄懠偵傕偄偔偮偐枺椡揑側婡擻傪僒億
乕僩偟偰偄傑偡丅

2001擭 10寧 18擔

Revision History                                                       
Revision 2.4.0        2001擭 10寧 18擔          Revised by: PBS        
偄偔偮偐捛壛丄曄峏傪峴側偆偲嫟偵丄 LaTeX 偐傜 DocBook 偵曄姺丅         

杮暥彂偱偼丄Linux 偱 ATM 僱僢僩儚乕僋愙懕傪僒億乕僩偡傞偺偵昁梫側丄僪儔
僀僶傗僣乕儖偺僀儞僗僩乕儖傗峔惉丄偍傛傃愝掕偺曽朄傪夝愢偟傑偡丅

嵟怴忣曬偵偮偄偰偼丄偤傂 ATM on Linux home page <http://
linux-atm.sourceforge.net/> 傪偛棗偵側偭偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

Table of Contents
1. 偼偠傔偵
   
    1.1. 幱帿
    1.2. 挊嶌尃
    1.3. 儊乕儕儞僌儕僗僩偵偮偄偰
    1.4. CVS 傊偺傾僋僙僗偵偮偄偰
   
2. 僀儞僗僩乕儖
   
    2.1. 僶僀僫儕偺 RPM 僼傽僀儖傪巊偆
    2.2. 僜乕僗僣儕乕傪巊偆
    2.3. 僇乕僱儖偺愝掕
    2.4. 僪儔僀僶偺儊僢僙乕僕
    2.5. 儊儌儕偺僨僶僢僌
    2.6. ATM 僣乕儖
    2.7. 捛壛僷僢働乕僕
   
3. 僨僶僀僗偺愝掕
   
    3.1. ATM Over TCP 偺愝掕
    3.2. ZN1221/ZN1225 偺挷惍
    3.3. /proc/net/atm/偵偁傞僼傽僀儖
    3.4. ATM 偺恌抐
    3.5. SONET 偺恌抐
   
4. 僱僀僥傿僽 ATM PVC
   
    4.1. 僩儔僼傿僢僋僣乕儖
    4.2. 僟僀儗僋僩僙儖傾僋僙僗
   
5. 僔僌僫儖張棟
   
    5.1. ATM 偺 Hosts 僼傽僀儖
    5.2. ANS
    5.3. 僔僌僫儖張棟僨乕儌儞
    5.4. ILMI 僨乕儌儞
    5.5. 傾僪儗僗偺庤摦愝掕
    5.6. 2 枃偺 ATM NIC 傪丄捈愙愙懕偟偰摦偐偡
    5.7. Q.2931 儊僢僙乕僕僟儞僷乕
   
6. IP Over ATM
   
    6.1. CLIP
    6.2. LAN 僄儈儏儗乕僔儑儞
    6.3. MPOA
   
7. 擔杮岅斉幱帿
恾彂栚榐

1. 偼偠傔偵

1.1. 幱帿

杮暥彂偼丄庡偵 Usage Instructions 偲偄偆暥彂偑尦偵側偭偰偄傑偡丅偙偺暥
彂偼丄僶乕僕儑儞 0.79 傑偱偺 ATM on Linux 偲偄偆僨傿僗僩儕價儏乕僔儑儞
偱丄堦弿偵攝晍偟偰偄偨傕偺偱丄 Werner Almesberger <wa@almsesberger.net>
偑 Institute for computer Communications and Applications (ICA) <http:/
/icawww.epfl.ch/> 偵嬑柋偟偰偄傞偲偒偵挊偟傑偟偨丅

2 枃偺 ATM NIC 傪丄捈愙愙懕偟偰摦偐偡偺愡偼丄庡偵 Richard Jones
<rjones@imcl.com> 偑扴摉偟傑偟偨丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.2. 挊嶌尃

Copyright 2001 IBM Corporation

偙偺晹暘偺朚栿偼嶲峫偱偡丅惓幃側傕偺偼塸暥傪偍撉傒壓偝偄丅

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License <http://
www.gnu.org/copyleft/fdl.html>, Version 1.1 or any later version
published by the Free Software Foundation; with no Invariant Sections,
with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the
license can be found at http://www.gnu.org/copyleft/fdl.html.

杮暥彂偺暋惢丄攝晍丄側偄偟曄峏偼丄 Free Software Foundation偑岞奐偟偰偄
傞丄僼儕乕暥彂棙梡嫋戻宊栺彂乮 GNU Free Documentation License 乯 <http:
//www.gnu.org/copyleft/fdl.html> 偺僶乕僕儑儞 1.1 側偄偟偼偦傟埲崀偺忦
審壓偱嫋壜偡傞丅偨偩偟丄曄峏晄壜擻晹暘偑柍偄偙偲丄昞昞巻偑柍偄偙偲丄偍
傛傃棤昞巻偑柍偄偙偲丅摉奩儔僀僙儞僗偺暋惢偼 http://www.gnu.org/
copyleft/fdl.html 偵偁傞丅

杮暥彂偺戝晹暘偼丄僶乕僕儑儞 0.79 傑偱偺 ATM on Linux 僨傿僗僩儕價儏乕
僔儑儞偲嫟偵攝晍偟偰偄傞丄 Usage Instructions 傪尦偵偟偰偄傞丅摉奩僨傿
僗僩儕價儏乕僔儑儞偼丄 BSD License, GNU General Public License (GPL),
偍傛傃 GNU Lesser General Public License (LGPL) 偺忦審壓偱儕儕乕僗偟偨
傕偺偱偁傞丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.3. 儊乕儕儞僌儕僗僩偵偮偄偰

ATM on Linux 偺媍榑偼儊乕儕儞僌儕僗僩偱傕峴側偭偰偄傑偡丅偛堄尒傗偛幙栤
丄偛彆尵側偳丄偁傞偄偼幚嵺奐敪偵嶲壛側偝傝偨偄応崌側偳偼丄偤傂摉儕僗僩
偵偛嶲壛壓偝偄丅

摉儊乕儕儞僌儕僗僩偵搳峞偟偰偄偨偩偄偨儊乕儖偼丄 http://
www.geocrawler.com/lists/3/SourceForge/6487/0/ 偵傾乕僇僀僽偟偰偁傝傑偡
丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

1.4. CVS 傊偺傾僋僙僗偵偮偄偰

CVS 偵偁傞嵟怴僶乕僕儑儞偼帄媫巊傢側偔偰偼丄側偳偲彑庤偵巚偄崬傑偢丄儕
儕乕僗偟偨傕偺傪巊偄懕偗偰偄偨偩偒偨偄偺偱偡偑丄嵟愭抂偺傕偺偑偍岲傒側
傜丄埲壓偵偦偺曽朄傪嵹偣偰偍偒傑偡丅

傑偢丄摻柤偱儘僌僀儞偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆% cvs -d:pserver:anonymous@cvs.linux-atm.sourceforge.net.:/cvsroot/linux-atm login劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

僷僗儚乕僪偺僾儘儞僾僩偑弌偨傜丄儕僞乕儞僉乕傪墴偡偩偗偵偟偰壓偝偄丅偦
傟偐傜丄儕億僕僩儕傪僠僃僢僋傾僂僩偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆% cvs -z6 -d:pserver:anonymous@cvs.linux-atm.sourceforge.net.:/cvsroot/linux-atm co -P linux-atm劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

僽儔儞僠傪巜掕偟偰僠僃僢僋傾僂僩偟偰傕偐傑偄傑偣傫丅嬶懱揑偵偼埲壓偺傛
偆偵偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆% cvs -z6 -d:pserver:anonymous@cvs.linux-atm.sourceforge.net.:/cvsroot/linux-atm co -r V2_5_0 linux-atm 劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偄偢傟傕応崌傕丄"linux-atm" 偲偄偆僨傿儗僋僩儕偑偱偒丄偦偙偵嵟怴偺僜乕
僗偑擖傝傑偡丅摉奩僨傿儗僋僩儕撪偱嶌嬈偡傞応崌偼丄 CVS 偵 '-d' 僆僾僔儑
儞傪晅偗傞昁梫偼偁傝傑偣傫丅嬶懱揑偵偼丄師偺傛偆偵偟偰丄

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆% cvs -z6 up -d                                                     劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

儕億僕僩儕偵偁傞曄峏撪梕傪丄偄偢傟傕帩偭偰偔傟偽偄偄偺偱偡乮忋婰偺椺偱
巊梡偟偰偄傞 '-d' 僆僾僔儑儞偼丄 "up" 僒僽僐儅儞僪偵懳偡傞傕偺偱丄 CVS
儖乕僩僨傿儗僋僩儕傪巜掕偡傞偨傔偵梡偄偨 '-d' 偲偼堘偄傑偡乯丅

僜乕僗僣儕乕傪僠僃僢僋傾僂僩偟偨傜丄摉奩僣儕乕偺僩僢僾儗儀儖僨傿儗僋僩
儕偱 autotools 僗僋儕僾僩傪幚峴偡傞昁梫偑偁傝傑偡丅偦偆偟側偄偲丄僜乕僗
僣儕乕偺峔惉傗峔抸丄偦傟偵僀儞僗僩乕儖偼偱偒傑偣傫丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# ./autotools                                                       劆
劆Running aclocal...                                                  劆
劆Running autoconf...                                                 劆
劆Running autoheader...                                               劆
劆Running automake...                                                 劆
劆automake: configure.in: installing `./install-sh'                   劆
劆automake: configure.in: installing `./mkinstalldirs'                劆
劆automake: configure.in: installing `./missing'                      劆
劆configure.in: 26: required file `./ltconfig' not found              劆
劆automake: Makefile.am: installing `./INSTALL'                       劆
劆automake: configure.in: installing `src/lane/ylwrap'                劆
劆Finished...  Now run './configure' and 'make'...                    劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

 

 tar+gzip 偟偨傝 RPM 偱傑偲傔偨丄攝晍梡僼傽僀儖傪嶌傝偨偄応崌偼丄奺乆 
make dist 偐 make rpm 傪幚峴偟偰壓偝偄丅 tar+gzip 偟偨僼傽僀儖偼僜乕僗
僣儕乕偺僩僢僾儗儀儖僨傿儗僋僩儕偵偱偒傑偡偟丄 RPM 僼傽僀儖偼 src/extra
/RPMS 僨傿儗僋僩儕偵偱偒傑偡丅

CVS 偺傾乕僇僀僽偼 http://cvs.linux-atm.sourceforge.net/cgi-bin/
viewcvs.cgi/linux-atm/linux-atm/ 偵偁傞偺偱丄僂僃僽偱墈棗偟偰偄偨偩偄偰
傕偐傑偄傑偣傫丅

嵟屻偵丄僜乕僗傪儕億僕僩儕偵僐儈僢僩偡傞偨傃偵丄偦偺 diff 傪偡傋偰揹巕
儊乕儖偱庴偗庢傝偨偄応崌偱偡偑丄 "linux-atm-commits": http://
lists.sourceforge.net/lists/listinfo/linux-atm-commits 偲偄偆儊乕儕儞僌
儕僗僩偑偁傝傑偡偺偱偛棙梡壓偝偄丅

偙偺儊乕儕儞僌儕僗僩偼丄儐乕僓乕偺庴怣愱梡偲偟傑偡丅乮撪梕偑丄摉儕僗僩
傪捠偠偰憲傞僷僢僠偵娭偡傞偙偲偩偲偟偰傕乯媍榑傗幙栤偼嫋壜偟傑偣傫丅媍
榑偼偡傋偰 linux-atm-general 儊乕儕儞僌儕僗僩偱懕偗偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2. 僀儞僗僩乕儖

杮僷僢働乕僕傪僀儞僗僩乕儖偡傞偵偼丄埲壓偺傕偺偑昁梫偵側傝傑偡丅

 丒 僷僢働乕僕帺懱丅 http://linux-atm.sourceforge.net/dist.php <http://
    linux-atm.sourceforge.net/dist.php> 偐傜擖庤偱偒傑偡丅
   
 丒 Linux 僇乕僱儖偺僶乕僕儑儞 2.4.x丅椺偊偽丄 ftp://ftp.kernel.org/pub
    /linux/kernel/v2.4/ <ftp://ftp.kernel.org/pub/linux/kernel/v2.4/>
    偐傜擖庤偱偒傑偡丅
   
 丒 Perl 偺僶乕僕儑儞 4丄側偄偟偼 5
   
 丒 儊儌儕偺僨僶僢僌傪偟偨偄応崌偼 MPR傕昁梫丅椺偊偽丄 ftp://
    ibiblio.org/pub/Linux/devel/lang/c/ <ftp://ibiblio.org/pub/Linux/
    devel/lang/c/> 偐傜擖庤偱偒傑偡丅
   
 

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.1. 僶僀僫儕偺 RPM 僼傽僀儖傪巊偆

帺暘偱僜乕僗偺揥奐傗峔抸傪偡傞偺偼帪娫偲楯椡偺楺旓偩丄偲巚偭偰偄傞応崌
偼丄 RPM 宍幃偱傕 ATM 僣乕儖傪攝晍偟偰偄傑偡偐傜丄偦傟傪巊偭偰壓偝偄丅
偙傟偼丄師偺傛偆偵偡傟偽僀儞僗僩乕儖偱偒傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆rpm -ivh linux-atm-x.x.x-x.rpm                                      劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.2. 僜乕僗僣儕乕傪巊偆

偙偺応崌偼丄傑偢 ATM on Linux 僨傿僗僩儕價儏乕僔儑儞傪揥奐偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆tar xzvf linux-atm-x.x.x.tar.gz                                     劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

僨傿僗僩儕價儏乕僔儑儞傪揥奐偡傞偲丄 linux-atm-x.x.x/ 僨傿儗僋僩儕偑偱
偒丄偦偺壓偵僒僽僨傿儗僋僩儕偑偄偔偮偐偱偒傑偡丅拞偱傕廳梫側偺偼丄師偺
僨傿儗僋僩儕偱偡丅

doc/
   
    乮偙偺 HOWTO 傪娷傓乯SGML DocBook 宍幃偺暥彂偑偁傝傑偡丅
   
src/sigd/
   
    UNI 3.0 偲 UNI 3.1丄偍傛傃 UNI 4.0 偺僔僌僫儖張棟僨乕儌儞 atmsigd
    偑偁傝傑偡丅
   
src/saal/
   
    僔僌僫儖張棟梡 AAL 儔僀僽儔儕 (SSCOP 偲 SSCF丄偍傛傃 SAAL) 偑偁傝傑
    偡丅
   
src/qgen/
   
    Q.2931 宍幃偺儊僢僙乕僕張棟偑偁傝傑偡丅
   
src/ilmid/
   
    ILMI 傾僪儗僗搊榐僨乕儌儞 ilmid 偑偁傝傑偡丅
   
src/maint/
   
    師偺 ATM 曐庣僾儘僌儔儉偑偁傝傑偡丅丗atmaddr, atmdiag, atmdump,
    atmloop, atmtcp, enitune, esi, sonetdiag, saaldump, 偍傛傃 zntune
   
src/test/
   
    師偺僥僗僩僾儘僌儔儉偑偁傝傑偡丅丗align, aping, aread, awrite, br,
    bw, isp, ttcp_atm, window
   
src/arpd/
   
    ATMARP 梡偺僣乕儖偲僨乕儌儞 atmarp 偲 atmarpd 偑偁傝傑偡丅
   
src/led/
   
    LAN 僄儈儏儗乕僔儑儞僨乕儌儞 zeppelin 偑偁傝傑偡丅
   
src/lane/
   
    LAN 僄儈儏儗乕僔儑儞僒乕僶乕 bus 偲 lecs丄偍傛傃 les 偑偁傝傑偡丅
   
src/mpoad/
   
    儅儖僠僾儘僩僐儖丒僆乕僶乕丒ATM 僨乕儌儞 mpcd 偑偁傝傑偡丅
   
src/debug/
   
    師偺僨僶僢僌僣乕儖偑偁傝傑偡丅丗delay, ed, encopy, endump, svctor,
    zndump, 偍傛傃 znth
   
src/lib/
   
    傾僾儕働乕僔儑儞丄偍傛傃僨乕儌儞梡儔僀僽儔儕偑偁傝傑偡丅
   
src/man/
   
    庬乆嶨懡側儅僯儏傾儖儁乕僕偑偁傝傑偡丅
   
src/extra/
   
    捛壛僷僢働乕僕偲 RPM 偺 spec 僼傽僀儖偑偁傝傑偡丅
   
src/config/
   
    愝掕偲 rc 僼傽僀儖偺僒儞僾儖偑偁傝傑偡丅
   
src/switch/
   
    僗僀僢僠丒僼傽僽儕僢僋丒僐儞僩儘乕儖偑偁傝傑偡乮奐敪拞乯丅
   
 

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.3. 僇乕僱儖偺愝掕

    拲堄: 怴偟偄僇乕僱儖偺峔抸傗僀儞僗僩乕儖偵晄姷傟側応崌偼丄偤傂 The
    Linux Kernel HOWTO <http://www.linuxdoc.org/HOWTO/
    Kernel-HOWTO.html> 傪嶲徠偟偰壓偝偄丅
   
僇乕僱儖偺僨傿僗僩儕價儏乕僔儑儞傪揥奐屻丄 Linux 僇乕僱儖偺僜乕僗僣儕乕
偺僩僢僾儗儀儖偱丄偄偮傕偺丄 make config 偐 make menuconfig丄偁傞偄偼 
make xconfig 傪峴側偭偰壓偝偄丅傑偢丄埲壓偺僆僾僔儑儞傪桳岠偵偟傑偡丅
劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆Prompt for development and/or incomplete code/drivers               劆
劆  (CONFIG_EXPERIMENTAL)                                             劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊
偦傟偐傜丄師偺僆僾僔儑儞傪尒偮偗偰丄桳岠偵偟偰壓偝偄丅
劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆Asynchronous Transfer Mode (ATM, EXPERIMENTAL) (CONFIG_ATM)           劆
劆  Use "new" skb structure (CONFIG_ATM_SKB)                            劆
劆  Classical IP over ATM (CONFIG_ATM_CLIP)                             劆
劆    Do NOT send ICMP if no neighbour (CONFIG_ATM_CLIP_NO_ICMP)        劆
劆  LAN Emulation (LANE) support (CONFIG_ATM_LANE)                      劆
劆    Multi-Protocol Over ATM (MPOA) support (CONFIG_ATM_MPOA)          劆
劆ATM over TCP (CONFIG_ATM_TCP)                                         劆
劆Efficient Networks ENI155P (CONFIG_ATM_ENI)                           劆
劆  Enable extended debugging (CONFIG_ATM_ENI_DEBUG)                    劆
劆  Fine-tune burst settings (CONFIG_ATM_ENI_TUNE_BURST)                劆
劆    Enable 16W TX bursts (discouraged) (CONFIG_ATM_ENI_BURST_TX_16W)  劆
劆    Enable 8W TX bursts (recommended) (CONFIG_ATM_ENI_BURST_TX_8W)    劆
劆    Enable 4W TX bursts (optional) (CONFIG_ATM_ENI_BURST_TX_4W)       劆
劆    Enable 2W TX bursts (optional) (CONFIG_ATM_ENI_BURST_TX_2W)       劆
劆    Enable 16W RX bursts (discouraged) (CONFIG_ATM_ENI_BURST_RX_16W)  劆
劆    Enable 8W RX bursts (discouraged) (CONFIG_ATM_ENI_BURST_RX_8W)    劆
劆    Enable 4W RX bursts (recommended) (CONFIG_ATM_ENI_BURST_RX_4W)    劆
劆    Enable 2W RX bursts (optional) (CONFIG_ATM_ENI_BURST_RX_2W)       劆
劆ZeitNet ZN1221/ZN1225 (CONFIG_ATM_ZATM)                               劆
劆  Enable extended debugging (CONFIG_ATM_ZATM_DEBUG)                   劆
劆  Enable usec resolution timestamps (CONFIG_ATM_ZATM_EXACT_TS)        劆
劆IDT 77201 (NICStAR) (CONFIG_ATM_NICSTAR)                              劆
劆  Use suni PHY driver (155Mbps) (CONFIG_ATM_NICSTAR_USE_SUNI)         劆
劆  Use IDT77015 PHY driver (25Mbps) (CONFIG_ATM_NICSTAR_USE_IDT77105)  劆
劆Madge Ambassador (Collage PCI 155 Server) (CONFIG_ATM_AMBASSADOR)     劆
劆  Enable debugging messages (CONFIG_ATM_AMBASSADOR_DEBUG)             劆
劆Madge Horizon [Ultra] (Collage PCI 25 and Collage PCI 155 Client)     劆
劆  Enable debugging messages (CONFIG_ATM_HORIZON_DEBUG)                劆
劆Interphase ATM PCI x575/x525/x531 (CONFIG_ATM_IA)                     劆
劆  Enable debugging messages (CONFIG_ATM_IA_DEBUG)                     劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

ENI 僪儔僀僶偺"burst settings"傪桳岠偵偡傟偽丄嵶偐偄挷惍偑偱偒傞傛偆偵
側傝傑偡丅僨僼僅儖僩偺愝掕偱偼丄 PCI 僠僢僾僙僢僩偑僶僢僼傽僆乕僶乕儔儞
偟偰偟傑偆傛偆側傜丄偙偺僆僾僔儑儞偑昁梫偐傕抦傟傑偣傫丅 "burst
settings"偺曄峏偵娭楢偡傞徻嵶側愢柧偵偮偄偰偼丄僆儞儔僀儞僿儖僾偺
"CONFIG_ATM_ENI_TUNE_BURST" 傪嶲徠偟偰壓偝偄丅

drivers/atm/nicstar.h 僼傽僀儖偵偼丄IDT 77201 僪儔僀僶梡偵丄偄偔偮偐曄
峏壜擻側愝掕崁栚偑偁傞偙偲偼妎偊偰偍偄偰壓偝偄丅

拞偵偼丄屳姺惈偺偁傞僇乕僪偱傕巊偊傞僪儔僀僶偑偁傝傑偡丅僇乕僪偺屳姺惈
偵娭偡傞嵟怴忣曬偼丄 ATM on Linux information <http://
linux-atm.sourceforge.net/info.php> 偺儁乕僕偵偁傝傑偡丅

偦偺屻丄僇乕僱儖傪峔抸偟偰儕僽乕僩偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.4. 僪儔僀僶偺儊僢僙乕僕

ENI155p-MF 僪儔僀僶傪巊梡偡傞傛偆偵偟偨応崌偼丄埲壓偺傛偆側儊僢僙乕僕偑
2 峴弌傞偼偢偱偡乮512kB 偼 -C 僶乕僕儑儞偱丄2048KB 偼 -S 僶乕僕儑儞偱偡
乯丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆eni(itf 0): rev.0,base=0xff400000,irq=10,mem=512kB (00-20-EA-00-07-56)  劆
劆eni(itf 0): FPGA,MMF                                                    劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

堦曽丄ZN1221/ZN1225 僪儔僀僶傪巊梡偡傞傛偆偵偟偨応崌偼丄埲壓偺傛偆側儊
僢僙乕僕偵側傝傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆zatm(itf 0): rev.3,base=0xf800,irq=11,mem=128kB,MMF (00-20-D4-10-2A-80) 劆
劆zatm(itf 0): uPD98401 0.5 at 30.024 MHz                                 劆
劆zatm(itf 0): 16 shapers, 32 pools, 2048 RX, 3958 VCs                    劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

Triton 儀乕僗偺僔僗僥儉偱巊偄偨偄応崌偼丄嵟掅偱傕儕價僕儑儞儗儀儖 3 偺
儃乕僪偑昁梫偱偡偐傜丄拲堄偟偰壓偝偄丅

"ATM over TCP" 僨僶僀僗偼丄 atmtcp 傪梡偄偰丄屻偱惗惉偡傞偺偱丄 "ATM
over TCP" 僪儔僀僶偟偐巊傢側偄傛偆偵偟偨応崌偼丄僗僞乕僩帪偺儊僢僙乕僕
偼弌傑偣傫丄拲堄偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.5. 儊儌儕偺僨僶僢僌

儊儌儕傾儘働乕僔儑儞梡偺僆僾僔儑儞偱僨僶僢僌婡擻傪桳岠偵偟偨偄応崌偼丄
ATM 僣乕儖偺僐儞僷僀儖慜偵丄MPR 傪僀儞僗僩乕儖偡傞昁梫偑偁傝傑偡丅

僶僀僫儕偺 RPM 僷僢働乕僕傪僟僂儞儘乕僪偡傞偙偲偵偟偨偺側傜丄 MPR 偼師
偺傛偆偵偡傟偽僀儞僗僩乕儖偱偒傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆rpm -ivh mpr-x.x-x.rpm                                              劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

僜乕僗傪巊偆偙偲偵偟偨応崌偼丄埲壓偺傛偆偵偟偰丄mpr-x.x.tar.gz 傪揥奐偟
偰壓偝偄丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆tar xzvf mpr-x.x.tar.gz                                             劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偦傟偐傜師偺僐儅儞僪傪幚峴偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆cd mpr-x.x                                                          劆
劆./configure x86-linux                                               劆
劆make                                                                劆
劆make install                                                        劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

MPR 傪僀儞僗僩乕儖偟偨忬懺偱僾儘僌儔儉傪僐儞僷僀儖偡傟偽丄 malloc 傗
free 偺堦斒揑側岆梡偵娭偟偰偼丄帺摦揑偵専弌偟傑偡丅傑偨丄MPRPC 偲 MPRFI
傪愝掕偟偰偍偗偽丄儊儌儕偺妱傝摉偰捛愓婡擻偑桳岠偵側傝傑偡丅徻嵶偼丄MPR
僨傿僗僩儕價儏乕僔儑儞偵偁傞丄 doc/mpr.html 傗丄偁傞偄偼 doc/mpr.ps 傪
嶲徠偟偰壓偝偄丅

儊儌儕偺僨僶僢僌婡擻傪擖傟偰傕丄偙偺擇偮偺娐嫬曄悢傪愝掕偟側偗傟偽丄幚
峴帪偺僆乕僶乕僿僢僪偼傢偢偐側傕偺偵偡偓傑偣傫丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.6. ATM 僣乕儖

偝偁丄嵟廔抜奒偱偡丅ATM 僣乕儖偺峔惉偲峔抸傪峴側偄傑偡丅峔惉偑昁梫側偺
偼丄僗僀僢僠偵 UNI 3.1 偐 4.0 傪巊偭偰偄傞偐丄傕偟偔偼壗偐僶僌偑偁傞応
崌偩偗偱偡丅峔惉僆僾僔儑儞偼丄linux-atm 僨傿僗僩儕價儏乕僔儑儞偵偁傞丄 
./configure 偵揔愗側僆僾僔儑儞傪搉偡曽朄偵偟傑偟偨丅

   
    拲堄: 巊梡偱偒傞僆僾僔儑儞傪偡傋偰尒傞偵偼丄 linux-atm 僨傿僗僩儕價
    儏乕僔儑儞偺僩僢僾儗儀儖僨傿儗僋僩儕偱丄 ./configure --help 傪幚峴
    偟偰壓偝偄丅
   
ATM 僣乕儖偼丄師偺僐儅儞僪傪巊偭偰峔抸偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆cd linux-atm-x.x.x                                                  劆
劆./configure                                                         劆
劆make                                                                劆
劆make install                                                        劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

./configure 偺婲摦帪偵丄摿偵壗傕巜掕偟側偗傟偽丄幚峴壜擻僼傽僀儖偼 make
install 偱丄偦傟偧傟 /usr/local/bin 偲 /usr/local/sbin 偵僀儞僗僩乕儖偟
傑偡丅愝掕僼傽僀儖偼 /usr/local/etc 偵僀儞僗僩乕儖偟傑偡乮偨偩偟
hosts.atm 偼暿偱偡丅偙偺僼傽僀儖偼 /etc 偵僀儞僗僩乕儖偟傑偡乯丅儔僀僽
儔儕偼偲僿僢僟乕僼傽僀儖偼偦傟偧傟丄 /usr/local/lib 偲 /usr/local/
include 偵僀儞僗僩乕儖偟傑偡丅儅僯儏傾儖儁乕僕偼丄 /usr/local/man 偵僀
儞僗僩乕儖偟傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

2.7. 捛壛僷僢働乕僕

堦晹偺僾儘僌儔儉偼丄 ATM 娭楢埲奜偱婛偵攝晍偝傟偰偄傞丄戝婯柾僷僢働乕僕
偑尦偵側偭偰偄傞傕偺偑偁傝傑偡丅偄偔偮偐偺僷僢働乕僕偵偮偄偰偼丄 ATM on
Linux 偺僨傿僗僩儕價儏乕僔儑儞偵僷僢僠偑擖偭偰偍傝丄 src/extra 僨傿儗僋
僩儕偵抲偄偰偁傝傑偡丅

尰帪揰偱巊梡壜擻側捛壛僷僢働乕僕偼丄師偺偲偍傝偱偡丅

tcpdump <http://www.tcpdump.org/>
   
    僱僢僩儚乕僋僩儔僼傿僢僋偺僟儞僾乮ATM 梡偵奼挘嵪傒乯丅
   
ANS
   
    ATM 僱乕儉僒乕僶乕乮尦偼丄named 4.9.5乯
   
text2atm 偼丄ANS 偑巊偊傟偽帺摦揑偵巊梡偟傑偡偺偱丄拲堄偟偰壓偝偄丅偱偡
偐傜丄ans 偺僀儞僗僩乕儖偑昁梫側偺偼丄僱乕儉僒乕僶乕偺彅婡擻傪採嫙偟偰
偄傞僔僗僥儉偐丄 ATM 娭楢偺曐庣僣乕儖乮nslookup 摍乆乯偑昁梫側応崌偩偗
偱偡丅

hosts2ans.pl 僗僋儕僾僩偼丄 /etc/hosts.atm 僼傽僀儖傪 ANS 偺僝乕儞僼傽
僀儖偵曄姺偡傞傕偺偱丄 src/extra/ANS/ 僨傿儗僋僩儕偵抲偄偰偁傝傑偡丅巊
梡曽朄偼偙偺僼傽僀儖偺朻摢偱愢柧偟偰偄傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

3. 僨僶僀僗偺愝掕

杮愡偱偼丄僨僶僀僗屌桳偺愝掕嶌嬈偲丄 ATM 傗 SONET 儗儀儖偱峴側偆堦斒揑
側恌抐庤弴傪愢柧偟傑偡丅僴乕僪僂僃傾偺庢傝晅偗偲恌抐偵娭偡傞徻嵶偼丄偤
傂偦偺傾僟僾僞乕偺僪僉儏儊儞僩傪嶲徠偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

3.1. ATM Over TCP 偺愝掕

杮暔偺 ATM 僴乕僪僂僃傾偑柍偔偰傕丄 "ATM over TCP" 僪儔僀僶傪巊偊偽丄
API 偑巊偊傑偡丅偙偺 API 偼丄儕儌乕僩僨僶僀僗偵捈寢偟偰偄傞 ATM 僨僶僀
僗傪僄儈儏儗乕僩偡傞傕偺偱偡乮偮傑傝丄VPI/VCI 僗儚僢僺儞僌偼偁傝傑偣傫
乯丅

乮憃曽岦偺乯"儚僀傾"傪堦杮妋棫偡傞偵偼丄椉僔僗僥儉偱 root 偵側傝乮傑偨
偼丄摨堦僔僗僥儉偺椉懁傪憱傜偣偰丄 "僀儞僞僼僃乕僗"傪擇偮嶌偭偰偦傟傪愙
懕偟乯丄偳偪傜偐偱丄埲壓偺僐儅儞僪傪幚峴偟傑偡乮偦傟傪 "a" 偲偟傑偟傚偆
乯丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# atmtcp virtual listen                                             劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偦傟偐傜丄暿偺僔僗僥儉乮"b"乯偱丄埲壓偺僐儅儞僪傪幚峴偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# atmtcp virtual connect address_of_a                               劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

憃曽偺 atmtcp 偼偦偺忬嫷傪曬崘偟丄僇乕僱儖偼椉曽偺僔僗僥儉偱丄埲壓偺傛
偆側儊僢僙乕僕傪昞帵偡傞偼偢偱偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆Link 0: virtual interface 2                                         劆
劆Link 1: incoming ATMTCP connection from 127.0.0.1                   劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偍傛傃

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆Link 0: virtual interface 3                                         劆
劆Link 1: ATMTCP connection to localhost                              劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偙偺嵺丄atmtcp 偑摦偒懕偗傞偙偲偲丄妱傝崬傒傪偐偗傞偲壖憐儚僀傾偑愗傟傞
偙偲偵拲堄偟偰壓偝偄丅

億乕僩斣崋乮僨僼僅儖僩偼 2812乯傪巜掕偡傟偽丄摨堦儅僔儞偵 "儚僀傾" 偑暋
悢晅偗傜傟傑偡丅偟偐偟 AAL 張棟偑傑偭偨偔幚峴偝傟側偄偙偲偵拲堄偟偰壓偝
偄丅偟偨偑偭偰丄僨乕僞傪憲怣偟偨傕偺偲偼暿偺 AAL乮椺偊偽 AAL0乯傪巊偭偰
僨乕僞傪庴怣偡傞偺偼晄壜擻偱偡

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

3.2. ZN1221/ZN1225 偺挷惍

ZeitNet 幮偺 ZN1221 傾僟僾僞乕偲 ZN1225 傾僟僾僞乕偼丄庴怣梡偵梊傔傾儘
働乕僩偟偰偍偄偨丄僼儕乕儊儌儕僶僢僼傽偺僾乕儖傪梡偄傑偡丅 SDU 偑偁傞嵟
戝僒僀僘偵側偭偰偄傞 VC 傪庴怣梡偵僆乕僾儞偡傞偲丄僨僶僀僗僪儔僀僶偑懳
墳偡傞僾乕儖偵僼儕乕僶僢僼傽傪媗傔崬傒傑偡丅僨乕僞偺庴怣拞偼丄傾僟僾僞
乕偼僶僢僼傽傪嶍彍偟傑偡丅偦偟偰巆傝偺僶僢僼傽悢偑偁傞偟偒偄抣傪壓夞傞
偲丄僨僶僀僗僪儔僀僶偼丄嵞搙僾乕儖偵僼儕乕僶僢僼傽傪曗廩偟傑偡丅

僼儕乕僶僢僼傽悢偺忋尷偲壓尷丄偍傛傃怴偟偄僨乕僞僆僼僙僢僩偵揔梡偡傞偟
偒偄抣偼丄 zntune 僾儘僌儔儉傪巊偭偰愝掕偱偒傑偡丅巊偄曽偼師偺偲偍傝偱
偡丅

zntune [-l low_water] [-h high_water] [-t threshold] itf [pool]

僾乕儖斣崋傪巜掕偟側偄偲丄偡傋偰偺僾乕儖偵偦偺曄峏撪梕傪揔梡偟傑偡丅僾
乕儖 2 偵偼 64 僶僀僩偺僷働僢僩傪奿擺偟丄僾乕儖 3 偵偼 128 僶僀僩偺僷働
僢僩傪奿擺偟傑偡丄摍乆丅僾乕儖 0 偲僾乕儖 1 偼尰嵼枹巊梡偱偡丅

埲壓偺傛偆偵丄怴偟偄僷儔儊乕僞傪偮偗偢偵 zntune 傪幚峴偡傟偽丄偦偺帪揰
偺愝掕偲偄偔偮偐偺巊梡忬嫷偺摑寁偑摼傜傟傑偡丅

zntune [-z] itf [pool]

"Size" 棑偼丄僶僀僩扨埵偺僶僢僼傽僒僀僘傪昞偟偰偄傑偡丅 "Ref" 棑偼丄偦
偺僾乕儖傪巊梡偟偰偄傞丄僆乕僾儞拞偺 VC 悢偱偡丅 "Alarm" 棑偼丄僇僂儞僞
偺儕僙僢僩屻偵丄僼儕乕僶僢僼傽悢偑壓尷抣傪壓夞偭偨夞悢偱偡丅摨條偵丄
"Under" 棑偼丄懳墳偡傞僾乕儖偑嬻偩偭偨偲偄偆棟桼偱丄撪岦偒偺 PDU 傪攋婞
偟偨夞悢偱偡丅 

"Offs", "NxOf", "Count" 偍傛傃 "Thres"丄偙傟傜偺棑偼丄惍楍偺揔梡忬嫷傪
昞偟偰偄傑偡丅 "Offs" 偼丄偦偺帪揰偱僪儔僀僶偑撪岦偒偺 PDU 撪偵憐掕偟偰
偄傞丄儐乕僓乕僨乕僞偺僆僼僙僢僩偱偡丅僔儞僌儖僐僺乕偺応崌丄僨乕僞傪儁
乕僕嫬奅偱庴怣偡傞傛偆偵庴怣僶僢僼傽偑惍楍偟傑偡丅 "NxOf" 偼丄堦斣怴偟
偔庴怣偟偨 PDU 偺儐乕僓乕僨乕僞僆僼僙僢僩偱偡丅偙偺僆僼僙僢僩偼丄偦偺帪
揰偱憐掕偟偰偄傞僆僼僙僢僩偲偼暿偺傕偺偱偡丅 "Count" 偼丄"NxOf" 偺僆僼
僙僢僩弴偵庴怣偟偨 PDU 悢偱偡丅嵟屻偺 "Thres" 偼偟偒偄抣偱丄 "Count" 偑
偙偺偟偒偄抣傪墇偊側偄偲丄 "NxOf" 偼怴偟偄僇儗儞僩僆僼僙僢僩偵側傝傑偣
傫丅

"Alarm"僇僂儞僞偲 "Under"僇僂儞僞傪儕僙僢僩偡傞応崌偼丄 -z 僆僾僔儑儞傪
巊偭偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

3.3. /proc/net/atm/偵偁傞僼傽僀儖

ATM 僒僽僔僗僥儉偵娭偡傞偁傞庬偺僗僥乕僞僗忣曬偼丄 /proc/net/atm/ 偵偁
傞僼傽僀儖偐傜傢偐傝傑偡丅 /proc/net/atm/arp 僼傽僀儖偵偼丄"僋儔僔僇儖
IP over ATM" 屌桳偺忣曬偑擖偭偰偄傑偡丅 CLIP 傪嶲徠偟偰壓偝偄丅

傾僋僥傿僽側 ATM 僨僶僀僗偼丄偡傋偰 /proc/net/atm/devices 偵儕僗僩偝傟
偰偄傑偡丅偙偺拞偵偼丄奺僨僶僀僗偺僀儞僞僼僃乕僗斣崋丄庬椶傪昞偡儔儀儖
丄僄儞僪僔僗僥儉偺幆暿巕 (ESI)丄偦傟偵摑寁忣曬偑帵偟偰偁傝傑偡丅偙偺摑
寁忣曬偺撪梕偼丄 atmdiag 傪巊偭偰傢偐傞傕偺偵奩摉偟傑偡丅

屄乆偺 ATM 僨僶僀僗偵偮偄偰偼丄乮椺偊偽丄eni:0 偺傛偆側乯庬椶:斣崋偲偄
偆宍幃偺僄儞僩儕傪暋悢搊榐偡傞偙偲偑偁傝丄偙傟偵僨僶僀僗屌桳偺忣曬偑擖
偭偰偄傑偡丅

/proc/net/atm/pvc 偲 /proc/net/atm/svc 偵偼丄PVC 偲 SVC 僜働僢僩偑偡傋
偰儕僗僩偝傟偰偄傑偡丅偙偙偵偼丄偄偢傟偺僞僀僾偺僜働僢僩偵偮偄偰傕丄VPI
偲 VCI 斣崋偑嵹偭偰偄傑偡丅 PVC 偵娭偟偰偼丄偦偺屻偵 AAL 偲僩儔僼傿僢僋
僋儔僗丄偦傟偵庴怣偲憲怣偺偦傟偧傟偺曽岦偵偮偄偰慖傫偩 PCR 偑嵹偭偰偄傑
偡丅堦曽 SVC 偵娭偟偰偼丄SVC 偺忬懺偲捠怣憡庤偺傾僪儗僗偑嵹偭偰偄傑偡丅
僀儞僞僼僃乕僗斣崋偑 999 偵側偭偰偄傞 SVC 偼丄 "State" 棑偱帵偟偰偄傞傛
偆偵丄摿暿側惂屼梡偵巊梡偟傑偡丅

偝傜偵丄/proc/net/atm/vc 偼丄僶僢僼傽僒僀僘偲丄 ATM 僜働僢僩偡傋偰偵娭
偡傞撪晹偺捛壛忣曬傪帵偟偰偄傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

3.4. ATM 偺恌抐

atmdiag 僾儘僌儔儉傪巊偭偰丄 ATM 僨僶僀僗僪儔僀僶偺條乆側僇僂儞僞偺栤偄
崌傢偣偑偱偒傑偡丅徻嵶偼奩摉偡傞儅僯儏傾儖儁乕僕傪嶲徠偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

3.5. SONET 偺恌抐

SONET 偺恌抐僣乕儖偼儕儞僋偺惈擻傪娔帇偟偨傝丄僄儔乕傪僔儈儏儗乕僩偡傞
偺偵巊梡偱偒傑偡丅尰嵼偺 SONET 偺摑寁忣曬傪摼傞偵偼丄堷悢偵 ATM 偺僀儞
僞僼僃乕僗斣崋傪晅偗偰丄偙偺僣乕儖傪幚峴偟傑偡丅椺偊偽埲壓偺傛偆偵偟傑
偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆% sonetdiag 0                                                       劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

僇僂儞僞偼丄-z 僆僾僔儑儞傪晅偗傟偽儕僙僢僩偱偒傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# sonetdiag -z 0                                                    劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

僔儈儏儗乕僩偱偒傞僱僢僩儚乕僋忈奞偵偼丄師偺傕偺偑偁傝傑偡丅 [1]

sbip
   
    僙僋僔儑儞僄儔乕 (B1) 傪憓擖偟傑偡丅
   
lbip
   
    儔僀儞僄儔乕 (B2) 傪憓擖偟傑偡丅
   
pbip
   
    僷僗僄儔乕 (B3) 傪憓擖偟傑偡丅
   
frame
   
    嫮惂揑偵僼儗乕儉儘僗 (RX) 傪婲偙偟傑偡丅
   
los
   
    儘僗僆僽僔僌僫儖傪憓擖偟傑偡丅
   
lais
   
    儔僀儞傾儔乕儉捠抦僔僌僫儖傪憓擖偟傑偡丅
   
pais
   
    僷僗傾儔乕儉捠抦僔僌僫儖傪憓擖偟傑偡丅
   
hcs
   
    僿僢僟乕偺僠僃僢僋僒儉僄儔乕傪憓擖偟傑偡丅
   
忈奞偼丄懳墳偡傞僉乕儚乕僪傪僐儅儞僪儔僀儞偵捛壛偡傟偽桳岠偵側傝丄僉乕
儚乕僪偺捈慜偵儅僀僫僗婰崋 (-) 傪晅偗傟偽丄忈奞傪僋儕傾偟傑偡丅椺偊偽埲
壓偺傛偆偵巊偄傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆a# sonetdiag -z 0 >/dev/null                                        劆
劆b# sonetdiag -z 0 >/dev/null                                        劆
劆a# sonetdiag 0 los                                                  劆
劆a# sonetdiag 0 -los                                                 劆
劆b# sonetdiag 0 | grep BIP                                           劆
劆Section BIP errors:      56200                                      劆
劆Line BIP errors:           342                                      劆
劆Path BIP errors:           152                                      劆
劆a# sonetdiag 0 | grep FEBE                                          劆
劆Line FEBE:                 342                                      劆
劆Path FEBE:                 152                                      劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

壗傜偐偺恌抐僄儔乕偑憓擖偱偒傞傛偆偵側偭偰偄傞偲丄 sonetdiag 傪巊梡偟偰
摑寁忣曬傪庢摼偡傞嵺丄偦偺僉乕儚乕僪傪昞帵偟傑偡丅僴乕僪僂僃傾偑帺摦揑
偵柍岠偵偡傞僄儔乕憓擖傕偁傞偙偲偵拲堄偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

4. 僱僀僥傿僽 ATM PVC

PVC 偼捈愙愙懕偟偰偄傞儅僔儞偱傕丄僗僀僢僠宱桼偱愙懕偟傞儅僔儞偱傕丄偄
偢傟偺応崌傕巊梡偱偒傑偡丅屻幰偺応崌丄僙儖僼僅儚乕僪偺愝掕偼丄僗僀僢僠
偵懳偟偰庤摦偱峴側傢側偗傟偽側傝傑偣傫丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

4.1. 僩儔僼傿僢僋僣乕儖

aread/awrite 偲 br/bw 偼丄ATM 偺 API 偵傾僋僙僗偡傞偨傔偺娙扨側僾儘僌儔
儉偱偡丅 awrite 偼 AAL5 PDU 偺戞擇僷儔儊乕僞偵搉偟偨僥僉僗僩暥帤楍傪憲
怣偟丄 aread 偼 AAL5 PDU 傪 1 屄庴怣偟偰丄偦偺撪梕傪 16 恑悢偱昞帵偟傑
偡丅椉僾儘僌儔儉偲傕丄奩摉偡傞僔僗僥儉僐乕儖偺栠傝抣偲丄 errno 偺尰嵼抣
傕昞帵偟傑偡丅

bw 偼丄昗弨擖椡傕丄乮斣崋傪戞巐僷儔儊乕僞偵搉偟偨応崌偼乯 8kB 偺 AAL5
PDU 偵偁傞擟堄偺僨乕僞傪娷傓僽儘僢僋偺僗僩儕乕儉傕丄偄偢傟傕憲怣偟傑偡
丅 br 偼 AAL5 PDU 傪庴怣偟偰丄偦偺撪梕傪昗弨弌椡偵彂偒弌偟傑偡丅

aread, awrite, br, bw, 偙傟傜巐偮偺戞堦僷儔儊乕僞偼丄忢偵 PVC 傾僪儗僗
丄偮傑傝丄ATM 僀儞僞僼僃乕僗斣崋偲 VPI 斣崋丄偦傟偵 VCI 斣崋傪丄僪僢僩
偱嬫愗偭偰暲傋偨傕偺偱偡丅僀儞僞僼僃乕僗斣崋偼丄僛儘側傜徣棯偟偰傕偐傑
偄傑偣傫丅椺偊偽丄埲壓偺傛偆側傕偺偱偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆% awrite 1.0.42 hi                                                  劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

拞偵偼丄 VPI == 0 偟偐僒億乕僩偟偰偄側偄傾僟僾僞傕偁傞偺偱丄拲堄偟偰壓
偝偄丅傑偨丄椺偊偽 0 偐傜 1023 傑偱偲偄偆傛偆偵丄 VCI 偺斖埻偵傕惂尷偑
偁傞偐傕抦傟傑偣傫丅僀儞僞僼僃乕僗斣崋偼丄僗僞乕僩帪偵僪儔僀僶偑昞帵偡
傞丄弶婜壔儊僢僙乕僕偱暘偐傝傑偡丅 atm0 側傜僀儞僞僼僃乕僗 0 偱丄 atm1
側傜僀儞僞僼僃乕僗 1丄摍乆偲偄偆傛偆偵側傝傑偡丅乮椺偊偽 atmtcp 偽偐傝
偱偼側偔乯杮暔偺 ATM 傾僟僾僞傪憰旛偟偰偄傞僔僗僥儉側傜丄傾僟僾僞偼丄捠
忢 atm0 偵偁傝傑偡丅

aping 偼丄PVC 忋偱抁偄 AAL5 PDU 偺憲庴怣傪峴側偄傑偡丅偙偺僾儘僌儔儉偼
丄憲怣偡傞儊僢僙乕僕偑僄僐乕僶僢僋偝傟傞偐丄懠抂偺摨偠傛偆側僾儘僌儔儉
偑儊僢僙乕僕僗僩儕乕儉傪惗惉偡傞偲巚偭偰偄傑偡偑丄挿帪娫壗傕儊僢僙乕僕
傪庴怣偟側偄偲丄僄儔乕傪曬崘偟傑偡丅 aping 偼丄aread 偺傛偆偵丄 PVC 傪
巜掕偟偰婲摦偟傑偡丅

"杮暔偺"僥僗僩偺嵺偼丄偙偺僷僢働乕僕偵晅偄偰偔傞丄 ttcp 偺廋惓斉傪巊梡
偟偰壓偝偄丅廋惓慜偺僆儕僕僫儖偼 ftp://ftp.sgi.com/sgi/src/ttcp/ 偵偁傝
傑偡丅廋惓偵嵺偟偰偼丄埲壓偺僆僾僔儑儞傪晅偗壛偊傑偟偨丅

-a
   
    UDP/TCP 偱偼側偔丄僱僀僥傿僽偺 ATM 傪巊梡偟傑偡丅 PVC 偵偮偄偰偼丄
    傾僪儗僗偼 [itf.]vpi.vci 宍幃偱側偗傟偽側傝傑偣傫丅 SVC 偵偮偄偰偼
    丄ATM 偺僄儞僪僔僗僥儉偺桳岠側傾僪儗僗偵偟偰偔偩偝偄丅
   
-P num
   
    num 僙儖枅昩偺僺乕僋僙儖儗乕僩偱丄 CBR 僐僱僋僔儑儞傪巊梡偟傑偡丅僨
    僼僅儖僩偱偼丄UBR 傪巊梡偟傑偡丅
   
-C
   
    (UDP 僠僃僢僋僒儉傪柍岠偵偟傑偡丅
   
椺丗

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆%a ttcp_atm -r -a -s 0.90                                           劆
劆%b ttcp_atm -t -a -s 0.90                                           劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

4.2. 僟僀儗僋僩僙儖傾僋僙僗

僨僶僀僗僪儔僀僶偑僒億乕僩偟偰偄傞傾僟僾僞偱偼丄慺偺僙儖 ("AAL0") 偵傾
僋僙僗偟傑偡丅屄乆偺僙儖偼丄 atmdump 偱嶌傟傞偟庴怣傕偱偒傑偡丅埲壓偺偦
偺椺傪嵹偣傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆a% sleep 10; date | ./atmdump -t 1 -c 0.51                          劆
劆b% ./atmdump 0.51                                                   劆
劆825079645.192480: VPI=0 VCI=51, GFC=0x0, CLP=1, Data SDU 1 (PTI 1)  劆
劆   46 72 69 20 46 65 62 20 32 33 20 31 32 3a 34 37                  劆
劆   3a 32 35 20 47 4d 54 20 31 39 39 36 0a 00 00 00                  劆
劆   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00                  劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

5. 僔僌僫儖張棟

5.1. ATM 偺 Hosts 僼傽僀儖

ATM 偺傾僪儗僗偼偦偺傑傑偱偼巊偄偢傜偄偺偱丄傎偲傫偳偺 ATM 僣乕儖偱偼丄
悢帤傪暲傋偨傾僪儗僗偺戙傢傝偵丄柤慜傕擣傔偰偄傑偡丅柤慜偲悢帤偺儅僢僺
儞僌偼丄 /etc/hosts.atm 偲偄偆僼傽僀儖偱掕媊偟傑偡丅偙偺僼傽僀儖偺峔憿
偼丄/etc/hosts 僼傽僀儖偲帡偨傕偺偵側偭偰偄傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆悢帤偺傾僪儗僗 柤慜                                                 劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

椺偊偽丄埲壓偺傛偆側傕偺偱偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆47.0005.80FFE1000000F21A26D8.0020EA000EE0.00 pc2-a.fqdn pc2-a       劆
劆47.0005.80FFE1000000F21A26D8.0020D4102A80.00 pc3-a.fqdn pc3-a       劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

悢帤偺傾僪儗僗偼丄[api] 偱愢柧偟偰偄傞宍幃側傜丄偳偺宍幃偱巜掕偟偰傕偐
傑偄傑偣傫丅 Linux 僔僗僥儉偺悢帤偺傾僪儗僗偼丄 atmaddr -n 僐儅儞僪傪巊
偭偰寛掕偟傑偡乮傾僪儗僗偺庤摦愝掕傕嶲徠偟偰壓偝偄乯丅 

ATM 僣乕儖偺懡偔偼丄傾僪儗僗傪昞帵偡傞嵺丄奩摉偡傞柤慜傕尒偮偗傛偆偲偟
傑偡丅悢帤偺傾僪儗僗偐傜柤慜偵曄姺偡傞応崌丄偦偺僼傽僀儖偵偁傞嵟弶偵尒
偮偐偭偨奩摉偡傞柤慜傪巊梡偟傑偡丅

SVC 梡偺 ATM 傾僪儗僗偺懠偵丄 /etc/hosts.atm 偵偼 PVC 傾僪儗僗傕奿擺偱
偒傑偡丅柤慜偑摨偠偱傾僪儗僗僞僀僾偑堘偆傕偺傪奿擺偡傞偲丄嵟弶偵奩摉偡
傞傕偺傪慖傃傑偡丅偮傑傝丄傾僾儕働乕僔儑儞偑柧帵揑偵 SVC 傾僪儗僗偩偗傪
梫媮偡傟偽丄 PVC 傾僪儗僗偼偄偢傟傕柍帇偝傟傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

5.2. ANS

ATM 僱乕儉僒乕僶乕 (ANS) 偵傾僋僙僗偱偒傞偺側傜乮椺偊偽丄ANS 奼挘傪僀儞
僗僩乕儖偟偰偁傞側傜乯丄偦傟偩偗傪巊偭偰傕偄偄偟丄 /etc/resolv.conf 偵
hosts 僼傽僀儖偺懠偵丄 ANS 偑摦偄偰偄傞儂僗僩傪巜掕偟偰丄椉曽巊梡偟偰傕
偐傑偄傑偣傫丅

E.164 傾僪儗僗偺媡堷偒偵偼丄揹榖偺崙暿僐乕僪偑昁梫偵側傝傑偑丄偙偺僐乕
僪儕僗僩偼 International Telecommunications Union <http://www.itu.org/>
偐傜擖庤偱偒傑偡丅 List of ITU-T Recommendation E.164 Assigned Country
Codes <http://www.itu.int/itudoc/itu-t/ob-lists/icc/e164_717.html> 偼丄
尰嵼 PDF 宍幃偲 MS-Word 宍幃偑棙梡偱偒傑偡丅

   
    拲堄: 枩偑堦 URL 偑屆偔側偭偰偄偰傕丄 ITU 偺僂僃僽僒僀僩偱偙偺暥彂
    偺僞僀僩儖傪専嶕偡傟偽丄娙扨偵尒偮偐傝傑偡丅
   
atm-linux 僨傿僗僩儕價儏乕僔儑儞偵擖偭偰偄傞 src/lib/pdf2e164_cc.pl 僗
僋儕僾僩傪巊偊偽丄 PDF 斉偺崙暿僐乕僪儕僗僩偐傜 E.164 崙暿僐乕僪昞偑嶌
傟傑偡丅椺偊偽埲壓偺傛偆偵巊偄傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆perl pdf2e164_cc.pl e164_xxx.pdf >/etc/e164_cc                      劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

忋婰偺僗僋儕僾僩傪幚峴偡傞嵺丄 pdftotext 傪巊梡偡傞昁梫偑偁傞偙偲偵拲堄
偟偰壓偝偄丅偙偺僾儘僌儔儉偼 xpdf <http://www.foolabs.com/xpdf/> 偐傜擖
庤偱偒傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

5.3. 僔僌僫儖張棟僨乕儌儞

儅僯儏傾儖儁乕僕偼師偺傛偆偵側偭偰偄傑偡丅 atmsigd(8) atmsigd.conf(4)

atmsigd 偱偼丄"億僀儞僩丒僣乕丒儅儖僠億僀儞僩" 偺僒億乕僩偵丄戝偒側惂尷
偑偁傝傑偡丅拲堄偟偰壓偝偄丅億僀儞僩丒僣乕丒儅儖僠億僀儞僩僣儕乕偺僔儞
僌儖儕乕僼偱偟偐摦嶌偟傑偣傫丅

僨僼僅儖僩偱偼丄atmsigd 偼丄UNI 僶乕僕儑儞傪摦揑偵峔惉偟丄偦傟偵廬偆傛
偆側峔惉偵側偭偰偄傑偡丅嬶懱揑偵尵偊偽丄linux-atm 偺僜乕僗僨傿僗僩儕價
儏乕僔儑儞偺丄僩僢僾儗儀儖僨傿儗僋僩儕偵偁傞丄 ./configure 僗僋儕僾僩偵
--with-uni=VERSION 傪巜掕偡傟偽丄UNI 3.0 偐 3.1, 偁傞偄偼 4.0 傪丄僐儞
僷僀儖帪偵巜掕偱偒傑偡丅

atmsigd 偼昦揑側傎偳媈傝怺偄愝掕偵側偭偰偄傑偡偺偱丄婥傪偮偗偰壓偝偄丅
壗偐堎忢側栤戣傪専抦偡傞偲丄傛偔巭傑偭偰偟傑偄傑偡丅偙偺審偵偮偄偰偼丄
崱屻偼摉慠曄峏偝傟傞偲巚偄傑偡丅

傑偨丄-c 僆僾僔儑儞偵巜掕偟偨応強偱愝掕僼傽僀儖傕扵偟傑偡丅僨僼僅儖僩偺
応強偼 /usr/local/etc/atmsigd.conf 偵側偭偰偄傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

5.4. ILMI 僨乕儌儞

ILMI 偼傾僪儗僗傪帺摦愝掕偡傞巇慻傒傪採嫙偡傞僨乕儌儞偱偡丅偟偐偟丄僗僀
僢僠偑柍偄応崌傗丄ILMI 傪僒億乕僩偟偰偄側偄僗僀僢僠偺応崌偼丄庤嶌嬈偱
ATM 傾僪儗僗傪愝掕偡傞昁梫偑偁傝傑偡乮傾僪儗僗偺庤摦愝掕傪嶲徠偟偰壓偝
偄乯丅傾僪儗僗傪庤嶌嬈偱愝掕偟偰偄傞僀儞僞僼僃乕僗偱偼丄 ILMI 偼巊傢側
偄傛偆拲堄偟偰壓偝偄丅

ILMI 僨乕儌儞偼丄埲壓偺傛偆偵偟偰僗僞乕僩偟傑偡丅

ilmid [-b] [-d] [-i local_ip] [-l log_file] [-q qos] [-u uni_version]
[-v] [-x] [itf]

-b
   
    僶僢僋僌儔僂儞僪偱摦偐偟傑偡丅弶婜壔屻丄 fork 偟偨巕僾儘僙僗撪偱摦
    偐偟傑偡丅
   
-d
   
    僨僶僢僌弌椡傪桳岠偵偟傑偡丅僨僼僅儖僩偱偼丄 ilmid 偼丄旕忢偵暔惷偐
    偱偡丅
   
-i local_ip
   
    僗僀僢僠偐傜栤偄崌傢偣偑偁偭偨帪偵摎偊傞 IP 傾僪儗僗偱偡丅僪僢僩偱
    嬫愗偭偨 10 恑悢偱傕丄僥僉僗僩宍幃偱傕丄偳偪傜偱傕偐傑偄傑偣傫丅僨
    僼僅儖僩偱偼丄ilmid 偼丄敪尒揑曽朄榑傪梡偄偰丄儘乕僇儖偺 IP 傾僪儗
    僗傪慖傃傑偡丅
   
-l logfile
   
    恌抐儊僢僙乕僕傪丄昗弨僄儔乕弌椡偱偼側偔丄巜掕偟偨僼傽僀儖偵彂偒弌
    偟傑偡丅僔僗僥儉儘僌嵦庢僾儘僌儔儉偵恌抐寢壥傪憲傞応崌偼丄 syslog
    偲偄偆摿掕偺柤慜傪梡偄傑偡丅
   
-q qos
   
    巜掕偟偨僒乕價僗昳幙傪梡偄傞傛偆丄ILMI VC 傪愝掕偟傑偡丅僨僼僅儖僩
    偱偼丄ILMI 偺 VC 偱丄儕儞僋懍搙偺 UBR 傪巊梡偟傑偡丅
   
-u uni_version
   
    UNI 僶乕僕儑儞傪愝掕偟傑偡丅巜掕偱偒傞抣偼丄 3.0 偲 3.1丄偍傛傃 4.0
    偺嶰偮偱偡丅恀傫拞偺彫悢揰偼徣棯偟偰傕偐傑偄傑偣傫丅僨僼僅儖僩抣偼
    ilmid 偺僐儞僷僀儖偺巇曽偵傛偭偰堎側傝傑偡偑丄晛捠偼丄3.0 偱偡丅
   
-v
   
    奼挘僨僶僢僌弌椡傪桳岠偵偟傑偡丅
   
-x
   
    ColdstartTrap 撪偵曄悢偺僶僀儞僨傿儞僌傪娷傔側偄傛偆偵偟傑偡丅乮椺
    偊偽丄LS100 偺傛偆偵乯拞偵偼偙偺僆僾僔儑儞傪愝掕偟側偄偲摦嶌偟側偄
    僗僀僢僠偑偁傝傑偡丅
   
 

僀儞僞僼僃乕僗斣崋傪巜掕偟側偄応崌丄 ilmid 偼丄僀儞僞僼僃乕僗 0 傪梡偄
傑偡丅 atmaddr 僐儅儞僪乮壓婰嶲徠乯傪巊偊偽丄傾僪儗僗偑惓偟偔搊榐偝傟偨
偐偳偆偐偑妋擣偱偒傑偡丅

僄乕僕僃儞僩偑僒億乕僩偟偰偄傞偺偼丄 ATM 僼僅乕儔儉偺 UNI 3.1 巇條偵偁
傞 5.8 愡偵柧婰偟偰偁傞丄傾僪儗僗搊榐庤弴偩偗偱偡丅偙偺庤弴偵娷傑傟傞偺
偼丄儂僗僩忋偺僱僢僩儚乕僋僾儗僼傿僢僋僗傪儂僗僩偵搊榐偡傞僗僀僢僠偲丄
偦傟偵墳偊偰嵟廔揑側 ATM 傾僪儗僗傪僗僀僢僠偵搊榐偡傞儂僗僩偱偡丅儂僗僩
偼丄僗僀僢僠偑搊榐偟偨僱僢僩儚乕僋僾儗僼傿僢僋僗偵丄 ESI 乮僄儞僪僔僗僥
儉幆暿巕乯偲僰儖僙儗僋僞僶僀僩傪捛壛偡傞偲偄偆曽朄偱丄偙傟傪峴側偄傑偡
丅ESI 偼 ATM 僀儞僞僼僃乕僗偺暔棟傾僪儗僗丄傑偨偼 MAC 傾僪儗僗偱偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

5.5. 傾僪儗僗偺庤摦愝掕

偍巊偄偺僗僀僢僠偑 ILMI 傪僒億乕僩偟偰偄側偄応崌丄僗僀僢僠懁偲 PC 懁偺
椉曽偱丄ATM 傾僪儗僗傪庤嶌嬈偱愝掕偟側偗傟偽側傝傑偣傫丅 Linux 懁偱偼丄
ilmid 偑幾杺偟偰偄側偄偙偲傪妋偐傔偰偐傜丄 atmaddr 僐儅儞僪傪巊偭偰傾僪
儗僗傪愝掕偟偰壓偝偄丅

儅僯儏傾儖儁乕僕偼師偺偲偍傝偱偡丅 atmaddr(8)

ATM 傾僪儗僗傪庤嶌嬈偱僗僀僢僠偵愝掕偡傞曽朄偼丄暔偵傛偭偰堎側傝傑偡丅
Fore ASX-200 偱偼丄師偺僐儅儞僪傪巊偭偰峴側偄傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆conf nsap route new nsap_addr 152 port vpi                          劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

椺偊偽丄

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆conf nsap route new 47000580ffe1000000f21510650020ea000ee000 152 1a2 0  劆
劆                    |<---- NSAP prefix ----->||<--ESI--->|^^            劆
劆                                                          SEL           劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

NSAP 傾僪儗僗慡懱偺挿偝偼忢偵 40 寘偱側偗傟偽側傝傑偣傫丅暿偺僾儗僼傿僢
僋僗偲丄偍巊偄偺傾僟僾僞偵偁傞 ESI 埲奜偺 ESI 傪晅偗偨傾僪儗僗傕巊偊傑
偡偺偱丄妎偊偰偍偄偰壓偝偄丅僙儗僋僞僶僀僩 (SEL) 偺抣偼柍帇偟傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

5.6. 2 枃偺 ATM NIC 傪丄捈愙愙懕偟偰摦偐偡

2 枃偺 NIC 傪捈愙愙懕偟丄娫偵僗僀僢僠傪抲偐偢偵摦偐偡偙偲傕偱偒傑偡丅娙
扨側僥僗僩娐嫬偲偟偰偼嵟崅偱偡丅

傑偢丄UTP 偐 STP-5 傪巊偆偮傕傝側傜丄揔偟偨働乕僽儖偑昁梫偱偡丅昅幰傜偺
宱尡偱偼丄昗弨揑側 100Base-T 偺働乕僽儖偱捈愙愙懕偟偰傕偆傑偔峴偒傑偣傫
偱偟偨丅巊偭偰偄傞僺儞攝抲偑堘偭偰偄傞傛偆偱偡丅壗搙偐帋偟偨寢壥丄師偺
働乕僽儖偱偆傑偔偄偔偙偲偑暘偐傝傑偟偨丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆RJ45                            RJ45                                劆
劆   1        ------------        7                                   劆
劆   2        ------------        8                                   劆
劆                                                                    劆
劆   7        ------------        1                                   劆
劆   8        ------------        2                                   劆
劆                                                                    劆
劆3 斣丄4 斣丄5 斣丄6 斣偺奺僺儞偼枹愙懕                              劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

僶僢僋丒僣乕丒僶僢僋働乕僽儖偺椉抂偵偁傞丄 RJ45 僐僱僋僞偵揔摉偵怓晅偗
偡傞偲偄偆曽朄偱丄椺帵偡傞曽偑椙偄偐傕偟傟傑偣傫丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆RJ45-1                                                              劆
劆   1 - 拑                                                           劆
劆   2 - 敀乛拑                                                       劆
劆   3 - 枹愙懕                                                       劆
劆   4 - 枹愙懕                                                       劆
劆   5 - 枹愙懕                                                       劆
劆   6 - 枹愙懕                                                       劆
劆   7 - 僆儗儞僕                                                     劆
劆   8 - 敀乛僆儗儞僕                                                 劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

擇斣栚偺僐僱僋僞偵偼師偺怓偯偗傪偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆RJ45-2                                                              劆
劆   1 - 僆儗儞僕                                                     劆
劆   2 - 敀乛僆儗儞僕                                                 劆
劆   3 - 枹愙懕                                                       劆
劆   4 - 枹愙懕                                                       劆
劆   5 - 枹愙懕                                                       劆
劆   6 - 枹愙懕                                                       劆
劆   7 - 拑                                                           劆
劆   8 - 敀乛拑                                                       劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

 

1 斣偲 7 斣丄偍傛傃 2 斣偲 8斣傪丄偦傟偧傟愙懕偟偰丄挻娙扨側儖乕僾僶僢
僋働乕僽儖傪嶌傞偙偲傕偱偒傑偡丅

偙偙偱丄儅僔儞傪擇戜梡堄偟丄柤慜傪偦傟偧傟 "virgil"丄偦偟偰 "nestor" 偲
偟傑偡丅柤慜偼昁梫偵墳偠偰丄偛帺暘偺傕偺偵抲偒姺偊偰壓偝偄丅

ATM 僐僱僋僔儑儞偺堦曽偵偼丄僱僢僩儚乕僋斉偺 atmsigd 傪巊偆昁梫偑偁傝傑
偡丅傑偨丄懠曽偵偼捠忢偺儐乕僓乕斉傪巊偭偰壓偝偄丅偱偼丄nestor 偱丄埲壓
偺傛偆偵偟偰 atmsigd 傪婲摦偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆atmsigd -b -m network                                               劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

virgil 偱偼丄埲壓偺傛偆偵偟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆atmsigd -b                                                          劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

僗僀僢僠偑柍偄偲丄ILMI 偼巊偊傑偣傫丅偦偺戙傢傝丄/etc/hosts.atm 傪嶌偭
偰丄偦偙偵擇偮偺僟儈乕傾僪儗僗傪彂偄偰壓偝偄丅偙偺椺偺 ATM hosts 僼傽僀
儖偼師偺傛偆偵側傝傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆47.0005.80FFE1000000F21A26D8.0020EA000EE0.00    nestor-atm          劆
劆47.0005.80FFE1000000F21A26D8.0020D4102A80.00    virgil-atm          劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

傕偪傠傫丄偙傟偼姰慡側柾憿傾僪儗僗偱偡偑丄岞奐偝傟偰偄傞 ATM 僱僢僩儚乕
僋傗僾儔僀儀乕僩側傕偺偵愙懕偟側偄尷傝丄栤戣偵偼側傜側偄偲巚偄傑偡丅僪
儔僀僶偵惓偟偔傾僪儗僗傪愝掕偡傞偵偼丄偙偺椺偺丄virgil 偱偼埲壓偺傛偆偵
偟傑偡

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆atmaddr -a virgil-atm                                               劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偦偟偰 nestor 偱偼

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆atmaddr -a nestor-atm                                               劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偺傛偆偵偟傑偡丅偱偼丄椉儅僔儞偱丄atmarpd 傪捠忢偺傗傝曽偱僗僞乕僩偟偰
偔偩偝偄丅偙傟偱惓偟偔摦嶌偡傞 ATM 偺愝掕偑偱偒傑偟偨乮偦偺偼偢偱偡乯丅
"IP over ATM" 傪摦偐偡偵偼丄 IP Over ATM 偺巜帵偵廬偊偽椙偄偺偱偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

5.7. Q.2931 儊僢僙乕僕僟儞僷乕

Q.2931 儊僢僙乕僕僐儞僷僀儔偼丄偦偺儊僢僙乕僕梡偺僾儕僥傿僾儕儞僞乮僼僅
乕儅僢僞乯傕惗惉偟傑偡丅偙偺幚峴壜擻僼傽僀儖傪 q.dump 偲尵偄丄 src/qgen
僨傿儗僋僩儕偵奿擺偟傑偡丅 make install 偱偼丄懠偺僨傿儗僋僩儕偵偼僐僺
乕偝傟側偄偺偱拲堄偟偰壓偝偄丅

q.dump 偑憐掕偟偰偄傞擖椡僔乕働儞僗偼丄昗弨擖椡偐傜丄嬻敀偱嬫愗偭偨 16
恑悢偺僶僀僩楍偱丄儊僢僙乕僕偑夝愅偱偒傞応崌偼丄儊僢僙乕僕偺峔憿傪弌椡
偟傑偡丅椺丗

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆% echo 09 03 80 00 05 5A 80 00 06 08 80 00 02 81 83 00 48 \         劆
劆  00 00 08 | ./q.dump                                               劆
劆_pdsc = 9 "Q.2931 user-network call/connection control message"     劆
劆_cr_len = 3                                                         劆
劆call_ref = 8388613 (0x800005)                                       劆
劆msg_type = 0x5a "RELEASE COMPLETE"                                  劆
劆_ext = 1                                                            劆
劆_flag = 0 "instruction field not significant"                       劆
劆_action_ind = 0 "clear call"                                        劆
劆msg_len = 6 (0x6)                                                   劆
劆  _ie_id = 0x08 "Cause"                                             劆
劆    _ext = 1                                                        劆
劆    cause_cs = 0 "ITU-T standardized"                               劆
劆    _flag = 0 "instruction field not significant"                   劆
劆    _action_ind = 0 "clear call"                                    劆
劆    _ie_len = 2 (0x2)                                               劆
劆      _ext = 1                                                      劆
劆      location = 1 "private network serving the local user"         劆
劆      _ext = 1                                                      劆
劆      cause = 3 "no route to destination"                           劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

 

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

6. IP Over ATM

IP over ATM 偼丄埲壓偺僾儘僩僐儖偱僒億乕僩偝傟偰偄傑偡丅

 丒 僋儔僔僇儖 IP over ATM (CLIP丄RFC1577 [RFC1577] 偱掕媊偝傟偰偄傑偡)
   
 丒 LAN 僄儈儏儗乕僔儑儞 (LANE丄[lanev1] 偲 [lanev2] 偱掕媊偝傟偰偄傑
    偡)
   
 丒 儅儖僠僾儘僩僐儖丒僆乕僶乕丒ATM (MPOA丄僋儔僀傾儞僩偺傒丄[mpoav1]
    偱掕媊偝傟偰偄傑偡)
   
劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

6.1. CLIP

僨乕儌儞僾儘僙僗偼丄ARP 偺栤偄崌傢偣傪峴側偄丄傑偨栤偄崌傢偣偵摎偊傞偨
傔偵巊梡偟傑偡丅幚嵺偺僇乕僱儖晹暘偼丄彫偝側儖僢僋傾僢僾僥乕僽儖傪曐帩
偟偰偄傑偡偑丄偦偙偵偼晹暘揑側忣曬偟偐擖偭偰偄傑偣傫丅

儅僯儏傾儖儁乕僕偵偼師偺傕偺偑偁傝傑偡丅 atmarpd(8), atmarp(8)

atmarpd 傪摦偐偡嵺偼丄偦偺慜偵偁傜偐偠傔 atmsigd 偲 ilmid 傪憱傜偣偰偍
偐側偗傟偽側傝傑偣傫丅 -b 僆僾僔儑儞傪巊梡偟偰丄偙偺擇偮傪妋幚偵惓偟偔
摨婜偝偣偰偔偩偝偄丅椺偊偽丄

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆#!/bin/sh                                                           劆
劆atmsigd -b                                                          劆
劆ilmid -b                                                            劆
劆atmarpd -b                                                          劆
劆...                                                                 劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偼摦嶌偟傑偡偑丄

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆#!/bin/sh                                                           劆
劆atmsigd &                                                           劆
劆ilmid &                                                             劆
劆atmarpd &                                                           劆
劆...                                                                 劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

偼丄乮傑偩乯偆傑偔偄偐側偄偙偲偑傛偔偁傝傑偡丅

atmarp 偼丄ATMARP 偺愝掕偵巊梡偟傑偡丅傑偢丄atmsigd 偲 ilmid丄偦傟偵
atmarpd 傪摦偐偡昁梫偑偁傝傑偡丅偦傟偐傜丄埲壓偺傛偆偵偟偰丄IP 僀儞僞僼
僃乕僗傪嶌惉偟丄偦偺愝掕傪峴側偄傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# atmarp -c interface_name                                          劆
劆# ifconfig atm0 local_address possibly_more_options up              劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

椺丗

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# atmarp -c atm0                                                    劆
劆# ifconfig atm0 10.0.0.3 up                                         劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

PVC 偟偐巊梡偟側偄偺偱偁傟偽丄埲壓偺傛偆側僐儅儞僪傪巊偭偰嶌傟傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# atmarp -s 10.0.0.4 0.0.70                                         劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

null 僉乕儚乕僪傪巊偆応崌偼丄 NULL 僇僾僙儖壔傪梡偄傑偡丅 ARP 偵偼 LLC/
SNAP 偺僇僾僙儖壔偑昁梫偵側傝傑偡偺偱拲堄偟偰壓偝偄丅偟偨偑偭偰丄NULL
僇僾僙儖壔偼 PVC 偺応崌偟偐巊偊傑偣傫丅

SVC 傪巊梡偡傞嵺丄愝掕偺捛壛嶌嬈偄偔傜偐昁梫偵側傞偐傕偟傟傑偣傫丅摉奩
LIS 偱偦偺儅僔儞偑 ATMARP 僒乕僶乕偲偟偰摦嶌偟偰偄傞応崌偼丄愝掕偺捛壛
偼晄梫偱偡丅偦偺懠偺応崌偼丄 ATMARP 僒乕僶乕偺 ATM 傾僪儗僗傪愝掕偡傞昁
梫偑偁傝傑偡丅偙傟偵偼丄arpsrv 偲偄偆僆僾僔儑儞偱丄僱僢僩儚乕僋傾僪儗僗
偺僄儞僩儕傪嶌惉偡傞偲偄偆曽朄傪梡偄傑偡丅椺偊偽埲壓偺傛偆偵峴側偄傑偡
丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# atmarp -s \                                                       劆
劆  10.0.0.0 47.0005.80.ffe100.0000.f215.1065.0020EA000756.00 \       劆
劆  arpsrv                                                            劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

僋儔僀傾儞僩傪愝掕偡傞嵺偼丄偦偺慜偵丄愭偵 ATMARP 僒乕僶乕傪摦偐偟偰愝
掕偟偰偍偐側偗傟偽側傝傑偣傫偺偱丄拲堄偟偰壓偝偄丅

僇乕僱儖偺 ATMARP 僥乕僽儖偼丄 \path{/proc/net/atm/arp} 傪捠偠偰撉傒弌
偣傑偡丅 atmarpd 偵 -d 僆僾僔儑儞傪晅偗偰婲摦偡傞偲丄 atmarpd 偑巊梡偡
傞僥乕僽儖偼丄掕婜揑偵昗弨僄儔乕弌椡偵昞帵偟傑偡丅 -d 僆僾僔儑儞柍偟偱
atmarpd 傪婲摦偡傞偲丄僥乕僽儖偼僟儞僾僨傿儗僋僩儕偺 atmarpd.table 僼傽
僀儖偵彂偒弌偟傑偡乮僟儞僾僨傿儗僋僩儕偺僨僼僅儖僩偼 /var/run 偱偡偑丄
-D 僆僾僔儑儞偱曄峏偱偒傑偡乯丅傑偨丄atmarp -a 僐儅儞僪傪巊偊偽丄偦偺僥
乕僽儖偑撉傒弌偣傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

6.2. LAN 僄儈儏儗乕僔儑儞

ATM 偱 IP 僷働僢僩傪斃憲偡傞偵偼丄 "僋儔僔僇儖 IP over ATM" 偺懠偵丄
LAN 僄儈儏儗乕僔儑儞 (LANE) 傪巊偭偰傕偐傑偄傑偣傫丅 LANE 偼丄僽儘乕僪
僉儍僗僩偺僒億乕僩偲偄偭偨傛偆側丄廬棃偺 LAN 媄弍偺摿惈傪僄儈儏儗乕僩偡
傞傕偺偱偡丅 LANE 僒乕僶乕偺僒億乕僩偵娭偟偰偼丄 linux-atm 僨傿僗僩儕價
儏乕僔儑儞偵偁傞丄 src/lane/USAGE 僼傽僀儖偱愢柧偟偰偄傑偡丅

儅僯儏傾儖儁乕僕偵偼丄師偺傕偺偑偁傝傑偡丅 bus(8), lecs(8), les(8), and
zeppelin(8)

LANE 僋儔僀傾儞僩傗 LANE 僒乕價僗傪暋悢摦偐偡偮傕傝側傜丄奺僨乕儌儞偛偲
偵暿乆偺 ATM 傾僪儗僗傪巜掕偡傞昁梫偑偁傝傑偡丅 LANE 僨乕儌儞偼偡傋偰丄
摨偠傛偆側僒乕價僗傾僋僙僗億僀儞僩 (SAP) 傪巊梡偟偰偄傞偺偱丄僐僱僋僔儑
儞憡屳偺嬫暿傪偮偗傞偵偼丄ATM 傾僪儗僗傪曄偊傞昁梫偑偁傞偺偱偡丅

偪傚偆偳 CLIP 偺傛偆偵丄LANE 僋儔僀傾儞僩傪峔惉偟偰偄傞偺偼擇偮偺晹暘偱
偡丅堦偮偼丄zeppelin 偲偄偆僨乕儌儞僾儘僙僗偱丄偙傟偼 LANE 僾儘僩僐儖傪
張棟偟偰偄傑偡丅偁偲偼丄僇乕僱儖偺晹暘偱丄LANE 偺 ARP 僉儍僢僔儏傪帩偭
偰偄傑偡丅

zeppelin 傪摦偐偡嵺偼丄偦偺慜偵愭偵 atmsigd 偲 ilmid 傪憱傜偣偰偍偔昁梫
偑偁傝傑偡丅 zeppelin 偑僗僞乕僩偡傞偲丄僇乕僱儖偼怴偟偄僀儞僞僼僃乕僗
傪嶌傞偺偱丄埲壓偺傛偆偵偟偰愝掕偱偒傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# zeppelin 偨傇傫暋悢偺僆僾僔儑儞偑晅偔 &                           劆
劆# ifconfig lec0 儘乕僇儖傾僪儗僗 偨傇傫暋悢偺僆僾僔儑儞偑晅偔 up    劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

埲壓偺椺偱偼丄LANE 僋儔僀傾儞僩傪 2 戜摦偐偟偰偄傑偡丅嵟弶偺僋儔僀傾儞
僩偼丄僨僼僅儖僩偺僀儞僞僼僃乕僗 lec0 偲僨僼僅儖僩偺 listen 傾僪儗僗傪
巊梡偟丄僨僼僅儖僩偺 ELAN 偵嶲壛偟傛偆偲偟傑偡丅傕偆堦曽偺 LANE 僋儔僀
傾儞僩偵偼 lec2 偲偄偆僀儞僞僼僃乕僗偑梌偊傜傟丄儘乕僇儖傾僪儗僗 mybox3
偵僶僀儞僪偟丄 myelan 偲偄偆 ELAN 偵嶲壛偟傛偆偲偟傑偡丅偦偟偰丄ELAN 偲
僀乕僒僱僢僩僙僌儊儞僩偺娫偱丄僷働僢僩偺僽儕僢僕傪峴側偄傑偡丅 mybox3
偲偄偆傾僪儗僗偼 /etc/hosts.atm 偱掕媊偟偰偁傝傑偡丅僽儕僢僕儞僌偺巆傝
偺晹暘偼丄 Bridging mini-HOWTO [bridge-howto] 傪撉傔偽愝掕偱偒傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# zeppelin &                                                        劆
劆# ifconfig lec0 10.1.1.42 netmask 255.255.255.0 \                   劆
劆                          broadcast 10.1.1.255 up                   劆
劆#                                                                   劆
劆# zeppelin -i 2 -l mybox3 -n myelan -p &                            劆
劆# ifconfig lec2 10.1.2.42 netmask 255.255.255.0 \                   劆
劆                          broadcast 10.1.2.255 up                   劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

壗傕偟側偄偲丄zeppelin 偼丄僀儞僞僼僃乕僗 lec0 傪巊偄丄僙儗僋僞僶僀僩偺
抣傪 0 偵偟偰儘乕僇儖偺 ATM 傾僪儗僗偵僶僀儞僪偟傑偡丅偦傟偐傜丄LECS 偺
僂僃儖僲僂儞丒傾僪儗僗傪巊偭偰 LECS 偵僐儞僞僋僩偟丄 LECS 偑掕媊偟偰偄
傞 ELAN 偵嶲壛偟丄 LES 偑掕媊偟偰偄傞 MTU 僒僀僘傪擣幆偟傑偡丅偱偡偐傜
僾儘僉僔 LEC 偱偼摦嶌偟傑偣傫丅偙偺僷儔儊乕僞偼丄 zeppelin(8) 偱掕媊偟
偰偄傞丄僐儅儞僪儔僀儞偺僆僾僔儑儞傪巊偭偰挷惍偱偒傑偡丅

傑偨丄zeppelin 偼丄1516 僶僀僩偲偄偆僨僼僅儖僩偺 MTU 僒僀僘傪墇偊傞 MTU
偺 ELAN 側傜丄偳傟偵偱傕帺摦揑偵嶲壛偟傑偡丅 LANE 僀儞僞僼僃乕僗偺 MTU
偼丄偦偺帪揰偺 ELAN 偺 MTU 偵崌傢偣偰丄僀儞僞僼僃乕僗帺恎偑帺暘偱挷惍偟
傑偡丅

LANE ARP 僉儍僢僔儏偺忬懺偼丄 /proc/net/atm/lec 傪捠偠偰娔帇偱偒傑偡丅
奺僄儞僩儕偱偼丄MAC 傾僪儗僗偲 ATM 傾僪儗僗丄偦傟偵忬懺傪儕僗僩偟偰偄傑
偡丅桳岠側僐僱僋僔儑儞偑偁傞応崌偼丄偦偺僐僱僋僔儑儞偺幆暿巕傕僄儞僩儕
偵儕僗僩偟傑偡丅

LANE 偺僒乕價僗 (lecs(8) 偲丄 les(8) 偍傛傃丄 bus(8)) 偼愝掕僼傽僀儖傪
梡偄偰愝掕偟傑偡丅偙偺愝掕僼傽僀儖偺峔暥偼奺儅僯儏傾儖儁乕僕偵儕僗僩偟
偰偁傝傑偡丅

Linux LANE 偺僒乕價僗偵娭偡傞徻嵶偼丄 Marko Kiiskil 偺 Master's Thesis
[kiis] 偱夝愢偟偰偄傑偡丅 

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

6.3. MPOA

Linux 偺 MPOA 僋儔僀傾儞僩偼儐乕僓乕嬻娫偺棳媀傪帩偪懕偗偰偄傑偡丅僇乕
僱儖偐傜暘棧偟偨 ATM 僒乕價僗側偺偱偡丅僇乕僱儖偑 MPOA 偺擖弌椡僉儍僢僔
儏傪曐帩偟偰丄僷働僢僩僼僅儚乕僨傿儞僌傪峴側偭偰偄傞娫丄 mpcd 偲偄偆僨
乕儌儞僾儘僙僗偑丄 MPOA 惂屼僷働僢僩傪張棟偟傑偡丅

儅僯儏傾儖儁乕僕偼 mpcd(8) 偱偡丅

atmsigd 偲 ilmid 偼丄mpcd 偺婲摦慜偵摦偐偟偰偍偄偰壓偝偄丅 MPOA 偼 LANE
僩儔僼傿僢僋偐傜 IP 儗僀儎偺棳傟傪専抦偡傞偺偱丄 MPOA 偑婡擻偡傞慜偵丄
zeppelin 傪摦偐偟偰偍偔昁梫偑偁傞偺偱偡丅偟偐偟丄zeppelin 偲 mpcd 傪摦
偐偡弴彉偼寛傑偭偰偄傑偣傫丅岲偒側帪偵偳偺僨乕儌儞偱傕嶦偣傑偡偟丄屻偱
嵞婲摦偡傞嵺傕丄懠偺僨乕儌儞偺嵞婲摦偼晄梫偱偡丅 MPOA 傪柍岠偵偡傞傕偭
偲傕娙扨側曽朄偼丄摦嶌拞偺 mpcd 傪嶦偡偙偲偱偡丅

埲壓偺椺偼 LAN 僄儈儏儗乕僔儑儞偵偁傞傕偺偱丄 LANE 僋儔僀傾儞僩傪 2 戜
摦偐偟偰偄傑偡丅偙偙偱偼丄偙偺 LANE 僋儔僀傾儞僩傪梡偄傞 MPOA 僋儔僀傾
儞僩傪 2 戜捛壛偟傑偟偨丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# zeppelin &                                                        劆
劆# ifconfig lec0 10.1.1.42 netmask 255.255.255.0 \                   劆
劆                          broadcast 10.1.1.255 up                   劆
劆# mpcd -s mybox1 -l mybox2 &                                        劆
劆#                                                                   劆
劆# zeppelin -i 2 -l mybox3 -n myelan -p &                            劆
劆# ifconfig lec2 10.1.2.42 netmask 255.255.255.0 \                   劆
劆                          broadcast 10.1.2.255 up                   劆
劆# mpcd -i 2 -s mybox4 -l mybox5 &                                   劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

MPOA 僨乕儌儞偑僨乕僞偲惂屼僐僱僋僔儑儞傪弶婜壔偟偰庴怣偡傞嵺丄暿乆偺儘
乕僇儖 ATM 傾僪儗僗傪擇偮巊梡偡傞昁梫偑偁傝傑偡丅偙偺傾僪儗僗偼丄椺偵偁
傞傛偆偵摨偠傕偺偱傕偐傑偄傑偣傫丅偱傕丄zeppelin 偼幚嵺丄懠偺 mpcd 偲偼
堘偆傕偺偵偟側偗傟偽側傝傑偣傫丅僨僼僅儖僩偱偼丄mpcd 偼丄LECS 偐傜愝掕
忣曬傪庢傝弌偟傑偣傫丅 LECS 傪梡偄偨丄僐儅儞僪儔僀儞偺昁梫側僆僾僔儑儞
偲椺偼丄 mpcd 偺儅僯儏傾儖儁乕僕偵帵偟偰偁傝傑偡丅偙偙偵偼丄棙梡偱偒傞
巆傝偺僆僾僔儑儞傕嵹偣偰偁傝傑偡丅

MPOA 偺擖弌椡僉儍僢僔儏偺撪梕偼丄 /proc/net/atm/mpc 僼傽僀儖傪捠偠偰娔
帇偱偒傑偡丅

Linux MPOA 僋儔僀傾儞僩偼丄僨僼僅儖僩偺 UBR 偺戙傢傝偵丄僔儑乕僩僇僢僩
SVC 梡偺 CBR 僩儔僼傿僢僋僋儔僗傕僒億乕僩偟傑偡丅崱屻偺僔儑乕僩僇僢僩偵
娭偡傞 QoS 巇條偼丄 /proc/net/atm/mpc 傪巊偆傛偆偵側傝丄偦偺傛偆偵廋惓
偝傟傞偙偲偑偁傝傑偡丅

劇劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劉
劆# echo add 130.230.54.146 tx=80000,1600 rx=tx > /proc/net/atm/mpc   劆
劆#             # generate enough traffic to trigger a shortcut       劆
劆# cat /proc/net/atm/mpc                                             劆
劆QoS entries for shortcuts:                                          劆
劆IP address                                                          劆
劆  TX:max_pcr pcr     min_pcr max_cdv max_sdu                        劆
劆  RX:max_pcr pcr     min_pcr max_cdv max_sdu                        劆
劆130.230.54.146                                                      劆
劆     80000   0       0       0       1600                           劆
劆     80000   0       0       0       1600                           劆
劆                                                                    劆
劆Interface 2:                                                        劆
劆                                                                    劆
劆Ingress Entries:                                                    劆
劆IP address      State     Holding time  Packets fwded  VPI VCI      劆
劆130.230.4.3     invalid   1160          0                           劆
劆130.230.54.146  resolved  542           151            0   109      劆
劆...                                                                 劆
劋劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劅劊

IP 傾僪儗僗 130.230.54.146 偺僔儑乕僩僇僢僩偼愭偵帵偟偨僷儔儊乕僞傪梡偄
偰妋棫偟傑偟偨丅僼儘乕専弌傪奼挘偟偰丄儗僀儎 4 僼儘乕傪姰慡偵僒億乕僩偡
傞僷僢僠傕懚嵼偟傑偡丅儗僀儎 4 僼儘乕偼屲偮偺僞僾儖乮僾儘僩僐儖丄儘乕僇
儖傾僪儗僗丄儘乕僇儖億乕僩丄儕儌乕僩傾僪儗僗丄儕儌乕僩億乕僩乯偱昞尰偟
丄偦傟傜傪巊偭偰丄傾僾儕働乕僔儑儞偲傾僾儕働乕僔儑儞僼儘乕傪嬫暿偟傑偡
丅嫽枴偑偍偁傝側傜丄嵟怴僷僢僠偵娭偟偰偼 ftp://sunsite.tut.fi/pub/Local
/linux-atm/mpoa/ 傪嶲徠偟偰壓偝偄丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

7. 擔杮岅斉幱帿

杮 HOWTO 偺朚栿偵偁偨傝丄JF 僾儘僕僃僋僩偺奆條偵嵏撉偟偰偄偨偩偒傑偟偨
丅摿偵丄悈尨偝傫偲 kaneko 偝傫偵偼婱廳側傾僪僶僀僗傪偄偨偩偒傑偟偨丅偙
偺応傪庁傝偰屼楃怽偟忋偘傑偡丅

劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒劒 

恾彂栚榐

嶲峫暥專

[1] Linux ATM API, Werner Almesberger, http://linux-atm.sourceforge.net
/API/ , July 1996.

[2] Classical IP and ARP over ATM (RFC1577), Mark Laubach, January
1994.

[3] LAN Emulation Over ATM -- Version 1.0, ATM Forum, February 1996.

[4] LAN Emulation Over ATM -- Version 2 -- LUNI Specification, ATM
Forum, July 1997.

[5] Multi-Protocol Over ATM -- Version 1.0, ATM Forum, July 1997.

[6] Bridging mini-Howto, Christopher Cole, http://www.linuxdoc.org/
HOWTO/mini/Bridge.html , March, 2001.

[7] Implementation of LAN Emulation Over ATM in Linux, Marko Kiiskil, 
ftp://sunsite.tut.fi/pub/Local/linux-atm/misc/ , October 1996.

Notes

[1] 拞偵偼丄偙偺堦晹偟偐僒億乕僩偟偰偄側偄傾僟僾僞傕偁傝傑偡丅         

