未分类题

根据网络拓扑和要求说明,完成(或解释)路由器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 间建立一条静态路由

A.168.3.0
B.255.255.0
R1(dhcp-config)#default-router
C.168.3.254
D.255.255.0
E.168.2.1
F.168.4.254
G.255.255.0
R1(dhcp-config)#dns-server
H.168.2.1
R1(dhcp-config)#lease
I.168.3.254
//排除掉不能分配的IP
J.168.4.254
R1(config)#
K.168.3.0
L.255.255.0

【参考答案】

(1)192.168.1.1
(2)255.255.255.0
(3)设置部门2 网关为192.168.......

(↓↓↓ 点击下方‘点击查看答案’看完整答案 ↓↓↓)