IP通信基础 实验九
作者:互联网
PC1配置: ip:192.168.1.1 掩码:255.255.255.0 网关:192.168.1.254
上路由器配置:
sys
int gi0/0
ip add 192.168.100.10 24
qu
ip route-static 0.0.0.0 0.0.0.0 192.168.100.254
dhcp enable
dhcp server ip-pool 1
network 192.168.1.0 mask 255.255.255.0
gateway-list 192.168.1.254
forbidden-ip 192.168.1.254
下路由器配置:
sys
int gi0/0
ip add 192.168.1.254 24
qu
int gi0/1
ip add 192.168.100.254 24
qu
int gi0/0
dhcp select relay
dhcp relay server-add 192.168.100.10
dhcp enable
标签:int,IP,通信,192.168,add,实验,ip,dhcp,1.254 来源: https://www.cnblogs.com/qq735020139/p/10914404.html