I use this IP range to CIDR tool that creates a minimal list out of any ip range you give it.
In your case 10.10.11.27-38 yields:
10.10.11.27/32
10.10.11.28/30
10.10.11.32/30
10.10.11.36/31
10.10.11.38/32
https://www.meridianoutpost.com/resources/etools/network/convert-ip-to-CIDR.php
------------------------------
Steve Puluka BSEET - Juniper Ambassador
IP Architect - DQE Communications Pittsburgh, PA (Metro Ethernet & ISP - Retired)
http://puluka.com/home------------------------------
Original Message:
Sent: 05-02-2023 15:52
From: ANDREW NEUSSENDORFER
Subject: Static route with IP range
Paul,
Thanks for the quick reply. That is what I was thinking. I'm going to have to list the IP addresses one at a time with the /32. I have three groups of 10 addresses, so it will just be a little more of a list.
Thank you,
Andrew
------------------------------
ANDREW NEUSSENDORFER
Original Message:
Sent: 05-02-2023 15:33
From: PAUL PETERSON
Subject: Static route with IP range
I believe the route statement requires a subnet mask so you could do it like:
10.10.11.27/32 next-hop 10.10.8.1
10.10.11.28/32 next-hop 10.10.8.1
------------------------------
PAUL PETERSON
Original Message:
Sent: 05-02-2023 10:55
From: ANDREW NEUSSENDORFER
Subject: Static route with IP range
All,
I just have a quick question, that I think I know the answer to, but am just looking for verification. On SRX series firewalls, are static routes limited to full subnets, or can there be a range that doesn't conform to a standard subnet?
Example: Currently we have 10.10.10.0/24 next-hop 10.10.9.1;
Can we have something like 10.10.11.27-38 next-hop 10.10.8.1;
Everything I find looks like it is limited to just a subnet.
Thank you,
Andrew
------------------------------
ANDREW NEUSSENDORFER
------------------------------