Community discussions

MikroTik App
 
mykelm03
just joined
Topic Author
Posts: 19
Joined: Tue Jul 16, 2013 5:47 am

DHCP problem

Wed Aug 06, 2014 4:07 am

I got a DHCP leases problem to my WAN. Error on below,

Everytime this happens, my RB hangs and affecting the LAN. Is there any work around for this? Atleast, maybe a script that will release/renew the WAN every 4hours. Need to do a power on/off just to bring it back.

My RB is on the latest updates and firmware.

Appreciate your response on this.
You do not have the required permissions to view the files attached to this post.
 
mykelm03
just joined
Topic Author
Posts: 19
Joined: Tue Jul 16, 2013 5:47 am

Re: DHCP problem

Wed Aug 06, 2014 5:42 am

would someone check/verify if this is the correct script that i needed to release/renew IP for my WAN connection?

[admin@MikroTik] /system script> print
Flags: I - invalid
0 name="WAN check" owner="admin" policy=ftp,reboot,read,write,policy,test,password,sniff,sensitive
last-started=aug/06/2014 10:08:42 run-count=1
source=:if ( [/ping 8.8.8.8 interface=ether1-WAN count=6 ] = 0 ) do={/ip dhcp-client release}
[admin@MikroTik] /system script>
[admin@MikroTik] /system script>
[admin@MikroTik] /system script> .. scheduler
[admin@MikroTik] /system scheduler> print
Flags: X - disabled
# NAME START-DATE START-TIME INTERVAL ON-EVENT
0 dhcp check startup 5m /system script run
[admin@MikroTik] /system scheduler>