with a SRX240 Junos 12.1X44-D40.2
scope to assign a ip to a mac address !
at the moment I have around 20 services dhcp pool definite and propagate each corrispond a vlan.
I tried to use static-binding but it doesn't work .
most of the comments I found suggest to use dhcp-local-server,
my first question is: what is it the difference between "service dhcp pool" and "access address-assignment"?
show system services dhcp pool 192.168.114.0/24 {
address-range low 192.168.114.50 high 192.168.114.254;
name-server {
8.8.8.8;
}
router {
192.168.114.1;
}
propagate-settings vlan.114;
show system services dhcp pool 192.168.115.0/24 {
address-range low 192.168.115.50 high 192.168.115.254;
name-server {
8.8.8.8;
}
router {
192.168.115.1;
}
propagate-settings vlan.115;
convert this to a "set access",
second questtion: how can I associate the first to vlan.114 and second to vlan.115 using access ?
access address-assignment {
pool LAN114 {
family inet {
network 192.168.114.0/24;
range wired {
low 192.168.114.50;
high 192.168.114.254;
}
dhcp-attributes {
name-server {
8.8.8.8;
}
router {
192.168.114.1;
}
}
}
pool LAN115 {
family inet {
network 192.168.115.0/24;
range wired {
low 192.168.115.50;
high 192.168.115.254;
}
dhcp-attributes {
name-server {
8.8.8.8;
}
router {
192.168.115.1;
}
}
}
}
#host#STATICIP#DHCP#address-assignment#vlan#Access