Hello and welcome to CertForums.co.uk, here we host free active certification forums with links to the best free resources for Microsoft's MCSA MCSE MCDBA Cisco's CCNA CCDA and CCNP, and CompTIA's A+ Network+ i-NET+ and Security+ certifications in the UK. If you wish to post or use other advanced features you will need to register first. Registration is absolutely free and takes only a few minutes to complete so sign up today!

If you have any problems with the registration process or your account login, please contact support

Go Back   CertForums > Certification Forums > Microsoft Certification Forums > Network Infrastructure
Home Forums Register Search Today's Posts Mark Forums Read

Broadcast addressing/Subnet mask

Post New ThreadReply
 
Thread Tools Display Modes
  #1  
Old 15-Feb-2008, 01:32 PM
Matt_26uk's Avatar
Matt_26uk Matt_26uk is offline
Registered Member
Posts: 90
Points: 14 Matt_26uk has between 1 & 100 points
Power: 2
None
Join Date: 14 Aug 2007
Location: East London
Age: 24
Certifications: MCSA 2003, CompTIA A+, N+
WIP: MCSE, CCNA
Broadcast addressing/Subnet mask

Hi all

Maybe someone can answer me this question. A default class C address has a subnet mask of 255.255.255.0 and you can only have 254 hosts because a host address can not be all 0's or all 1's as it is a broadcast address e.g. 0 = (last octon in decimals) 00000000 and 255 (again last octon in decimals) 11111111.

Say you have an ip address of 131.109.158.x /20 (subnet mask 255.255.240.0) can you give a host ip address of 131.109.158.0 or .255 with this subnet? because when you break it down to network address and host address the host address isnt all 1's or all 0's

IP Address:
131.109.158.0
Subnetmask
255.255.240.0

IP Aaddress and Subnetmask in decimal:
100000011.01101101.10011110.00000000 = 131.109.158.0
11111111.11111111.11110000.00000000 = 255.255.240.0

100000011.01101101.1001<-- network / Host-->1110.00000000

you can see the the host address address isnt all 0's (in red) but it is in the last octon. Can the last octon be all 0's or all 1's if the host address is not on the subnet mask above (255.255.240.0)?


Matt_26uk

Microsoft Certified Systems Administrator 2003 (MCSA)
CompTIA A+ (2007) certified
CompTIA N+ (2007) certified


Hard work beats talent when talent doesnt work hard
 
Reply With Quote
  #2  
Old 15-Feb-2008, 02:04 PM
BosonMichael's Avatar
BosonMichael BosonMichael is offline
Premium Member
Posts: 10,163
Points: 4789 BosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 points
Power: 152
None
Join Date: 02 Nov 2006
Location: near Nashville, TN
Age: 38
Certifications: MCSE+I, MCSE: Securi.. huh? out of room?
WIP: Just about everything!
The important part is the host portion of the address, not the last octet (not octon). You can have a host will all 0s or 1s in the last octet, but you can't have a host with all 0s or all 1s in the host portion of the address. Thus, 131.109.158.0/20 and 131.109.158.255/20 are valid host addresses on the 131.109.144.0/20 network. The network address (all 0s) is 131.109.144.0/20, and the broadcast address (all 1s) is 131.109.159.255/20. Everything in between is fair game for host address allocation.


BosonMichael
MCSE+I, MCSE: Security, MCDST, MCDBA, OCP, CCNP, CCDP, CNE, SCSA, Security+, Linux+, Server+, Network+, A+
Served proudly, US Army, 98C Intelligence Analyst, '89-'92
 
Reply With Quote
  #3  
Old 15-Feb-2008, 02:15 PM
Matt_26uk's Avatar
Matt_26uk Matt_26uk is offline
Registered Member
Posts: 90
Points: 14 Matt_26uk has between 1 & 100 points
Power: 2
None
Join Date: 14 Aug 2007
Location: East London
Age: 24
Certifications: MCSA 2003, CompTIA A+, N+
WIP: MCSE, CCNA
Thanks Michael, what you've said backs up what I worked out as I had 144.0 to 159.255 which is great and I just wanted to know if you could have 0 or 255 on the last octet if the network portion isnt all 1's and 0's and from what you said you can so thanks for your reply.


Matt_26uk

Microsoft Certified Systems Administrator 2003 (MCSA)
CompTIA A+ (2007) certified
CompTIA N+ (2007) certified


Hard work beats talent when talent doesnt work hard
 
Reply With Quote
  #4  
Old 15-Feb-2008, 02:25 PM
BosonMichael's Avatar
BosonMichael BosonMichael is offline
Premium Member
Posts: 10,163
Points: 4789 BosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 pointsBosonMichael has over 4000 points
Power: 152
None
Join Date: 02 Nov 2006
Location: near Nashville, TN
Age: 38
Certifications: MCSE+I, MCSE: Securi.. huh? out of room?
WIP: Just about everything!
Glad to help.


BosonMichael
MCSE+I, MCSE: Security, MCDST, MCDBA, OCP, CCNP, CCDP, CNE, SCSA, Security+, Linux+, Server+, Network+, A+
Served proudly, US Army, 98C Intelligence Analyst, '89-'92
 
Reply With Quote
Post New ThreadReply Spread this thread: Submit this thread to digg Submit this thread to del.icio.us


Go Back   CertForums > Certification Forums > Microsoft Certification Forums > Network Infrastructure


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ip directed broadcast Headache General 5 15-Jul-2008 03:26 AM
Calculating Subnet Mask Nimbus Network Infrastructure 17 08-Feb-2008 01:03 PM
Newbie Question -Subnet Mask tallpaul A+ 12 17-Jan-2008 11:06 PM
broadcast v collision philbenson Networking 6 05-Dec-2007 12:50 PM
Broadcast addresses? flopstocks Routing & Switching 17 05-Jun-2007 12:55 AM


All times are GMT. The time now is 08:01 AM.

Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
CertForums.co.uk (C) copyright 2003-2007 All Rights Reserved. Content published on CertForums.co.uk requires permission for reprint.
Hosted by Lunarpages