国内领先的企业通信解决方案服务商专业提供平价宽带,平价固话,平价项目工程方案!
“我们业务范围:光纤宽带,IP城域网,无线固话,有线固话,网络固话,固话靓号,综合布线,200IP业务,电子群真等,业务电话:4008-528-159”

全部 综合网络技术 常见电话故障 宽带常见问题 业务综合问题 常用技术文章 产品参数文章
首页 > 帮助中心 > 关于IPTV 多播技术文章分享WIFI 多播设置[CTQ]

关于IPTV 多播技术文章分享WIFI 多播设置[CTQ]

类别: 常用技术文章    来源:www.nanyuetong.com
摘要:经过了一周左右时间调试和找资料,终于调好了 以下是截图文件 1,2(打开IGMP代理菜单 3为代理组播入口,4为LAN网 5为启动组播...

经过了一周左右时间调试和找资料,终于调好了

以下是截图文件

1,2(打开IGMP代理菜单 3为代理组播入口,4为LAN网 5为启动组播勾选

)

经下是关于无线WIFI开启组播设置

以下是脚本分享



以下设置均基于RouterOS 6.44beta9平台


#设置两个pppoe接口,一个用户互联网(原已经设置),一个用于iptv专网(新增)
/interface pppoe-client
add disabled=no interface=ether1-FTTx name=pppoe-CNNET password=zj010013 \
user=057300398071
浙江电信未作MAC地址与机顶盒绑定,如果绑定了,请用命令操作
interface ethernet set ether1-IPTV mac-address=3C:78:43:7B:96:F6
新增IPTV pppoe接口
add disabled=no interface=ether2-IPTV name=pppoe-IPTV password=111111 user=\
tv1573112829098171@itv
#设置IPTV内网地址,因为需要走同一条线,所以配置在同一个接口Lan5
add address=10.10.124.1/24 comment=IPTVnet interface=ether5-Lan network=\
10.10.124.0
若不配置IPTV内网地址124网段,机顶盒无法使用业务平台登录进行点播(RTSP流地址均为单播地址,浙江电信使用单播模式进行点播)
#新增地址池,用于IPTV认证网段,设置124网段目的就是为了原机顶盒可以正常使用点播功能
/ip pool
add comment=IPTV name=pool_IPTV ranges=10.10.124.2-10.10.124.254
并配置PPPoe本地地址池、远程地址池
add comment=pool_IPTV_Remote name=pool_IPTV_Local ranges=1.1.1.1-1.1.1.254
add comment=pool_IPTV_Remote name=pool_IPTV_Local ranges=1.1.1.1-1.1.1.254
#因为同一个接口无法使用多个dhcp服务器,机顶盒客户端获取IPTV网段只能使用固定IP或者PPPoe等方式进行获取,这里我们设置PPPoe服务器,也可以手动指定固定IP 124网段。
建立一个PPPOE服务器
/interface pppoe-server server
add disabled=no interface=ether5-Lan service-name=IPTVserver
配置ppp模板
/ppp profile
add dns-server=220.189.127.106,220.189.127.107 local-address=pool_IPTV_Local \
name=IPTV remote-address=pool_IPTV
配置PPP账号
/ppp secret
add name=zjf password=111111 profile=IPTV
#因设置了多个PPPOE拨号连接,需要设置策略路由来指向数据进出口方向
标记IPTV路由符号
/ip firewall mangle
add action=mark-routing chain=prerouting new-routing-mark=IPTVnet \
passthrough=yes src-address=10.10.124.0/24
不要忘记标记原capsman无线网路由、Lan网段路由符号,否则原来设置的都无法上网
add action=mark-routing chain=prerouting new-routing-mark=WiFinet \
passthrough=yes src-address=192.168.0.0/24
add action=mark-routing chain=prerouting new-routing-mark=CNNnet \
passthrough=yes src-address=10.10.128.0/24
yes src-address=10.10.128.0/24
#设置路由伪装,这里设置为全局
/ip firewall nat
add action=masquerade chain=srcnat
#设置静态路由器,PPPOE拨号连接中默认路由,dns等不要打勾,在此加入默认路由表即可
/ip route
add check-gateway=ping distance=1 gateway=pppoe-IPTV routing-mark=IPTVnet
add check-gateway=ping distance=1 gateway=pppoe-CNNET routing-mark=CNNnet
本人的路由器Lan2LTE备用,在此必须加入进去, distance=2
add check-gateway=ping distance=2 gateway=192.168.8.1 routing-mark=CNNnet
无线网也加入进去,网关走pppoe
add check-gateway=ping distance=1 gateway=pppoe-CNNET routing-mark=WiFinet
以上设置均只能让电信的机顶盒在我们内网中走同一条网线进行播放
---------------------------------------------------------------------------------------------------------------------------------
以下设置组播功能,让小米盒子,天猫魔盒,通过安装友窝来收看直播功能。
#设置组播功能,打开IGMP
/routing igmp-proxy
set quick-leave=yes
/routing igmp-proxy interface
add alternative-subnets=0.0.0.0/0 interface=pppoe-IPTV upstream=yes
add interface=ether5-Lan
其中加入的接口Lan,就是需要组播的接口,也可以将无线桥接接口加入,以方便在无线网中做组播,但是必须打开capsman中模板配置选项中的multicast-helper=full
/caps-man configuration
add channel=channel9 channel.tx-power=18 country=china datapath=datapath1 \
distance=indoors mode=ap multicast-helper=full name=AP_2.4G security=\
security1 ssid=Hi-Kidnet
add channel=channel149 channel.tx-power=22 country=china datapath=datapath1 \
mode=ap multicast-helper=full name=AP_5G security=security1 ssid=\
"Hi-Kidnet 5G"

普通无线设置只需要单独在网卡接口做就可以。


https://blog.csdn.net/weixin_44645270/article/details/86777607(以组播流方式替换运营商IPTV直播频道)


收藏本页】 【返回顶部】 【关闭窗口

将该资讯分享至:
回顶部 
官方微信