根据网络拓扑和要求说明,完成(或解释)路由器R1 的配置:R1#configR1(config)# interface Fast
根据网络拓扑和要求说明,完成(或解释)路由器R1 的配置:
R1#config
R1(config)# interface FastEthernet 0/1
R1(config-if)#ip address (1) (2)
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#ip dhcp pool vlan 3
R1(dhcp-config)#network 192.168.3.0 255.255.255.0
R1(dhcp-config)#default-router 192.168.3.254 255.255.255.0 ; (3)
R1(dhcp-config)#dns-server 192.168.2.1 ; (4)
R1(dhcp-config)#lease 0 8 0 ; (5)
R1(dhcp-config)#exit
R1(config)#ip dhcp pool vlan 4
R1(dhcp-config)#network (6) (7)
R1(dhcp-config)#default-router 192.168.4.254 255.255.255.0
R1(dhcp-config)#dns-server 192.168.2.1
R1(dhcp-config)#lease 0 8 0
R1(dhcp-config)#exit
R1(config)#ip dhcp excluded-address (8) (9)
R1(config)#ip dhcp excluded-address 192.168.3.254
//排除掉不能分配的IP 地址
R1(config)#ip dhcp excluded-address 192.168.4.254
R1(config)# (10) 192.168.3.0 255.255.255.0 FastEthernet0/1
//在以太网接口和VLAN3 间建立一条静态路由
参考答案: