HCIP --( HCIA综合实验)

实验要求如图上所示:

 子网划分:
用户主机:8个广播域;链路:6个广播域
192.168.1.00000000 --- 192.168.1.0/24 -- 整个局域网
    192.168.1.000 00000 --- 192.168.1.0/27 -- R1环回
    192.168.1.001 00000 --- 192.168.1.32/27 -- R1环回
    192.168.1.010 00000 --- 192.168.1.64/27 -- R2环回
    192.168.1.011 00000 --- 192.168.1.96/27 -- R2环回
    192.168.1.100 00000 --- 192.168.1.128/27 -- R3
    192.168.1.101 00000 --- 192.168.1.160/27 -- R4环回
    192.168.1.110 00000 --- 192.168.1.192/27 -- R4环回
    192.168.1.111 00000 --- 192.168.1.224/27 -- R5环回
        192.168.1.000000 00 --- 192.168.1.0/30 -- R1~R2链路
        192.168.1.000001 00 --- 192.168.1.4/30 -- R2~R4链路
        192.168.1.000010 00 --- 192.168.1.8/30 -- R4~R3链路
        192.168.1.000011 00 --- 192.168.1.12/30 -- R3~R1链路
        192.168.1.000100 00 --- 192.168.1.16/30 -- R4~R5链路(100M)
        192.168.1.000101 00 --- 192.168.1.20/30 -- R4~R5链路(1000M)
 

配置命令:

R1:

sys 
sys r1
int g0/0/0
ip add 192.168.1.1 30
ospf dr-pri 0
int g0/0/1
ip add 192.168.1.13 30
int lo0
ip add 192.168.1.1 27
int lo1
ip add 192.168.1.32 27
ospf 1 router-id 1.1.1.1
area 0
network 192.168.1.0 0.0.0.31
network 192.168.1.32 0.0.0.31
network 192.168.1.0 0.0.0.3
network 192.168.1.12 0.0.0.3
aaa
local-user admin privilege level 15 password cipher 123456
local-user admin service-type telnet
user-interface vty 0 4
authentication-mode aaa
 

R2:

sys 
sys r2
int g0/0/0
ip add 192.168.1.2 30
ospf dr-pri 0
int g0/0/1
ip add 192.168.1.5 30
int lo0
ip add 192.168.1.64 27
int lo1
ip add 192.168.1.96 27
ospf 1 router-id 2.2.2.2
area 0
network 192.168.1.64 0.0.0.31
network 192.168.1.96 0.0.0.31
network 192.168.1.0 0.0.0.3
network 192.168.1.4 0.0.0.3
 

R3:

sys 
sys r3
int g0/0/0
ip add 192.168.1.14 30
ospf dr-pri 0
int g0/0/1
ip add 192.168.1.9 30
int g0/0/2
ip add 192.168.1.129 27
dhcp enable 
ip pool 128
net 192.168.1.128 mask 27
gate 192.168.1.129
dns 114.114.114.114
int g0/0/2
dhcp select global
ospf 1 router-id 3.3.3.3
area 0
network 192.168.1.128 0.0.0.31
network 192.168.1.12 0.0.0.3
network 192.168.1.8 0.0.0.3
 
R4:

sys 
sys r4
int g0/0/1
ip add 192.168.1.10 30
ospf dr-pri 0
int g0/0/0
ip add 192.168.1.6 30
int g4/0/0
ip add 192.168.1.17 30
ospf cost 20000
int g0/0/2
ip add 192.168.1.21 30
int lo0
ip add 192.168.1.160 27
int lo1
ip add 192.168.1.192 27
ospf 1 router-id 4.4.4.4
area 0
network 192.168.1.160 0.0.0.31
network 192.168.1.192 0.0.0.31
network 192.168.1.4 0.0.0.3
network 192.168.1.8 0.0.0.3
network 192.168.1.20 0.0.0.3
network 192.168.1.16 0.0.0.3

R5:

sys 
sys r5
acl 2000
rule permit source 192.168.1.0 0.0.0.255
ip route-s 0.0.0.0 0 12.0.0.1
int g0/0/1
ip add 12.0.0.2 24
nat outbound 2000
int g0/0/0
ip add 192.168.1.18 30
ospf cost 20000
int g0/0/2
ip add 192.168.1.22 30
int lo0
ip add 192.168.1.224 27
ospf 1 router-id 5.5.5.5
area 0
network 192.168.1.20 0.0.0.3
network 192.168.1.16 0.0.0.3
network 192.168.1.224 0.0.0.31 
default-route-advertise always
int g0/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
 

R6:

sys 
sys r6
int g0/0/0
ip add 12.0.0.1 24
int lo0
ip add 1.1.1.1 24
 
实验结果如下:

 

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值