What is difference in ip scheme of /32 and /24 in router settings

was recently trying to set up a new ip mapping on a netscreen 5gt and noticed that in the ip address box you could either use /24 or /32 after the entry for instance of the static ip supplied by the isp.  Didnt want to put incorrect entry so would appreciated an explanation of when to use which number either /24 or /32.  thanks
Who is Participating?
John HurstConnect With a Mentor Business Consultant (Owner)Commented:
I use /24 to set up the internal range multiple devices (servers or workstations)
Don JohnstonInstructorCommented:
If you mean the untrust interface, you would use whatever IP address/mask that your ISP has assigned you to use.
John HurstBusiness Consultant (Owner)Commented:
you could either use /24 or /32 after the entry for instance of the static ip supplied by the isp

/32 is a subnet mask of and so is one IP address which is all you want for the external IP field in a Juniper 5GT (at least we just use one external IP address in our several client 5GT setups.
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

dankyle67Author Commented:
We have 4 static ip addresses which we have to map to 3 internal servers.  The other static ip we would use for the netscreen itself.  So if i put /29 is that better since we have the 4 addresses or will /32 still work as long as i create the 3 separate ip mappings?  What about /24 is that for the internal client ips?  We only have 22 machines at the office.
John HurstBusiness Consultant (Owner)Commented:
You would have to check your 5GT to see if it can map 3 separate external IP addresses internally. I use internal addresses for multiple servers in my environment.
QlemoConnect With a Mentor Batchelor and DeveloperCommented:
The netmask needs to be as provided by the ISP, as said already. Otherwise you might not be able to reach some other sites, or not allow routing to your additional public IPs.
So, if you have 4 usuable addresses your IP block spans 8 addressses, corresponding to /29. The first and last one are reserved, one is used by the provider as the next hop for your router.
John HurstBusiness Consultant (Owner)Commented:
@dankyle67  - Thank you and I was happy to help.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.