We help IT Professionals succeed at work.

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

dankyle67
dankyle67 asked
on
264 Views
Last Modified: 2014-11-09
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
Comment
Watch Question

Don JohnstonInstructor
CERTIFIED EXPERT
Top Expert 2015

Commented:
If you mean the untrust interface, you would use whatever IP address/mask that your ISP has assigned you to use.
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

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.

Author

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.
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

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.
Business Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
Qlemo"Batchelor", Developer and EE Topic Advisor
CERTIFIED EXPERT
Top Expert 2015
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION
JohnBusiness Consultant (Owner)
Most Valuable Expert 2012
Expert of the Year 2018

Commented:
@dankyle67  - Thank you and I was happy to help.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.