Link to home
Create AccountLog in
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
Avatar of Don Johnston
Don Johnston
Flag of United States of America image

If you mean the untrust interface, you would use whatever IP address/mask that your ISP has assigned you to use.
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.
Avatar of dankyle67
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.
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
Avatar of John
John
Flag of Canada image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
SOLUTION
Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
@dankyle67  - Thank you and I was happy to help.