要求:1.全网可达;2.PC5和PC2需要动态路由配置DHCP,3.客服端可以接受到服务端的信息,4.R5和R1有换回路由5.R6,R5,R6互相之间不能设置下一跳直连(练习是我自己编的,使用使用指定路由网段,后面会修改)
首先配置路由器(R1,R4,R5,R6):
//R1
<Huawei>SYS
Enter system view, return user view with Ctrl+Z.
[Huawei]SYSN R1
[R1]interface g0/0/1
[R1-GigabitEthernet0/0/1]ip address 4.0.0.2 24
Nov 12 2021 12:29:17-08:00 R1 %%01IFNET/4/LINK_STATE(l)[3]:The line protocol IP
on the interface GigabitEthernet0/0/1 has entered the UP state.
[R1-GigabitEthernet0/0/1]int g0/0/2
[R1-GigabitEthernet0/0/2]ip address 1.0.0.2 24
Nov 12 2021 12:30:07-08:00 R1 %%01IFNET/4/LINK_STATE(l)[4]:The line protocol IP
on the interface GigabitEthernet0/0/2 has entered the UP state.
[R1-GigabitEthernet0/0/2]int g0/0/0
[R1-GigabitEthernet0/0/0]ip add
[R1-G