firmware/bsp/wr741nd4/root_file_system/etc/config/network

53 lines
1.2 KiB
Plaintext

config 'interface' 'loopback'
option 'ifname' 'lo'
option 'proto' 'static'
option 'ipaddr' '127.0.0.1'
option 'netmask' '255.0.0.0'
config 'interface' 'wlanmesh'
option 'ifname' 'wlan1'
option 'mtu' '1528'
config 'interface' 'mesh'
option 'type' 'bridge'
option 'ifname' 'eth0.1 wlan0 bat0 tap0'
option 'auto' '1'
config 'interface' 'wan'
option 'ifname' 'eth1'
option 'proto' 'dhcp'
config 'interface' 'ethmesh1'
option 'type' 'bridge'
option 'ifname' 'eth0.3'
option 'mtu' '1528'
config 'interface' 'ethmesh2'
option 'type' 'bridge'
option 'ifname' 'eth0.4'
option 'mtu' '1528'
config 'switch'
option 'name' 'eth0'
option 'reset' '1'
option 'enable_vlan' '1'
#3. und 4. LAN Port
config 'switch_vlan'
option 'device' 'eth0'
option 'vlan' '1'
option 'ports' '1 4 0t'
#1. LAN Port
config 'switch_vlan'
option 'device' 'eth0'
option 'vlan' '3'
option 'ports' '2 0t'
#2. LAN Port
config 'switch_vlan'
option 'device' 'eth0'
option 'vlan' '4'
option 'ports' '3 0t'