DHCP功能
DHCP 地址池
dhcp enable
ip pool elin
network 192.168.100.0 mask 24
gateway-list 192.168.100.254
dns-list 114.114.114.114
lease day 1 hour 1 minute 1
int g0/0/0
dhcp select global
接口下发
dhcp enable
int g0/0/0
ip add 192.168.200.254 24
dhcp server dns-list 8.8.8.8
dhcp select interface
单臂路由
int g0/0/0.10
dot1q termination vid 10
ip add 192.168.10.254 255.255.255.0
arp broadcast enable
NAT
端口复用NAT —— NAPT
acl 2000
rule permit source 192.168.100.0 0.0.0.255
int g0/0/0
nat outbound 2000
静态nat
int g0/0/1
nat static global 1.1.1.10 inside 192.168.1.1
nat static enable
标签:enable,复习,g0,int,192.168,期末,nat,dhcp
From: https://www.cnblogs.com/lanmao588/p/17921707.html