Unix/Linux Go Back    


Homework & Coursework Questions Students must use and complete the template provided. If you don't, your post may be deleted! Special homework rules apply here.

IP Range Assigning

Homework & Coursework Questions


Closed    
 
Thread Tools Search this Thread Display Modes
    #8  
Old Unix and Linux 05-31-2016
TryllZ TryllZ is offline
Registered User
 
Join Date: May 2016
Last Activity: 1 June 2016, 3:34 AM EDT
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
OK, not getting it, so I will try and ask in a different way.

First, which octet changes in a an IP subnet range, the network octet or the host octet ?
Sponsored Links
    #9  
Old Unix and Linux 06-01-2016
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 21 February 2017, 2:28 PM EST
Location: Aachen, Germany
Posts: 10,313
Thanks: 242
Thanked 3,143 Times in 2,910 Posts
What's your definition of an "octet"?

If its an 8-bit-byte: again, forget the octet. As you can see in your request, subnets can be defined by the bit like your teachers do with /18 and /22. Then, within the subnet definition, the network part is just counted up one by one to skim through the subnets.
Sponsored Links
    #10  
Old Unix and Linux 06-01-2016
TryllZ TryllZ is offline
Registered User
 
Join Date: May 2016
Last Activity: 1 June 2016, 3:34 AM EDT
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Just wanted to understand this, is it safe to say that the second subnet starts after the broadcast address:

192.168.0.0 /22
255.255.252.0
192.168.0.0 – 192.168.(3).255(Broadcast address)
192.168.(4).0 – 192.168.(7).255(Broadcast address), then next subnet
192.168.(8).0 – 192.168.(11).255(Broadcast address), then next subnet
192.168.(12).0 – 192.168.(15).255(Broadcast address)
And so on...

Similarly for the below IP:

IP Address – 172.59.0.0
Custom Subnet Mask – 255.255.252.0
Broadcast Address – 172.59.3.255

172.59.0.0 - 172.59.3.255
172.59.4.0 - 172.59.7.255
172.59.8.0 - 172.59.11.255
172.59.12.0 - 172.59.15.255
And so on....
    #11  
Old Unix and Linux 06-01-2016
RudiC RudiC is offline Forum Staff  
Moderator
 
Join Date: Jul 2012
Last Activity: 21 February 2017, 2:28 PM EST
Location: Aachen, Germany
Posts: 10,313
Thanks: 242
Thanked 3,143 Times in 2,910 Posts
Yes. The broadcast address (or all-ones address) is the last in the range by definition.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
IP Range Assigning TryllZ IP Networking 3 05-31-2016 01:30 PM
assigning ip to second nic newaix AIX 0 10-17-2011 05:05 AM
print range between two patterns if it contains a pattern within the range joyan321 Shell Programming and Scripting 2 06-18-2009 06:27 PM
assigning ip to second interface adnangc Solaris 11 02-07-2008 04:44 AM
Assigning IP's macgre_r HP-UX 12 11-30-2007 09:49 PM



All times are GMT -4. The time now is 09:35 PM.