找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 2206|回复: 6

[AX6S] 求IPTV/VLAN实现方法

[复制链接]
设备是红米AX6S+红米AX5400+小米AX1800。不想刷OPWRT有多方面的担心,直接改config可以实现吗,看到有人用SSH好像搞成了。这边线路情况有点奇葩,用VLAN交换机得三台,加网线目前拽不动原有网线所以也不行。
跪求方法。
我的恩山、我的无线 The best wifi forum is right here.
vlan划分,单线复用
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

看看我的帖子https://www.right.com.cn/forum/thread-8252116-1-1.html,op系统vlan单线复用你值得拥有

点评

就是不想刷OP才开的这个帖子,虽然确实不得不刷OP了现在  详情 回复 发表于 2022-9-6 15:31
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
2605088505 发表于 2022-9-6 10:29
看看我的帖子https://www.right.com.cn/forum/thread-8252116-1-1.html,op系统vlan单线复用你值得拥有

就是不想刷OP才开的这个帖子,虽然确实不得不刷OP了现在

点评

op真好用  详情 回复 发表于 2022-9-6 17:04
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

FoolOfStupid 发表于 2022-9-6 15:31
就是不想刷OP才开的这个帖子,虽然确实不得不刷OP了现在

op真好用

点评

刷了官方版OP各种不会玩  详情 回复 发表于 2022-9-6 19:13
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层

刷了官方版OP各种不会玩
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
  1. Network文件下主要关键信息如下

  2. config interface 'lan'
  3.         option ifname 'eth0'
  4.         option force_link '1'
  5.         option type 'bridge'
  6.         option proto 'static'
  7.         option ipaddr '192.168.31.1'
  8.         option netmask '255.255.255.0'
  9.         option multicast_querier '0'
  10.         option igmp_snooping '0'
  11.         option macaddr '5c:02:14:b3:86:07'
  12.         option ip6assign '64'

  13. config device 'lan_dev'
  14.         option name 'eth0'
  15.         option mtu '1500'
  16.         option macaddr '5c:02:14:b3:86:07'

  17. config device 'wan_dev'
  18.         option name 'eth1'
  19.         option mtu '1500'
  20.         option keepup '1'
  21.         option macaddr '5c:02:14:31:2c:ad'

  22. config switch 'switch0'
  23.         option name 'switch0'
  24.         option reset '1'
  25.         option enable_vlan '1'

  26. config switch_vlan
  27.         option device 'switch0'
  28.         option vlan '1'
  29.         option ports '1 5'

  30. config switch_vlan
  31.         option device 'switch0'
  32.         option vlan '2'
  33.         option ports '2 3 4 6'

  34. config interface 'miot'
  35.         option ifname 'wl13'
  36.         option type 'bridge'
  37.         option proto 'static'
  38.         option ipaddr '192.168.32.1'
  39.         option netmask '255.255.255.0'

  40. config interface 'wan'
  41.         option proto 'pppoe'
  42.         option mtu '1500'
  43.         option special '0'
  44.         option username ''
  45.         option mru '1480'
  46.         option password ' '
  47.         option ifname 'eth1'
  48.         option last_succeed '1'
  49.         option ipv6 'auto'
复制代码




swconfig查询到的vlan情况,目测都是Access口,pvid均与vid一致
  1. VLAN 1:
  2.         vid: 1
  3.         ports: 1 5
  4. VLAN 2:
  5.         vid: 2
  6.         ports: 2 3 4 6
复制代码


交换机为MT7531BE(switch0)
另有这么一行信息,实际port0大概都是备用,port5未知可能是无线网?(通过swconfig show有显示 port0的vid是0且未连接,port5和port6则一直为连接状态)
switch dump命令下有port(0:6) --1-----或许交换机理论支持8个port,但本机没有port7
switch0: MT7531BE(MT7531BE), ports: 7 (cpu @ 6), vlans: 4095 从此处可知cpu应该是port6
port1-4为WAN LAN2-LAN4


  1.   vid  fid  portmap    s-tag
  2.     1    0  -1---1--       0
  3.     2    0  --111-1-      0
复制代码


默认没有TAG口?也就是对CPU未标记?这似乎不合常理
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 14:32

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表