Page 1 of 1

Problem with DHCP under MT

Posted: Tue May 16, 2006 4:49 pm
by Lukasz
Hi, I have a DHCP configuration problem uner a MT (winbox).
I don't know how to configure static MAC <-> IP relations.

example :
Mac ip
00:88:sf:2s:43:ds 192.168.0.2

I'm sorry about my English. :|
Lucas

Posted: Tue May 16, 2006 4:57 pm
by joeri91942
Try this
/ ip dhcp-server lease 
add address=192.168.2.73 mac-address=00:11:D8:8E:B0:D5 disabled=no
add address=192.168.2.40 mac-address=00:01:80:32:DF:92 disabled=no
/Jörgen

Posted: Thu May 18, 2006 10:51 pm
by Lukasz
ok, it's right..., thanks...
but, I have another qastion !
I configue a subnet mask (..../16), like 255.255.0.0
and a MT (in DHCP) give to DHCP client sub 255.0.0.0 , why ?

Can I make a something, to protect a network, that My client's can't change a IP addresses ?
for example, in My network, some laptop have a 192.168.0.4 ip, and I want to make like this, when client change on this lap ip configuration (ex. for 192.168.0.3), then can't connect to network, or something like this?!

one more time thank's for help
Lucas

Posted: Fri May 19, 2006 10:19 am
by joeri91942
This works in my setup

/ ip pool
add name="dhcp-pool-1" ranges=192.168.2.100-192.168.2.254

/ ip dhcp-server network
add address=192.168.2.0/24 gateway=192.168.2.1 \
dns-server=195.67.199.33,195.67.199.34

/Jörgen

Posted: Fri May 19, 2006 10:49 am
by cibernet
ok, it's right..., thanks...
but, I have another qastion !
I configue a subnet mask (..../16), like 255.255.0.0
and a MT (in DHCP) give to DHCP client sub 255.0.0.0 , why ?

Can I make a something, to protect a network, that My client's can't change a IP addresses ?
for example, in My network, some laptop have a 192.168.0.4 ip, and I want to make like this, when client change on this lap ip configuration (ex. for 192.168.0.3), then can't connect to network, or something like this?!

one more time thank's for help
Lucas
Set the interface to reply-only and make sure to create the ARP table with the IP/MAC. and.. read the manual....

Regards

Posted: Fri May 19, 2006 3:14 pm
by Lukasz
"Set the interface to reply-only"


that's help....
thank's very much....