DHCP
ciscoasa(config)# dhcpd ?
address 地址池
auto_config Enable auto configuration from client
dns DNS
domain 域名
enable 开启 DHCP 功能
lease 租期
option Configure options to pass to DHCP clients after this keyword
ping_timeout Configure ping timeout value after this keyword
update Configure dynamic updates
wins WINS
option 66 定义 TFTP 服务器 IP
option 150 定义多个服务器地址
option 3 定义 IP 电话的默认路由 ( 网关 )
ciscoasa(config)# int e0/0
ciscoasa(config-if)# ip add 192.168.0.1 255.255.255.0
ciscoasa(config-if)# no shut
ciscoasa(config)# dhcpd address 192.168.0.100-192.168.0.254 inside
ciscoasa(config)# dhcpd dns 8.8.8.8
ciscoasa(config)# dhcpd domain itc.com
ciscoasa(config)# dhcpd enable inside
更新动态 DNS
ciscoasa(config)# dns ?
domain-lookup 开启 DNS
name-server 指定 DNS 的 IP
DHCP 中继
ciscoasa(config)# dhcpreply server ....
ciscoasa(config)# dhcpreply setroute inside // 引入防火墙接口作为默认网关
ciscoasa(config)# dhcpreply enable inside // 启用 DHCP 中继