无标题
Posted 李凯 北信
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了无标题相关的知识,希望对你有一定的参考价值。
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
以上是关于无标题的主要内容,如果未能解决你的问题,请参考以下文章