换个法子看电影eNSP的组播功能模拟实验.doc

上传人:豆**** 文档编号:33556865 上传时间:2022-08-11 格式:DOC 页数:10 大小:287.50KB
返回 下载 相关 举报
换个法子看电影eNSP的组播功能模拟实验.doc_第1页
第1页 / 共10页
换个法子看电影eNSP的组播功能模拟实验.doc_第2页
第2页 / 共10页
点击查看更多>>
资源描述

《换个法子看电影eNSP的组播功能模拟实验.doc》由会员分享,可在线阅读,更多相关《换个法子看电影eNSP的组播功能模拟实验.doc(10页珍藏版)》请在得力文库 - 分享文档赚钱的网站上搜索。

1、一、下载eNSP和vlc播放器eNSP正式版本下载地址:VLC是开源软件下载地址是:二、安装vlc播放器下载后自行安装即可,注意要记下安装目录,等下要用。如果下载的是ZIP压缩包,解压到任意目录即可。三、配置eNSP的vlc参数菜单-工具-选项-工具配置 VLC后面指定你刚才安装的目录vlc.exe四、如图搭建拓扑(也可自己定义,第一次推荐照着来)五、配置网络里的各设备1 路由器的配置(可以贴进去):sysname ar1220multicast routing-enable# 全局开启组播功能的命令interface Ethernet0/0/0undo shutdownip address

2、192.168.200.1 255.255.255.0pim sm#接组播服务器的接口下配置pim为稀疏模式interface Ethernet0/0/1undo shutdownip address 192.168.100.1 255.255.255.0pim sm#接三层交换机的接口下配置pim为稀疏模式ospf 1#配置OSPF保证路由器和交换机之间的单播路由互通area 0.0.0.0 network 192.168.100.0 0.0.0.255 network 192.168.200.0 0.0.0.255pim#路由器上配置pim的c-bsr(候选自举路由器)和c-rp(候选汇聚

3、点)c-bsr priority 10c-bsr Ethernet0/0/0#pim稀疏模式配置c-bsr,用来集中通告rp(组播相关概念的详细说明请查HedEx)c-rp priority 10c-rp Ethernet0/0/0#pim稀疏模式配置c-rp,用来选举rp2 交换机的配置(可以贴进去)sysname sw5700vlan batch 10 20 100# 创建vlanmulticast routing-enable# 全局开启组播功能的命令interface Vlanif10ip address 192.168.10.1 255.255.255.0pim sm#vlanif

4、10接口下开启pim稀疏模式igmp enable#接组播客户端的接口开启igmp功能,默认是V2interface Vlanif20ip address 192.168.20.1 255.255.255.0pim sm#vlanif 20接口下开启pim稀疏模式igmp enable#接组播客户端的接口开启igmp功能,默认是V2interface Vlanif100ip address 192.168.100.100 255.255.255.0pim sm#vlanif 100接口下开启pim稀疏模式,此接口是接路由器的,可以不开igmp功能interface GigabitEtherne

5、t0/0/1port hybrid pvid vlan 100port hybrid untagged vlan 100interface GigabitEthernet0/0/2port hybrid pvid vlan 10port hybrid untagged vlan 10interface GigabitEthernet0/0/3port hybrid pvid vlan 20port hybrid untagged vlan 20ospf 1#配置OSPF保证路由器和交换机之间的单播路由互通area 0.0.0.0 network 192.168.10.0 0.0.0.255 n

6、etwork 192.168.20.0 0.0.0.255 network 192.168.100.0 0.0.0.2553配置MCS服务器配置好了就点“运行”,此时可以看以服务器的视频播放。4配置PC1 (PC2类似)配置好了点“加入” “启动VLC”这个时候应该可以看到PC上播放的视频了,和服务器是一样的(会有一点滞后)七、验证参数ar1220display pim interface#可以看到本路由器上参与pim的接口VPN-Instance: public netInterface State NbrCnt HelloInt DR-Pri DR-AddressEth0/0/0 up 0

