07/07/2026
🎯 IP POOLS: PONDASI DHCP & PPP YANG SERING DILUPAKAN!
Setup DHCP tapi addresses berantakan? 🤔
IP Pools adalah backbone yang harus di-configure dengan benar!
IPv4, IPv6, ranges, next-pool - semua ada di sini! 📚
───────────────────────────────────────────────────
❓ APA ITU IP POOL?
= Central repository dari IP address ranges
= Used by DHCP server, PPPoE, L2TP, Point-to-Point servers
= Manage & allocate addresses ke clients
= Separate list untuk IPv4 dan IPv6
Analogi: Inventory gudang IP addresses!
───────────────────────────────────────────────────
📊 IPv4 POOL BASICS
Properties:
• name = pool identifier (e.g., "dhcp-pool", "ppp-pool")
• ranges = IP address ranges (dari-sampai format)
• next-pool = fallback pool (jika pool ini habis)
• comment = description
Format ranges: 10.0.0.1-10.0.0.127,10.0.0.200-10.0.0.250
Multiple ranges allowed! (non-overlapping!)
───────────────────────────────────────────────────
⚡ EXAMPLE IPv4 POOL SETUP
Scenario: ISP dengan 3 subnets
Pool 1 (DHCP clients):
/ip pool add name=dhcp-clients ranges=10.0.1.100-10.0.1.200
Pool 2 (PPPoE users):
/ip pool add name=pppoe-users ranges=10.0.2.100-10.0.2.200
Pool 3 (Hotspot):
/ip pool add name=hotspot-users ranges=10.0.3.100-10.0.3.200
List pools:
/ip pool print
───────────────────────────────────────────────────
🔗 NEXT-POOL (CASCADING POOLS!)
Jika Pool A habis → automatically ambil dari Pool B!
Example setup:
Pool A (primary):
/ip pool add name=pool-primary ranges=10.0.0.1-10.0.0.50
Pool B (overflow):
/ip pool add name=pool-overflow ranges=10.0.0.51-10.0.0.100
Link Pool B ke Pool A (fallback):
/ip pool set pool-primary next-pool=pool-overflow
= Smart address management! 🎯
───────────────────────────────────────────────────
📋 MONITORING POOL USAGE
See which addresses dari pool yg sudah digunakan:
/ip pool used print
Output:
address=10.0.0.5, owner=dhcp, info=AA:BB:CC:DD:EE:FF
address=10.0.0.6, owner=pppoe, info=username1
address=10.0.0.7, owner=l2tp, info=username2
= Track siapa ambil IP dari mana!
───────────────────────────────────────────────────
🌍 IPv6 POOL SETUP
Prefix-based allocation (bukan individual addresses!)
Properties:
• name = pool name
• prefix = IPv6 prefix (e.g., 2001:db8::/60)
• prefix-length = size yang di-allocate ke client (/62, /64, dll)
• from-pool = optional (dynamic prefix dari pool lain)
Example:
/ipv6 pool add name=ipv6-clients prefix=2001:db8::/60 prefix-length=64
= Allocate /64 prefixes dari /60 pool ke clients!
───────────────────────────────────────────────────
💡 REAL-WORLD SCENARIO
ISP dengan 1000 clients, 3 subnets:
NETWORK 1: 10.0.1.0/24 (DHCP LAN clients)
Pool: 10.0.1.100-10.0.1.250
Command:
/ip pool add name=lan-dhcp ranges=10.0.1.100-10.0.1.250
NETWORK 2: 10.0.2.0/24 (PPPoE dial-up users)
Pool: 10.0.2.1-10.0.2.250
Command:
/ip pool add name=pppoe-dial ranges=10.0.2.1-10.0.2.250
NETWORK 3: 10.0.3.0/24 (Hotspot public)
Pool: 10.0.3.1-10.0.3.250
Command:
/ip pool add name=hotspot-public ranges=10.0.3.1-10.0.3.250
= 3 pools, 3 purposes, 750 total addresses!
───────────────────────────────────────────────────
🔧 ADVANCED: EXCLUDING ADDRESSES
Need to exclude gateway, DNS, servers dari pool?
Gunakan MULTIPLE RANGES!
Example: 10.0.0.0/24 network
• Gateway: 10.0.0.1 (exclude)
• DNS: 10.0.0.2 (exclude)
• Server: 10.0.0.100 (exclude)
• DHCP Pool: rest
Setup:
/ip pool add name=dhcp ranges=10.0.0.3-10.0.0.99,10.0.0.101-10.0.0.254
= Gateway, DNS, Server excluded! ✅
───────────────────────────────────────────────────
📊 IPv6 POOL EXAMPLE
ISP dengan 2001:db8::/32 allocation
Create /60 prefix pool:
/ipv6 pool add name=client-prefixes prefix=2001:db8::/60 prefix-length=64
= Clients automatically dapat /64 dari /60 pool!
Monitor IPv6 usage:
/ipv6 pool used print
Output:
owner=dhcpv6, prefix=2001:db8::1::/64, info=DUID-hash
───────────────────────────────────────────────────
⚠️ COMMON MISTAKES
❌ Overlapping ranges (conflict!)
✅ /ip pool add name=p1 ranges=10.0.0.1-10.0.0.100
✅ /ip pool add name=p2 ranges=10.0.0.101-10.0.0.200
❌ /ip pool add name=p3 ranges=10.0.0.50-10.0.0.150 (OVERLAP!)
❌ Pool too small (addresses run out)
✅ Plan untuk 30% growth buffer
❌ Not excluding gateway/DNS/servers
✅ Always exclude important IPs dari pool ranges
❌ Jangan mix IPv4 & IPv6 dalam configuration
✅ Separate IPv4 pools (/ip pool)
✅ Separate IPv6 pools (/ipv6 pool)
───────────────────────────────────────────────────
✅ BEST PRACTICES
☑️ Plan addressing BEFORE pool setup
☑️ Document pools (name, purpose, range)
☑️ Exclude critical IPs (gateway, DNS, servers)
☑️ Size pools untuk growth (30% buffer)
☑️ Use next-pool untuk overflow management
☑️ Monitor pool usage regularly
☑️ IPv4 & IPv6 pools separate
☑️ Use descriptive pool names (dhcp-lan, pppoe-wan, dll)
───────────────────────────────────────────────────
📋 POOL CONFIGURATION CHECKLIST
☑️ Define subnets & ranges
☑️ Create IPv4 pools
☑️ Create IPv6 pools (if applicable)
☑️ Exclude critical IPs
☑️