<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><br><br>Sorry in users i sent the wrong vlan id it is corrected<br><br>--- On <b>Tue, 2/1/11, Anagh Pramanik <i><anagh_pramanik@yahoo.com></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Anagh Pramanik <anagh_pramanik@yahoo.com><br>Subject: freeradius dhcp file configuration details needed for multiple vlan<br>To: freeradius-users@lists.freeradius.org<br>Date: Tuesday, February 1, 2011, 11:30 PM<br><br><div id="yiv1442903957"><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font-family: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; font-size: inherit; line-height: inherit; font-size-adjust: inherit; font-stretch: inherit; -x-system-font: none;" valign="top">


         
        <title></title>
         
        <style type="text/css">
<!--
 _filtered #yiv1442903957 {margin:0.79in;}
#yiv1442903957 P {margin-bottom:0.08in;}
-->
</style>

<pre>I am using VLANs and want different IP ranges for different access <br>privileges, So I use Q-Trunks as our network equipment <br>permits.<br>After surfing internet i have sucessfuly configured the below mentioned case<br>My existing (sample) scenario is <br>In my L3 switch  ip 192.168.0.1/24 which is in vlan1<br>vlan 2 ip 192.168.1.1/24<br>vlan 3 ip 192.168.2.1/24<br>vlan 4 ip 192.168.3.1/24<br>All vlans are internally routed and dhcp helper address for every vlan in pointed to 192.168.1.3.<br>I have installed through yum freeradius and dhcpd <br>My <b>freeradius and dhcp server is in fedora 13 having ip 192.168.1.3</b><br>--------------------<br>in /etc/dhcp/dhcpd.conf<br>-----------------------<br>default-lease-time 86400;<br>max-lease-time 86400;<br>ddns-update-style interim;<br>ddns-updates on;<br>allow client-updates;<br>allow unknown-clients;<br>subnet 192.168.0.0 netmask 255.255.255.0 {<br>   # --- default gateway<br>        option routers  
                192.168.0.1;<br>        option subnet-mask              255.255.255.0;<br>        option broadcast-address        192.168.0.255;<br><br>        option domain-name-servers       192.168.1.2;      <br>        default-lease-time 86400;<br>        max-lease-time 86400;<br><br>       host ciscoap {<br>        hardware ethernet 00:26:99:4c:ea:f8;<br>        fixed-address 192.168.0.110;<br>        }<br>}<br>subnet 192.168.1.0 netmask 255.255.255.0 {<br>   # --- default gateway<br>        option routers                  192.168.1.1;<br>        option subnet-mask              255.255.255.0;<br>        option broadcast-address        192.168.1.255;<br><br>        option domain-name-servers       192.168.1.2,202.54.9.1,202.54.1.30;      <br>        default-lease-time 86400;<br>        max-lease-time 86400;<br>  host facultylaptop {<br>        hardware ethernet 00:0f:b5:ca:c2:c1;<br>        fixed-address 192.168.1.150;<br>        }<br><br>    }
 <br><br>subnet 192.168.2.0 netmask 255.255.255.0 {<br>   # --- default gateway<br>        option routers                  192.168.3.1;<br>        option subnet-mask              255.255.255.0;<br>        option broadcast-address        192.168.3.255;<br><br>        option domain-name-servers       192.168.1.2,202.54.9.1,202.54.1.30;      <br>        default-lease-time 86400;<br>        max-lease-time 86400;<br><br>     host studentlaptop {<br>        hardware ethernet 10:21:6b:0e:44:62;<br>       fixed-address 192.168.2.150;<br>        }<br>    } <br><br>-------------------------<br>/etc/raddb/users.conf<br>---------------------<br>000fb5cac2c1    Cleartext-Password := "000fb5cac2c1"<br>   Reply-Message = "facultylaptop",<br>        Tunnel-Medium-Type ="IEEE-802",<br>        Tunnel-Private-Group-ID = "2",<br>        Tunnel-Type = "VLAN",<br>        Fall-Through = "NO"<br>10216b0e4462    Cleartext-Password := "10216b0e4462"<br>                Reply-Message =
 "studentlaptop",<br>                Tunnel-Medium-Type ="IEEE-802",<br>                Tunnel-Type = "VLAN",<br>                Tunnel-Private-Group-ID = "3",<br>                Fall-Through = "NO"<br>It is working fine As recently I watched that freeradius currently supports dhcp i also watched mentioned sample file now i want to use freeradius for my dhcp work<br>After installing version 2.1.10 in os fedora 13 as given in site documentation i.e configuring with dhcp .I saw now in the new pc freeradius is installed /usr/local/etc/raddb<br>Now Please help me to configure binding differnet ip network address to each of laptop wireless mac address what will be the configuration value of /usr/loacl/etc/raddb/sites-vailable/dhcp<br>According to my dhcpd.conf please give me the details of the dhcp file<br>I understood that my mac2ip file should
 be<br>00:26:99:4c:ea:f8,192.168.0.110<br>00:0f:b5:ca:c2:c1,192.168.1.150<br>10:21:6b:0e:44:62,192.168.2.150<br>---------------<br>is it correct??<br>------------------<br>where to write dns,router address of each network????<br>---------------------------------------<br></pre>
I already visit this site but not getting my answers properly in the existing thread<br><br><div><font color="#ff0000">Anagh Pramanik</font></div>  </td></tr></tbody></table><br>

      </div></blockquote></td></tr></table><br>