Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

TCP IP Calculation or Tutorial

Status
Not open for further replies.

Cap2010

Programmer
Mar 29, 2000
196
CA
hi,

Currently, having an exposure to TCP/IP.

I want to do calculation TCP/IP and subnet.
After going through the books of tcp/ip including MCSE - TCP/IP. Have a question

Question.
1) How to calculate subnet mask.
2) At times it is written as 182.120.57.30/26 (in this fashion)what it means and what is the calculation behind it.
3) Need good sites on tcp/ip for information and tutorial with calculation.

Thanks,

Lad


 
2) At times it is written as 182.120.57.30/26 (in this fashion)what it means and what is the calculation behind it.


there are 3 common classes A, B and C... each class has a range of IPs in it and a certain *mask* that it uses as a default. There D and E classes but they dont count in this discussion

A- 255.0.0.0
B- 255.255.0.0
C- 255.255.255.0

The 255 octet is all 1's..
11111111

So if you have a class C 4 octet number.. and then the mask is applied to "filter" out the unwanted bits

192.168.0.1
11000000.10101000.00000000.00000001
mask
11111111.11111111.11111111.00000000 ( also seen as /24)

Where the mask stops, the host numbers start. What the mask covers up is the network ID. You can see that the first 3 octets are filtered by the mask. So the network ID is 192.168.0 and the host ID in this case is .1(.001)

The /24 is from adding up the 3 groups of 8 bits. 3x8=24

I have a nice paper for DLing from 3com about this at my site.. drop by and go to the downloads

MikeS Find me at
"Diplomacy; the art of saying 'nice doggie' till you can find a rock" Wynn Catlin
 
hi,

Thanks, for the answers, it really helped to solve my doubts.

One last question - I want to skill my self in networking, and currently have learn the basics / topology of the same.

Beginners level to certain extent have done.
What should i do to gain experience and skills in Networking.

As far as learnsubnet has avi files to learn and not pdf/html/doc files to read.

Thanks,

captain
 
Learn:

subnetting
OSI 7 layer model WELL
How the layer interact
basic routing
basic switch operation (includes things like spanning tree)


Practice!!!! get time on rental labs, your own routers or borrowed routers. Some like the sims but I have found many to poorly done and they are still a sim. Even the miltary which has the best sims in the world, require time in a real plane, shuttle, etc.

Find a study group if possible.. or buddy up with someone willing to *mentor* you. It really helps to have extra people around to bounce ideas off of.

MikeS Find me at
"Diplomacy; the art of saying 'nice doggie' till you can find a rock" Wynn Catlin
 
HI,

Thanks, for the answers.

Cap2010

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top