I'm playing with a new RB915G-2HnD RouterBoard (RouterOS 6.23).
I've set a dual wan configuration (on ether1 and wlan1) with a DHCP Server on ether5 with a basic firewall configuration.
I've exported the configuration and I started to study the commend line.
This is the part I do not understand:
Code: Select all
/interface ethernet
set [ find default-name=ether1 ] comment=WAN1
set [ find default-name=ether5 ] comment=LAN
/ip neighbor discovery
set ether1 comment=WAN1
set ether5 comment=LAN
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=dynamic-keys name=Wireless1 supplicant-identity="" wpa-pre-shared-key=c7f2b2a312 wpa2-pre-shared-key=c7f4f2b2a312
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n comment=WAN2 country=italy disabled=no frequency=2437 l2mtu=1600 security-profile=Wireless1 ssid=AndroidHotspot2296 wireless-protocol=802.11
/ip neighbor discovery
set wlan1 comment=WAN2
/interface wireless manual-tx-power-table
set wlan1 comment=WAN2
/interface wireless nstreme
set wlan1 comment=WAN2
2. Why I have multiple command lines to comment ether1, ether5 and wlan1?
Thank you.