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

Hi,
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
dankyle67Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Don JohnstonInstructorCommented:
If you mean the untrust interface, you would use whatever IP address/mask that your ISP has assigned you to use.
0
JohnBusiness 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 255.255.255.255 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.
0
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.
0
Powerful Yet Easy-to-Use Network Monitoring

Identify excessive bandwidth utilization or unexpected application traffic with SolarWinds Bandwidth Analyzer Pack.

JohnBusiness 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.
0
JohnBusiness Consultant (Owner)Commented:
I use /24 to set up the internal range multiple devices (servers or workstations)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
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.
0
JohnBusiness Consultant (Owner)Commented:
@dankyle67  - Thank you and I was happy to help.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
TCP/IP

From novice to tech pro — start learning today.