Friday, June 15, 2012

Dynamic IP Address assignment using FreeRadius IP POOL or radippool table

The following steps needs to be performed to configure a user for dynamic IP configuration setup.
  • Add username/password to “radcheck” table.
  • Map user to relevant dynamic user group in “radusergrop” table
  • Map the dynamic user group to “Pool-Name” attribute’s value in “radgroupcheck” table
  • Populate “radippool” table with the dynamic IP addresses and the relevant pool name.
  • Example:
 Configure a dynamic IP user setup for 254 users. Following data will be used for our example;

 Username:  foo@domain
 Groupname: dynamic_test
 Pool-Name: dynamic_pool
 IP range: 10.10.10.1/24
 First start with adding the user "foo@domain” to “radcheck” table.

  • Map user “foo@cerbereus" to the group “dynamic_test” in the “radusergroup” table, e.g.
 Username:       Groupname       : Priority
 foo@cerberus:   dynamic_test    :   1

  • Map the dynamic user group (dynamic_test) to Pool-name attributes in “radgroupcheck” table.
 Groupname:           attribute :     op        :               Value 
 Dynamic_test:        Pool-Name       :         :=         :   dynamic_pool

  • Add the IP addresses into the “radippool” table, as:
 Pool_name :     Framedipaddress

 Dynamic_pool:   10.10.10.1
 Dynamic_pool:   10.10.10.2

3 comments:

  1. I’m going to read this. I’ll be sure to come back. thanks for sharing. and also This article gives the light in which we can observe the reality. this is very nice one and gives indepth information. thanks for this nice article... https://192-168-i-i.com

    ReplyDelete
  2. Switches are utilized for arrange division dependent on the MAC addresses. Switches take a gander at the approaching casing's equipment delivers before choosing to either advance the casing or drop it. Expert Circle

    ReplyDelete
  3. For this web site, you will see our account, remember to go through this info. look at here now

    ReplyDelete

Restrict SSH access to Management IP address ranges - Juniper EX Switches

People from Cisco world would always wonder that how to restrict ssh access to a Juniper EX switch to fewer hosts or ranges Here is how y...