利用eNsp搭建以下任务HTTP Server提供Web服务,DNS Server提供DNS服务,R1提供DHCP服务,R1与R2直接运行RIPv2协议,在客户端Client2访问HTTP Serv

d680b91d76d3417eb4c392a12f881614.jpg

[Huawei]sys    
[Huawei]sysname ar1
[ar1]dhcp en    
[ar1]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[ar1]un in en
Info: Information center is disabled.
[ar1]int s4/0/0
[ar1-Serial4/0/0]ip address 1.1.1.1 24
[ar1-Serial4/0/0]int g0/0/1
[ar1-GigabitEthernet0/0/1]ip address 192.168.2.254 24
[ar1-GigabitEthernet0/0/1]rip 2
[ar1-rip-2]network 1.0.0.0
[ar1-rip-2]network 172.22.0.0
[ar1-rip-2]int g0/0/0
[ar1-GigabitEthernet0/0/0]ping 192.168.214
Error: Unknown host 192.168.214.
[ar1-GigabitEthernet0/0/0]ping 192.168.214
Error: Unknown host 192.168.214.
[ar1-GigabitEthernet0/0/0]ping 192.168.2.14
  PING 192.168.2.14: 56  data bytes, press CTRL_C to break
    Reply from 192.168.2.14: bytes=56 Sequence=1 ttl=255 time=30 ms
    Reply from 192.168.2.14: bytes=56 Sequence=2 ttl=255 time=10 ms
    Reply from 192.168.2.14: bytes=56 Sequence=3 ttl=255 time=10 ms
    Reply from 192.168.2.14: bytes=56 Sequence=4 ttl=255 time=10 ms
    Reply from 192.168.2.14: bytes=56 Sequence=5 ttl=255 time=10 ms

  --- 192.168.2.14 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 10/14/30 ms

[ar1-GigabitEthernet0/0/0]ping 57.71.2.14
  PING 57.71.2.14: 56  data bytes, press CTRL_C to break
    Reply from 57.71.2.14: bytes=56 Sequence=1 ttl=254 time=20 ms
    Reply from 57.71.2.14: bytes=56 Sequence=2 ttl=254 time=20 ms
    Reply from 57.71.2.14: bytes=56 Sequence=3 ttl=254 time=30 ms
    Reply from 57.71.2.14: bytes=56 Sequence=4 ttl=254 time=20 ms
    Reply from 57.71.2.14: bytes=56 Sequence=5 ttl=254 time=30 ms

  --- 57.71.2.14 ping statistics ---
    5 packet(s) transmitted
    5 packet(s) received
    0.00% packet loss
    round-trip min/avg/max = 20/24/30 ms

[ar1-GigabitEthernet0/0/0]
[ar1-GigabitEthernet0/0/0]
[ar1-GigabitEthernet0/0/0]ip pool net
Info: It's successful to create an IP address pool.
[ar1-ip-pool-net]network 172.22.14.0 mask 24
[ar1-ip-pool-net]gate    
[ar1-ip-pool-net]gateway-list 172.22.14.254 
[ar1-ip-pool-net]dns    
[ar1-ip-pool-net]dns-list 192.168.2.14
[ar1-ip-pool-net]int g0/0/0
[ar1-GigabitEthernet0/0/0]dhcp se    
[ar1-GigabitEthernet0/0/0]dhcp select g    
[ar1-GigabitEthernet0/0/0]dhcp select global 
[ar1-GigabitEthernet0/0/0]ip address 172.22.14.254 24
[ar1-GigabitEthernet0/0/0]ip address 172.22.14.254 24
<ar1>

<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]disap    
[Huawei]disapl    
[Huawei]displ    
[Huawei]display ip ro    
[Huawei]display ip routing-table pr    
[Huawei]display ip routing-table protocol rip
[Huawei]sysname ar2
[ar2]int s4/0/0/0
         ^
Error: Wrong parameter found at '^' position.
[ar2]int s4/0/0
[ar2-Serial4/0/0]ip add 1.1.1.2 24
[ar2-Serial4/0/0]
Nov 16 2023 21:08:43-08:00 ar2 %%01IFNET/4/LINK_STATE(l)[0]:The line protocol PP
P IPCP on the interface Serial4/0/0 has entered the UP state. 
[ar2-Serial4/0/0]q
[ar2]un in en
Info: Information center is disabled.
[ar2]int g0/0/0
[ar2-GigabitEthernet0/0/0]ip add 57.71.2.254 24
[ar2-GigabitEthernet0/0/0]rip 2
[ar2-rip-2]network 1.0.0.0
[ar2-rip-2]network 57.0.0.0
[ar2-rip-2]

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

<ar2>
<ar2>

  Please check whether system data has been changed, and save data in time

  Configuration console time out, please press any key to log on

<ar2>
<ar2>
<ar2>
<ar2>

  • 3
    点赞
  • 8
    收藏
    觉得还不错? 一键收藏
  • 3
    评论
评论 3
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值