logo资料库

OMNET++框架INET用户手册.pdf

第1页 / 共159页
第2页 / 共159页
第3页 / 共159页
第4页 / 共159页
第5页 / 共159页
第6页 / 共159页
第7页 / 共159页
第8页 / 共159页
资料共159页,剩余部分请下载后查看
Contents
1 Introduction
1.1 What is INET Framework
1.2 About the documentation
1.3 Contents of this Manual
2 Using the INET Framework
2.1 Installation
2.2 INET as an OMNeT++-based simulation framework
2.3 Creating and Running Simulations
2.4 Result Collection and Analysis
2.5 Setting up wired network simulations
2.5.1 Modeling Link and Node Failures
2.5.2 Specifying IP (IPv6) addresses in module parameters
2.6 Setting up wireless network simulations
2.7 Setting up ad-hoc network simulations
2.8 Emulation
2.9 Packet traces
2.10 Developing New Protocols
3 Node Architecture
3.1 Overview
3.2 Addresses
3.3 The Notification Board
3.4 The Interface Table
3.4.1 Accessing the Interface Table
3.4.2 Interface Entries
3.4.3 Interface Registration
3.4.4 Interface Change Notifications
3.5 Initialization Stages
3.6 Communication between protocol layers
3.7 Publish-Subscribe Communication within Nodes
3.8 Network interfaces
3.9 The wireless infrastructure
3.10 NED Conventions
3.10.1 The @node Property
3.10.2 The @labels Module Property
3.10.3 The @labels Gate Property
4 Point-to-Point Links
4.1 Overview
4.2 PPP frames
4.3 PPP module
4.4 PPPInterface module
5 The Ethernet Model
5.1 Overview
5.1.1 Implemented Standards
5.2 Physical layer
5.2.1 EtherBus
5.2.2 EtherHub
5.3 MAC layer
5.3.1 EtherMACFullDuplex
5.3.2 EtherMAC
5.4 Switches
5.4.1 MAC relay units
5.4.2 EtherSwitch
5.5 Link Layer Control
5.5.1 Frame types
5.5.2 EtherEncap
5.5.3 EtherLLC
5.5.4 EthernetInterface module
5.6 Ethernet applications
5.7 Ethernet networks
5.7.1 LargeNet model
6 The Radio Infrastructure
6.1 Overview
7 The 802.11 Model
7.1 Overview
7.1.1 Limitations
8 Node Mobility
8.1 Overview
8.2 Mobility in INET
8.2.1 MobilityBase class
8.2.2 MovingMobilityBase
8.2.3 LineSegmentsMobilityBase
8.3 Implemented models
8.3.1 Deterministic movements
8.3.2 Random movements
8.3.3 Replaying trace files
8.4 Mobility scripts
9 IPv4
9.1 Overview
9.1.1 INET modules
9.2 The IPv4 Module
9.2.1 IP packets
9.2.2 Interface with higher layer
9.2.3 Routing, and interfacing with lower layers
9.2.4 Parameters
9.2.5 Statistics
9.3 The RoutingTable module
9.4 The ICMP module
9.5 The ARP module
9.6 The IGMP module
9.6.1 Host behaviour
9.6.2 Router behaviour
9.6.3 Disabling IGMP
9.6.4 Parameters
9.7 The NetworkLayer module
9.8 The NetworkInfo module
9.9 Configuring IPv4 networks
9.9.1 IPv4NetworkConfigurator
9.9.2 FlatNetworkConfigurator
9.9.3 Old routing files
9.10 Applications
9.10.1 IP traffic generators
9.10.2 The PingApp application
10 IPv6 and Mobile IPv6
10.1 Overview
11 The UDP Model
11.1 Overview
11.2 The UDP module
11.2.1 Sending UDP datagrams
11.2.2 Receiving UDP datagrams
11.2.3 Signals
11.3 UDP sockets
11.4 UDP applications
11.4.1 UDPBasicApp
11.4.2 UDPSink
11.4.3 UDPEchoApp
11.4.4 UDPVideoStreamCli
11.4.5 UDPVideoStreamSvr
11.4.6 UDPBasicBurst
12 The TCP Models
12.1 Overview
12.1.1 TCP segments
12.1.2 TCP connections
12.1.3 Flow control
12.1.4 Transmission policies
12.1.5 Congestion control
12.2 TCP module
12.2.1 TCP packets
12.2.2 TCP commands
12.2.3 TCP parameters
12.2.4 Statistics
12.3 TCP connections
12.3.1 Data transfer modes
12.3.2 Opening connections
12.3.3 Sending Data
12.3.4 Receiving Data
12.3.5 RESET handling
12.3.6 Closing connections
12.3.7 Aborting connections
12.3.8 Status Requests
12.4 TCP algorithms
12.4.1 DumbTCP
12.4.2 TCPBaseAlg
12.4.3 TCPNoCongestion
12.4.4 TCPTahoe
12.4.5 TCPReno
12.4.6 TCPNewReno
12.5 TCP socket
12.6 Other TCP implementations
12.6.1 TCP LWIP
12.6.2 TCP NSC
12.7 TCP applications
12.7.1 TCPBasicClientApp
12.7.2 TCPSinkApp
12.7.3 TCPGenericSrvApp
12.7.4 TCPEchoApp
12.7.5 TCPSessionApp
12.7.6 TelnetApp
12.7.7 TCPSrvHostApp
13 The SCTP Model
13.1 Overview
14 Internet Routing
14.1 Overview
15 Differentiated Services
15.1 Overview
15.1.1 Implemented Standards
15.2 Architecture of NICs
15.2.1 Traffic Conditioners
15.2.2 Output Queues
15.3 Simple modules
15.3.1 Queues
15.3.2 Droppers
15.3.3 Schedulers
15.3.4 Classifiers
15.3.5 Meters
15.3.6 Markers
15.4 Compound modules
15.4.1 AFxyQueue
15.4.2 DiffservQeueue
15.5 Examples
15.5.1 Simple domain example
15.5.2 One domain example
16 The MPLS Models
16.1 Overview
16.2 MPLS/RSVP/LDP Model - Implemented Standards
16.3 MPLS Operation
16.4 LDP Message Processing
16.4.1 Label Request Message processing
16.4.2 Label Mapping Message processing
16.5 LIB Table File Format
16.6 The CSPF Algorithm
16.7 The traffic.xml file
17 Applications
17.1 Overview
18 History
18.1 IPSuite to INET Framework (2000-2006)
References
Index
INET Framework for OMNeT++ Manual Generated on October 29, 2013
OMNeT++ Manual – Contents Contents 1 Introduction 1.1 What is INET Framework . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.2 About the documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.3 Contents of this Manual 2 Using the INET Framework 2.1 Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.2 INET as an OMNeT++-based simulation framework . . . . . . . . . . . . . . . . . . 2.3 Creating and Running Simulations . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.4 Result Collection and Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.5 Setting up wired network simulations . . . . . . . . . . . . . . . . . . . . . . . . . 2.5.1 Modeling Link and Node Failures . . . . . . . . . . . . . . . . . . . . . . . . 2.5.2 Specifying IP (IPv6) addresses in module parameters . . . . . . . . . . . . . 2.6 Setting up wireless network simulations . . . . . . . . . . . . . . . . . . . . . . . . 2.7 Setting up ad-hoc network simulations . . . . . . . . . . . . . . . . . . . . . . . . . 2.8 Emulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.9 Packet traces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2.10 Developing New Protocols . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii 1 1 1 1 3 3 3 4 5 5 6 6 6 6 6 6 7 3 Node Architecture 9 3.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 3.2 Addresses . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.3 The Notification Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 3.4 The Interface Table . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4.1 Accessing the Interface Table . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 3.4.2 Interface Entries . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 3.4.3 Interface Registration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 3.4.4 Interface Change Notifications . . . . . . . . . . . . . . . . . . . . . . . . . . 15 iii
3.5 Initialization Stages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 3.6 Communication between protocol layers . . . . . . . . . . . . . . . . . . . . . . . . 16 3.7 Publish-Subscribe Communication within Nodes . . . . . . . . . . . . . . . . . . . 16 3.8 Network interfaces . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.9 The wireless infrastructure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 3.10 NED Conventions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.10.1The @node Property . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.10.2The @labels Module Property . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 3.10.3The @labels Gate Property . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 4 Point-to-Point Links 19 4.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.2 PPP frames . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4.3 PPP module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 4.4 PPPInterface module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 5 The Ethernet Model 23 5.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.1.1 Implemented Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 5.2 Physical layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.2.1 EtherBus . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.2.2 EtherHub . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 5.3 MAC layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25 5.3.1 EtherMACFullDuplex . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27 5.3.2 EtherMAC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 5.4 Switches . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29 5.4.1 MAC relay units . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30 5.4.2 EtherSwitch . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.5 Link Layer Control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.5.1 Frame types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 31 5.5.2 EtherEncap . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.5.3 EtherLLC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32 5.5.4 EthernetInterface module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 5.6 Ethernet applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 5.7 Ethernet networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34 5.7.1 LargeNet model 6 The Radio Infrastructure 37 6.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
7 The 802.11 Model 39 7.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39 7.1.1 Limitations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40 8 Node Mobility 41 8.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41 8.2 Mobility in INET . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 8.2.1 MobilityBase class . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 8.2.2 MovingMobilityBase . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 8.2.3 LineSegmentsMobilityBase . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 8.3.1 Deterministic movements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 8.3.2 Random movements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 8.3.3 Replaying trace files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 46 8.4 Mobility scripts . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47 8.3 Implemented models 9 IPv4 51 9.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.1.1 INET modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51 9.2 The IPv4 Module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.2.1 IP packets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52 9.2.2 Interface with higher layer . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54 9.2.3 Routing, and interfacing with lower layers . . . . . . . . . . . . . . . . . . . 56 9.2.4 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.2.5 Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.3 The RoutingTable module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58 9.4 The ICMP module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 60 9.5 The ARP module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61 9.6 The IGMP module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63 9.6.1 Host behaviour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 9.6.2 Router behaviour . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64 9.6.3 Disabling IGMP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 9.6.4 Parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 65 9.7 The NetworkLayer module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 9.8 The NetworkInfo module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 9.9 Configuring IPv4 networks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66 9.9.1 IPv4NetworkConfigurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67 9.9.2 FlatNetworkConfigurator . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73 9.9.3 Old routing files . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
9.10 Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75 9.10.1IP traffic generators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 9.10.2The PingApp application . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 76 10 IPv6 and Mobile IPv6 79 10.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 79 11 The UDP Model 81 11.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 11.2 The UDP module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 81 11.2.1Sending UDP datagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82 11.2.2Receiving UDP datagrams . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 11.2.3Signals . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83 11.3 UDP sockets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 11.4 UDP applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84 11.4.1UDPBasicApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 11.4.2UDPSink . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 11.4.3UDPEchoApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 11.4.4UDPVideoStreamCli . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 11.4.5UDPVideoStreamSvr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85 11.4.6UDPBasicBurst . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86 12 The TCP Models 89 12.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 12.1.1TCP segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89 12.1.2TCP connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 12.1.3Flow control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 91 12.1.4Transmission policies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93 12.1.5Congestion control . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 95 12.2 TCP module . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 12.2.1TCP packets . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 98 12.2.2TCP commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99 12.2.3TCP parameters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 12.2.4Statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100 12.3 TCP connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 12.3.1Data transfer modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101 12.3.2Opening connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102 12.3.3Sending Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 12.3.4Receiving Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
12.3.5RESET handling . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103 12.3.6Closing connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 12.3.7Aborting connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 12.3.8Status Requests . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 12.4 TCP algorithms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104 12.4.1DumbTCP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 12.4.2TCPBaseAlg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105 12.4.3TCPNoCongestion . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 12.4.4TCPTahoe . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106 12.4.5TCPReno . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 12.4.6TCPNewReno . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 12.5 TCP socket . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107 12.6 Other TCP implementations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 12.6.1TCP LWIP . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109 12.6.2TCP NSC . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 110 12.7 TCP applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 12.7.1TCPBasicClientApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 12.7.2TCPSinkApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 12.7.3TCPGenericSrvApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 12.7.4TCPEchoApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 12.7.5TCPSessionApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 12.7.6TelnetApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113 12.7.7TCPSrvHostApp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 114 13 The SCTP Model 115 13.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115 14 Internet Routing 117 14.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 117 15 Differentiated Services 119 15.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119 15.1.1Implemented Standards . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 15.2 Architecture of NICs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 15.2.1Traffic Conditioners . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 120 15.2.2Output Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 15.3 Simple modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 15.3.1Queues . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121 15.3.2Droppers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
15.3.3Schedulers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 123 15.3.4Classifiers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124 15.3.5Meters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 125 15.3.6Markers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 15.4 Compound modules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 15.4.1AFxyQueue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126 15.4.2DiffservQeueue . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 127 15.5 Examples . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 15.5.1Simple domain example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 15.5.2One domain example . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 128 16 The MPLS Models 133 16.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 16.2 MPLS/RSVP/LDP Model - Implemented Standards . . . . . . . . . . . . . . . . . . 133 16.3 MPLS Operation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 133 16.4 LDP Message Processing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 135 16.4.1Label Request Message processing . . . . . . . . . . . . . . . . . . . . . . . 135 16.4.2Label Mapping Message processing . . . . . . . . . . . . . . . . . . . . . . . 136 16.5 LIB Table File Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 16.6 The CSPF Algorithm . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 136 16.7 The traffic.xml file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 17 Applications 141 17.1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141 18 History 143 18.1 IPSuite to INET Framework (2000-2006) . . . . . . . . . . . . . . . . . . . . . . . . 143 References Index 145 146
分享到:
收藏