LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-03-2012, 11:33 PM   #1
Engr. Paul
LQ Newbie
 
Registered: Sep 2012
Posts: 1

Rep: Reputation: Disabled
Thumbs up Choice of ip addresses


Hello friends, I want to know what the major determinants in the choice of an IP address are since the class of any IP address automatically chooses the subnet mask.
 
Old 12-04-2012, 04:19 AM   #2
linosaurusroot
Member
 
Registered: Oct 2012
Distribution: OpenSuSE,RHEL,Fedora,OpenBSD
Posts: 982
Blog Entries: 2

Rep: Reputation: 244Reputation: 244Reputation: 244
http://en.wikipedia.org/wiki/Classle...Domain_Routing

Classless Inter-Domain Routing (CIDR) is a method for allocating IP addresses and routing Internet Protocol packets. The Internet Engineering Task Force introduced CIDR in 1993...
 
Old 12-04-2012, 04:20 PM   #3
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,982

Rep: Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626Reputation: 3626
" since the class of any IP address automatically chooses the subnet mask"

Where did you get this statement from?
 
Old 12-04-2012, 08:36 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
There is a relationship between subnet masks and network class (A, B, C), but it's not necessarily automatic.

The link below is an excellent introduction to subnetting.

Don't be fooled by the HTML 3.0 look. It's clearly written and thoroughly explained. When I first found it, it was at some dot-edu site; my guess is that the author retired and posted it unchanged at a new location.

http://www.ralphb.net/IPSubnet/index.html

See this section for network classes: http://www.ralphb.net/IPSubnet/ipaddr.html
 
Old 12-04-2012, 09:54 PM   #5
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Welcome to LQ!

Quote:
Hello friends, I want to know what the major determinants in the choice of an IP address are ...
Most qualified IP addresses which are socially (validly) usable or being currently used in the Internet interaction are given and determined by authorities. This is not a matter of personal choice but a legal privilege.


Quote:
since the class of any IP address automatically chooses the subnet mask.
If you mean the Class C 192.168.xxx.xxx. which is commonly authorized for subnet (local ethernet apart from the Internet) yes you have the option to fix the netmask since it is for you to determine the local subnet. Usually routers "automatically" sets the netmask to 255.255.255.0 but certainly you have the right to fix another mask.

Reading the materials linked by 'FrankBell' above will enlighten you enough.

Hope that helps. Good luck.
 
1 members found this post helpful.
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] how to map local addresses to FQDN addresses with postfix sneakyimp Linux - Server 5 08-04-2011 03:18 PM
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 13 02-24-2008 08:16 PM
Binding 2 NICs (MAC addresses) to 2 IP Addresses in same Subnet RedHat EL4.0 skhira Linux - Networking 1 02-09-2008 07:17 AM
mechanics of mapping process memory addresses to physical addresses on amd64 Tischbein Linux - Kernel 2 02-01-2007 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:17 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration