Community discussions

MikroTik App
 
gianluca
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Sun Aug 08, 2004 11:00 pm
Location: Italy - Spain - USA

DHCP lease that never expires

Tue Oct 05, 2004 10:55 am

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
 
User avatar
mag
Member
Member
Posts: 378
Joined: Thu Jul 01, 2004 12:32 pm
Location: Cologne, NRW, Germany
Contact:

Re: DHCP lease that never expires

Tue Oct 05, 2004 8:15 pm

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
 
gianluca
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Sun Aug 08, 2004 11:00 pm
Location: Italy - Spain - USA

Tue Oct 05, 2004 11:04 pm

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?
 
User avatar
mag
Member
Member
Posts: 378
Joined: Thu Jul 01, 2004 12:32 pm
Location: Cologne, NRW, Germany
Contact:

Tue Oct 05, 2004 11:35 pm

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
 
gianluca
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Sun Aug 08, 2004 11:00 pm
Location: Italy - Spain - USA

Tue Oct 05, 2004 11:44 pm

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
 
User avatar
mag
Member
Member
Posts: 378
Joined: Thu Jul 01, 2004 12:32 pm
Location: Cologne, NRW, Germany
Contact:

Wed Oct 06, 2004 9:07 am

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
 
gianluca
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Sun Aug 08, 2004 11:00 pm
Location: Italy - Spain - USA

Wed Oct 06, 2004 9:48 am

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
 
gianluca
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Sun Aug 08, 2004 11:00 pm
Location: Italy - Spain - USA

Thu Oct 14, 2004 11:27 pm

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 ?
 
gianluca
Member Candidate
Member Candidate
Topic Author
Posts: 258
Joined: Sun Aug 08, 2004 11:00 pm
Location: Italy - Spain - USA

Sat Oct 23, 2004 2:16 pm

I am surprised that also putting it manually is countingdown the time and says expire after ....

Who is online

Users browsing this forum: danypd69, nescafe2002, sebus and 176 guests