Avatar of dankyle67
dankyle67
 asked on

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
TCP/IPNetworking

Avatar of undefined
Last Comment
John

8/22/2022 - Mon
Don Johnston

If you mean the untrust interface, you would use whatever IP address/mask that your ISP has assigned you to use.
John

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.
dankyle67

ASKER
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.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
John

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.
ASKER CERTIFIED SOLUTION
John

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
John

@dankyle67  - Thank you and I was happy to help.