2021年11月5日 星期五

Setup static IP with nmcli

nmcli con mod ens192 ipv4.addresses 192.168.1.10/24
nmcli con mod ens192 ipv4.gateway 192.168.1.254
nmcli con mod ens192 ipv4.dns 1.1.1.1,8.8.8.8
nmcli con mod ens192 ipv4.method manual
systemctl restart NetworkManager.service

沒有留言:

RouterOS Adlist

RouterOS 7.15 版開始,DNS 支援 Adlist,可用 URL 直接載入 hosts,實現類似 Pi-Hole 的功能 預設的 cache-size 2048K 不夠大, 載入時超出限制 Log 中會出現 [adlist] adlist read: max cach...