IP配置如下图
IP配置较简单,就不记录了
配置DHCP
在AR3上
ip pool aa(ip池名)
network 192.168.1.96 mask 28
gateway-list 192.168.1.97
?
当AR5的0/0/0端口出问题时,调用1/0/0端口:
配置IP:ip add 192.168.1.22 preference 70? ? ?改变优先级
R1-5均可以访问R6的环回
使用NAT命令
在R5上
[Huawei]acl 2000
[Huawei-acl-basic-2000]rule permit source 192.168.1.0 0.0.0.255
[Huawei]int g 0/0/1
[Huawei-GigabitEthernet0/0/1]nat ou
[Huawei-GigabitEthernet0/0/1]nat outbound 2000
远程登陆
先在R1上配置 telnet
[Huawei]aaa
[Huawei-aaa]local-user admin privilege level 15 password cipher 123
[Huawei-aaa]local-user admin service-type telnet
[Huawei-aaa]q
[Huawei]user-interface vty 0 4
[Huawei-ui-vty0-4]aut
[Huawei-ui-vty0-4]authentication-mode aaa
[Huawei-ui-vty0-4]q
然后在R5上配置
[Huawei]int g 0/0/1
[Huawei-GigabitEthernet0/0/1]nat server protocol tcp global current-interface 23
inside 192.168.1.1 23
Warning:The port 23 is well-known port. If you continue it may cause function fa
ilure.
Are you sure to continue?[Y/N]:y
|