7、 30 1 192.168.200.1 (local)Eth0/0/1 up 1 30 1 192.168.100.100#pim上在以太网上要选DR,(local)表示是自己为DRar1220display pim neighbor# 路由器上看到的邻居是交换机192.168.100.100VPN-Instance: public netTotal Number of Neighbors = 1Neighbor Interface Uptime Expires Dr-Priority192.168.100.100 Eth0/0/1 00:19:43 00:01:23 1ar1220dis p

8、im routing-table#查看pim组播路由表的命令,也可以用dis multicast routing-tableVPN-Instance: public netTotal 1 (*, G) entry; 1 (S, G) entry(*, 225.1.1.1) RP: 192.168.200.1 (local) Protocol: pim-sm, Flag: WC UpTime: 00:01:23 Upstream interface: Register Upstream neighbor: NULL RPF prime neighbor: NULL Downstream inte

9、rface(s) information: Total number of downstreams: 1 1: Ethernet0/0/1 Protocol: pim-sm, UpTime: 00:01:23, Expires: 00:03:06(192.168.200.200, 225.1.1.1) RP: 192.168.200.1 (local) Protocol: pim-sm, Flag: SPT 2MSDP LOC ACT UpTime: 00:03:39 Upstream interface: Ethernet0/0/0 Upstream neighbor: NULL RPF p

10、rime neighbor: NULL Downstream interface(s) information: Total number of downstreams: 1 1: Ethernet0/0/1 Protocol: pim-sm, UpTime: 00:01:23, Expires: 00:03:06sw5700dis pim rp-info#查看rp的信息,交换机上可以看到rp是路由器192.168.200.1VPN-Instance: public netPIM-SM BSR RP Number:1Group/MaskLen: 224.0.0.0/4 RP: 192.168.

11、200.1#这里可以看到rp的地址是192.168.200.1,优先级是10,候选RP的优先级越高越容易成为RP。 Priority: 10 Uptime: 00:18:37 Expires: 00:01:36sw5700dis multicast routing-table#交换机上的组播路由表Multicast routing tableTotal 1 entry00001.(192.168.200.200, 225.1.1.1) Uptime: 00:01:53 Upstream Interface: Vlanif100#组播来源的接口是vlan100List of 2 downstre

12、am interfaces#组播流去向:vlan10 vlan20 1: Vlanif10 2: Vlanif20sw5700display igmp interface#查看参与IGMP的接口Interface informationVlanif10(192.168.10.1): IGMP is enabled# IGMPCurrent IGMP version is 2#IGMP版本是2 IGMP state: up IGMP group policy: none IGMP limit: - Value of query interval for IGMP (negotiated): -

13、Value of query interval for IGMP (configured): 60 s Value of other querier timeout for IGMP: 0 s Value of maximum query response time for IGMP: 10 sQuerier for IGMP: 192.168.10.1 (this router)#查询路由器是本路由器 Total 1 IGMP Group reportedVlanif20(192.168.20.1): IGMP is enabled Current IGMP version is 2 IGMP state: up IGMP group policy: none IGMP limit: - Value of query interval for IGMP (negotiated): - Value of query interval for IGMP (configured): 60 s Value of other querier timeout for IGMP: 0 s Value of maximum query response time for IGMP: 10 s Querier for IGMP: 192.168.20.1 (this router)

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 教育专区 > 高考资料

本站为文档C TO C交易模式,本站只提供存储空间、用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。本站仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知得利文库网,我们立即给予删除!客服QQ:136780468 微信:18945177775 电话:18904686070

工信部备案号:黑ICP备15003705号-8 |  经营许可证:黑B2-20190332号 |   黑公网安备:91230400333293403D

© 2020-2023 www.deliwenku.com 得利文库. All Rights Reserved 黑龙江转换宝科技有限公司 

黑龙江省互联网违法和不良信息举报
举报电话:0468-3380021 邮箱:hgswwxb@163.com