Vous êtes sur la page 1sur 3

/interface ethernet

set 0 arp=enabled auto-negotiation=yes disabled=no full-duplex=yes l2mtu=1526 \


mac-address=00:0C:42:82:71:25 mtu=1500 name="1. Gateway" speed=100Mbps
set 1 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=\
no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:82:71:26 master-port=\
none mtu=1500 name="2. LAB F-8" speed=100Mbps
set 2 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=\
no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:82:71:27 master-port=\
none mtu=1500 name="3. UPJ" speed=1Gbps
set 3 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=\
no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:82:71:28 master-port=\
none mtu=1500 name="4. Hotspot E&F" speed=100Mbps
set 4 arp=enabled auto-negotiation=yes bandwidth=unlimited/unlimited disabled=\
no full-duplex=yes l2mtu=1524 mac-address=00:0C:42:82:71:29 master-port=\
none mtu=1500 name="5. Hotspot F-8" speed=100Mbps
/interface vlan
add arp=enabled disabled=no interface="3. UPJ" l2mtu=1520 mtu=1500 name=\
"VLan400 to UPJ" use-service-tag=no vlan-id=400
add arp=enabled disabled=no interface="1. Gateway" l2mtu=1522 mtu=1500 name=\
"VLan301 dari F2" use-service-tag=no vlan-id=1
/interface ethernet switch
set 0 mirror-source=none mirror-target=none name=switch1
/interface wireless security-profiles

/ip address
add address=10.88.8.190/26 disabled=no interface="4. Hotspot E&F" network=\
10.88.8.128
add address=10.88.8.126/26 disabled=no interface="3. UPJ" network=10.88.8.64
add address=192.168.6.8/28 disabled=no interface="1. Gateway" network=\
192.168.6.0
add address=10.88.8.254/26 disabled=no interface="5. Hotspot F-8" network=\
10.88.8.192
add address=10.88.8.62/26 disabled=no interface="2. LAB F-8" network=10.88.8.0

/ip dhcp-server config


set store-leases-disk=5m
/ip dhcp-server lease
add address=10.88.8.40 client-id=1:34:64:a9:33:3d:13 disabled=no mac-address=\
34:64:A9:33:3D:13 server="2. LAB F8"
add address=10.88.8.50 always-broadcast=yes client-id=1:94:c6:91:ba:4a:22 \
disabled=no mac-address=94:C6:91:BA:4A:22 server="2. LAB F8"
add address=10.88.8.19 client-id=1:94:c6:91:73:1f:5e disabled=no mac-address=\
94:C6:91:73:1F:5E server="2. LAB F8"
add address=10.88.8.36 client-id=1:b8:97:5a:6e:82:3c disabled=no mac-address=\
B8:97:5A:6E:82:3C server="2. LAB F8"
add address=10.88.8.168 client-id=1:30:10:b3:3d:23:4b disabled=no \
mac-address=30:10:B3:3D:23:4B server="4. Hotspot E&F"
/ip dhcp-server network
add address=10.88.8.0/26 comment="LAB F8" dhcp-option="" dns-server=\
10.88.8.62 gateway=10.88.8.62 netmask=26 ntp-server="" wins-server=""
add address=10.88.8.64/26 comment=UPJ dhcp-option="" dns-server=10.88.8.126 \
gateway=10.88.8.126 netmask=26 ntp-server="" wins-server=""
add address=10.88.8.128/26 comment="Hotspot E&F" dhcp-option="" dns-server=\
10.88.8.190 gateway=10.88.8.190 netmask=26 ntp-server="" wins-server=""
add address=10.88.8.192/26 comment="Hotspot F8" dhcp-option="" dns-server=\
10.88.8.254 gateway=10.88.8.254 netmask=26 ntp-server="" wins-server=""

/ip pool
add name="4. Hotspot E&F" ranges=10.88.8.129-10.88.8.180
add name="3. Hotel SMK3" ranges=10.88.8.65-10.88.8.100
add name="2. LAB F8" ranges=10.88.8.1-10.88.8.50
add name="5. Hotspot F8" ranges=10.88.8.193-10.88.8.250

/ip hotspot profile


