LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-07-2004, 09:54 PM   #1
emailssent
Member
 
Registered: Sep 2004
Posts: 312

Rep: Reputation: 30
ip address class division


Why ip addresses has been divided into 3 classes

A 0-127
B 128 -191
C 192-255

What is the use of it?


And plz. tell me what is the difference b/w TCP and UDP protocols?

 
Old 10-08-2004, 02:52 AM   #2
sekharss
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Unhappy IP address a,b,c

Ip addressing is 5 classes not 3 classes. These classifications are done only based upon the value in MSB(Most significant bit).
0 = Class A
10 = Class B
110 = Class C
1110 = Class D/Multicast
1111 = Reserved

Now why only these classes.? It is incepted in 1970s. and it is well designed. They thought the no of hosts in and no of networks are suffiecient .Thy ar order of 2 power 24 hosts in class A and 2 power 8 hosts in Class C. But as the Internet evolved from 1970s now the poeple want to address the problems in Ipv4 hence came IPnex, Ipv5, IPv6 etc....

soma sekhar
 
Old 10-08-2004, 03:02 AM   #3
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
The A,B,C classes are divided by host and network divisions when looking at the IP address
Also helps determine the default subnet mask.

Class A
103 . 205 . 7 . 16
Host | Network address


Class B
153 . 65 . 137 . 201
Host ----- | Network address


Class C
201 . 121 . 37 . 5
Host ----------- | Network address
----------------------------------------------------------------------------------------------------
Transmission Control Protocol
User Datagram Protocol

TCP is a guarenteed delivery of data, UDP does not guarentee you get the whole message. Since most of us want the whole thing we download, we use TCP that is sent across IP. In some cases though you are actually using UDP/IP. If you watched a streaming video, the server streaming it to you is constantly sending more data. It doesn't care about delivery because it needs to keep the continuous stream moving. If by chance a packet is missed along the way to you, your video file might jar or skip a bit but picks right back up.

For more, you should probably check out learntosubnet.com and grab the TCP/IP bible.

Last edited by musicman_ace; 10-08-2004 at 03:05 AM.
 
Old 10-08-2004, 06:38 AM   #4
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian PPC/i386/AMD64 5.0(Lenny), Vista, XP , WIN7, Server 03/08
Posts: 1,164

Rep: Reputation: 77
Basically IP was setup into the different classes because it was a more efficient use of the ip addresses. Class A Networks could be assigned to the govt and large corporations who require numerous hosts. Class B could be assigned to smaller corporations, and companys like ISP's, class A's are assigned to ISP's as well. Class C is assigned to small companys and small ISP's. THen there are the two restricted Classes for research and such. THen there is the matter of the reserved A, B, and C classes for internal use. That also allows internal networks to share a single or a few Public IP's. FOr instance when you run masquerade on linux, or buy a router at the store, they perform NAT and allow you to have multiple computers inside the firewall sharing one public IP.

ALex
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tribes 2 Connection Challenge Error (Class B IP Address) sloik2000 Linux - Games 2 04-08-2007 03:52 PM
math division in javascript rblampain Programming 2 09-07-2005 04:07 AM
bash and math division problem bennethos Programming 5 10-17-2004 01:51 PM
BlackBox.class & VerifierBug.class virus ??? dalek Linux - Security 4 02-29-2004 08:55 AM
IP address which class ? fin Linux - Networking 4 02-02-2002 03:08 PM


All times are GMT -5. The time now is 02:32 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration