Hi!
One of our clients wants to assing fixed IP address to a client which
spefied distinct agent.circuit-id option which they receive from router.
Is it possble to use this kind of way to assing fixed IP to the clients?
They are also consifreing using LDAP to connect user with specific IP
address.
Below is sample of the config to see how they try to implement it.
Thanks for any help in andvance.
Milan
################################################## ############################################3
subnet 10.100.0.0 netmask 255.255.0.0 {
option routers 10.100.0.1;
default-lease-time 300;
max-lease-time 600;
option domain-name-servers 127.0.0.1;
# range 10.100.0.100 10.100.0.200;
class "t13" {
match if (option agent.circuit-id = "GigabitEthernet 4/0.100102:102")
and (option vendor-class-identifier = "i3 micro HAG");
}
pool {
allow members of "t13";
range 10.100.0.205 10.100.0.205;
}
class "t14" {
match if (option agent.circuit-id = "GigabitEthernet 4/0.100102:102")
and (option vendor-class-identifier = "udhcp 0.9.9-pre");
}
pool {
allow members of "t14";
range 10.100.0.206 10.100.0.206;
}
class "t12" {
match if option agent.circuit-id = "GigabitEthernet 4/0.100102:102";
}
pool {
allow members of "t12";
range 10.100.0.202 10.100.0.202;
}
|