I configured vMX as a DHCP server. It works fine with the local DHCP clients, but not work for the remote clients via relay agent.
I have the following configuration.
set access address-assignment pool vlan56 family inet network 10.100.56.0/24
set access address-assignment pool vlan56 family inet range r1 low 10.100.56.20
set access address-assignment pool vlan56 family inet range r1 high 10.100.56.30
set access address-assignment pool vlan100 family inet network 10.100.100.0/24
set access address-assignment pool vlan100 family inet range r1 low 10.100.100.20
set access address-assignment pool vlan100 family inet range r1 high 10.100.100.30
The group in Red for the remote clients.
set system services dhcp-local-server group jncie interface irb.56
the log shows the following when receiving the discover packet from the relay agent.
Dec 20 01:31:07.649976 [MSTR][DEBUG][default:default][SVR][INET][irb.56] jdhcpd_find_client_from_client_pdu: BOOTPREQUEST could not find client table ent
Dec 20 01:31:07.649986 [MSTR][NOTE] [default:default][SVR][INET][irb.56] jdhcpd_packet_handle: BOOTPREQUEST dropping snooped pkt to the local server
I tried to configure pool under system services dhcp stanza, but vmx does not support.
root@vMX5# show system services
dhcp-local-server {
group jncie {
interface irb.56;
}
}
##
## Warning: configuration block ignored: unsupported platform (vmx)
##
##
## Warning: Incompatible with 'system services dhcp-local-server group'
##
dhcp {
pool 10.100.100.0/24 {
address-range low 10.100.100.25 high 10.100.100.30;
router {
10.100.100.254;
}
}
}
any ideas ?
thanks in advance !!