包含标签 dhcp articles

centos7下dnsmasq+pxe+ks自动安装

我们传统的ks自动安装搭建基本就是http(ftp) + tftp + dhcp + pxe ,需要好几个软件安装配置才能搞定。但对于平时服务器安装比较少的小型环境来说,DNSmasq足够用了,Dnsmasq提供DNS缓存、DHCP、Tftp服务功能。所以使用dnsmasq + httpd两个服务就可以搞定ks自……

Continue reading

RHEL7+DHCP+TFTP+PXE部署多个版本操作系统

一、dhcpd服务配置 1cp /usr/share/doc/dhcp-4.2.5/dhcpd.conf.example /etc/dhcp/dhcpd.conf 2vim /etc/dhcp/dhcpd.conf #dhcp根据实际环境配置 3subnet 192.168.1.0 netmask 255.255.255.0 { 4 range 192.168.1.100 192.168.1.200; 5 option domain-name-servers server.example.com; 6 option domain-name "8.8.8.8"; 7 option routers 192.168.1.254; 8 option broadcast-address 192.168.1.255; 9 next-server 192.168.1.89; 10 filename "pxelinux.0"; 11 default-lease-time 60000; 12 max-lease-time 720000; 13} 配置开机自启动 1systemctl restart dhcpd.service #启动dhcp服务 2systemctl enable dhcpd.service #随下次开机自动启动该服务 二、安装配置tftp-server syslinux tftp服务配置 1yum -y install syslinux tftp-server 2vim /etc/xinetd.d/tftp 3disa……

Continue reading

IBM 刀片大量DHCPREQUEST输出处理

一、现象 现网的一台主机,今天收到宕机告警,经登录查看主机未宕机,只不过ssh当时连接被拒。查看/var/log/message日志,发现有大量的DHCPREQUEST请求日志。具体内容如下: 1[root@datanode2 init.d]# tail -f /var/log/messages 2Jun 1 16:51:09 datanode2 dhclient: bound to 169.254.95.120 -- renewal in 280 seconds. 3Jun 1 16:55:49 datanode2 dhclient: DHCPREQUEST on usb0 to 169.254.95.118 port 67 (xid=0x691bb32a) 4Jun 1 16:55:49 datanode2 dhclient: DHCPACK from 169.254.95.118 (xid=0x691bb32a) 5Jun 1 16:55:49 datanode2 dhclient:……

Continue reading

多网卡下DHCP服务不稳定的解决

linux下的各种应用服务相对于windows下的同样服务,有着很强的稳定性优势,DHCP亦如是 。而公司内部网络的DHCP服务也是由linux搭建的网关提供。平时该服务运行的还倒是十分稳定。不过最近倒是罢工了一次 ,通过services dhcpd restart 没有任何报错,通过查看/var/log/m……

Continue reading

Latest articles

Categories

Tags

ACL AD AES AI Alpine Android Anpic Ansible Apache Apm Apparmor Appfog Apr Apt-Get Aria2 Array Atlassian Atop Audit Awk AWS Awstats Axel Azure Backdoor Backup Bamboo Bash Bat Benchmark Bigdata Bin Bind Bitwise Blockchain BMC Book Bootstrap Brocade Bsd C1000 Cache Capistrano Catlog CDH5 Centos Centos7 Chatops Chattr Check_mk Checkinstall Cisco CL210 Clickhouse Cloud Cloud-Desktop Cmdb Cms Cobbler Collectd Comm Compress Confd Conver Corosync Cpu Crontab Crunchbang Css Curl C语言 Date DDOS Decode Dell Desktop Devops Df Dhcp Diff Diskpart DISTINCT Django DNS Docker Dos2unix Dpkg Drupal Duckdb EKS ELK Etcd Excel Fail2ban Fastcgi Fdisk Fiddler Find Firewalld Flask Flvtool Ftp Function Fuser GCP Geek Ghost Gin Git Github Gitlab Glances Glusterfs Go Godaddy Golang Google Gooupadd Grafana Graphviz Gravatra Grep Grub2 Hadoop Haproxy Hardware HBA HCIE Heartbeat Helm Hexdump Hhvm History Hotspot Html Http/Html/Web Http/Html/Web Httplogs Https HttpWatch Huawei Huaweicloud Hugo IBM Icmp Iconv Ifconfig IIS InfluxDB Ingress InnoDB Inotify Iopp IOS Ipmitool Iptables Iredmail Iscsi Isito It-News Java JavaScript Jdk Jenkins Jinja2 Jira Join Joomla K3s K8s Kdump Keepalived Kernel Kingate KVM Lamp Last Leetcode Lib Linux Linux高级篇 Ln Ls Lsi Lsof Lvm Lvs Mac Mail Man Mark Markdown Matplotlib Maven Memcached Microservice Mimikatz Mkdocs Mkpasswd Mmonit Mod_jk Mongodb Monit Monitor Mono Moodle Mosh Mount Mplayer Mpm Mrtg Mtr My.cnf Mysql Mysqlbinlog Mysqld_multi MySQLdb Mysqldump Mysqlhotcopy Nagios Nc Nethogs Netlify Nexus Nfs Nginx Nmon Nocatlog Node.js Nrpe Ntfs Ntop Ntp Obs Ocr Open-Falcon Openbox Opencv Openldap OpenResty Openssl Openstack Oracle Oswatch Paas Pacemaker Pam Pandas Parted Pcp Pcre Pdf Percona Perl Pexpect Pgrep Php Php-Fpm Ping Plsql Develope PM Postfix PostgreSQL Powershell Prettify Proc Prometheus Puppeteer Pushd Pwgen Pxe Pyecharts Python Python模块 QoS Radmin Raid Rdesktop Read Redhat Redis Redmine Regex Rh134 RH318 RH442 RHCA RHCE Rhel7 Rhel8 RHEV Rm Rman Rootkit Route Rpm Rpmforge Rrdtool RSA Rsync Rsyslog Safe Saltstack Samba Scapy Screen SecureCRT Sed Selenium Selinux Seo Seq Session Set Shc Sheepdog Shell Shopt Sitemap Skydns Smokeping Snffier Snmp Socket Soft Sort Spider Sql Sqlserver Squid SRE Ss Ssh Sshpass Statuscode Strace Strings Su SublimeText2 Sudo Suse Svn Sysbench Syslog-Ng Sysstat Systemd T Tar TC Tcpcopy Tcpdump Tech Telecom Telnet Tencentcloud Tengine Test Testlink Threads Time Tmux Tomcat Touch Tr Tsar Twisted Ubuntu Udev Ulimit Unix Unixbench User-Agent Useradd Varnish VBA Vbs Vercel Vi Vim Visudo Vmstat Vmware Vnc Voice Vpn Vscode Vsftp Vsftpd Vue Watchdog Web Webcam Webistrano Wget Wiki Windows Wol Wordpress Workshop Wsl X-Windows Xampp Xcache Xmllint Xtrabackup Yule Yum Zabbix Zeromq Zip Zonetime Zookeeper 下载工具 云主机 云原生 代理 加密 古意 吐槽 圈里圈外 娱乐 字符串函数 安全 平台架构 推理 提权 故事汇 故障案例 数据结构 每日看点 民国史 生活 科学记录 站长管理工具 算法 管理 网站架构 翻墙 股票 行业 诗韵 负载均衡 远程管理 面试题

Links

Meta