# apr/26/2016 15:53:17 by RouterOS 6.27
# software id = SHE2-MDLT
#
/interface bridge
add admin-mac=4C:5E:0C:70:3C:A8 auto-mac=no name=bridge-local
/interface ethernet
set [ find default-name=ether1 ] name=ether1-AIRGRID
set [ find default-name=ether2 ] name=ether2-master-local
set [ find default-name=ether3 ] master-port=ether2-master-local name=\
ether3-slave-local
set [ find default-name=ether4 ] master-port=ether2-master-local name=\
ether4-slave-local
set [ find default-name=ether5 ] master-port=ether2-master-local name=\
ether5-slave-local
/interface pppoe-client
add add-default-route=yes interface=ether1-AIRGRID mrru=1600 name=pppoe-out1 \
user=malikani
/ip neighbor discovery
set ether1-AIRGRID discover=no
/interface wireless security-profiles
add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=\
allowed mode=dynamic-keys name=INTERNET supplicant-identity=""
/interface wireless
set [ find default-name=wlan1 ] band=2ghz-b/g/n channel-width=20/40mhz-ht-above \
disabled=no distance=indoors frequency=2427 l2mtu=2290 mode=ap-bridge \
security-profile=INTERNET ssid=INTERNET2 wireless-protocol=802.11
/ip pool
add name=default-dhcp ranges=192.168.88.10-192.168.88.254
/ip dhcp-server
add address-pool=default-dhcp disabled=no interface=bridge-local name=default
/interface bridge port
add bridge=bridge-local interface=ether2-master-local
add bridge=bridge-local interface=wlan1
/ip address
add address=192.168.88.1/24 comment="default configuration" interface=\
bridge-local network=192.168.88.0
/ip arp
add address=192.168.1.20 interface=ether1-AIRGRID
/ip dhcp-client
add comment="default configuration" dhcp-options=hostname,clientid disabled=no \
interface=ether1-AIRGRID
/ip dhcp-server network
add address=192.168.88.0/24 comment="default configuration" gateway=\
192.168.88.1
/ip dns
set allow-remote-requests=yes servers=8.8.8.8
/ip dns static
add address=192.168.88.1 name=router
/ip firewall filter
add chain=input comment="default configuration" protocol=icmp
add chain=input comment="default configuration" connection-state=\
established,related
add action=drop chain=input comment="default configuration" in-interface=\
ether1-AIRGRID
add chain=forward comment="default configuration" connection-state=\
established,related
add action=drop chain=forward comment="default configuration" connection-state=\
invalid
add action=drop chain=forward comment="default configuration" \
connection-nat-state=!dstnat connection-state=new in-interface=\
ether1-AIRGRID
add chain=forward dst-port=12345 in-interface=all-ethernet protocol=tcp \
src-port=12345
/ip firewall nat
add action=masquerade chain=srcnat comment="default configuration" \
out-interface=ether1-AIRGRID
/system clock
set time-zone-name=Europe/Belgrade
/system leds
set 0 interface=wlan1
/tool mac-server
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=wlan1
add interface=bridge-local
/tool mac-server mac-winbox
set [ find default=yes ] disabled=yes
add interface=ether2-master-local
add interface=ether3-slave-local
add interface=ether4-slave-local
add interface=ether5-slave-local
add interface=wlan1
add interface=bridge-local
now i cannot acess airgrid which is in bridge mode,because ip lease expired
airgrid 192.168.1.20
gw 192.168.1.1