Używam starej wersji
Gargoyle PL 1.12.0.2 (27ec1e48) |
OpenWrt 18.06-SNAPSHOT, r8004-1f0679f54d
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '172.20.1.245'
option dns '172.20.1.245'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
option ipv6 '0'
config device 'wan_eth0_2_dev'
option name 'eth0.2'
option macaddr 'd8:07:b6:b6:88:dd'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '2 3 4 5 0t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 0t'
Czyli powinno być tak:
config interface 'lan'
option type 'bridge'
option ifname 'eth0.1'
option proto 'static'
option netmask '255.255.255.0'
option ip6assign '60'
option ipaddr '172.20.1.245'
option dns '172.20.1.245'
config interface 'wan'
option ifname 'eth0.2'
option proto 'dhcp'
option ipv6 '0'
config device 'wan_eth0_2_dev'
option name 'eth0.2'
option macaddr 'd8:07:b6:b6:88:dd'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '2 3 5 0t'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '1 0t'
config switch_vlan
option device 'switch0'
option vlan '3'
option ports ' 4 0t'
config interface 'guest'
option type 'bridge'
option ifname 'eth1.3'
option proto 'static'
option ipaddr '192.168.101.1'
option netmask '255.255.255.0'
Nie będę ukrywał nie do końca to czaję
(
ZTE MF 286D OpenWrt 23.05-SNAPSHOT r23484-b742216dc8
Zyxel EX5601-T0 ubootmod OpenWrt 24.10-SNAPSHOT, r28432-7609571dcd
TP-LINK Archer C7 v5 - 1.14.0.2 (Built 20231226-1035 git@8e210b77)