拓扑图
配置过程
需求:通过配置实现client使用域名访问HTTP服务器
需求解析:
1.要求pc1使用域名搜索时client可以使用域名访问HTTP服务器
配置过程
pc1:
client:
AR1:
[Huawei]interface GigabitEthernet 0/0/0
[Huawei-GigabitEthernet0/0/0]ip addres 192.168.1.100 24
Jul 18 2024 20:33:06-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[0]:The line protocol
IP on the interface GigabitEthernet0/0/0 has entered the UP state.
[Huawei-GigabitEthernet0/0/0]quit
[Huawei]interface gigabite
[Huawei]interface GigabitEthernet 0/0/1
[Huawei-GigabitEthernet0/0/1]ip addres 192.168.2.100 24
Jul 18 2024 20:33:53-08:00 Huawei %%01IFNET/4/LINK_STATE(l)[1]:The line protocol
IP on the interface GigabitEthernet0/0/1 has entered the UP state.
[Huawei-GigabitEthernet0/0/1]quit
[Huawei]display ip addres brief
^
Error: Unrecognized command found at '^' position.
[Huawei]display ip interface brief
*down: administratively down
^down: standby
(l): loopback
(s): spoofing
The number of interface that is UP in Physical is 3
The number of interface that is DOWN in Physical is 1
The number of interface that is UP in Protocol is 3
The number of interface that is DOWN in Protocol is 1
Interface IP Address/Mask Physical Protocol
GigabitEthernet0/0/0 192.168.1.100/24 up up
GigabitEthernet0/0/1 192.168.2.100/24 up up
GigabitEthernet0/0/2 unassigned down down
NULL0 unassigned up up(s)
DNS服务器:
百度服务器:
实验结果:
以上就是我的实验报告,谢谢老师