Ovo je OpenWrt config za maxtv na LAN4:
Code:
root@OpenWrt:/# cat /etc/config/network
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 'nat' '1'
option 'proto' 'static'
option 'ipaddr' '192.168.1.1'
option 'netmask' '255.255.255.0'
option 'broadcast' '192.168.1.255'
option 'gateway' '192.168.1.1'
option 'dns' '192.168.1.1'
config 'atm-bridge'
option 'unit' '0'
option 'encaps' 'llc'
option 'vpi' '0'
option 'vci' '33'
option 'payload' 'bridged'
config 'interface' 'wan'
option 'ifname' 'nas0'
option 'proto' 'pppoe'
option 'unit' '0'
config 'switch' 'eth0'
option 'reset' '1'
option 'enable_vlan' '1'
config 'switch_vlan'
option 'device' 'eth0'
option 'vlan' '1'
option 'vid' '1'
option 'ports' '2 3 4 5t'
config 'atm-bridge'
option 'unit' '1'
option 'encaps' 'llc'
option 'payload' 'bridged'
option 'vci' '40'
option 'vpi' '0'
config 'switch_vlan'
option 'device' 'eth0'
option 'vlan' '2'
option 'vid' '2'
option 'ports' '1 5t'
config 'interface' 'iptv'
option 'type' 'bridge'
option 'proto' 'none'
option 'ifname' 'eth0.2 nas1'
root@OpenWrt:/#