No i się poddaję. Ni cholera nie mogę sobie tego ogarnąć.
network
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config globals 'globals'
option ula_prefix 'fdc0:f7f9:ff7e::/48'
config interface 'lan'
option ifname 'eth0.1'
option force_link '1'
option type 'bridge'
option proto 'static'
option netmask '255.255.255.0'
option ipaddr '10.0.0.1'
option dns '8.8.8.8'
option ip6assign '64'
config interface 'wan'
option _orig_ifname 'eth0.2'
option _orig_bridge 'false'
option proto 'dhcp'
option metric '10'
option ifname 'eth0.2'
config interface 'wan3'
option ifname 'eth0.3'
option proto 'dhcp'
option macaddr 'E8:94:F6:68:80:F1'
option metric '20'
config interface 'wan6'
option ifname 'eth0.2'
option proto 'dhcpv6'
option reqaddress 'try'
option reqprefix 'auto'
config switch
option name 'switch0'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'switch0'
option vlan '1'
option ports '0t 3 4 5'
config switch_vlan
option device 'switch0'
option vlan '2'
option ports '0t 1'
config switch_vlan
option device 'switch0'
option vlan '3'
option ports '0t 2'
dhcp
config dnsmasq
option domainneeded '1'
option boguspriv '1'
option localise_queries '1'
option rebind_protection '1'
option rebind_localhost '1'
option domain 'lan'
option expandhosts '1'
option authoritative '1'
option readethers '1'
option leasefile '/tmp/dhcp.leases'
option resolvfile '/tmp/resolv.conf.auto'
option localservice '1'
list rebind_domain 'free.aero2.net.pl'
option local '/lanserv/'
config dhcp 'lan'
option interface 'lan'
option dhcpv6 'server'
option ra 'server'
option start '5'
option limit '100'
option leasetime '48h'
option ra_management '1'
config dhcp 'wan'
option interface 'wan'
option ignore '1'
config dhcp 'wan3'
option interface 'wan3'
option ignore '1'
config odhcpd 'odhcpd'
option maindhcp '0'
option leasefile '/tmp/hosts/odhcpd'
option leasetrigger '/usr/sbin/odhcpd-update'
config host
option mac '00:08:9b:c2:5b:68'
option ip '10.0.0.10'
option name 'MyQNAP'
config domain
option name 'qnap'
option ip '10.0.0.10'
config domain
option name 'pi'
option ip '10.0.0.70'
config domain
option name 'WiiU'
option ip '10.0.0.93'
mwan3
config interface 'wan'
option enabled '1'
list track_ip '8.8.4.4'
list track_ip '8.8.8.8'
list track_ip '208.67.222.222'
list track_ip '208.67.220.220'
option reliability '2'
option count '1'
option timeout '2'
option interval '5'
option down '3'
option up '8'
config interface 'wan3'
list track_ip '8.8.8.8'
list track_ip '208.67.220.220'
option reliability '1'
option count '1'
option timeout '2'
option interval '5'
option down '3'
option up '8'
option enabled '1'
config member 'wan_m1_w3'
option interface 'wan'
option metric '1'
option weight '3'
config member 'wan_m2_w3'
option interface 'wan'
option metric '2'
option weight '3'
config member 'wan3_m1_w2'
option interface 'wan3'
option metric '1'
option weight '2'
config member 'wan3_m2_w2'
option interface 'wan3'
option metric '2'
option weight '2'
config policy 'wan_only'
list use_member 'wan_m1_w3'
config policy 'wan3_only'
list use_member 'wan3_m1_w2'
config policy 'balanced'
list use_member 'wan_m1_w3'
list use_member 'wan3_m1_w2'
config policy 'wan_wan3'
list use_member 'wan_m1_w3'
list use_member 'wan3_m2_w2'
config policy 'wan3_wan'
list use_member 'wan_m2_w3'
list use_member 'wan3_m1_w2'
config rule 'youtube'
option sticky '1'
option ipset 'youtube'
option dest_port '80,443'
option proto 'tcp'
option use_policy 'balanced'
config rule 'https'
option sticky '1'
option dest_port '443'
option proto 'tcp'
option use_policy 'balanced'
config rule 'default_rule'
option dest_ip '0.0.0.0/0'
option use_policy 'balanced'
root@OpenWrt:~# mwan3 interfaces
Interface status:
interface wan is online (tracking active)
interface wan3 is offline (tracking active)
WinISO.pl - Archiwum polskich wersji systemów Windows, Windows Serwer i Office