【无标题】

R6为isp,接口IP地址均为公有地址;该设备只能配置IP地中,之后不能在对其进行其他任何配置

 

两台PC打开DHCH

 

IP地址分配如下

 192.168.1.0/24
192.168.1.000 00000/27---骨干
192.168.1.000 000 00/30 -- 192.168.1.0/30
192.168.1.000 001 00/30 -— 192.168.1.4/30
192.168.1.000 010 00/30 -- 192.168.1.8/30
192.168.1.000 011 00/30 -- 192.168.1.12/30
192.168.1.000 100 00/30 -- 192.168.1.16/30
192.168.1.000 101 00/30 -- 192.168.1.20/30
192.168.1.000 110 00/30 
192.168.1.000 111 00/30
192.168.1.001 00000/27--- R1
192.168.1.001 0 0000/28--192.168.1.32/28
192.168.1.001 1 0000/28--192.168.1.48/28
192,168.1.010 00000/27--- R2
192.168.1.010 0 0000/28--192.168.1.64/28
192.168.1.010 1 0000/28--192.168.1.80/28
192.168.1.011 00000/27 --- R3 --192.168.1.96/27
192.168.1.100 00000/27 --- R4
192.168.1.100 0 0000/28 -- 192.168.1.128/28
192.168.1.100 1 0000/28 -- 192.168.1.144/28
192.168.1.101 00000/27 -- R5 -- 192.168.1.160/27

R1 R2 R4环回

R1两个环回LoopBack0 192.168.1.33/28 LoopBack1  192.168.1.49/28

R2两个环回LoopBack0 192.168.1.65/28  LoopBack1 192.168.1.81/28

R4两个环回LoopBack0 192.168.1.129/28 LoopBack1  192.168.1.145/28

R1-R5都可以访问R6的环回

 R6telnetR5的公有IP地址时,实际登录到R1上

R4与R5正常通过1000M链路,故障时通过100M链路 

 进入g0/0/2 开销为60  因为给下面的路的开销为70所以在0/0/2接口正常时下面的100M不用  当上面故障时那么70就成为最小开销。

R1
 sysname R1
#
 snmp-agent local-engineid 800007DB03000000000000r
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.2
ip route-static 0.0.0.0 0.0.0.0 192.168.1.6
ip route-static 192.168.1.8 255.255.255.252 192.168.1.2
ip route-static 192.168.1.12 255.255.255.252 192.168.1.6
ip route-static 192.168.1.32 255.255.255.224 NULL0
ip route-static 192.168.1.64 255.255.255.224 192.168.1.2
ip route-static 192.168.1.96 255.255.255.224 192.168.1.6

R2

sysname R2
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.10
ip route-static 192.168.1.4 255.255.255.252 192.168.1.1
ip route-static 192.168.1.32 255.255.255.224 192.168.1.1
ip route-static 192.168.1.64 255.255.255.224 NULL0
ip route-static 192.168.1.96 255.255.255.224 192.168.1.10
ip route-static 192.168.1.96 255.255.255.224 192.168.1.1

R3
sysname R3
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
dhcp enable
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.14
ip route-static 192.168.1.0 255.255.255.252 192.168.1.5
ip route-static 192.168.1.32 255.255.255.224 192.168.1.5
ip route-static 192.168.1.64 255.255.255.224 192.168.1.14
ip route-static 192.168.1.64 255.255.255.224 192.168.1.5
R4

 sysname R4
#
 board add 0/4 4GET 
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
ip route-static 0.0.0.0 0.0.0.0 192.168.1.18
ip route-static 0.0.0.0 0.0.0.0 192.168.1.22 preference 70
ip route-static 192.168.1.0 255.255.255.252 192.168.1.9
ip route-static 192.168.1.4 255.255.255.252 192.168.1.13
ip route-static 192.168.1.32 255.255.255.224 192.168.1.13
ip route-static 192.168.1.32 255.255.255.224 192.168.1.9
ip route-static 192.168.1.64 255.255.255.224 192.168.1.9
ip route-static 192.168.1.96 255.255.255.224 192.168.1.13
ip route-static 192.168.1.128 255.255.255.224 NULL0
ip route-static 192.168.1.160 255.255.255.224 192.168.1.18
ip route-static 192.168.1.160 255.255.255.224 192.168.1.20 preference 70

R5

sysname R5
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75
#
ip route-static 0.0.0.0 0.0.0.0 12.0.0.2
ip route-static 192.168.1.0 255.255.255.0 192.168.1.17
ip route-static 192.168.1.0 255.255.255.0 192.168.1.21 preference 70
ip route-static 192.168.1.0 255.255.255.0 NULL0

R6

 sysname isp
#
 snmp-agent local-engineid 800007DB03000000000000
 snmp-agent 
#
 clock timezone China-Standard-Time minus 08:00:00
#
portal local-server load portalpage.zip
#
 drop illegal-mac alarm
#
 set cpu-usage threshold 80 restore 75

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值