it

practical subnetting

practical subnetting
practical subnetting

practical subnetting คืออะไร — พื้นฐาน Network ที่ต้องรู้

practical subnetting

practical subnetting เป็นหัวข้อสำคัญในวงการ Network Engineering จากประสบการณ์วางระบบ Network ให้องค์กรกว่า 600 แห่งทั่วประเทศตั้งแต่โรงเรียนโรงพยาบาลธนาคารไปจนถึงบริษัทข้ามชาติผมพบว่า practical subnetting เป็นพื้นฐานที่ Network Engineer ทุกคนต้องเข้าใจ

ในยุคที่มีอุปกรณ์เชื่อมต่อ Internet กว่า 75 พันล้านอุปกรณ์ทั่วโลก (2025) การออกแบบ Network ที่ดีไม่ใช่แค่ "ต่อสายให้ใช้ได้" แต่ต้องคำนึงถึง performance, security, scalability และ manageability ด้วย

อ่านเพิ่ม: cup and handle pattern — คู่มือฉบับสมบูรณ์ 2026 | SiamCafe B · อ่านเพิ่ม: Computer Vision YOLO DNS Management — คู่มือฉบับสมบูรณ์ 2026 · อ่านเพิ่ม: Weights Biases IoT Gateway — คู่มือฉบับสมบูรณ์ 2026 | SiamCa

บทความนี้จะอธิบาย practical subnetting อย่างละเอียดพร้อม configuration จริงบนอุปกรณ์ Cisco, MikroTik และ Linux ที่คุณสามารถนำไปใช้ได้ทันที

OSI Model และ practical subnetting

practical subnetting
Layerชื่อProtocol ที่เกี่ยวข้องอุปกรณ์PDU
7ApplicationHTTP, HTTPS, DNS, SMTP, FTP, SSH, SNMPFirewall L7, WAFData
6PresentationSSL/TLS, JPEG, ASCII, MPEGData
5SessionNetBIOS, RPC, PPTPData
4TransportTCP, UDPLoad Balancer L4Segment
3NetworkIP, ICMP, OSPF, BGP, EIGRPRouter, L3 SwitchPacket
2Data LinkEthernet, ARP, STP, LLDPSwitchFrame
1PhysicalCable, Hub, NICBits

การตั้งค่าพื้นฐาน — Cisco IOS

! ═══════════════════════════════════════

! practical subnetting — Cisco Switch Configuration

! ═══════════════════════════════════════

enable

configure terminal



! Hostname & Domain

hostname PRACTICAL-SUBNETTING-SW01

ip domain-name company.local



! Management VLAN

vlan 60

 name Management

vlan 86

 name Servers

vlan 104

 name Staff



! Trunk port to Core Switch

interface GigabitEthernet0/1

 description Uplink-to-Core

 switchport mode trunk

 switchport trunk allowed vlan 60,86,104

 switchport trunk native vlan 999

 spanning-tree portfast trunk

 no shutdown



! Access port for Staff

interface range GigabitEthernet0/2-24

 description Staff-Access

 switchport mode access

 switchport access vlan 104

 spanning-tree portfast

 spanning-tree bpduguard enable

 no shutdown



! SVI for Management

interface Vlan60

 ip address 10.0.60.1 255.255.255.0

 no shutdown



! Default Gateway

ip default-gateway 10.0.60.254



! SSH Access

crypto key generate rsa modulus 2048

ip ssh version 2

line vty 0 15

 transport input ssh

 login local



! Save config

end

write memory

IP Addressing Plan

# ═══════════════════════════════════════

# IP Plan — Best Practice Template

# ═══════════════════════════════════════

VLAN 60 — Management: 10.0.60.0/24 (GW: 10.0.60.1)

VLAN 86 — Servers: 10.0.86.0/24 (GW: 10.0.86.1)

VLAN 104 — Staff: 10.0.104.0/24 (GW: 10.0.104.1)

VLAN 999 — Native: 10.0.99.0/24 (ไม่ใช้งาน — security)



# DHCP Scope

Staff: 10.0.104.100 - 10.0.104.250 (151 hosts)

Server: 10.0.86.10 - 10.0.86.50 (Static IP)

Mgmt: 10.0.60.10 - 10.0.60.50 (Static IP)
XM Legend · เทรดเดอร์ & ผู้สอน Forex 13 ปี

ผู้ก่อตั้ง SiamCafe ตั้งแต่ปี 1997 · เทรดเดอร์สาย Forex มากกว่า 13 ปี ได้รับการยกย่องเป็น XM Legend · แบ่งปันความรู้ Forex, ไอที, AI และการเทรด จากประสบการณ์จริงในตลาดจริง