思科模拟器做dhcp,一台pc,一台路由器做中继,一台路由器做服务器,求配置命令

额,图颠倒了
2025-03-18 16:55:23
推荐回答(1个)
回答1:

R0配置:
ip dhcp pool 2
network 192.168.2.0 255.255.255.0
default-router 192.168.2.2
dns-server 8.8.8.8

interface FastEthernet0/0
ip address 192.168.1.1 255.255.255.0
no shutdown

ip route 192.168.2.0 255.255.255.0 192.168.1.2

R1配置:
interface FastEthernet0/0
ip address 192.168.1.2 255.255.255.0
no shutdown

interface FastEthernet0/1
ip address 192.168.2.2 255.255.255.0
no shutdown
ip helper-address 192.168.1.1