VLAN planner

Enter departments and device counts. Blocks are allocated largest-first with VLSM, sized to fit the devices plus a gateway, and never smaller than a /30.

Address space

Segments

DepartmentDevicesRemove
Segments4
Addresses used768of 65,536
Utilisation1.2%
Next free block10.0.128.0/17

Addressing plan

VLANNameSubnetMaskGatewayDHCP poolUsableSpare
12HR10.0.2.128/26255.255.255.19210.0.2.12910.0.2.14010.0.2.1906231
13Finance10.0.2.192/26255.255.255.19210.0.2.19310.0.2.20410.0.2.254621
11Sales10.0.2.0/25255.255.255.12810.0.2.110.0.2.1210.0.2.1261265
10Production10.0.0.0/23255.255.254.010.0.0.110.0.0.1210.0.1.254510109
vlan-plan.txtcisco-ios
68 lines
! Cisco IOS / IOS-XE — generated by NetField
! 4 VLANs
! Review before applying. Interface names and trunk membership are site-specific.

configure terminal
!
vlan 10
 name PRODUCTION
!
interface Vlan10
 description PRODUCTION - 400 devices
 ip address 10.0.0.1 255.255.254.0
 no shutdown
!
ip dhcp excluded-address 10.0.0.0 10.0.0.12
ip dhcp pool PRODUCTION
 network 10.0.0.0 255.255.254.0
 default-router 10.0.0.1
 dns-server 8.8.8.8
!
vlan 11
 name SALES
!
interface Vlan11
 description SALES - 120 devices
 ip address 10.0.2.1 255.255.255.128
 no shutdown
!
ip dhcp excluded-address 10.0.2.0 10.0.2.12
ip dhcp pool SALES
 network 10.0.2.0 255.255.255.128
 default-router 10.0.2.1
 dns-server 8.8.8.8
!
vlan 12
 name HR
!
interface Vlan12
 description HR - 30 devices
 ip address 10.0.2.129 255.255.255.192
 no shutdown
!
ip dhcp excluded-address 10.0.2.128 10.0.2.140
ip dhcp pool HR
 network 10.0.2.128 255.255.255.192
 default-router 10.0.2.129
 dns-server 8.8.8.8
!
vlan 13
 name FINANCE
!
interface Vlan13
 description FINANCE - 60 devices
 ip address 10.0.2.193 255.255.255.192
 no shutdown
!
ip dhcp excluded-address 10.0.2.192 10.0.2.204
ip dhcp pool FINANCE
 network 10.0.2.192 255.255.255.192
 default-router 10.0.2.193
 dns-server 8.8.8.8
!
interface GigabitEthernet0/1
 switchport mode trunk
 switchport trunk allowed vlan 10,11,12,13
!
end
write memory