Neutron dhcp-agent 之 dnsmasq
来源:互联网 发布:打击网络谣言法律依据 编辑:程序博客网 时间:2024/05/22 03:33
Copyright (2013) 郭龙仓. All Rights Reserved.
dnsmasq --no-hosts --no-resolv --strict-order--bind-interfaces --interface=tap746570b9-2b --except-interface=lo--pid-file=/var/lib/quantum/dhcp/3e16cd2f-c693-49b4-91a7-2a65912ec152/pid--dhcp-hostsfile=/var/lib/quantum/dhcp/3e16cd2f-c693-49b4-91a7-2a65912ec152/host--dhcp-optsfile=/var/lib/quantum/dhcp/3e16cd2f-c693-49b4-91a7-2a65912ec152/opts--dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update --leasefile-ro--dhcp-range=set:tag0,12.0.0.192,static,120s--conf-file= --domain=openstacklocal
重要参数作用简介:
--bind-interfaces --interface=tap746570b9-2b --except-interface=lo
作用:使多个dnsmasq实例可以同时运行在同一台主机上并监听不同的interface
--dhcp-hostsfile=/var/lib/quantum/dhcp/3e16cd2f-c693-49b4-91a7-2a65912ec152/host
作用:读取IP与虚拟机的静态映射关系,该文件改变后dnsmasq会自动重新加载,不需要重启
--dhcp-optsfile=/var/lib/quantum/dhcp/3e16cd2f-c693-49b4-91a7-2a65912ec152/opts
作用:指定DNS服务器地址等选项
--dhcp-script=/usr/bin/quantum-dhcp-agent-dnsmasq-lease-update --leasefile-ro作用:lease信息更新与通知--dhcp-range=set:tag0,12.0.0.192,static,120s作用:重点在于static参数,该参数限制dnsmasq只能为dhcp-hostsfile包含的主机提供DHCP服务相关链接:
dnsmasq manpagednsmasq FAQ
0 0
- Neutron dhcp-agent 之 dnsmasq
- neutron dhcp agent
- Setting up Neutron-dhcp-agent & Dnsmasq on Two Node Neutron GRE+OVS F20 Cluster to launch VMs with M
- neutron-DHCP-Agent代码分析
- Neutron印象5:neutron-dhcp-agent
- OpenStack Neutron中的dhcp agent实现
- neutron-dhcp-agent服务启动流程
- Neutron DHCP-Agent问题分析定位(1)
- Neutron DHCP-Agent问题分析定位(2)
- Neutron DHCP-Agent问题分析定位(3)
- Neutron DHCP-Agent问题分析定位(4)
- Neutron DHCP-Agent问题分析定位(5)
- Neutron DHCP-Agent问题分析定位(6)
- Neutron dhcp agent创建网络过程
- 【neutron源码分析】neutron-dhcp-agent源码分析
- 发送dhcp request/response 过程 on Neutron+OVS agent
- neutron-l3-agent之关键信息
- DNSMasq As DHCP Server
- drop_confirm
- pku1847 Tram
- 深入浅出 JavaScript 中的 this
- Redhat Linux下创建ftp服务器
- oracle sql语句
- Neutron dhcp-agent 之 dnsmasq
- 从一台linux操作另一台的数据库
- Java Enum
- 进程控制理论<四>--消息队列和信号量
- android 中调用接口发送短信
- IME输入法编程心得
- CSS Positioning
- Entity Framework(EF)知识整理
- SwiFTP