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
βοΈ