jan/02/1970 02:47:11 dhcp,critical,error dhcp-client on ether1 lost IP address 192
.168.1.2 - received NAK from dhcp server 192.168.1.1
[wisee@MikroTik] > export
# jan/02/1970 03:54:35 by RouterOS 6.10
# software id = 7JK4-WAQD
#
/interface bridge
add name=bridge1
/interface ethernet
set [ find default-name=ether1 ] comment=WAN1
set [ find default-name=ether2 ] comment=WAN2
set [ find default-name=ether5 ] comment=LOCL
/ip neighbor discovery
set ether1 comment=WAN1
set ether2 comment=WAN2
set ether5 comment=LOCL
/ip pool
add name=hs-pool-5 ranges=10.0.0.1,10.0.0.3-10.0.0.254
/ip dhcp-server
add address-pool=hs-pool-5 disabled=no interface=ether5 lease-time=1h name=\
dhcp1
/ip hotspot user profile
set [ find default=yes ] address-pool=hs-pool-5 idle-timeout=none \
keepalive-timeout=2m mac-cookie-timeout=3d shared-users=2
add address-pool=hs-pool-5 idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d name=2Mb/s open-status-page=http-login rate-limit=\
512k/2m transparent-proxy=yes
add address-pool=hs-pool-5 idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d name=3.2Mb/s open-status-page=http-login rate-limit=\
512k/3600k transparent-proxy=yes
add address-pool=hs-pool-5 idle-timeout=none keepalive-timeout=2m \
mac-cookie-timeout=3d name=Trial open-status-page=http-login rate-limit=\
512k/1m shared-users=unlimited transparent-proxy=yes
/ip hotspot profile
add hotspot-address=10.0.0.2 login-by=cookie,http-chap,trial name=hsprof1 \
trial-uptime=10m/1w trial-user-profile=Trial
/ip hotspot
add address-pool=hs-pool-5 disabled=no interface=ether5 name=hotspot1 profile=\
hsprof1
/queue type
add kind=pcq name=three-up pcq-classifier=src-address pcq-dst-address6-mask=64 \
pcq-rate=128k pcq-src-address6-mask=64
add kind=pcq name=three-down pcq-burst-rate=4M pcq-burst-time=5m \
pcq-classifier=dst-address pcq-dst-address6-mask=64 pcq-limit=500 pcq-rate=\
2500k pcq-src-address6-mask=64
/queue tree
add limit-at=512k max-limit=750k name=all-up packet-mark=\
internet-packet,user-packet parent=ether2 queue=default
add burst-time=10s limit-at=3M max-limit=7M name=all-down packet-mark=\
user-packet,internet-packet parent=ether5 queue=default
add limit-at=450k max-limit=700k name=user-up packet-mark=user-packet parent=\
all-up priority=7 queue=three-up
add burst-limit=4M burst-time=20s limit-at=2600k max-limit=3M name=user-down \
packet-mark=user-packet parent=all-down priority=7 queue=three-down
add limit-at=650k max-limit=900k name=internet-up packet-mark=internet-packet \
parent=all-up priority=6 queue=three-up
add limit-at=2600k max-limit=7M name=internet-down packet-mark=internet-packet \
parent=all-down priority=6 queue=three-down
add limit-at=512k max-limit=750k name=all-up2 packet-mark=\
internet-packet,user-packet parent=ether2 queue=default
add limit-at=450k max-limit=700k name=internet-up2 packet-mark=internet-packet \
parent=all-up2 priority=6 queue=three-up
/ip address
add address=10.0.0.2/24 interface=ether5 network=10.0.0.0
add address=192.168.2.2/24 interface=ether2 network=192.168.2.0
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no \
interface=ether1
/ip dhcp-server network
add address=10.0.0.0/24 comment="hotspot network" gateway=10.0.0.2
/ip dns
set allow-remote-requests=yes max-udp-packet-size=521 servers=8.8.8.8
/ip firewall address-list
add address=10.0.0.0/24 list=Users
add address=192.168.1.1 list=DNS
/ip firewall filter
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
disabled=yes
add action=drop chain=input comment=Drop_invalid_connection_packets \
connection-state=invalid disabled=yes
add chain=input comment=Allow_established_connections connection-state=\
established disabled=yes
add chain=input comment=Allow_related_connections connection-state=related \
disabled=yes
add chain=input comment="Allow UDP" disabled=yes protocol=udp
add chain=input comment="Allow ICMP Ping" disabled=yes protocol=icmp
add chain=input comment="Access to router only from local network" disabled=yes \
src-address=10.0.0.0/24
add action=drop chain=input comment="All other inputs drop" disabled=yes
/ip firewall mangle
add action=mark-connection chain=prerouting comment=User dst-address-list=Users \
new-connection-mark=users-connection
add action=mark-packet chain=prerouting comment=User connection-mark=\
users-connection new-packet-mark=user-packet passthrough=no
add action=mark-connection chain=prerouting comment=internet \
new-connection-mark=internet-connection
add action=mark-packet chain=prerouting comment=internet new-packet-mark=\
internet-packet
/ip firewall nat
add action=passthrough chain=unused-hs-chain comment="place hotspot rules here" \
disabled=yes to-addresses=0.0.0.0
add action=masquerade chain=srcnat comment="masquerade hotspot network" \
src-address=10.0.0.0/24 to-addresses=0.0.0.0
add action=masquerade chain=srcnat out-interface=ether1 src-address=10.0.0.0/24
add action=masquerade chain=srcnat out-interface=ether2 src-address=10.0.0.0/24 \
to-addresses=0.0.0.0
/ip hotspot ip-binding
add address=192.168.1.254 mac-address=90:F6:52:A8:2A:A2 server=hotspot1 \
to-address=192.168.1.254
/ip hotspot user
.....
/ip route
add distance=1 gateway=192.168.1.1,192.168.2.1
/ip upnp
set allow-disable-external-interface=no
/system clock manual
set dst-end="feb/23/2014 00:00:00" dst-start="feb/23/2014
/system lcd
set contrast=0 enabled=no port=parallel type=24x4
/system lcd page
set time disabled=yes display-time=5s
set resources disabled=yes display-time=5s
set uptime disabled=yes display-time=5s
set packets disabled=yes display-time=5s
set bits disabled=yes display-time=5s
set version disabled=yes display-time=5s
set identity disabled=yes display-time=5s
set bridge1 disabled=yes display-time=5s
set ether1 disabled=yes display-time=5s
set ether2 disabled=yes display-time=5s
set ether3 disabled=yes display-time=5s
set ether4 disabled=yes display-time=5s
set ether5 disabled=yes display-time=5s
как то так
ну ты меня вообще опустиЛ))
это я первый раз делаю)) а копирую все, так как знал бы точно что надо может быть и разобрался или же более точный вопрос сформулировал