LinuxQuestions.org Is there freeware Network Simulation software?
 Linux - Networking This forum is for any issue related to networks or networking. Routing, network cards, OSI, etc. Anything is fair game.

 11-16-2003, 02:38 PM #1 jimdaworm Member   Registered: Aug 2003 Location: Spain Distribution: Ubuntu Posts: 897 Rep: Is there freeware Network Simulation software? I was wondering if there is some sort of a freeware program to help with learning about networks... I have seen such programs for electronic circuits but couldnīt find anything. I am having problems understanding exactly how to use subnet masks and then calculate how many hosts you could have with the mask even though I have read quite a few articles which are supposed to explain it. Any Ideas? Adam
 11-16-2003, 02:46 PM #2 jcookeman Member   Registered: Jul 2003 Location: London, UK Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL Posts: 417 Rep: There are IP calculators...just google ip calc and you will find tons of them. If you want to know how many hosts you can have with a given netmask then take the count the number of bit positions with corresponding zeros represented by 'n', raise two to that number and subtract '2': 255.255.255.224 = 11111111.11111111.11111111.11100000 (five zeros) = 2^5 - 2 (raise 2 to the number of zeros - 2) = 32 - 2 = 30
 11-16-2003, 03:01 PM #3 jimdaworm Member   Registered: Aug 2003 Location: Spain Distribution: Ubuntu Posts: 897 Original Poster Rep: THANKS A LOT Thanks for that wicked explaination I have read lots of things similar but your explaination was what I need to understand how to calculate it easily! Subtract 2 because the the last is the broardcast address??? and I canīt remember what they first number would be?? Do you have a similar explaination for number of Physical Segments? Adam Last edited by jimdaworm; 11-16-2003 at 03:03 PM.
 11-18-2003, 04:02 PM #5 jimdaworm Member   Registered: Aug 2003 Location: Spain Distribution: Ubuntu Posts: 897 Original Poster Rep: Thanks again Hey this second reply was a little less straigt forward for me but I am off to Read up on RFC1519!! So impressed by your reply I have printed out this topic! Thanks Adam
10-19-2006, 02:36 AM   #6
rapatista
LQ Newbie

Registered: Oct 2006
Posts: 2

Rep:
Quote:

Hi,

There are 2 different approach in IP adressing i think. One says that B Class is between 128-191 and other is as u say 128-171. Which one is right?

10-19-2006, 04:53 AM   #7
jcookeman
Member

Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep:
Quote:
 Originally Posted by rapatista Hi, There are 2 different approach in IP adressing i think. One says that B Class is between 128-191 and other is as u say 128-171. Which one is right?
Class 'A' networks are 0-127 in the first octet defined bitwise:

0xxxxxxx

Class 'B' networks are 128-191 in the first octet defined bitwise:

10xxxxxx

Class 'C' networks are 192-223 in the first octet defined bitwise:

110xxxxx

Therefore, it must be this way. No other scheme.

Cheers,

Justin

Last edited by jcookeman; 10-19-2006 at 04:58 AM.

10-20-2006, 08:44 AM   #8
rapatista
LQ Newbie

Registered: Oct 2006
Posts: 2

Rep:
Quote:
 Originally Posted by jcookeman Class 'A' networks are 0-127 in the first octet defined bitwise: 0xxxxxxx Class 'B' networks are 128-191 in the first octet defined bitwise: 10xxxxxx Class 'C' networks are 192-223 in the first octet defined bitwise: 110xxxxx Therefore, it must be this way. No other scheme. Cheers, Justin

Well actually i agree with this one already but;

Quote:
u say "128-171 Class B" i didnt understand this one. Also i found this spesification in some other sources (very few). What is the point of this spesification?

Thanx again

10-20-2006, 09:06 AM   #9
jcookeman
Member

Registered: Jul 2003
Location: London, UK
Distribution: FreeBSD, OpenSuse, Ubuntu, RHEL
Posts: 417

Rep:
Quote:
 Originally Posted by rapatista Well actually i agree with this one already but; u say "128-171 Class B" i didnt understand this one. Also i found this spesification in some other sources (very few). What is the point of this spesification? Thanx again
I was drunk when I posted that. Obviously, I made a typo, but I don't remember as it was quite long ago.

04-18-2016, 05:23 PM   #10
Bitbeisser
LQ Newbie

Registered: Apr 2016
Location: US of A
Posts: 2

Rep:
Quote:
 Originally Posted by jimdaworm Subtract 2 because the the last is the broardcast address??? and I canīt remember what they first number would be??
In each subnet, there are two reserved and fixed IP addresses:
- the lowest IP address (all host bits are 0 (zero)) is the network address

Each subnet can (but that is not a requirement per se!) have one gateway address and this can be any IP address within the subnet, between the network address and the broadcast address. Good practice however is to use either the lowest or highest available address between network and broadcast address. Without a gateway address, you can't route any data out of this subnet.

Ralf

 04-18-2016, 09:52 PM #11 frankbell LQ Guru Contributing Member   Registered: Jan 2006 Location: Virginia, USA Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with Posts: 19,220 Blog Entries: 28 Rep: This is the best tutorial I've seen about subnetting. Don't be fooled by the HTML v. 3 look. http://www.ralphb.net/IPSubnet/index.html When I first stumbled over it, it was at some dot-edu site. My guess is that, when the author retired or moved on, he took the website with him and put it up unchanged. I suspect the author may have been a teacher, so well does he put forward the concepts.

 Tags ip

 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 Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post carboncopy Linux - Software 2 05-21-2016 03:24 AM shegay18 Programming 4 06-14-2005 08:49 AM tonyfreeman General 1 09-25-2004 06:29 AM TanelValdna Linux - Software 3 09-09-2004 02:28 PM AquamaN Programming 2 03-15-2004 08:26 PM

LinuxQuestions.org

All times are GMT -5. The time now is 04:54 PM.

 Contact Us - Advertising Info - Rules - Privacy - LQ Merchandise - Donations - Contributing Member - LQ Sitemap -