Timeline for What is the correct way to construct this subnet
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 12, 2016 at 2:55 | answer | added | user27646 | timeline score: 0 | |
Jul 6, 2016 at 18:13 | comment | added | Ron Maupin♦ |
Do whatever meets your requirements. I was merely pointing out that what you wrote in your question, "I'm using a 24 bit mask for 4 subnet," will actually give you 256 possible /24 subnets for a /16 network, not just four subnets. If the requirement is to subnet the /16 network into four subnets, then you use a /18 . Your question is unclear, but it seemed to imply that the requirement was by subnet, not host.
|
|
Jul 6, 2016 at 18:03 | comment | added | Sebastian Tare B. | It's by number of hosts, i have 2 floors and in each floor a laboratory with 31 hosts, so i'm using 64 ip, and also 2 classrooms per floor, for that i'm using 4 access point, that's why i just put it like i have 254 hosts, so i can connect a AP to the same switch | |
Jul 6, 2016 at 17:51 | comment | added | Ron Maupin♦ | You need to determine the subnet requirements. Is it by the number of subnets, or is it by the number of hosts? This answer provides and excellent explanation of how to manipulate IP addressing. | |
Jul 6, 2016 at 17:47 | comment | added | Sebastian Tare B. | To be more specific, i have 2 routers, 2 switch connected to each router, each switch connected to a FastEthernet port | |
Jul 6, 2016 at 17:46 | comment | added | Ron Maupin♦ |
Actually, 79.48.0.0/18 has a mask of 255.255.192.0 . You really need to do this in binary, then it becomes obvious.
|
|
Jul 6, 2016 at 17:32 | comment | added | Sebastian Tare B. | So you say i should configure it like this? ip add 79.48.0.1 255.255.248.0 | |
Jul 6, 2016 at 17:28 | comment | added | Ron Maupin♦ |
Four subnets requires extending a network mask by two bits (2^2=4). Yes, 254 hosts (you can't use the first, network, address, or the last, broadcast, address) only requires a /24 , but your question says you need four subnets, and that is a very different requirement.
|
|
Jul 6, 2016 at 17:25 | comment | added | Sebastian Tare B. | Why? I thought it was: for 256 host it's 2^8, so 32 - 8 = 24 so i put 79.48.0.1 255.255.255.0, then for the other 256 host i do the same but i change it to 79.48.1.1 255.255.255.0 | |
Jul 6, 2016 at 17:13 | comment | added | Ron Maupin♦ |
If you want four subnets for a /16 network, the correct mask length is /18 , not /24 .
|
|
Jul 6, 2016 at 8:52 | vote | accept | Sebastian Tare B. | ||
Jul 6, 2016 at 8:45 | answer | added | SleepyMan | timeline score: 3 | |
Jul 6, 2016 at 8:31 | review | First posts | |||
Jul 6, 2016 at 17:07 | |||||
Jul 6, 2016 at 8:30 | history | asked | Sebastian Tare B. | CC BY-SA 3.0 |