Sorry in users i sent the wrong vlan id it is corrected
--- On Tue, 2/1/11, Anagh Pramanik <[email protected]> wrote: From: Anagh Pramanik <[email protected]> Subject: freeradius dhcp file configuration details needed for multiple vlan To: [email protected] Date: Tuesday, February 1, 2011, 11:30 PM I am using VLANs and want different IP ranges for different access privileges, So I use Q-Trunks as our network equipment permits. After surfing internet i have sucessfuly configured the below mentioned case My existing (sample) scenario is In my L3 switch ip 192.168.0.1/24 which is in vlan1 vlan 2 ip 192.168.1.1/24 vlan 3 ip 192.168.2.1/24 vlan 4 ip 192.168.3.1/24 All vlans are internally routed and dhcp helper address for every vlan in pointed to 192.168.1.3. I have installed through yum freeradius and dhcpd My freeradius and dhcp server is in fedora 13 having ip 192.168.1.3 -------------------- in /etc/dhcp/dhcpd.conf ----------------------- default-lease-time 86400; max-lease-time 86400; ddns-update-style interim; ddns-updates on; allow client-updates; allow unknown-clients; subnet 192.168.0.0 netmask 255.255.255.0 { # --- default gateway option routers 192.168.0.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.0.255; option domain-name-servers 192.168.1.2; default-lease-time 86400; max-lease-time 86400; host ciscoap { hardware ethernet 00:26:99:4c:ea:f8; fixed-address 192.168.0.110; } } subnet 192.168.1.0 netmask 255.255.255.0 { # --- default gateway option routers 192.168.1.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.1.255; option domain-name-servers 192.168.1.2,202.54.9.1,202.54.1.30; default-lease-time 86400; max-lease-time 86400; host facultylaptop { hardware ethernet 00:0f:b5:ca:c2:c1; fixed-address 192.168.1.150; } } subnet 192.168.2.0 netmask 255.255.255.0 { # --- default gateway option routers 192.168.3.1; option subnet-mask 255.255.255.0; option broadcast-address 192.168.3.255; option domain-name-servers 192.168.1.2,202.54.9.1,202.54.1.30; default-lease-time 86400; max-lease-time 86400; host studentlaptop { hardware ethernet 10:21:6b:0e:44:62; fixed-address 192.168.2.150; } } ------------------------- /etc/raddb/users.conf --------------------- 000fb5cac2c1 Cleartext-Password := "000fb5cac2c1" Reply-Message = "facultylaptop", Tunnel-Medium-Type ="IEEE-802", Tunnel-Private-Group-ID = "2", Tunnel-Type = "VLAN", Fall-Through = "NO" 10216b0e4462 Cleartext-Password := "10216b0e4462" Reply-Message = "studentlaptop", Tunnel-Medium-Type ="IEEE-802", Tunnel-Type = "VLAN", Tunnel-Private-Group-ID = "3", Fall-Through = "NO" 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 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 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 According to my dhcpd.conf please give me the details of the dhcp file I understood that my mac2ip file should be 00:26:99:4c:ea:f8,192.168.0.110 00:0f:b5:ca:c2:c1,192.168.1.150 10:21:6b:0e:44:62,192.168.2.150 --------------- is it correct?? ------------------ where to write dns,router address of each network???? --------------------------------------- I already visit this site but not getting my answers properly in the existing thread Anagh Pramanik
- List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

