1 subnet = net ID
Subnetmask
Contoh= ether1=192.168.1.2/24
ether2=192.168.1.3/24
bridge=192.168.1.x/24
skema
AP Bridge
# /interface bridge add name=bridge1
/interface bridge port add interface=ether2 bridge=bridge1
/interface bridge port add interface=wlan1 bridge=bridge1
Station Bridge
# /interface bridge add name=bridge1
/interface bridge port add interface=ether2 bridge=bridge1
/interface bridge port add interface=wlan1 bridge=bridge1
Rounde 2
AP Bridge
/ip address add address=192.168.1.102/24 interface=ether1
/ip address add address=200.200.2.1/24 interface=bridge1
/ip dns set server=8.8.8.8
/ip route add gateway=192.168.2.1
Station Bridge
/ip address add address=200.200.2.1/24 interface=bridge1
/ip dns set server=8.8.8.8
/ip route add gateway=200.200.2.1
AP Bridge
/ip firewall nat add chain=srcnat out-interface=ether1 action=masquerade
Station Bridge
/ip firewall nat add chain=srcnat out-interface=bridge action=masquerade
Komentar
Posting Komentar