Temat: Problem z VLANami dla tag > 127 (brak enable_vlan4k) 1043nd v4
Cześć,
Pytanie za 100 pkt, czy da się zrobić (na 1043nd v4) VLAN dla tag = 4000 (dla tagów wyższych niż 128) ?
switch0: ag71xx-mdio.0(Atheros AR8337), ports: 7 (cpu @ 0), vlans: 128
--switch
Attribute 1 (int): enable_vlan (Enable VLAN mode)
Attribute 2 (none): reset_mibs (Reset all MIB counters)
Attribute 3 (int): enable_mirror_rx (Enable mirroring of RX packets)
Attribute 4 (int): enable_mirror_tx (Enable mirroring of TX packets)
Attribute 5 (int): mirror_monitor_port (Mirror monitor port)
Attribute 6 (int): mirror_source_port (Mirror source port)
Attribute 7 (int): arl_age_time (ARL age time (secs))
Attribute 8 (string): arl_table (Get ARL table)
Attribute 9 (none): flush_arl_table (Flush ARL table)
Attribute 10 (int): igmp_snooping (Enable IGMP Snooping)
Attribute 11 (int): igmp_v3 (Enable IGMPv3 support)
Attribute 12 (none): apply (Activate changes in the hardware)
Attribute 13 (none): reset (Reset the switch)
--vlan
Attribute 1 (int): vid (VLAN ID (0-4094))
Attribute 2 (ports): ports (VLAN port mapping)
--port
Attribute 1 (none): reset_mib (Reset single port MIB counters)
Attribute 2 (string): mib (Get port's MIB counters)
Attribute 3 (int): enable_eee (Enable EEE PHY sleep mode)
Attribute 4 (none): flush_arl_table (Flush port's ARL table entries)
Attribute 5 (int): igmp_snooping (Enable port's IGMP Snooping)
Attribute 6 (int): pvid (Primary VLAN ID)
Attribute 7 (unknown): link (Get port link information)Jak widać 1043nd v4 nie ma enable_vlan4k (jak było w v1), czy da się to zrobić jakoś z użyciem "vid" ?
Kombinowałem tak (dodałem do standardowej konfiguracji):
config interface 'wan_4000'
option ifname 'eth0.4'
option proto 'dhcp'
option metric '20'
config switch_vlan
option vlan '4'
option vid '4000'
option ports '5t 0t'
option device 'switch0'Wynik:
root@LEDE:~# swconfig dev ag71xx-mdio.0 vlan 4 show
VLAN 4:
vid: 4000
ports: 0t 5tAle z DHCP nie dostaje ip.
Da się to zrobić ?
Pozdrawiam i proszę o pomoc.