首先在eth0.1中删除 lan1 。我的lan1对应端口2. 这个4t代表主控
config switch_vlan
option device 'switch1'
option vlan '1'
option ports '3 4t'
然后新建vlan3 eth0.3
config switch_vlan
option device 'switch1'
option vlan '3'
option ports '2 4t'
然后设置ip,如果手动设置的不行,可以先用dhcp获得一个看看。
config interface 'iptv'
option proto 'static'
option ipaddr '169.254.31.**'
option netmask '255.255.255.0'
option dns '169.254.31.255'
option ifname 'eth0.3'
option ipv6 'auto'
【 在 lyslys888 的大作中提到: 】
: 更改/etc/config/network 配置实现
: 可以贴一下命令么?
:
--
FROM 114.248.126.*