<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]--><style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
        {mso-style-priority:99;
        mso-style-link:"Plain Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.5pt;
        font-family:Consolas;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.PlainTextChar
        {mso-style-name:"Plain Text Char";
        mso-style-priority:99;
        mso-style-link:"Plain Text";
        font-family:Consolas;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1032" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
  <o:rules v:ext="edit">
   <o:r id="V:Rule2" type="connector" idref="#_x0000_s1026" />
   <o:r id="V:Rule4" type="connector" idref="#_x0000_s1027" />
   <o:r id="V:Rule6" type="connector" idref="#_x0000_s1028" />
   <o:r id="V:Rule8" type="connector" idref="#_x0000_s1029" />
   <o:r id="V:Rule10" type="connector" idref="#_x0000_s1030" />
   <o:r id="V:Rule12" type="connector" idref="#_x0000_s1031" />
  </o:rules>
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span lang="EN-US">Hi all,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Let us assume that there would be 2 servers running , so 2 clients   should connect to the server.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I am using ISC dhcp-4.2.3 code.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><!--[if gte vml 1]><v:shapetype id="_x0000_t32" coordsize="21600,21600" 
 o:spt="32" o:oned="t" path="m,l21600,21600e" filled="f">
 <v:path arrowok="t" fillok="f" o:connecttype="none" />
 <o:lock v:ext="edit" shapetype="t" />
</v:shapetype><v:shape id="_x0000_s1030" type="#_x0000_t32" style='position:absolute;
 margin-left:153pt;margin-top:8.25pt;width:50.25pt;height:.75pt;flip:y;
 z-index:251660288' o:connectortype="straight">
 <v:stroke endarrow="block" />
</v:shape><![endif]--><![if !vml]><span style="mso-ignore:vglayout;position:
absolute;z-index:251660288;margin-left:203px;margin-top:5px;width:70px;
height:12px"><img width="70" height="12" src="cid:image003.png@01CCC407.8248B540" v:shapes="_x0000_s1030"></span><![endif]><span lang="EN-US">Linux
 server --------------->switch                        PC1<o:p></o:p></span></p>
<p class="MsoNormal"><!--[if gte vml 1]><v:shape id="_x0000_s1031" type="#_x0000_t32" 
 style='position:absolute;margin-left:28.5pt;margin-top:1.5pt;width:0;height:14.25pt;
 z-index:251661312' o:connectortype="straight">
 <v:stroke endarrow="block" />
</v:shape><![endif]--><![if !vml]><span style="mso-ignore:vglayout;position:
absolute;z-index:251661312;margin-left:32px;margin-top:1px;width:12px;
height:22px"><img width="12" height="22" src="cid:image004.png@01CCC407.8248B540" v:shapes="_x0000_s1031"></span><![endif]><!--[if gte vml 1]><v:shape id="_x0000_s1027" 
 type="#_x0000_t32" style='position:absolute;margin-left:142.5pt;margin-top:1.5pt;
 width:.75pt;height:28.5pt;z-index:251658240' o:connectortype="straight" /><![endif]--><![if !vml]><span style="mso-ignore:vglayout;position:absolute;z-index:251658240;margin-left:
189px;margin-top:1px;width:3px;height:40px"><img width="3" height="40" src="cid:image005.png@01CCC407.8248B540" v:shapes="_x0000_s1027"></span><![endif]><span lang="EN-US">                                                             
                             <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">running two process<o:p></o:p></span></p>
<p class="MsoNormal"><!--[if gte vml 1]><v:shape id="_x0000_s1029" type="#_x0000_t32" 
 style='position:absolute;margin-left:143.25pt;margin-top:6.75pt;width:60pt;
 height:0;z-index:251659264' o:connectortype="straight">
 <v:stroke endarrow="block" />
</v:shape><![endif]--><![if !vml]><span style="mso-ignore:vglayout;position:
absolute;z-index:251659264;margin-left:190px;margin-top:3px;width:83px;
height:12px"><img width="83" height="12" src="cid:image006.png@01CCC407.8248B540" v:shapes="_x0000_s1029"></span><![endif]><span lang="EN-US">i:e
 dhcpd                                                                       PC2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">PC1 as client 1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">PC2 as client 2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">in switch , two ports are used to connect PC1 and PC2<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">these two ports I have configured as vlans 1 and 2.  (access port)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Vlan 1 for PC1 connection.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Vlan 2 for PC2 connection<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Initially we would have configured in server side about which subnet it should listen.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For example :<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Ifconfig etho add 10.1.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Ifconfig eth1 add 20.1.1.1<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">But I got one information from dhcp users , there are methods available and I mentioned below.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><b><u><span style="color:red">1) Declare host statements for clients required in one subnet, then use allow/deny known-hosts to allow them in one and deny them in the other.<o:p></o:p></span></u></b></p>
<p class="MsoPlainText"><b><u><span style="color:red"><o:p><span style="text-decoration:none"> </span></o:p></span></u></b></p>
<p class="MsoPlainText"><b><u><span style="color:red">2) Use classes and subclasses to assign clients in much the same way (typically by list of MAC addresses.<o:p></o:p></span></u></b></p>
<p class="MsoPlainText"><b><u><span style="color:red"><o:p><span style="text-decoration:none"> </span></o:p></span></u></b></p>
<p class="MsoPlainText"><b><u><span style="color:red">3) Use classes matches on some arbitrary expression (could be vendor ID etc) to separate clients.<o:p></o:p></span></u></b></p>
<p class="MsoPlainText"><b><u><span style="color:red"><o:p><span style="text-decoration:none"> </span></o:p></span></u></b></p>
<p class="MsoNormal"><b><u><span lang="EN-US" style="color:red"><o:p><span style="text-decoration:none"> </span></o:p></span></u></b></p>
<p class="MsoNormal"><b><u><span lang="EN-US" style="color:red"><o:p><span style="text-decoration:none"> </span></o:p></span></u></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:#7030A0"><o:p> </o:p></span></b></p>
<p class="MsoNormal"><b><span lang="EN-US" style="color:#7030A0">But I need information about method 3 due to my requirements. How to do that type of client separation.  Please let me know.<o:p></o:p></span></b></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                <o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">For example in dhcpd.conf contains 10subnets<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">                #vi dhcpd.conf<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText">   subnet 10.0.0.0 netmask 255.0.0.0 {<o:p></o:p></p>
<p class="MsoPlainText">     ...<o:p></o:p></p>
<p class="MsoPlainText">   }<o:p></o:p></p>
<p class="MsoPlainText">   subnet 20.0.0.0 netmask 255.0.0.0 {<o:p></o:p></p>
<p class="MsoPlainText">     ...<o:p></o:p></p>
<p class="MsoPlainText">   }<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoPlainText"><span lang="EN-US">   </span>subnet 30.0.0.0 netmask 255.0.0.0 {<o:p></o:p></p>
<p class="MsoPlainText">     ...<o:p></o:p></p>
<p class="MsoPlainText">   }<o:p></o:p></p>
<p class="MsoPlainText">   subnet 40.0.0.0 netmask 255.0.0.0 {<o:p></o:p></p>
<p class="MsoPlainText">     ...<o:p></o:p></p>
<p class="MsoPlainText">   }<o:p></o:p></p>
<p class="MsoPlainText">   subnet 50.0.0.0 netmask 255.0.0.0 {<o:p></o:p></p>
<p class="MsoPlainText">     ...<o:p></o:p></p>
<p class="MsoPlainText">   }<o:p></o:p></p>
<p class="MsoPlainText">   subnet 60.0.0.0 netmask 255.0.0.0 {<o:p></o:p></p>
<p class="MsoPlainText">     ...<o:p></o:p></p>
<p class="MsoPlainText">   } <o:p></o:p></p>
<p class="MsoPlainText">   subnet 70.0.0.0 netmask 255.0.0.0 {<o:p></o:p></p>
<p class="MsoPlainText">     ...<o:p></o:p></p>
<p class="MsoPlainText">   }<o:p></o:p></p>
<p class="MsoPlainText">   subnet 80.0.0.0 netmask 255.0.0.0 {<o:p></o:p></p>
<p class="MsoPlainText">     ...<o:p></o:p></p>
<p class="MsoPlainText">   }<o:p></o:p></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Ameen S<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
<P><strong><span style='font-size:10.0pt;font-family:
"Palatino Linotype","serif";color:green'> Please do not print this email unless it is absolutely necessary. </span></strong><span style='font-family:"Arial","sans-serif"'><o:p></o:p></span></p>


<p> The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. </p>

<p>WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. </p>
<p>
www.wipro.com
</p>
</body>
</html>