root@Gargoyle:~# ifconfig
br-lan Link encap:Ethernet HWaddr F8:D1:11:7F:3A:B2
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::fad1:11ff:fe7f:3ab2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:192 errors:0 dropped:0 overruns:0 frame:0
TX packets:79 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:32917 (32.1 KiB) TX bytes:10656 (10.4 KiB)
eth0 Link encap:Ethernet HWaddr F8:D1:11:7F:3A:B2
inet6 addr: fe80::fad1:11ff:fe7f:3ab2/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2504 errors:0 dropped:0 overruns:0 frame:0
TX packets:3056 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:376732 (367.9 KiB) TX bytes:744304 (726.8 KiB)
Interrupt:4
eth0.1 Link encap:Ethernet HWaddr F8:D1:11:7F:3A:B2
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:2504 errors:0 dropped:1 overruns:0 frame:0
TX packets:3038 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:331660 (323.8 KiB) TX bytes:729407 (712.3 KiB)
eth1 Link encap:Ethernet HWaddr 58:2C:80:13:92:63
inet6 addr: fe80::5a2c:80ff:fe13:9263/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:365 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:171240 (167.2 KiB) TX bytes:816 (816.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4371 errors:0 dropped:0 overruns:0 frame:0
TX packets:4371 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:272429 (266.0 KiB) TX bytes:272429 (266.0 KiB)
wlan0 Link encap:Ethernet HWaddr F8:D1:11:7F:3A:B2
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:191 errors:0 dropped:0 overruns:0 frame:0
TX packets:165 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:35585 (34.7 KiB) TX bytes:27011 (26.3 KiB)
-----------------------------------------------------------------------------------------
root@Gargoyle:~# uci show network
network.loopback=interface
network.loopback.ifname=lo
network.loopback.proto=static
network.loopback.ipaddr=127.0.0.1
network.loopback.netmask=255.0.0.0
network.lan=interface
network.lan.ifname=eth0.1
network.lan.type=bridge
network.lan.proto=static
network.lan.ipaddr=192.168.1.1
network.lan.netmask=255.255.255.0
network.lan.dns=192.168.1.1
network.wan=interface
network.wan.device=/dev/ttyUSB0
network.wan.auto=1
network.wan.ifname=eth1
network.wan.proto=ndis
network.wan.apn=internet
network.wan.mobile_isp=Polska - Plus LTE
network.@switch[0]=switch
network.@switch[0].name=rtl8366rb
network.@switch[0].reset=1
network.@switch[0].enable_vlan=1
network.@switch_vlan[0]=switch_vlan
network.@switch_vlan[0].device=rtl8366rb
network.@switch_vlan[0].vlan=1
network.@switch_vlan[0].ports=1 2 3 4 5t
network.@switch_vlan[1]=switch_vlan
network.@switch_vlan[1].device=rtl8366rb
network.@switch_vlan[1].vlan=2
network.@switch_vlan[1].ports=0 5t