(1) Get internet connection /interface wireless security-profiles add authentication-types=wpa-psk,wpa2-psk eap-methods="" management-protection=allowed mode=\ dynamic-keys name=MTCNA-PPH supplicant-identity="" wpa-pre-shared-key=123456789 \ wpa2-pre-shared-key=123456789 /interface wireless set [ find default-name=wlan1 ] band=2ghz-b/g/n disabled=no frequency=2437 mode=\ station-pseudobridge security-profile=MTCNA-PPH ssid=MTCNA-PPH (2) Create Virtual Routers /metarouter add name=MR-1 disabled=yes add name=MR-2 disabled=yes (3) Bridge Virtual Routers # Create bridges /interface bridge add comment="For connecting MR-1 to MR-2" name=LAN add comment="For connecting MR-1 to Outside world" name=WI-FI # Create Virtual Ethernet interfaces for MetaROUTERs /interface virtual-ethernet add arp=enabled comment="MR-1 WAN interface" disabled=no mac-address=02:0D:81:4C:FA:C6 mtu=1500 \ name=VE-MR-1-ether1 add arp=enabled comment="MR-1 LAN interface" disabled=no mac-address=02:5F:91:A4:1C:2F mtu=1500 \ name=VE-MR-1-ether2 add arp=enabled comment="Interface from MR-2 to gateway (MR-1)" disabled=no mac-address=\ 02:4D:0B:B7:FF:BF mtu=1500 name=VE-MR-2-ether1 # Assign Virutal Ethernet interfaces to appropriate MetaROUTERs /metarouter interface add static-interface=VE-MR-1-ether1 virtual-machine=MR-1 vm-mac-address=02:B5:C6:87:7C:2A add static-interface=VE-MR-1-ether2 virtual-machine=MR-1 vm-mac-address=02:75:06:0C:CE:84 add static-interface=VE-MR-2-ether1 virtual-machine=MR-2 vm-mac-address=02:96:F2:0F:48:F8 # Bridge interfaces together /interface bridge port ## WAN add bridge=WI-FI interface=VE-MR-1-ether1 add bridge=WI-FI interface=wlan1 ## LAN add bridge=LAN interface=VE-MR-1-ether2 add bridge=LAN interface=VE-MR-2-ether1 (4) Service Provisioning # Boot up MetaROUTERs /metarouter print /metarouter set 0 disabled=no /metarouter set 1 disabled=no