IPv6 Subnet Calculator
.calc-header {
margin-bottom: 30px;
padding: 25px;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0,0,0,0.1);
color: white;
}
.calc-header h1 {
margin-top: 0;
color: white;
font-size: 28px;
margin-bottom: 10px;
}
.calc-header p {
margin: 10px 0;
opacity: 0.95;
font-size: 15px;
}
.input-group {
display: flex;
gap: 10px;
margin-top: 20px;
}
#ipaddress {
flex: 1;
padding: 14px;
font-size: 16px;
border: 2px solid rgba(255,255,255,0.3);
border-radius: 6px;
font-family: 'Courier New', monospace;
background: rgba(255,255,255,0.95);
transition: all 0.3s ease;
}
#ipaddress:focus {
outline: none;
border-color: #4CAF50;
background: white;
box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}
.calc-button {
padding: 14px 35px;
font-size: 16px;
background: #4CAF50;
color: white;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.calc-button:hover {
background: #45a049;
transform: translateY(-1px);
box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}
.calc-button:active {
background: #3d8b40;
transform: translateY(0);
}
.error-message {
background: #ffebee;
color: #c62828;
padding: 15px 20px;
border-radius: 8px;
border-left: 4px solid #c62828;
margin: 20px 0;
display: none;
}
.error-message.show {
display: block;
}
.result-section {
background: white;
border: 1px solid #e0e0e0;
border-radius: 8px;
margin-top: 20px;
overflow: hidden;
box-shadow: 0 2px 4px rgba(0,0,0,0.05);
transition: all 0.3s ease;
}
.result-section:hover {
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.section-header {
background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
color: white;
padding: 15px 20px;
font-size: 20px;
font-weight: bold;
margin: 0;
}
.section-content {
padding: 20px;
background: #fafafa;
}
.data-row {
display: flex;
margin: 12px 0;
padding: 10px;
background: white;
border-radius: 4px;
border-left: 3px solid #4CAF50;
}
.data-label {
font-weight: bold;
color: #555;
min-width: 250px;
flex-shrink: 0;
}
.data-value {
color: #333;
font-family: 'Courier New', monospace;
word-break: break-word;
}
/* Responsive design */
@media (max-width: 768px) {
.input-group {
flex-direction: column;
}
.calc-button {
width: 100%;
}
.data-row {
flex-direction: column;
}
.data-label {
margin-bottom: 5px;
min-width: auto;
}
}
Калькулятор підмережі IPv6
Введіть адресу IPv6 і довжину префікса, щоб обчислити дані про мережу, діапазон адрес, інформацію про тип і (за наявності) кількість доступних підмереж /64.
Результати
Введена адреса:
Тип адреси:
Префікс мережі:
Довжина префікса:
Префікс адреси:
Діапазон адрес:
Загальна кількість адрес у префіксі:
Ідентифікатор бінарного інтерфейсу:
Спеціальний тип IPv6:
Прапори групової передачі (якщо є):
Розбивка гекстету: