ENSP基础配置
1.首先放置四台主机两台交换机一台路由器
2.对主机进行IP配置
pc1:192.168.1.1 255.255.255.0
pc2:192.168.1.2 255.255.255.0
pc3:192.168.2.1 255.255.255.0
pc4:192.168.2.2 255.255.255.0 并点击应用
3.对路由器两端进行IP配置
<Huawei>system-view
Enter system view, return user view with Ctrl+Z.
[Huawei]interface e0/0/0
[Huawei-Ethernet0/0/0]ip address 192.168.1.3 255.255.255.0
[Huawei-Ethernet0/0/0]
Dec 4 2022 22:52:05-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface Ethernet0/0/0 has entered the UP state.
Dec 4 2022 22:52:12-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 1, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/0]q
[Huawei]
[Huawei]interface e0/0/1
[Huawei-Ethernet0/0/1]ip address 192.168.2.3 24
[Huawei-Ethernet0/0/1]
Dec 4 2022 22:53:11-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
IP on the interface Ethernet0/0/1 has entered the UP state.
Dec 4 2022 22:53:12-08:00 Huawei DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5
.25.191.3.1 configurations have been changed. The current change number is 2, th
e change loop count is 0, and the maximum number of records is 4095.
[Huawei-Ethernet0/0/1]
4.给四台主机配置网关并用PC1 ping PC3
5.在图中放置两台终端一台作为WEB服务区,一台作为域名服务器
6.对web服务器进行配置
IP:192.168.1.5 子网掩码:255.255.255 网关:192.168.1.3
点击服务信息选择httpserver上传文件并点击启动
7.放置一台平板进行IP配置IP:192.168.1.4 子网掩码:255.255.255 网关:192.168.1.3,打开HttpClient输入web服务器ip地址
8.对DNS服务器进行配置IP:192.168.2.4 子网掩码:255.255.255.0 网关:192.168.2.3
点击服务器信息并进行DNS配置
9.对平板进行域名服务器配置192.168.2.4 打开HttpClient输入www.baidu.com