现代交换技术课程设计
实验报告
指导教师:卢燕飞
软交换IP电话的实现
1.1实验目的:
如图1-1所示,需完成的实验目的如下: (1) 电话1和电话2通话; (2) 电话3和电话1,2通话; (3) Netmeeting和其它电话通话; (4) 利用wireshark软件分析其中的相关协议。
图1-1
1.2实验步骤:
按图1-2所示,连接电脑、路由器、电话和交换机,并配置各端口地址,保证连通性:
1-2
图如图1-3所示,按照框图顺序进行操作,配置对应语音实体:
图1-3
1.3程序代码:
所设置的IP地址、语音实体、电话号码,如图1-2所示: 具体配置的程序如下: 路由器1:
interface Ethernet0/0 port link-mode route
ip address 192.168.2.1 255.255.255.0 interface Serial0/0 link-protocol ppp
ip address 192.168.4.1 255.255.255.0 voice-setup
undo voip h323-conf tcs-t38 entity 8 voip
address ip 192.168.4.2 match-template 8...
compression 1st-level g723r63 entity 9 pots line 1/0
match-template 9
compression 1st-level g723r63 entity 11 voip
address ip 192.168.4.2 match-template 11
compression 1st-level g723r63
ip route-static 192.168.3.0 255.255.255.0 192.168.4.2
路由器2:
interface Ethernet0/0 port link-mode route
ip address 192.168.3.1 255.255.255.0 interface Serial0/0 link-protocol ppp
ip address 192.168.4.2 255.255.255.0 voice-setup
undo voip h323-conf tcs-t38 entity 9 voip
address ip 192.168.4.1 match-template 9
compression 1st-level g723r63 entity 55 voip
address ip 192.168.2.5 match-template 8885
compression 1st-level g723r63 entity 96 voip
address ip 192.168.4.1 match-template 96
compression 1st-level g723r63 entity 8886 voip
address ip 192.168.3.5 match-template 8886
compression 1st-level g723r63 entity 8888 pots line 1/0
match-template 8888
compression 1st-level g723r63 entity 8889 pots line 1/1
match-template 8889
compression 1st-level g723r63
ip route-static 192.168.2.0 255.255.255.0 192.168.4.1
1.4协议分析:
利用Wireshark软件,进行对H.323协议的捕捉与分析,所得协议及分析如下: H.323信令流程分析流程如图1-4及图1-5所示:
图1-4
图1-5