Page 1 of 1

DHCP lease that never expires

Posted: Tue Oct 05, 2004 10:55 am
by gianluca
I would like to set my DHCP (which is working fine with a lease time of 280 hours) to a lease time that never expires, indefinitive bounded.

This is because I am assigning tcp/udo port with dst-nat to local IP clients to allow them using emule and wouldn't want ip to change

any help
thanks

Re: DHCP lease that never expires

Posted: Tue Oct 05, 2004 8:15 pm
by mag
i would suggest to use a "normal" lease time, e.g. 48h and create fixed dhcp entrys

see:
http://www.mikrotik.com/docs/ros/2.8/ip/dhcp.content

section dhcp-server, dhcp leases.

this will assure, that a given client (MAC) always gets the same ip-address, but still enables a central management of network data.

regards.
matthias

Posted: Tue Oct 05, 2004 11:04 pm
by gianluca
ok many thanks, I did it ands it seems it works ok.
Do you also have people using p2p on your network? what do you do with them?

Posted: Tue Oct 05, 2004 11:35 pm
by mag
ok many thanks, I did it ands it seems it works ok.
Do you also have people using p2p on your network? what do you do with them?
until now -- nothing. we are counting ip-volume;-)

regards.
matthias

Posted: Tue Oct 05, 2004 11:44 pm
by gianluca
ok thanks.

I was meaning:

do you use dst-nat to make them having a high ID?
do you limit the connections per user ?

my email is gianred123@yahoo.it

Posted: Wed Oct 06, 2004 9:07 am
by mag
do you use dst-nat to make them having a high ID?
what do you mean by high ID? i'd guess this is something p2p-specific.
do you limit the connections per user ?
no.

regards.
 matthias

Posted: Wed Oct 06, 2004 9:48 am
by gianluca
yes

in Emule you need your port open to allow you to a high speed of up/download, this is indicated by your ID number (low no good, hogh perfect)

if you are using local private IP with NAT or masquerade, you need to use dst-nat

Posted: Thu Oct 14, 2004 11:27 pm
by gianluca
yes

what I do about fix dhcp entry is with the winbox to doubleclick and the say copy and save it

the D of dynamic goes away and looks like static, but it still countingdown the lease time ....

how can I bound eternally the IP to a lease and mac ?

Posted: Sat Oct 23, 2004 2:16 pm
by gianluca
I am surprised that also putting it manually is countingdown the time and says expire after ....