番外之 openwrt DHCP - cooip-jm/About-openwrt GitHub Wiki
在openwrt里先配置需要使用的标签
根据自己实际情况分配,配合Adguard一同食用,味道更佳
vi /etc/config/dhcp

下面是举例
config tag 'direct'
list dhcp_option '3,192.168.0.2'
list dhcp_option '6,192.168.0.11'
config tag 'mihomo'
list dhcp_option '3,192.168.0.19'
list dhcp_option '6,192.168.0.11'
config tag 'proxyV4only'
list dhcp_option '3,192.168.0.19'
list dhcp_option '6,192.168.0.12'
config tag 'directV4only'
list dhcp_option '3,192.168.0.2'
list dhcp_option '6,192.168.0.12'
config tag 'singboxfakeV6'
list dhcp_option '3,192.168.0.18'
list dhcp_option '6,192.168.0.11'
config tag 'singboxV4only'
list dhcp_option '3,192.168.0.18'
list dhcp_option '6,192.168.0.12'
回到openwrt 配置需要绑定的LXC mac


lxc的mac地址在各自的配置文件里,或者在lxc中通过ip a查看

