[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 262
  • Last Modified:

question in subnets

Hi i have one /24 subnet 172.16.80.1

i want to create a vlan 1 with 50 ip (approx)

and a second vlan vlan 100 with the rest of the ip.
What kind of sumbet masks should i use ?
0
c_hockland
Asked:
c_hockland
2 Solutions
 
MexileCommented:
Ok, the best way to do this is to break it into 3 subnets.
One will have 126 useable addresses, the other two will have 62 useale addresses each. if you want a subnet of 'approx 50' (btw, it pays to be a bit more specific) then you can't just use 'all the remaining ip'. you can have one of 128 and two of 64.
anyways, your subnet masks are going to be 255.255.255.128 and 255.255.255.192 (/25 and /26 in cidr)

'the rest' pt 1
1
subnet address: 172.16.80.0
netmask 255.255.255.128
1st address 172.16.80.1
last address 172.16.80.126
max hosts 126
Broadcast address: 172.16.80.127
cidr /25

'approx 50 host' network
2
subnet address: 172.16.80.128
netmask 255.255.255.192
1st address 172.16.80.129
last address 172.16.80.191
max hosts 62
Broadcast address: 172.16.80.191
cidr /26


'the rest pt 2'
3
subnet address: 172.16.80.192
netmask 255.255.255.192
1st address 172.16.80.193
last address 172.16.80.254
max hosts 62
Broadcast address: 172.16.80.255
cidr /26
0
 
tommca4781Commented:
You can use this website to select which subnet mask to use:
http://www.subnet-calculator.com/
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now