I need to set up a new subnet because I am being out of IP address.
Now we use 10.196.24.X network with 255.255.255.0 subnet mask, gateway 10.196.24.1.
I need to set up a new range like this: 10.196.25.X but pointing to the same gateway (10.196.24.1).
I want to activate the DHCP pool from 10.196.25.10 ~ 10.196.25.240
How can I do that? I am very new on Juniper devices.If possible please tell me how to do that using the J-web interface, if not possible, please send me the commands.
I have a SRX220H2 with JUNOS Software Release 12.1X44-D15.5.
In long term most proper way is to change your existing /24 subnet to /23 (255.255.254.0) Thus your new IP range will be 10.196.24.0 - 10.196.25.255
Only downside you have to consider - that subnet should be adjusted for existing x.x.24.x hosts.
dhcp server setup:
As Algarz notes, if you want the SAME gateway for the additional addresses then you must expand the netmask and then add an additional pool to the dhcp range.
Another option is to add a secondary ip address with the new subnet gateway to the same interface. Then create a new dhcp setup for that range. This will work but does put the broadcast domain for two diferent subnets into the same vlan which would be considered non-standard.
Another option is to add a new vlan for this subnet. This can be done by using another port or by adding a vlan tag to an existing port down to your switches. Changes would be needed on both the switches and SRX for this and would depend on if you are using a dedicated port or trunk port for the setup.
If you let us know which version you want to pursue, post your current configuration for the interfaces and dhcp and we can asist with making the changes needed.
Putting subnet as a secondary is the easiest path to go. But you won't be able to satisfy your "..pointing to the same gateway .." requirement.
And also you might face a bunch of limitations secondary subnet causes. As a prime example - you will have problems in case you will want to issue dhcp addresses on both subnets simultaneously.