/interface vrrp
add interface=ether2 name=vrrp1 vrid=10
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=\
MikroTik
/ip pool
add name=dhcp_pool0 ranges=\
172.16.0.10-172.16.0.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no \
interface=vrrp1 name=dhcp1
/ip address
add address=172.16.0.2/24 interface=ether2 \
network=172.16.0.0
add address=172.16.0.1/24 interface=vrrp1 \
network=172.16.0.0
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-server network
add address=172.16.0.0/24 gateway=172.16.0.1
/ip firewall nat
add action=masquerade chain=srcnat
/system identity
set name=Primary
/interface vrrp
add interface=ether2 name=vrrp1 priority=10 vrid=10
/interface wireless security-profiles
set [ find default=yes ] supplicant-identity=MikroTik
/ip pool
add name=dhcp_pool0 ranges=172.16.0.10-172.16.0.254
/ip dhcp-server
add address-pool=dhcp_pool0 disabled=no interface=vrrp1 name=\
dhcp1
/ip address
add address=192.168.12.2/24 interface=ether1 network=\
192.168.12.0
add address=172.16.0.3/24 interface=ether2 network=172.16.0.0
add address=172.16.0.1/24 interface=vrrp1 network=172.16.0.0
/ip dhcp-server network
add address=172.16.0.0/24 dns-server=172.16.0.1 gateway=\
172.16.0.1
/ip dns
set servers=8.8.8.8
/ip firewall nat
add action=masquerade chain=srcnat
/ip route
add distance=1 gateway=192.168.12.1
/system identity
set name=Scendary

No comments:
Post a Comment