楚阿旗

博客园 首页 新随笔 联系 订阅 管理

2019年12月27日 #

摘要: subnetcalc.py class SubnetCalc(object): def __init__(self, network, mask): self.network = network.split(".") self.msk = mask.split(".") @property def 阅读全文
posted @ 2019-12-27 15:41 楚阿旗 阅读(248) 评论(0) 推荐(0)

摘要: 1. 安裝dhcp服務 yum install -y dhcp 2. host1 vi /etc/dhcp/dhcpd.failover failover peer "dhcpfailover" { primary; address host1; port 647; peer address hos 阅读全文
posted @ 2019-12-27 15:32 楚阿旗 阅读(622) 评论(0) 推荐(0)

摘要: yum install bind bind-utils bind-devel bind-chroot [root@nw-centos-dns-01 ~]# rpm -qa | grep bind bind-license-9.11.4-9.P2.el7.noarch bind-export-libs 阅读全文
posted @ 2019-12-27 15:10 楚阿旗 阅读(247) 评论(0) 推荐(0)