Temat: [1043nd] 2 vlany
Witam
Mam dwa tp-linki 1043nd
Pierwszy jako router (dhcp samba itp itd), drugi połączony kablem jako zwykły AP
Pierwszy router ma 3 vlany domowy, dla drugiego routera, oraz dla gości
Teraz chciałbym aby drugi ap miał również 2 vlany domowy i dla gości ALE Podpięty do mojego vlanu gości.
Wirem że trzeba zrobić trunki ale szczerze nie wiem od czego zacząć
Poniżej config Routera
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0.1'
option 'type' 'bridge'
option 'proto' 'static'
option 'netmask' '255.255.255.0'
option 'ipaddr' '192.168.0.1'
option 'dns' 'xxxxxxx'
config 'interface' 'wan'
option 'ifname' 'eth0.2'
option 'proto' 'pppoe'
option 'username' 'xxxxxxx'
option 'password' 'xxxxxxx'
option 'keepalive' '3 5'
option 'dns' 'xxxxxx'
config 'interface' 'vlan11'
option 'ifname' 'eth0.11'
option 'proto' 'static'
option 'ipaddr' '192.168.11.1'
option 'netmask' '255.255.255.0'
config 'switch'
option 'name' 'rtl8366rb'
option 'reset' '1'
option 'enable_vlan' '1'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '1'
option 'ports' '1 2 5t'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '2'
option 'ports' '0 5t'
config 'interface' 'guest'
option 'proto' 'static'
option 'ipaddr' '10.1.1.1'
option 'netmask' '255.255.255.0'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '11'
option 'ports' '3 4 5t'A tutaj config drugiego (klienta)
config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'lan'
option 'ifname' 'eth0.1'
option 'type' 'bridge'
option 'proto' 'static'
option 'ipaddr' '192.168.11.2'
option 'gateway' '192.168.11.1'
option 'dns' '192.168.11.1'
option 'netmask' '255.255.255.0'
option 'broadcast' '192.168.11.255'
config 'switch'
option 'name' 'rtl8366rb'
option 'reset' '1'
option 'enable_vlan' '1'
config 'switch_vlan'
option 'device' 'rtl8366rb'
option 'vlan' '1'
option 'ports' '0 1 2 3 4 5t'Dziękuję:)