静态综合实验

根据需求2、3,对IP地址192.168.1.0/24进行子网划分 ,同时为r1-r6配置IP

根据需求4,为r3配置DHCP 

[r3]dhcp enable 
Info: The operation may take a few seconds. Please wait for a moment.done.
[r3]ip pool ch
Info: It's successful to create an IP address pool.
[r3-ip-pool-ch]network 192.168.1.96 mask 27 
[r3-ip-pool-ch]gateway-list 192.168.1.97  
[r3-ip-pool-ch]dns-list 8.8.8.8  
[r3]interface g0/0/2  
[r3-GigabitEthernet0/0/2]dhcp select global 

 为全网可达进行静态配置,为了减少路由条目优先进行缺省路由配置,在r1-r4上配置黑洞路由防止成环

 

 

 

 

 根据需求6、7配置

[r5]acl 2000
[r5-acl-basic-2000]rule  permit source 192.168.1.0 0.0.0.255
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]nat outbound 2000
[r1]aaa
[r1-aaa]local-user chen privilege level 15 password cipher 123456
Info: Add a new user.	
[r1-aaa]local-user chen service-type telnet
[r1]user-interface vty 0 4
[r1-ui-vty0-4]authentication-mode aaa
[r5]int g0/0/1
[r5-GigabitEthernet0/0/1]nat server protocol tcp global current-interface  telne
t 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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值