이광휘 창원대학교 컴퓨터공학과 Khlee@Changwon.ac.Kr
이광휘 창원대학교 컴퓨터공학과 Khlee@Changwon.ac.Kr
이광휘 창원대학교 컴퓨터공학과 Khlee@Changwon.ac.Kr
이광휘
창원대학교 컴퓨터공학과
khlee@changwon.ac.kr
Contents
Homepage
http://www.opnet.net/ or http://www.simus.net/
Clients
worldwide : thousands of commercial and government organizations and over 500
universities
domestic: about 50 sites as of 2003?
Composition: 3 CD’s
OPNET Model Library
OPNET Modeler Software
OPNET Modeler Documentation
주의 사항
설치 중 환경 변수 등록을 반드시 체크
왼쪽 항목을 모두 체크
History
Xerox PARC (The Palo Alto Research Center) 의 Robert M. Metcalfe and David
R. Boggs 가 고안
후에 Xerox, DEC, Intel 이 공동으로 개량
Characteristic
CSMA/CD (Carrier Sense Multiple Access with Collision Detection)
LAN (Local Area Network)
Bus topology: shared link
OK 클릭
OK 클릭
Simulation Sequence 의 File 메뉴에서 Save 한 후 Close
Project Editor 의 File 메뉴에서 Save ( 수시로 저장할 것 )
시뮬레이션 실행하기
Configure/Run Simulation 버튼 클릭 Duration 이 15 seconds 로 설정
되어 있는지 확인 Run 클릭 (processor 의 속도에 따라 수 분이 걸림 )
이제 simulator 는 각각의 트래픽 생성 interarrival time 에 따라 9 번 수행 ( 횟
수가 증가할 수록 매 회의 시간은 더 오래 걸림 )
9 번의 시뮬레이션 수행이 완료되면 Close 를 클릭
project 를 Save
결과들을 보고 분석하기
Results 메뉴에서 View Results (Advanced) 를 선택 이제 Analysis
Configuration tool 이 열림
average results 를 하나의 scalar file 로 저장한 사실을 상기할 것 . 이 파일을
적재하기 위하여 File 메뉴에서 Load Output Scalar File 를 선택 팝 - 업 메
뉴에서 <your initials>_Ethernet-Coax 를 선택
Panels 메뉴에서 Create Scalar Panel 을 선택 Traffic Source.Traffic Sent
(packet/sec).average 를 Horizontal 에 설정 Traffic Sink.Traffic Received
(packets/sec).average 를 Vertical 에 설정 OK 클릭
네트워크의 생성
1. Topology Rapid Configuration Star OK
2. Rapid Configuration 에서 Select Models token_ring
3. 아래 Rapid Configuration: Star 박스 그림과 같이 설정
네트워크의 생성
4. 모든 객체들이 선택되어져 있기에 바탕 작업 공간에 클릭하여 선택해제 한다 .
2. 저장
< 모두 선택되어진 상태 > < 선택 해제한 상태 >
네트워크 노드들의 설정 [ 뒷장 그림 참조 ]
1. 14 개의 노드중 아무거나 하나 선택 후 마우스 오른쪽 버튼 클릭 Select Similar
Nodes( 모든 노드들이 선택되어진다 )
2. 14 개의 노드중 하나 위에서 마우스 오른쪽 버튼 클릭 Edit Attributes
a. Apply Changes to Selected Objects 체크
3. model 의 value 란을 클릭 Edit.. tr_station_adv 선택
4. Token Ring Parameters Edit.. THT Duration(seconds) 는 promoted 입력 (THT
Duration(seconds) 의 value 란을 클릭 후 promote 버튼을 눌러도 됨 ) OK
5. ON State Time 은 exponential(100) 으로 OFF State Time 에는 exponential(0) 으로 값을
설정
6. Packet Generation Arguments Interarrival Time 에 expontial(0.025) 로 설정
7. OK 클릭
8. 확인 후 저장
네트워크 노드들의 설정
1. 앞장 설명부분 그림
2
1
5 4
시뮬레이션 설정
1. 클릭 Duration: 5 Minutes 으로 설정 OK 클릭
시뮬레이션 설정
2. Simulation Configure Simulation (Advanced) scenario 선택 후 마우스 오른쪽 버
튼 클릭 “ Add...” 클릭 Office Network*.Token Ring Parameters [0].THT Duration 의
Add? 부분 클릭
시뮬레이션 설정
3. OK 클릭 추가한 “ Office Network...” 선택 “ Values...” 클릭 마우스 클릭 입력
엔터 다음 번 행에 마우스 클릭 입력 (0.01 0.02 0.04 0.08 0.16 0.32 총 6 개 입력 )
OK
시뮬레이션 설정
4. Scalar file: 에는 “본인의이니셜 _Token-Balanced” 라고 직접 입력 OK 클릭 저장
닫기 (close)
1
3
4
시뮬레이션 실행
1. Scenarios Manage Scenarios Results 칼럼을 <collect> 또는 <recollect> 로 변경
시뮬레이션 실행
2. 각각의 시나리 6 개 총 12 개의 시뮬레이션이 종료 후 close 클릭
시뮬레이션 결과 보기
1. Results View Results (Advanced)
2. File 메뉴에서 .. Load Output Scalar File “ 본인의이니셜 _Token-Balanced” 선택
3. Panels 에서 Create Scalar Panel “Horizontal: Office Network.node...” 로 두고
“ Vertical: 은 top.Office Network.node...” 로 변경
4. OK 클릭
5. 그래프 위에서 마우스 오른쪽 버튼 클릭 Edit Graph Properties Custom Title 에
Balanced Utilization 으로 직접 입력
6. OK 클릭
7. 다시 File 메뉴에서 Load Output Scalar File “ 본인의이니셜 _Token-
Unbalanced” 선택
8. Panels 메뉴에서 Create Scalar Panel “Horizontal: Office Network.node...” 로 두고 “
Vertical: 은 top.Office Network.node...” 로 변경
9. OK 클릭 그래프 위에서 마우스 오른쪽 버튼 클릭 Edit Graph Properties
Custom Title 에 Unbalanced Utilization 으로 직접 입력
10. Panels 메뉴에서 .. Create Vector Panel Display Panel Graphs Balanced 와
Unbalanced
Communication Systems Lab, Dept.를 선택 Engineering, Changwon National University
of Computer 64
Create and configure the Network
시뮬레이션 결과 보기
앞장 설명 결과
Computer networks
use switches to enable the communication between one host and another
Key problem of switch
finite bandwidth of its outputs contention
Congestion
the switch will queue or buffer packets until the contention subsides
if it last too long, however, the switch will run out of buffer space and be forced to
discard packets
Two different switching devices
hub vs. switch
OK 클릭
project 를 Save 할 것
OK 클릭 세 번
project 를 Save
시뮬레이션 지속 시간 설정하기
Configure/Run Simulation 버튼 클릭
duration 을 2.0 minutes 로 설정
OK 클릭
Hub 를 추가
object palette 안에 있는 ethernet16_hub 아이콘을 클릭 마우스를
workspace 로 이동 hub 를 위치시키기 위하여 원하는 곳에 클릭 (hub
객체를 배치시키는 것이 끝나면 마우스 오른쪽 버튼을 클릭 )
유사한 방법으로 Switch 를 추가
Object Palette 를 Close
새로운 hub 위에서 마우스 오른쪽 버튼 클릭 Edit Attributes name
attribute 의 value 를 Hub2 로 변경하고 OK 클릭
switch 위에서 마우스 오른쪽 버튼 클릭 Edit Attributes name 을 Switch
로 변경하고 OK 클릭
project 를 Save
결과를 보고 분석하기
Results 메뉴에서 Compare Results 를 선택
아래 그림처럼 Compare Results 다이얼로그 박스 하단에 있는 드롭 - 다운 메
뉴의 As Is 를 time_average 로 변경
Application Config
is used to specify applications that will be used to configure users profiles
Profile Config
describes the activity patterns of a user or group of users in terms of the applications
used over a period of time
네트워크의 설정
1. 팔레트 툴 박스에서 Application Config, Profile Config, subnet 을 삽입
2. 팔레트 상자를 닫고 프로젝트를 저장
서비스의 설정
1. Application Config 노드 선택 후 마우스 오른쪽 버튼 클릭 Edit
Attributes name 은 Applications, Application Definitions 에는 default 로
설정 OK 클릭
2. Profile Config 노드 선택 후 마우스 오른쪽 버튼 클릭 Edit Attributes
name 에는 Profiles 로 설정 Profile Configuration 에는 Sample Profile
로 설정 OK 클릭
서브넷의 설정
1. subnet 노드를 마우스 오른쪽 버튼 클릭 Edit Attributes name 에는
Engineering 로 설정 OK 클릭
2. Engineering 노드를 더블클릭 비어있는 작업공간이 보여지며 , 서브넷
에는 아무런 객체도 포함되어 있지 않다 .
3. 팔레트를 오픈
4. 10BaseT_LAN 과 ethernet16_Switch 를 10BaseT 링크로 연결 팔레트
닫기
5. 10BaseT_LAN 노드를 선택 후 마우스 오른쪽 버튼 클릭 name 을 LAN
으로 변경 Number of Workstations 속성 값을 10 으로 유지
Application:Supported Profiles 의 column 을 선택 Edit..
a. rows 를 1 로 설정
b. Profile Name 에 Engineer 로 설정
c. OK 클릭 두 번
서브넷의 설정
6. ethernet16_switch 의 name 을 Switch 로 설정
7. 서브넷은 아래의 그림처럼 보여야 한다 .
8. 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 100
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 101
Create and Configure the Network
버튼 클릭하여 상위 레벨로 이동
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 102
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 103
Create and Configure the Network
rv er
b Se
We i tch
Sw
v er
ver Ser
er
i l eS
F
rv er
e Se
as
ta b
Da
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 104
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 105
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 106
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 107
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 108
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 109
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 110
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 111
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 112
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 113
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 114
Questions
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 115
5. ATM
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 117
Overview (2/4)
Management Plane
Plane Management
Control Plane User Plane
Layer Management
Higher Layers Higher Layers
ATM Layer
Physical Layer
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 118
Overview (3/4)
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 119
Overview (4/4)
Service Class
AAL3/4 AAL3/4
AAL(s) AAL1 AAL2
or AAL5 or AAL5
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 120
Create a New Project
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 121
Create and Configure the Network
네트워크의 설정
1. Object Palette 를 오픈
2. Application Config, Profile Config, 두 개의 atm8_crossconn_adv 스위치 , 한 개의
subnet 을 작업 공간 추가
3. 아래 그림과 같이 위치 후 이름도 동일하게 설정
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 122
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 123
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 124
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 125
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 126
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 127
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 128
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 129
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 130
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 131
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 132
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 133
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 134
Create and Configure the Network
[ 수정 전 ] [ 수정 후 ]
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 135
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 136
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 137
Create and Configure the Network
1 3 4
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 138
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 139
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 140
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 141
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 142
Create and Configure the Network
왼쪽 두 개를 설정하기
전에 반드시 Apply
Changes to Selected
Objects 를 체크할 것
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 143
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 144
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 145
Questions
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 146
6. RIP
목적
The objective of this lab is to configure and analyze the performance of the Routing
Information Protocol (RIP) model.
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 148
Overview (2/2)
RIP
The basic problem of routing is to find the lowest-cost path between any two nodes.
Routers running RIP send their advertisements regularly (e.g., every 30 seconds).
Distance-Vector Algorithm
Each node constructs a vector containing the distances (costs) to all other nodes and
distributes that vector to its immediate neighbors.
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 149
Create a New Project
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 150
Create and Configure the Network
네트워크 초기화
1. Object Palette 를 연다 . ( 방법 : 클릭 )
2. 한 개의 ethernet4_slip8_gtwy 라우터와 두 개의 100BaseT_LAN 객체를 작업 공간
에 삽입한다 .
3. 아래 그림과 같이 추가하고 , 양방향 100BaseT 링크를 이용하여 각각의 객체를 연
결함 각 객체의 이름도 변경 ( 각각 Net10, Net11, Router1)
4. Object Palette 를 닫음
5. 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 151
Create and Configure the Network
라우터의 설정
1. Router1 선택 후 마우스 오른쪽 클릭 Edit Attributes IP Routing Parameters 를 확
장 Routing Table Export = Once at End of Simulation OK 클릭
2. OK 클릭 후 프로젝트 저장
LAN 들의 추가
1. 앞서 작성한 5 개의 객체들을 모두 선택
2. Ctrl+C 를 눌러 복사한 후 Ctrl+V 를 눌러 붙여 넣는다 .
3. Ctrl+V 를 눌러 붙여 넣기를 2 번 더 반복한다 . 다음 장의 그림과 같이 재정렬한 후
이름을 변경한다 .
4. 라우터 간의 연결은 PPP_DS3 링크를 사용한다 .
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 152
Create and Configure the Network
LAN 들의 추가
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 153
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 154
Configure the Simulation
시뮬레이션 설정
1. 클릭
2. Duration 은 10 minute(s)
3. ( 오른쪽 그림과 같이 항목들을 설정 )
a. IP Dynamic Routing Protocol = RIP
b. IP Interface Addressing Mode = Auto
Addressed/Export
c. RIP Sim Efficiency = Disabled
4. OK 클릭 후 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 155
Duplicate the Scenario
시나리오 복사
앞에서의 시나리오와는 달리 링크의 실패를 주어서 라우팅 테이블의 변화에 관하여 알아
보고자 한다 .
1. Scenarios 메뉴의 Duplicate Scenario 선택 이름은 Failure 라고 입력 OK 클릭
2. Object Palette 를 연다 .
3. internet_toolbox 부분을 클릭하여 utilities 를 선택 Failure Recovery 를 작업공간에
추가하고 이름을 Failure 로 변경 Object Palette 닫음
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 156
Duplicate the Scenario
시나리오 복사
4. Failure 노드 선택 후 마우스 오른쪽 버튼 클릭 Edit Attributes Link
Failure/Recovery Specification Edit Rows 를 1 로 선택 아래의 오른쪽 그림과 같
이 설정 (Campus Network.Router1 <–> Router2, Time=200)
5. OK 클릭 후 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 157
Run the Simulation
시뮬레이션 실행
1. Scenarios 메뉴 Manage Scenarios 선택
2. Results 부분을 각 시나리오마다 클릭하여 <collect>( 또는 recollect) 로 변경
3. OK 클릭 두 개의 시뮬레이션이 수행됨
4. 두 개의 시뮬레이션이 끝나면 Close 클릭 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 158
View the Results
결과 보기
1. Results 메뉴 Compare Results 선택
2. Statistics Stacked 로 변경
3. Router1 의 Total Number of Updates 를 선택
4. Show 를 클릭 ( 결과는 다음 장에서… )
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 159
View the Results
결과 보기
4. Show 클릭 시 아래의 왼쪽과 같이 나옴 각 그래프 위에서 마우스 오른쪽 버튼 클
릭 Draw Style 에서 Bar 를 선택 아래의 오른쪽 그림으로 변경됨
[ 해설 ] : 시나리오 2 에서 링크의 Fail 로 인하여 테이블 업데이트가 이루어졌다 .
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 160
View the Results
IP 주소들 간의 상호 인터페이스 정보
1. File 메뉴에서 Model Files Refresh Model Directories ( 디렉터리들을 찾아 파일들의
목록을 업데이트하기 위함 )
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 161
View the Results
IP 주소들 간의 상호 인터페이스 정보
2. File 메뉴에서 Open 클릭 드롭 - 다운 메뉴에서 Generic Data File 선택 < 자신의
이니셜 >_RIP-NO_Failure-ip_addresses 파일선택 OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 162
View the Results
IP 주소들 간의 상호 인터페이스 정보
3. 아래와 같은 내용이 보임
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 163
View the Results
라우팅 테이블들의 내용 비교
1. Results 메뉴에서 Open Simulation Log Classes IP Route Table Router1 의
Message 필드 클릭 ( 아래 그림은 No_Failure 시나리오의 Router1)
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 164
View the Results
라우팅 테이블들의 내용 비교
다른 시나리오에 대해서도 이전과 동일한 과정 수행 ( 아래 그림은 Failure 시나리오
의 Router1)
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 165
Questions
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 166
7. OSPF
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 168
Overview
OSPF Overview
OSPF introduces another layer of hierarchy into routing by allowing a domain to be
partitioned into areas router within a domain does not necessarily need to know
how to reach every network within that domain—it may be sufficient for it to know
how to get to the right area.
There is a reduction in the amount of information that must be transmitted to and
stored in each node.
OSPF allows multiple routes to the same destination to be assigned the same cost
and will cause traffic to be distributed evenly over those routers
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 169
Create a New Project
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 170
Create and configure the Network
네트워크 초기화
1. 열려 있는 Object Palette 에서
“ internet_toolbox” 를 “ routers” 로 변
경 8 개의 slip8_gtwy 를 작업공간
에 삽입하여 뒷장과 같이 배열
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 171
Create and configure the Network
네트워크 초기화
a. 앞장에서의 설명과 같이 8 개의 라우터들을 배열한 후 , 라우터의 이름을 아래
의 그림처럼 변경한다 . (RouterA 부터 RouterH 까지 차례대로 )
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 172
Create and configure the Network
네트워크 초기화
2. Object Palette 에서 “ routers” 를
“ internet_toolbox” 로 재변경한 후
PPP_DS3 링크로 라우터들을 연결
( 아래 그림 참조 ) Object Palette 닫
음
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 173
Create and configure the Network
네트워크 초기화
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 174
Create and configure the Network
Link Costs 설정
1. 아래의 그래프와 같이 링크의 값을 설정할 필요가 있다 .
5 5
A D F
10
10
5
20
20
20 5 5 10
B C E G H
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 175
Create and configure the Network
Link Costs 설정
2. 옵넷 라우터 모델들은 실질적인 비용 (cost) 을 계산하기 위한 reference bandwidth
라는 파라미터를 제공해준다 .
Cost = (Reference bandwidth) / (Link bandwidth)
* 디폴트 값은 1,000,000Kbps 임
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 176
Create and configure the Network
Link Costs 설정
비용 20 에 해
당하는 3 개의
링크를 선택
Protocols 메뉴
IP Routing
Configure
Interface Metric
Information...
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 177
Create and configure the Network
Link Costs 설정
여기에서 비용이 20 인 링크들의 대역
폭은 오른쪽 그림과 같이 설정
Interfaces across selected links 선택
Bandwidth (Kbps) 에 50,000 을 할당
같은 방법으로 비용이 10 인 링크들 (3
개 ) 을 선택하여 100,000 을 할당
같은 방법으로 비용이 5 인 링크들 (5
개 ) 을 선택하여 200,000 을 할당
프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 178
Create and configure the Network
Traffic Demands 설정
1. RouterA 와
RouterC 를 선택
Protocols 메뉴 IP
Configure Traffic
Conversation among
Selected Nodes ( 왼쪽
그림 참조 )
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 179
Create and configure the Network
Traffic Demands 설정
a. 아래 그림과 같이 값 ( 각각 100, 1000, 3600) 을 입력한 후 OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 180
Create and configure the Network
Traffic Demands 설정
* 아래 그림과 같이 나올 경우 Continue 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 181
Create and configure the Network
Traffic Demands 설정
변경 사항 없이 OK
클릭 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 182
View the Results
Traffic Demands 설정
1. RouterB 와 RouterH 를 선택
Protocols 메뉴 IP
Configure Traffic Conversation
among Selected Nodes… 클릭
2. 이전의 과정과 동일한 값
( 각각 100, 1000, 3600) 을 입
력한 후 OK 클릭 Continue
클릭 OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 183
Create and configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 184
Create and configure the Network
라우팅 프로토콜과
주소들의 설정
3. Protocols 메뉴
IP Visualize
Routing Domains
클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 185
Create and configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 186
Configure the Simulation
시뮬레이션 설정
1. Duration 을 10
minute(s) 으로 설정
한 후 OK 클릭
2. 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 187
Duplicate the Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 188
Duplicate the Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 189
Duplicate the Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 190
Duplicate the Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 191
Duplicate the Scenario
OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 192
Duplicate the Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 193
Duplicate the Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 194
Duplicate the Scenario
4. OK 후 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 195
Run the Simulation
시뮬레이션 수행
1. Scenarios 메뉴 Manage Scenarios 세 개의 시나리오가 “ saved” 임을 확인 ( 만약
저장되지 않았다면 해당 시나리오로 가서 저장한 후 실행 ) Results 항목을 <collect>
로 변경 ( 이를 위해 옵넷 8.1 버전에서는 3 개의 시나리오를 각각 선택한 후 아래의 “
Collect Results” 버튼을 클릭해야 함 )
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 196
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 197
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 198
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 199
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 200
Questions
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 201
8. TCP
목적
This lab is designed to demonstrate the congestion control algorithms implemented
by the Transmission Control Protocol (TCP).
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 203
Overviews (2/3)
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 204
Overviews (3/3)
Slow start
increases the congestion window “rapidly” from a cold start in TCP connections
increases the congestion window exponentially, rather than linearly
TCP utilizes a mechanism called fast retransmit and fast recovery
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 205
Create a New Project
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 206
Create and Configure the Network
네트워크 초기화
1. Object Palette 가 닫혔을 경우에는 오픈
2. Application Config, Profile Config, ip32_cloud, 두 개의 subnet 을 작업공간에 삽입
3. 객체들의 이름을 차례대로 변경 (Applications, Profiles, USA Internet, West, East)
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 207
Create and Configure the Network
Applications 의 설정
1. Applications 노드 선택 후 Edit Attributes Application Definitions Edit…
Rows 를 1 로 지정 확장된 행의 Name 은 FTP_Application 이라고 직접 입력
a. Description 칼럼 Edit... Ftp 의 Edit… Inter-Request Time 의 Value 칼럼을
클릭 Special Value 를 “ Not Used” 로 변경한 후 아래 그림처럼 Distribution
Name: constant, Mean Outcome: 3600 OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 208
Create and Configure the Network
Applications 의 설정
2. (Ftp) Table 상자에서 File Size (bytes) 의 Value 칼럼을 클릭 Special Value: Not
Used, Distribution Name: constant, Mean Outcome: 10000000 OK OK OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 209
Create and Configure the Network
Profiles 의 설정
1. Profiles 노드 선택 Edit Attributes Profiles Configuration Edit… Rows 를 1
로 지정 Profile Name 에 FTP_Profile 이라고 직접 입력 Applications 칼럼 Edit...
Name 에서 FTP_Application 선택 , Start Time Offset (seconds) 는 constant (5) 로 설정 ,
Duration (seconds) 은 End of Profile 확인 , Repeatability 는 Once at Start Time 으로 변경
OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 210
Create and Configure the Network
Profiles 의 설정
2. (Profile Configuration) Table 상자에서 Start Time (seconds) 를 constant (100) 으로 설
정 , Duration (seconds) 는 End of Simulation 확인 , Repeatability 는 Once at Start Time 확
인 OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 211
Create and Configure the Network
West Subnet 의 설정
1. West 서브넷 노드를 더블클릭 , 2. Object Palette 를 오픈
3. ethernet_server 와 ethernet4_slip8_gtwy 를 작업공간에 넣고 100_BaseT 링크로 연결
노드의 이름을 각각 Server_West 와 Router_West 로 변경
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 212
Create and Configure the Network
West Subnet 의 설정
4. Server_West 노드 Edit Attributes
a. Application: Supported Services 를 Edit… Rows 를 1 로 지정 Name 을
FTP_Application 으로 지정 OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 213
Create and Configure the Network
West Subnet 의 설정
b. Server Address 를 Edit… Server_West 라고 직접 입력
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 214
Create and Configure the Network
West Subnet 의 설정
c. TCP_Parameters 를 Edit... Fast Retransmit 와 Fast Recovery 를 둘 다 Disabled
로 변경 OK
OK 클릭 후 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 215
Create and Configure the Network
East Subnet 의 설정
아래의 그림처럼 빨간 단추를 클릭하여 상위 레벨로 이동
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 216
Create and Configure the Network
East Subnet 의 설정
1. East 서브넷 노드를 더블클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 217
Create and Configure the Network
East Subnet 의 설정
2. Object Palette 가 닫혀 있다면 다시 오픈
3. ethernet_wkstn, ethernet4_slip8_gtwy 를 추가하고 양방향 100_BaseT 링크로 연결
각각의 노드 이름을 Router_East 와 Client_East 로 변경
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 218
Create and Configure the Network
East Subnet 의 설정
4. Client_East 노드를 Edit Attributes
a. Application: Supported Profiles 를 Edit Rows 를 1 로 지정 Profile Name 을
FTP_Profile 로 선택 OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 219
Create and Configure the Network
East Subnet 의 설정
b. Client Address 를 Edit... 하여 Client_East 라고 직접 입력 반드시 OK 를 클릭
하여 닫은 후 다시 Client_East 노드를 선택하여 Edit Attributes 아래의 c 항목
을 설정
c. Application: Destination Preferences 를 Edit… Rows 를 1 로 지정 Symbolic
Name 은 FTP Server 를 선택 Actual Name 은 클릭하여 Rows 에 1 을 입력
Name 을 클릭하여 Server_West 선택 OK OK OK 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 220
Create and Configure the Network
East Subnet 의 설정
참고로 , 아래 그림은 이전의 설정 과정을 표현한 것임
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 221
Create and Configure the Network
East Subnet 의 설정
아래의 그림처럼 빨간 버튼을 클릭하여 상위 레벨로 이동
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 222
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 223
Choose the Statistics
West 서브넷에서의 설정
1. West 서브넷 안에서 Server_West 를 선택한 상태에서 Choose Individual Statistics 선
택
2. TCP Connection Congestion Window Size (bytes) 와 Sent Segment Sequence Number
두 개를 체크
3. Congestion Window Size (bytes) 위에서 마우스 오른쪽 버튼 클릭 Change Collection
Mode Advanced 체크 후 Capture mode 를 all values 로 변경 OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 224
Choose the Statistics
West 서브넷에서의 설정
4. Sent Segment Sequence Number 위에서 마우스 오른쪽 버튼 클릭 Change Collection
Mode Advanced 체크 후 Capture mode 를 all values 로 변경 OK
5. OK 클릭 상위 레벨로 이동
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 225
Configure the Simulation
시뮬레이션의 설정
1. (Configure Simulation) 을 클릭
2. 아래의 그림과 같이 Duration 을 10.0 minutes 로 설정
3. OK 클릭 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 226
Duplicate the Scenario
시나리오 복사
1. Scenarios 메뉴 Duplicate Scenario Scenario Name 은 Drop_NoFast OK
2. IP Cloud Edit Attributes Packet Discard Ratio 를 Edit... 0.05% 로 수정 OK
클릭 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 227
Duplicate the Scenario
시나리오 복사
3. Drop_NoFast 시나리오에서 Scenarios 메뉴 Duplicate Scenario Scenario Name
은 Drop_Fast 로 입력
4. Drop_Fast 시나리오에서 West 서브넷 안으로 이동 Server_West 선택 후 Edit
Attributes TCP Parameters 를 Edit… Fast Retransmit 을 Enabled 로 변경 , Fast
Recovery 를 Reno 로 변경 OK OK 상위 레벨로 이동 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 228
Run the Simulation
시뮬레이션 실행
1. Scenarios 메뉴 Manage Scenarios Saved 항목이 모두 saved 상태인지 확인
Results 항목을 모두 <collect> 로 변경
2. OK 를 클릭하여 3 개의 시뮬레이션을 수행 끝나면 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 229
View the Results
결과 보기
1. Drop_NoFast 시나리오로 이동 Results 메뉴의 View Results 아래 그림과 같이
Object Statistics > Choose From Maps Network > West > Server_West > TCP Connection 아
래의 항목 2 개를 모두 선택 Stacked Statistics, As Is, This Scenario Show 버튼 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 230
View the Results
결과 보기
2. 그래프 부분만 마우스로 드래그하여 선택 확대됨
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 231
View the Results
결과 보기
3. 현재의 View Results 창을 닫고 , 다시 Results 메뉴의 Compare Results 를 선택 이
전과 마찬가지로 Object Statistics 계층을 모두 확장하여 Sent Segment Sequence
Number 를 선택 Statistics Overlaid, As Is, All Scenario Show 버튼 클릭 그래프 확
대
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 232
Questions
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 233
9. Queuing Disciplines
Scheduling Algorithm
FIFO (First-In First-Out)
PQ (Priority Queuing) = SPQ (Strict Priority Queuing)
FQ (Fair Queuing)
WRR (Weighted Round Robin) = Class Based Queuing (CBQ)
WFQ (Weighted Fair Queuing) = Weighted Bit-by-Bit Round Robin
DWRR (Deficit Weighted Round Robin)
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 235
Overview (2/7)
Source : Netmanias.com
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 236
Overview (3/7)
Source : Netmanias.com
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 237
Overview (4/7)
FQ (Fair Queuing)
여러 개의 FIFO 큐를 사용 , 각각의 큐는 하나의 트래픽 클래스와 매핑
모든 큐가 동일한 우선순위를 가짐
starvation 현상이 발생하지 않음
공정성 (fairness) 만 감안하여 차등화된 서비스 제공 불가
Source : Netmanias.com
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 238
Overview (5/7)
Source : Netmanias.com
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 239
Overview (6/7)
Source : Netmanias.com
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 240
Overview (7/7)
Source : Netmanias.com
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 241
Create a New Project
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 242
Create and Configure the Network
네트워크 초기화
1. Object Palette 가 닫혔을 경우에는 오픈
2. Object Palette 에서 Application Config, Profile Config, QoS Attribute Config, 5 개의
ethernet_wkstn, 1 개의 ethernet_server, 2 개의 ethernet4_slip8_gtwy 를 작업 공간에 삽입
( 아래 그림 참조 )
3. 추가한 2 개의 ethernet_slip8_gtwy 를 양방향 PPP_DS1 링크로 연결
4. 나머지 ethernet_wkstn 들과 ethernet_server 는 각 라우터에 10BaseT 링크로 연결
5. 각 노드의 이름을 아래와 같이 변경
Applications, Profiles, Queues,
FTP Client, FTP Server
Video Client, Video Server
VoIP West, VoIP East
West Router, East Router
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 243
Create and Configure the Network
Applications 의 설정 (1/4)
1. Applications 선택 후 마우스 오른쪽 버튼 클릭 Edit Attributes Application
Definitions Rows 를 3 으로 설정 각 행의 Name 을 FTP Application, Video
Application, VoIP Application 으로 입력
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 244
Create and Configure the Network
Applications 의 설정 (2/4)
a. FTP Application 의 Description 을 Edit... Ftp 의 Value 에서 High Load 선택
다시 Ftp 의 Value 를 Edit.. Inter-Request Time 에 constant(10) 으로 설정 , File
Size 는 constant(1000000) 으로 설정 , Type of Service (ToS) 는 Best Effort (0) 인지
확인 OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 245
Create and Configure the Network
Applications 의 설정 (3/4)
b. Video Application 의 Description 을 Edit... Video Conferencing 에 Low
Resolution Video 선택 다시 Edit.. Type of Service 의 Value 칼럼을 클릭 ToS
에 Streaming Multimedia (4) 를 선택 OK OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 246
Create and Configure the Network
Applications 의 설정 (4/4)
c. VoIP Application 의 Description 을 Edit... Voice 에 PCM Quality Speech 로 설
정 ( 참고로 , Edit... 를 선택해 보면 ToS 는 Interactive Voice (6) 으로 설정되어 있
을 것임 ) OK OK
2. OK 클릭 후 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 247
Create and Configure the Network
Profiles 의 설정 (1/3)
1. Profiles 를 Edit Attributes Profile Configuration 을 Edit... Rows 를 3 으로 설정
a. 첫 행의 Profile Name 에 FTP Profile 을 입력 Applications 칼럼 Edit...
Name 은 FTP Application 선택 , Start Time Offset 은 constant(5), Duration 은 End of
Simulation, Repeatability 는 Once at Start Time OK (Profile Configuration) Table
에서 Operation Mode 는 Simultaneous, Start Time (seconds) 은 constant(100) 으로 설
정 OK
1 2
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 248
Create and Configure the Network
Profiles 의 설정 (2/3)
b. (Profiles Configuration) Table 의 두 번째 행 Name 을 Video Profile 로 입력
Applications 칼럼 Edit... Name 은 Video Application 선택 , Start Time Offset 은
constant(5), Duration 은 End of Simulation, Repeatability 는 Once at Start Time OK
(Profile Configuration) Table 에서 Operation Mode 는 Simultaneous, Start Time
(seconds) 은 constant(100) 으로 설정 OK
1 2
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 249
Create and Configure the Network
Profiles 의 설정 (3/3)
c. (Profiles Configuration) Table 의 세 번째 행 Name 을 VoIP Profile 로 입력
Applications 칼럼 Edit... Name 은 VoIP Application 선택 , Start Time Offset 은
constant(5), Duration 은 End of Simulation, Repeatability 는 Once at Start Time OK
(Profile Configuration) Table 에서 Operation Mode 는 Simultaneous, Start Time
(seconds) 은 constant(100) 으로 설정 OK
2. OK OK 프로젝트 저장
1 2
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 250
Create and Configure the Network
Queues 의 설정
이미 정의되어 있는 디폴트 큐잉 프로파일을 사용할 것임
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 251
Create and Configure the Network
Workstations 와 Servers 의 설정
1. FTP Client 를 Edit Attributes Application: Supported Profiles Rows 를 1 로 설정
Profile Name 은 FTP Profile OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 252
Create and Configure the Network
Workstations 와 Servers 의 설정
2. Video Client 를 Edit Attributes Application: Supported Profiles Rows 를 1 로 설정
Profile Name 은 Video Profile OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 253
Create and Configure the Network
Workstations 와 Servers 의 설정
3. VoIP West 를 Edit Attributes
a. Application: Supported Profiles Rows 에 1 Profile Name 은 VoIP Profile
OK
b. Application: Supported Services Rows 에 1 Name 은 VoIP Application OK
OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 254
Create and Configure the Network
Workstations 와 Servers 의 설정
4. VoIP East 를 Edit Attributes
a. Application: Supported Profiles Rows 에 1 Profile Name 은 VoIP Profile
OK
b. Application: Supported Services Rows 에 1 Name 은 VoIP Application OK
OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 255
Create and Configure the Network
Workstations 와 Servers 의 설정
5. FTP Server 를 Edit Attributes Application: Supported Services 를 Edit... Rows 를 1
로 설정 Name 은 FTP Application 선택 OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 256
Create and Configure the Network
Workstations 와 Servers 의 설정
6. Video Server 를 Edit Attributes Application: Supported Services 를 Edit... Rows 를
1 로 설정 Name 은 Video Application 선택 OK OK
7. 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 257
Create and Configure the Network
Routers 의 설정
1. East Router 와 West Router 를 동시에 선택 Edit Attributes 반드시 Apply
Changes to Selected Objects 체크 IP Routing Parameters Interface Information IF10
행의 QoS Information 을 Edit... QoS Scheme 은 FIFO, QoS Profile 은 FIFO Profile 로
설정 OK OK OK OK
2. 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 258
Create and Configure the Network
Routers 의 설정
앞장 설명 그림
4 3
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 259
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 260
Configure the Simulation
시뮬레이션의 설정
1. 클릭하여 duration 을 150 second(s) 로 설정 OK
2. 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 261
Duplicate the Scenario
시나리오 복사 및 설정
1. Scenarios 메뉴 Duplicate Scenario Name 은 PQ 로 설정
2. West Router 와 East Router 를 동시에 선택 Edit Attributes 반드시 Apply
Changes to Selected Objects 체크
3. IP Routing Parameters Interface Information IF10 행의 QoS Information 을 Edit...
QoS Scheme 은 Priority Queuing, QoS Profile 은 ToS Based 로 설정 OK OK
OK OK
4. 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 262
Duplicate the Scenario
PQ 시나리오 설정
앞장 설명 그림
4
3
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 263
Duplicate the Scenario
WFQ 시나리오 복사 및 설정
1. Scenarios 메뉴 Duplicate Scenario Name 은 WFQ 로 설정
2. West Router 와 East Router 를 동시에 선택 Edit Attributes 반드시 Apply
Changes to Selected Objects 체크 IP Routing Parameters Interface Information IF10
행의 QoS Information 을 Edit... QoS Scheme 은 WFQ, QoS Profile 은 ToS Based 로
설정 OK OK OK OK
3. 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 264
Run the Simulation
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 265
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 266
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 267
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 268
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 269
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 270
Questions
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 271
10. RSVP
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 273
Overview
QoS 제공 서비스 모델
IntServ (Integrated Service, 통합형 서비스 )
Guaranteed Service
Controlled Load Service
DiffServ (Differentiated Service, 차등화 서비스 )
Premium Service
Assured Service
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 274
Overview
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 275
Overview
RSVP Signaling
RSVP Cloud
sender receiver
(6) RESV (5) RESV (4) RESV
downstream
upstream
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 276
Create a New Project
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 277
Create and Configure the Network
VoIP 노드 추가
1. VoIP East 노드 Edit Attributes name 을 Voice Called 로 변경
Application: Supported Profiles 를 None 으로 변경 Client Address 를 Voice
Called 로 변경 OK 클릭
2. VoIP West 노드 Edit Attributes
a. name 을 Voice Caller 로 변경
b. Application: Supported Services 를 None 으로 변경
c. Application: Destination Preferences Edit... Rows 에 1 Symbolic
Name 에서 Voice Destination 을 선택 Actual Name 의 칼럼을 클릭
Rows 에 1 Name 은 Voice Called 를 선택
d. OK OK OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 278
Create and Configure the Network
VoIP 노드 추가
앞 장의 설명 1 에 해당하는 그림
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 279
Create and Configure the Network
VoIP 노드 추가
앞 장의 설명 2 에 해당하는 그림
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 280
Create and Configure the Network
VoIP 노드 추가
3. Voice Called 노드 선택 Edit 메뉴에서 Copy Edit 메뉴에서 Paste 아래 그림
과 같이 배치 (10BaseT 링크를 사용하여 East Router 에 연결 ) 새 노드를 Edit
Attributes model 의 ethernet_wkstn 을 클릭 Edit... ethernet_wkstn_adv 로 변경
name 은 Voice_RSVP Called 로 설정 Client Address 를 Voice_RSVP Called 로 설정
OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 281
Create and Configure the Network
VoIP 노드 추가
앞 장의 설명 3 에 해당하는 그림
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 282
Create and Configure the Network
VoIP 노드 추가
4. Voice Caller 노드를 선택 후 Ctrl+C Ctril+V Voice Caller 노드 아래에 배치한
후 10BaseT 링크를 이용하여 West Router 에 연결
5. 새로 생성한 노드 선택 Edit Attributes model 의 ethernet_wkstn 을 클릭
Edit... ethernet_wkstn_adv 선택 name 을 Voice_RSVP Caller 로 변경
Application: Destination Preferences 의 Actual Name 클릭 Name 에 Voice_RSVP
Called 선택 OK OK OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 283
Create and Configure the Network
VoIP 노드 추가
앞 장의 설명 5 중에서 Application: Destination Preferences 를 설정하는 그림
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 284
Create and Configure the Network
VoIP 노드 추가
6. Queues 노드 선택 Set Name 클릭 Name 를 QoS 로 변경
7. 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 285
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 286
Create and Configure the Network
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 287
Create and Configure the Network
Application 의 설정
1. Applications 노드 Edit Attributes Application Definitions 를 Edit... Rows 에 3
인 것을 4 로 변경 ( 새로운 4 번째 행이 추가됨 ) Name 은 VoIP_RSVP 라고 입력
Description 을 Edit... Voice 를 PCM Quality Speech 로 설정 다시 클릭하여 Edit...
RSVP Parameters 를 Edit... RSVP Status: Enabled, Outbound Flow: RSVP_Flow,
Inbound Flow: RSVP_Flow 로 설정 OK OK OK OK OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 288
Create and Configure the Network
Application 의 설정
앞 장의 설명에 해당하는 그림
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 289
Create and Configure the Network
Application 의 설정
이전 그림 계속
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 290
Create and Configure the Network
Profile 설정 (1/2)
1. Profiles 노드 Edit Attributes Profile Configuration 을 Edit... Rows 에 4
Name 은 VoIP_RSVP Profile 이라고 입력 Applications 칼럼 Edit... Name 은
VoIP_RSVP 선택 , Start Time Offset 은 constant (5), Repeatability 는 Once at Start Time
OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 291
Create and Configure the Network
Profile 설정 (2/2)
2. Operation Mode 는 Simultaneous, Start Time (seconds) 은 constant(100) 으로 설정
OK OK 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 292
Create and Configure the Network
인터페이스 설정
1. 라우터 2 개를 동시에 선택 Edit Attributes
2. Apply Changes to Selected Objects 체크
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 293
Create and Configure the Network
인터페이스 설정
3. IP Routing Parameters 의 Value 칼럼 클릭 Interface Information 의 Value 칼럼 클
릭 IF3 의 QoS Information 을 Edit... Queuing Scheme 은 WFQ, Queuing Profile 은
ToS Based, RSVP Info 는 RSVP Enabled 로 설정 OK IF10 도 IF3 과 동일하게 설
정 OK OK OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 294
Configure the Hosts and Routers
Voice_RSVP Caller 설정
1. Voice_RSVP Caller 노드 Edit Attributes
a. Application: Supported Profiles 를 Edit... Profile Name 은 VoIP_RSVP Profile
선택 OK
b. Application: RSVP Parameters 를 Edit... Voice 를 Edit... RSVP Status 를
Enabled 로 변경 Profile List 를 Edit... Profile 을 Edit... 하여 RSVP_Profile 을
입력
OK OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 295
Configure the Hosts and Routers
Voice_RSVP Caller 설정
앞 장의 설명에 대한 그림
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 296
Configure the Hosts and Routers
Voice_RSVP Caller 설정
2. (Voice_RSVP Caller) Attributes 에서 IP Host Parameters 의 Value 칼럼을 클릭
Interface Information 의 Value 칼럼을 클릭 QoS Information 을 Edit... Queuing
Scheme 은 WFQ, Queuing Profile 은 ToS Based, RSVP Info 는 RSVP Enabled 로 설정
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 297
Configure the Hosts and Routers
Voice_RSVP Caller 설정
3. 앞의 과정 후 , 즉 RSVP Info 를 Enabled 로 바꾼 상태에서 다시 Edit... 다음 장
계속
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 298
Configure the Hosts and Routers
Voice_RSVP Caller 설정
4. 아래 그림 (Enabled, 75%, 75%) 과 같은지 검사 후 다르면 동일하게 설정 OK 다
섯 번 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 299
Configure the Hosts and Routers
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 300
Configure the Hosts and Routers
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 301
Configure the Hosts and Routers
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 302
Configure the Hosts and Routers
East Router 설정
1. East Router 노드 Edit Attributes
a. model 의 ethernet4_slip8_gtwy 를 Edit... ethernet4_slip8_gtwy_adv 로 변경
b. RSVP Protocol Parameters 를 Edit... 확인
c. IP Routing Parameters 의 Value 칼럼을 클릭 Interface Information 의 Value 칼
럼을 클릭 IF10 의 QoS Information 을 Edit... Queuing Scheme 은 WFQ,
Queuing Profile 은 ToS Based, RSVP Info 는 RSVP Enabled 인지 확인 RSVP Info
를 다시 Edit... 하여 각각이 Enabled, 75%, 75% 인지 확인
d. 모두 OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 303
Configure the Hosts and Routers
East Router 설정
앞 장의 설명에 해당하는 그림
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 304
Configure the Hosts and Routers
West Router 설정
1. West Router 노드 Edit Attributes
a. model 의 ethernet4_slip8_gtwy 를 Edit... ethernet4_slip8_gtwy_adv 로 변경
b. RSVP Protocol Parameters 를 Edit... 확인
c. IP Routing Parameters 의 Value 칼럼을 클릭 Interface Information 의 Value 칼
럼을 클릭 IF10 의 QoS Information 을 Edit... Queuing Scheme 은 WFQ,
Queuing Profile 은 ToS Based, RSVP Info 는 RSVP Enabled 인지 확인 RSVP Info
를 다시 Edit... 하여 각각이 Enabled, 75%, 75% 인지 확인
d. 모두 OK 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 305
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 306
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 307
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 308
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 309
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 310
Configure the Simulation
Simulation
1. 를 클릭 Duration 을 150 seconds 로 지정 RSVP Sim Efficiency 를 Enabled
로 지정 OK 클릭 프로젝트 저장
2. 를 다시 클릭 Run 버튼을 클릭하여 시뮬레이션 수행
3. 끝나면 Close 버튼 클릭 후 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 311
View the Results
결과 보기
Statistics Overlaid, time_average, This Scenario 선택 후
Object Statistics > Campus Network > Voice Caller > Voice Calling Party > Packet End-
to-End Delay (sec) 체크
Object Statistics > Campus Network > Voice_RSVP Caller > Voice Calling Party >
Packet End-to-End Delay (sec) 체크
Show 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 312
View the Results
결과 보기
앞의 과정과 유사하게
Voice Caller 와 Voice_RSVP Caller 에 대한 Packet Delay Variation 비교
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 313
View the Results
결과 보기
Statistics Stacked, As Is, This Scenario 선택 후
Object Statistics > Campus Network > Voice_RSVP Called > RSVP > Number of Resv
States 체크
Object Statistics > Campus Network > Voice_RSVP Caller > RSVP > Number of Path
States 체크
Show 클릭 ( 결과 그래프는 확대한 것임 )
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 314
Questions
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 315
11. Firewalls and VPN
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 317
Overview (2/7)
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 318
Overview (3/7)
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 319
Overview (4/7)
VPN 구축의 이점
첫째 : 본사와 지사 , 지사와 지사간 전용선을 직접 연결하는 대신 , 단지 인
터넷 접속만을 위한 전용선을 설치하기 때문에 고가의 전용선의 대여 비용이
대폭 감소된다 .
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 320
Overview (5/7)
No-Firewall situation
두 Sales A 와 Sales B 사이트들은 , E- 메일 , 웹 브라우징과 같은 서비스를 통해 서버
의 데이터 베이스 액세스 접속을 하게 된다 .
방화벽이 없는 상태이므로 접근이 허용된다 .
Router A Sales A
Server Router C
Internet
Sales B
Router B
No-Firewall situation
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 321
Overview (6/7)
Firewall situation
만약 서버의 데이터 베이스를 외부 접속으로부터 보호해야 하는 상황이라고 가정
할 경우 Router C 를 하나의 방화벽으로 교체한다 . 이때 Sales A 와 Sales B 의 접근
을 차단하게 된다 .
Router A Sales A
Server Router C
Internet
Sales B
Router B
Router D
Firewall situation
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 322
Overview (7/7)
Firewall-VPN situation
Sales A 사이트의 사람들은 서버 데이터베이스에 접근을 허용한다고 가정한다 .
가상터널은 Sales A 가 서버에게 데이터 베이스 서비스 요청을 할 때 사용된다 .
이때 , IP packet 들은 터널 속에서 IP datagram 속에서 캡슐화 되어지기에 Sales A 에
서 생성된 트래픽은 방화벽이 필터 하지 않는다 .
Router A Sales A
Server Router C
Internet
Sales B
Router B
Router D
Firewall-VPN situation
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 323
Create a New Project
새로운 프로젝트 생성
1. File 메뉴 New Project OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 324
Create a New Project
새로운 프로젝트 생성
2. Project Name 은 < 자신의이름이니셜 >_VPN, Scenario Name 은 NoFirewall OK
3. Startup Wizard 는 Quit 클릭
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 325
Create a New Project
새로운 프로젝트 생성
4. 백그라운드 그림을 없애기 위해서 View 메뉴 Background Set Border Map
선택 Choose Border Map 에서 드롭다운 NONE 선택 OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 326
Create and Configure the Network
네트워크 초기화
1. Object Palette 오픈 internet_toolbox 가 선택되어 있는지 획인
2. Object Palette 에서 Application Config, Profile Config, ip32_cloud, ppp_server, 세 개의
ethernet4_slip8_gtwy, 두 개의 ppp_wkstn 을 그림과 같이 배치 PPP_DS1 링크로 모든
객체들을 연결
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 327
Create and Configure the Network
네트워크 초기화
3. 객체들의 이름을 차례대로 변경 (Applications, Profiles, Internet, Server, Router A,
Router B, Router C, Sales A, Sales B)
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 328
Create and Configure the Network
노드 설정
1. Applications Edit Attributes Application Definitions 를 Default 로 변경 OK
2. Profiles Edit Attributes Profiles Configuration 을 Sample Profiles 로 변경 OK
3. Server Edit Attributes Application: Supported Services 를 All 로 변경 OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 329
Create and Configure the Network
노드 설정
4. Sales A 를 선택한 상태에서 마우스 오른쪽 버튼 Select Similar Nodes 클릭
(Sales A 와 Sales B 가 선택됨 )
a. Sales A 노드 위에서 Edit Attributes Apply Changes to Selected Objects 를 반
드시 체크
b. Application: Supported Profiles 를 Edit... Rows 를 1 Profile Name 은 Sales
Person 선택 OK OK
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 330
Create and Configure the Network
노드 설정
이전 장의 설명에 대한 그림임
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 331
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 332
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 333
Choose the Statistics
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 334
The Firewall Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 335
The Firewall Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 336
The Firewall Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 337
The Firewall_VPN Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 338
The Firewall_VPN Scenario
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 339
The Firewall_VPN Scenario
VPN 설정
VPN 노드 Edit Attributes
a. VPN Configuration 을 Edit... Rows 에 1 Tunnel Source Name 을 Edit 하여
Router A 라고 입력 , Tunnel Destination Name 을 Edit 하여 Router D 라고 입력
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 340
The Firewall_VPN Scenario
VPN 설정
b. Remote Client List 를 Edit Rows 에 1 Client Node Name 을 Edit 하여 Sales
A 라고 입력 OK OK OK
c. 프로젝트 저장
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 341
Run the Simulation
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 342
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 343
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 344
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 345
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 346
View the Results
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 347
Questions
Communication Systems Lab, Dept. of Computer Engineering, Changwon National University 348