Hello Simon, thanks for answering. Your are right about the network, that is how it works, but I can't change any of that, I have to solve the problem of deciding wich server is better to associate with but I can't add equipment such as routers or changing too much the way the network was planned to work. This is a project from my university that was given to me but the decisions made of how the schools were going to operate was made many time ago. <br>
I agree with you about the broadcast traffic but I think they thought of that and bought mikrotik to configure them like routers when they think is begining to <span style="background-color: rgb(255, 255, 255);">seem necesary.</span><br style="background-color: rgb(255, 255, 255);">
<br style="background-color: rgb(255, 255, 255);"><span style="background-color: rgb(255, 255, 255);">I was hoping to figure out wich AP the client connect to </span><span><span style="background-color: rgb(235, 239, 249);" title="midiendo"><span style="background-color: rgb(255, 255, 255);">measuring (with something like arping or rarping) latency to the server from every AP and compare it with latency to the laptop's MAC (the MAC I will know it from de dhcp discover packet).<br>
<br>Then comparing many data from snmp consults I will decide wich server is optimum, that condition is the one both servers must check before responding.<br>I couldn't understand from your reply if the classes you define are in the dhcpd.conf, and if that the case I think I can use it for the purpose I need, thanks! I will try it and let you know.<br>
<br>The thing about blocking the clients from the other school or the outdoor clients is, that is not the solution we were asked to do, in fact they want the clients to associate to the optimum server despite where they are.<br>
<br>lulu<br><br>
</span>
<br></span></span><div class="gmail_quote">2010/3/16 Simon Hobson <span dir="ltr"><<a href="mailto:dhcp1@thehobsons.co.uk" target="_blank">dhcp1@thehobsons.co.uk</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Lulu GO wrote:<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
My problem is this, I have two dhcp server (dhcp3) in the same network, this network is a link layer network so every host is seen as directly connected. The two servers have debian lenny and there are near 13 AP mikrotik to give connection to the XO laptops (from the project one laptop per child). This is for two public schools (each one with one server) that are connected via a p2p connection and each one provides internet for the school and outdoor too. The servers are also file servers, proxy, etc.<br>
</blockquote>
<br></div>
Let me get this clear - you have two schools, each has a network and a DHCP server, and the networks are linked so they appear as one big network with just one broadcast domain ?<br>
<br>
The first thing that comes to mind is ... yuck ! You'll have loads of traffic going across the link no matter what you do.<br>
<br>
What you will need to do is figure out if there is something unique about the access points that will allow you to device a matching statement. there has to be something in the received packet that differentiates the access point to which the client has connected.<br>
<br>
Once you have that, then you can build class statements :<br>
<br>
class "school-a" {<br>
match if <some condition>;<br>
<options>;<br>
}<br>
class "school-b" {<br>
match if <some condition>;<br>
<options>;<br>
}<br>
<br>
<options> could be things like "next-server" and so on to get the client to boot from it's local server.<br>
<br>
You can also do things like :<br>
<br>
pool {<br>
range ....;<br>
deny members of "school-b";<br>
}<br>
so that the DHCP server in school A won't even respond to the clients in school B - but to be honest, it's probably not worth it as the DHCP traffic is just so tiny compared to all the other broadcast stuff you'll be wasting your bandwidth on.<br>
<br>
<br>
Another option is to do some filtering at the network level. On one or both of the devices that link the two networks, configure a filter that will block the client DHCP traffic from going across the link to the other school. That will just make the distant DHCP server invisible to the client.<br>
<br>
-- <br>
Simon Hobson<br>
<br>
WANTED: "Software CD ROM Kit" for Canon CLBP 360-PS printer (Canon part no RH6-3612, or possibly RH6-3810, or RH6-3610 might do). I've a dead HD and need this CD so I can replace the disk and re-install the printer OS on it.<br>
This is NOT the same thing as the printer drivers to load on the computer - there's no problem there.<br>
If anyone knows where I might get hold of one I'd be grateful - requests to Canon drew a blank, it's been out of support for years.<br>
Alternatively, if anyone has one of these and would let me image their hard disk ...<br>
<br>
Visit <a href="http://www.magpiesnestpublishing.co.uk/" target="_blank">http://www.magpiesnestpublishing.co.uk/</a> for books by acclaimed<br>
author Gladys Hobson. Novels - poetry - short stories - ideal as<br>
Christmas stocking fillers. Some available as e-books.<br>
_______________________________________________<br>
dhcp-users mailing list<br>
<a href="mailto:dhcp-users@lists.isc.org" target="_blank">dhcp-users@lists.isc.org</a><br>
<a href="https://lists.isc.org/mailman/listinfo/dhcp-users" target="_blank">https://lists.isc.org/mailman/listinfo/dhcp-users</a><br>
</blockquote></div><br>