I am trying to set multiple subnets on SRX device each subnet has its own DHCP pool. I have 5 ports each port is connected to a group of servers. So, I configured 5 pools and 5 groups each group contains an interface. The problem is that hosts are getting addresses from different pools for example: Host1 is linked to interface1 on the router which has an address (10.0.0.1
), the address assigned to Host1 should belong to the pool that has the network address(10.0.0.0/24
) but it gets an address from a different pool.
these are the pools and the groups:
these are the interfaces:
and below is an example of how addresses from wrong pools are assigned to clients
address pools and assignements
I am getting it wrong? A pool is mapped to the interface based on the network address of the interface and the one specified on the DHCP pool configuration?
How to map a group to a pool ? or how to make the SRX gives an IP address that really belongs to the pool that has the same network address as the interface?
Note: The pool match order is set to ip-address-first
(default)
[1]: https://i.stack.imgur.com/tKsZb.png
[2]: https://i.stack.imgur.com/jjCrZ.png
[3]: https://i.stack.imgur.com/bcJly.png