文件名称:
opnet12个经典的例子-Lab08-TCP.pdf
开发工具:
文件大小: 2mb
下载次数: 0
上传时间: 2019-07-03
详细说明:只有8到12了,前面的找不到了。
OPNET就是一个网络仿真技术软件包,它能够准确的分析复杂网络的性能和行为,在网络模型中的任意位置都可以插入标准的或用户指定的探头,以采集数据和进行统计。通过探头得到的仿真输出可以以图形化显示、数字方式观察、或者输出到第三方的软件包去。其产品结构有三个模块组成,能为用户提供一系列的仿真模型库,在电信、军事、航天航空、系统集成、咨询服务、大学、行政机关等方面被广泛应用。Configure the Applications
1. Right-click on the Applications node Edit Attributes Expand the
Application Definitions attribute and set rows to 1= Expand the new row
Name the row FTP Application
. Expand the Description hierarchy= Edit the FTP row as shown (you will
need to set the Special value to Not Used while editing the shown
attributes)
Ei"Inter-Request Time"Specification
相(Ftp)Tabe
Allrilule
Valu
Dis ribution Name:->constart
Command Mix(getTotal)100%
Mean outcome
300
Inter-Request Time(seoon.constant(3600)K
File Size(bytes)
constant (10000000)
Second Argument
Not used
Symbolic Server Name
FTF Server
Tvpe of Service
Best Effort(0)
RSVP Parameters
None
Back End Custom Applicati. Not Usod
Help
Cance
Promote
OK
2. Click oK twice and then save your project
onfigure the Profiles
1. Right-click on the Profiles node= Edit Attributes= Expand the Profile
Configuration attribute and set rows to 1
i. Name and set the attributes of row o as shown click OK
EH(Profiles) Attribute
Type: Ut
Attribute
Profiles
ontic
④ Profile Configuration(-
Frofile name
FTP Profile
②/回A
PP
□row0
FTP Application
FStart Time Offset. constant (5
FDuration (secand. End of Profile
IRep
atability
Once at start Time
Era
e +Start Time(seconds) constant(100)
③3下 uration( seconds) End of simulation
田 Repeatability Once at Start Tir
Apply Changes to Selected Objects
Advanced
Find Next
OK
onfigure the west Subnet:
1. Double-click on the West subnet node. You get an empty workspace, indicating
that the subnet contains no objects
2. Open the object palette
and make sure that the internet toolbox item is
selected from the pull-down menu
The ethernet4 slip
3. Add the following items to the subnet workspace: one ethernet server, one
gtwy node model
ethernet4 slip8 gtwy router, and connect them with a bidirectional 100 BaseT
IP-based
gateway supporting
link = close the palette Rename the objects as shown
Ethernet hub interfaces
and eight serial line
interface
Router West
4. Right-click on the server West node=> Edit Attributes
. Edit Application: Supported Services Set rows to 1= Set Name to
FTP Application=> Click OK
i edit the value of the server address attribute and write down server west
lL. Expand the TCP Parameters hierarchy = Set both Fast Retransmit and
Fast Recovery to Disabled
5. Click OK and then save your project
Now, you have completed the configuration of the West subnet. To go back to the top
level of the project, click the go to next higher leve
button
Configure the East Subnet.
Double-click on the East subnet node. You get an empty workspace, indicating
that the subnet contains no objects
2. Open the object palette
and make sure that the internet toolbox item is
selected from the pull-down menu
3. Add the following items to the subnet workspace: one ethernet wkstn, one
ethernet4 slipa gtwy router, and connect them with a bidirectional 100 BaseT
link= close the palette Rename the objects as shown
Router east
4. Right-click on the Client_ East node=> Edit Attributes
. Expand the Application: Supported Profiles hierarchy = Set rows to 1=
Expand the row 0 hierarchy Set Profile Name to FTP Profile.
i. Assign Client East to the client Address attributes
lL. Edit the Application: Destination Preferences attribute as follows
Set rows to1→ Set Symbolic Name to FTP Server→ Edit actual name→
Set rows to 1= In the new row, assign Server West to the Name column
5. Click OK three times and then save your project
6. You have now completed the configuration of the East subnet. To go back to the
project space, click the Go to next higher level
button
Connect the subnets to the /p cloud.
1. Open the object palette
2. Using two PPP_ DS3 bidirectional links connect the East subnet to the IP Cloud
and the west subnet to the iP cloud
3. A pop-up dialog box will appear asking you what to connect the subnet to the IP
Cloud with, Make sure to select the routers
4. Close the palette
Applications
Profiles
East
USA Internet
c
6
Choose the statistics
Right-click on Server West in the West subnet and select Choose Individual
Statistics from the pop-up menu
2. In the Choose Results dialog box, choose the following statistic
TCP Connection= Congestion Window Size(bytes)and Sent Segment
Sequence Number
OPNET provides the
following capture
modes
Right-click on the Congestion Window Size(bytes)statistic= Choose Change
Collection Mode In the dialog box check Advanced From the drop-down
All valucs--collccts
every data point from a
menu, assign all values to Capture mode as shown=> Click OK
statistic
Sample collects the
data according to a user-
Ea Congestion Window Si
specified time interval or
sample count For
Capture mode all values
example, if the time
nterval is 10. dat
sampled and recorded
every 10th sccond. If the
every
CTotal of
values
10th data point is
recorded. All other data
Bucket mode max value
ts are discarded
Bucket--collects all of
the points over the time
MAlaret
interval or sample count
into a data bucket, and
cach bucket. This is thc
default mode
4. Right-click on the Sent Segment Sequence Number statistic = Choose
Change Collection Mode =In the dialog box check Advanced From the
drop-down menu, assign all values to Capture mode
5. Click K twice and then save your project
6. Click the Go to next higher level
button
Configure the simulation
Here we need to configure the duration of the simulation
Click on
and the Configure Simulation window should appear
2. Set the duration to be 10.0 minutes
3. Click OK and then save your project
Duplicate the Scenario
In the network we just created we assumed a perfect network with no discarded packets
Also, we disabled the fast retransmit and fast recovery techniques in TCP. To analyze the
effects of discarded packets and those congestion-control techniques we will create two
additional scenarios
With fast retransmit,
1. Select Duplicate Scenario from the Scenarios menu and give it the name
TCP performs a
Drop NoFast→ Click ok
retransmission what
appears to be the
2. In the new scenario, right-click on the IP Cloud Edit Attributes = Assign
Issing segment,
0. 05% to the Packet discard Ratio attribute
retransmission timer te
3. Click OK and then save your project
fter fast retransmit
4. While you are still in the Drop_ NoFast scenario, select Duplicate Scenario from
sends what appears to be
the Scenarios menu and give it the name Drop_ Fast
the missing segment,
congestion avoidance
5. In the Drop Fast scenario right-click on server West, which is inside the West
but not slow start is
pertormed. This is the
subnet→ Edit attributes→ Expand the TCP Parameters hierarchy→ Enable
fast recovery algorith
the Fast Retransmit attribute Assign Reno to the Fast Recovery attribute
The fast retransmit and
6. Click oK and then save your project
fast recovery algorithms
are usually implemer
togethe
2001)
Run the simulation
o run the simulation for the three scenarios simultaneously
1. Go to the Scenarios menu = Select Manage Scenarios
2. Change the values under the Results column to (or )
for the three scenarios. Compare to the following figure
图 Manage Scenarios
Project Name: eha TCP
H Scenario Name Saved Resulls
Sinm DuraLium Time UniLs
No Drop
saved collect 10
minuti
Drop NoFast saved s
minute(s)
3 Drop_Fast
d
Congestion Window Size(bytes)and Sent Segment Sequence Number
E view Results
回区
Discrete Event Graphs Displayed Panel Graphs
早 Global statistics
V Show Preview
Object Statistics
8U0U0
E Choose Frcm Maps Network
白W
40,00U.0
E Server West
EH TCP Connection
0
400
800
e(sec
Sent Segment Sequence Num
Stacked Statistics This Scenario
As Is
Results generated: 00: 37: 21 Mar 202003
Unselect
Add
Close
3. Click Show. The resulting graphs should resemble the ones below
困 Server west of Choose From Maps Network. West回区
Annotation: conn1[]〔Pora0≤, Choose_ From_Map
TCP Connection. Congestion Window Size(bytes)
00
Annatation: Cogan 1 [Ftp]:(Port 20)<-) Choose_From_Map
TCP Connecton Sent Segment Sequence Number
10,000000
5m
4. To zoom in on the details in the graph, click and drag your mouse to draw a
rectangle, as shown above
5. The graph should be redrawn to resemble the following one
困 Server_West of Choose From Maps Network.West回区
Annotation: Conn 1 Fp:(Port 20)<-> Choose_From_Maps
TCP
(bytes)
5000U
40000
20.D00
0
Annotation: Conn 1 [ Fp:(Port 20)<-> Choose_From_Map
TCP Connection. Sent Segment Sequence Number
40,000,000
30 000
2I nn nnn
10000,000
1m44
2r
2m16s
2m32s
6. Notice the Segment Sequence Number is almost flat with every drop in the
congestion window
10
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.