set [ find default=yes ] dns-name="" hotspot-address=10.88.8.126 html-
directory=hotspot http-proxy=\
0.0.0.0:0 login-by=http-chap name="3. Hotel SMK3" nas-port-type=wireless-802.11
radius-accounting=\
yes radius-default-domain="" radius-interim-update=received radius-location-
id="" \
radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX rate-limit=1M/1M
smtp-server=0.0.0.0 \
split-user-domain=no use-radius=yes
add dns-name="" hotspot-address=10.88.8.62 html-directory=hotspot http-
proxy=0.0.0.0:0 login-by=\
http-chap name="2. LAB F8" nas-port-type=wireless-802.11 radius-
accounting=yes \
radius-default-domain="" radius-interim-update=received radius-location-id="" \
radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX rate-
limit=100M/100M smtp-server=\
0.0.0.0 split-user-domain=no use-radius=yes
add dns-name="" hotspot-address=10.88.8.190 html-directory=hotspot http-
proxy=0.0.0.0:0 login-by=\
http-chap name="4. Hotspot E&F" nas-port-type=wireless-802.11 radius-
accounting=yes \
radius-default-domain="" radius-interim-update=received radius-location-id="" \
radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX rate-limit=20M/20M
smtp-server=0.0.0.0 \
split-user-domain=no use-radius=yes
add dns-name="" hotspot-address=10.88.8.254 html-directory=hotspot http-
proxy=0.0.0.0:0 login-by=\
http-chap name="5. Hotspot F8" nas-port-type=wireless-802.11 radius-
accounting=yes \
radius-default-domain="" radius-interim-update=received radius-location-id="" \
radius-location-name="" radius-mac-format=XX:XX:XX:XX:XX:XX rate-limit=5M/5M
smtp-server=0.0.0.0 \
split-user-domain=no use-radius=yes
/ip hotspot
add address-pool="3. Hotel SMK3" disabled=yes idle-timeout=none interface="3. UPJ"
keepalive-timeout=\
none name="3. UPJ" profile="3. Hotel SMK3"
add address-pool="4. Hotspot E&F" disabled=no idle-timeout=none interface="4.
Hotspot E&F" \
keepalive-timeout=none name="4. Hotspot E&F" profile="4. Hotspot E&F"
add address-pool="5. Hotspot F8" disabled=no idle-timeout=none interface="5.
Hotspot F-8" \
keepalive-timeout=none name="5. HotspotnF8" profile="5. Hotspot F8"
add address-pool="2. LAB F8" disabled=no idle-timeout=none interface="2. LAB F-8"
keepalive-timeout=\
none name="2, LAB F8" profile="2. LAB F8"
/ip hotspot user profile
set [ find default=yes ] address-list=limit-video incoming-packet-mark=teknisi-down
keepalive-timeout=\
2m name=siswa outgoing-packet-mark=teknisi-up rate-limit=256k/312k shared-
users=unlimited \
status-autorefresh=1m transparent-proxy=no
add idle-timeout=none keepalive-timeout=2m name="Lab F8" rate-limit=256k/2512k
shared-users=unlimited \
status-autorefresh=1m transparent-proxy=no
add idle-timeout=none keepalive-timeout=2m name=guru rate-limit=512k/1200k shared-
users=unlimited \
status-autorefresh=1m transparent-proxy=no
/ip hotspot ip-binding
add comment="Server F-8" disabled=no mac-address=34:64:A9:33:3D:13 server="2, LAB
F8" type=bypassed
add address=10.88.8.50 comment="Server f8 new" disabled=no mac-
address=94:C6:91:BA:4A:22 to-address=\
10.88.8.50 type=bypassed
add address=10.88.8.19 disabled=no mac-address=94:C6:91:73:1F:5E server="2, LAB F8"
to-address=\
10.88.8.19 type=bypassed
add address=10.88.8.36 comment="SERVER PPG" disabled=no mac-
address=B8:97:5A:6E:82:3C server=\
"2, LAB F8" to-address=10.88.8.36 type=bypassed
add address=192.168.0.147 comment="CLIENT PPG" disabled=no mac-
address=E8:6A:64:3D:10:3D server=\
"2, LAB F8" to-address=10.88.8.30 type=bypassed
add address=192.168.0.6 disabled=no mac-address=E8:6A:64:3D:17:3C server="2, LAB
F8" to-address=\
10.88.8.16 type=bypassed
add address=10.88.8.168 disabled=no mac-address=30:10:B3:3D:23:4B server="4.
Hotspot E&F" to-address=\
10.88.8.168 type=bypassed
add disabled=no mac-address=74:23:44:DF:E9:75 server="4. Hotspot E&F" type=bypassed
/ip hotspot service-port
set ftp disabled=no ports=21
/ip hotspot user
add comment="counters and limits for trial users" disabled=no name=default-trial
password=""
add disabled=no name=6 password=6 profile="Lab F8" server="2, LAB F8"
add disabled=no name=siswa password=smk3jaya profile=siswa
add disabled=no name=guru password=smk3jaya profile=guru
/ip hotspot walled-garden
add action=allow disabled=no dst-host=smk3.intra dst-port=""
add action=allow disabled=no dst-host=www.smk3.intra dst-port=""
add action=allow disabled=no dst-host=192.168.6.29 dst-port=""
add action=allow disabled=no dst-host=*.intra dst-port=""

Vous aimerez peut-être aussi