General discussion

Locked

what is YY in X.X.X.X / YY

By thinknologist ·
To all,

Please explain what is YY in the IP address format X.X.X.X/YY . I am really confused with this numeric value. Kindly raise a brief explanation and sample scenario for me to adapt this. A site explaining this would be a big help

Thanks,

This conversation is currently closed to new comments.

6 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

subnet mask

by JOE.HUTCHINSON1 In reply to what is YY in X.X.X.X / Y ...

x.x.x.x/8 would be x.x.x.x 255.0.0.0
x.x.x.x/16 would be x.x.x.x 255.255.0.0
x.x.x.x/24 would be x.x.x.x 255.255.255.0
x.x.x.x/32 would be x.x.x.x 255.255.255.255

this is just an easier way of putting the sub netmask in short hand. save putting it in full
its just the binary digits put in 1 number. sorry if this does not make it clear never was good at explaining things

Collapse -

Classless Inter-Domain Routing (CIDR)

by SamZa In reply to what is YY in X.X.X.X / Y ...

As Mr. Hutchinson said in his reply, the YY in the notation xxx.xxx.xxx.xxx/yy simply indicates the subnet mask using a notation called CIDR, or Classless Inter-Domain Routing. Because Class A, B, and C addresses were becoming unwieldy and wasteful (very few companies truly need all of the host addresses available in a class B address), CIDR was developed to allow a company to buy only those addresses it truly needed. Thus, if I needed 4,000 addresses, I would have a CIDR address of /20, giving me, for example, a possible IP address of 164.167.4.78/20 for one of my addresses. The /20 simply means I used 20 bits in my subnet mask, so I would have a binary subnet mask of 11111111.11111111.11110000.00000000, which would translate back to a subnet mask in base 10 (decimal) of 255.255.240.0. This subnet mask would give me 14 class B networks with a possible number of hosts on each network of 4094. The possible number of hosts is derived by taking the number of zeros left over in my subnet mask (in this case, you can count 12 zeros left over, and applying the formula ((2 to the 12th power)-2). 2 to the 12th is 4,096, -2 is 4094, so I could have 14 networks with 4,094 hosts per network (the -2 comes from using Microsoft's assumption that you can't use the first and last range in a range of host addresses). This is a real quickie explanation, but I hope it helps.

Collapse -

Could also be TCP port

by rickpop In reply to what is YY in X.X.X.X / Y ...

Depending where you are trying to enter this data, it could also be a TCP port number. In cisco v12x OS, this syntax is also used to desiginate a specific TCP port associated with an IP address. i.e.;

ip nat inside source static tcp 172.29.213.104 80 61.135.187.3 80 extendable
ip nat inside source static tcp 172.29.213.104 25 61.135.187.3 25 extendable

The first example is for regular "http" traffic on TCP port 80.
The second is for "SMTP email" traffic on TCP port 25.

For a list of common TCP ports, you could look at:
http://www.webopedia.com/quick_ref/portnumbers.asp

Hope this helps

Collapse -

I think you missed the / (slash)

by kiddanger In reply to Could also be TCP port

CIDR is what is being referenced here.
x.x.x.x/yy

IP addresses with ports are generally written as:
x.x.x.x:yy

Ex.
http://207.46.245.222:80 will get you to Microsoft's web site via HTTP but:
http://207.46.245.222/80 will get you to their custom 404 error page.

Also, you're referencing IOS and using spaces as a delimiter, not a slash.

Collapse -
by ahmed.meki In reply to what is YY in X.X.X.X / Y ...

the ip address format X.X.X.X/YY is called CIDR network address it means this ip X.X.X.X contains YY bits for newtwork address and 24-YY bits for hosts addresses

Collapse -

to simplify

by lcampbell In reply to ahmedmeki@hotmail.com

The x.x.x.x is the IP address. The yy is the number of bits that are turned on to create the subnet mask.
more info at www.learntosubnet.com

Back to IT Employment Forum
6 total posts (Page 1 of 1)  

Related Discussions

Related Forums