Temat: Port LAN jako WAN
Wyciągnąłem stary router ADSL TP-LINK TD-W8970 i chciałem się nim pobawić.
Jako, że nie ma portu WAN chciabym zrobić z portu LAN4 port WAN.
Niestety nie mam pojęcia jak go wydzielić.
Podpowie ktoś? Trzeba dodać jakiś switch? VLANy?
config interface 'loopback'
option device 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fd29:2a97002a:cada00ca::/48'
config atm-bridge 'atm'
option vpi '1'
option vci '32'
option encaps 'llc'
option payload 'bridged'
option nameprefix 'dsl'
config dsl 'dsl'
option annex 'a'
option tone 'av'
config device
option name 'br-lan'
option type 'bridge'
list ports 'lan1'
list ports 'lan2'
list ports 'lan3'
list ports 'lan4'
config interface 'lan'
option device 'br-lan'
option proto 'static'
option ipaddr '192.168.1.1'
option netmask '255.255.255.0'
option ip6assign '60'
config device
option name 'dsl0'
option macaddr '14:cc:20:ac:94:01'
config interface 'wan'
option device 'dsl0'
option proto 'pppoe'
option username 'username'
option password 'password'
option ipv6 '1'
config interface 'wan6'
option device '@wan'
option proto 'dhcpv6'