OSPF作为一种内部网关协议(IGP),用于在同一个AS中的路由器之间交换路由信息。
OSPF的特性如下:
1.可适应大规模网络
2.收敛速度快
3.无路由环路
4.支持VLSM和CIDR
5.支持等价路由
6.支持区域划分,构成结构化的网络
7.提供路由分级管理
8.支持简单口令和MD5认证
9.以组播方式传送协议报文
10.OSPF路由协议的管理距离是110
11.OSPF路由协议采用cost作为度量标准
12.OSPF维护邻居表、拓扑表和路由表

OSPF将网络划分为4中类型:
广播多路访问(BMA)
非广播多路访问(NBMA)
点到点(Point-to-Point)
点到多点(Point-to-MultiPoint)

需要掌握的几个术语:
1.链路:路由器用来连接网络的接口
2.链路状态:用来描述路由器接口及其邻居路由器的关系。所有链路状态信息构成链路状态数据库
3.区域:有相同的区域标识的一组路由器和网络的集合。同一区域内的路由器具有相同的链路状态数据库
4.自治系统:采用同一种路由协议交换路由的路由器及其网络构成一个自治系统
5.链路状态通告(LSA):LSA用来描述路由器的本地状态,LSA包括的信息有关于路由器接口的状态和所形成的邻接状态

1.多区域的OSPF
    OSPF的DR和BDR选择
2.OSPF汇总
    区域间汇总
    区域外汇总
3.OSPF的网络类型
    点到点网络的网络类型
    广播网络的网络类型
    不同网络类型间相互学习
    NBMA下的OSPF
4.OSPF认证
    OSPF的明文认证
    OSPF的MD5认证
5.OSPF注入默认路由
6.OSPF的特殊区域
    OSPF末节区域
    OSPF完全末节区域
    OSPF次末节区域
    OSPF完全次末节区域
7.OSPF虚电路
    把非骨干区域连接到骨干区域
    不连续的骨干区域
8.OSPF区域间选路

基本配置:
-----------------------------------------------
enable
conf t
no ip do lo
enable pass cisco
line con 0
logg sync
exec-t 0 0
line vty 0 4
pass cisco
logg sync
exit
host

1. 多区域OSPF:
-------------------------------------------------------------------------------

R1:
int f0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 11.1.1.1
network 12.1.1.0 0.0.0.255 area 1
network 11.1.1.0 0.0.0.255 area 1
exit

R2:
int f0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 23.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 22.1.1.1
network 12.1.1.0 0.0.0.255 area 1
network 22.1.1.0 0.0.0.255 area 0
network 23.1.1.0 0.0.0.255 area 0
exit

R3:
int f0/0
ip add 23.1.1.3 255.255.255.0
no shut
exit
int f1/0
ip add 34.1.1.3 255.255.255.0
no shut
exit
int l0
ip add 33.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 33.1.1.1
network 23.1.1.0 0.0.0.255 area 0
network 33.1.1.0 0.0.0.255 area 0
network 34.1.1.0 0.0.0.255 area 2
exit

R4:
int f0/0
ip add 34.1.1.4 255.255.255.0
no shut
exit
int l0
ip add 44.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 44.1.1.1
network 34.1.1.0 0.0.0.255 area 2
network 44.1.1.0 0.0.0.255 area 2
exit

OSPF路由进程ID的范围必须在1-65535之间,而且只有本地含义,不同路由器的路由进程ID可以不同。如果想要启动OSPF进程,至少需要确保路由器有一个接口是up的。
Area ID是在0-4294967295内的十进制数,可以是IP地址的格式A.B.C.D。当网络Area ID为0或者0.0.0.0时称为主干区域。
在高版本的IOS中通告OSPF网络的时候,网络号的后边可以跟网络掩码,也可以跟反掩码。
确定Router ID顺序如下:优先选定在OSPF进程中用命令"router-id"指定的路由器ID;如果没有指定,则选择IP地址最大的环回接口的IP地址;如果没有环回接口,则选择最大的活动物理接口的IP地址。建议手动指定。

R1:
end
show ip route ospf
conf t
环回接口OSPF路由条目的掩码长度都是32位,这是环回接口的特性,尽管通告了24位。解决的办法是在环回接口下修改网络类型为"Point-to-Point"。其默认网络类型是LOOPBACK,物理接口的默认网络类型是BROADCAST。
R2:
int l0
ip ospf network point-to-point
exit

R1:
end
show ip protocols
show ip ospf int f0/0
show ip ospf neighbor

show ip ospf database

conf t

DR BDR选择
R1:
int f0/0
ip ospf prio 10
exit

R2:
end
show ip ospf neighbor

clear ip ospf process
y

show ip ospf neighbor
conf t

R3:
int f0/0
ip ospf prio 0
exit

R2:
end
show ip ospf neighbor
conf t

2. OSPF汇总

区域间汇总
-----------------------------------------------------------------
R2:
router ospf 1
area 0 range 22.1.0.0 255.255.0.0
area 0 range 33.1.0.0 255.255.0.0
exit

R1:
end
show ip route ospf
conf t

R4:
int l1
ip add 44.1.2.1 255.255.255.0
exit
int l2
ip add 44.1.3.1 255.255.255.0
exit
router ospf 1
network 44.1.2.0 0.0.0.255 area 2
network 44.1.3.0 0.0.0.255 area 2
exit

R1:
end
show ip route ospf
conf t

R3:
router ospf 1
area 2 range 44.1.0.0 255.255.0.0
exit

区域外汇总
--------------------------------------------------------------------
R4:
int l10
ip add 144.1.1.1 255.255.255.0
exit
int l11
ip add 144.1.2.1 255.255.255.0
exit
int l12
ip add 144.1.3.1 255.255.255.0
exit

router ospf 1
redistribute connected subnets
exit

R1:
end
show ip route ospf
conf t

R4:
router ospf 1
summary-add 144.1.0.0 255.255.0.0
exit

R1:
end
show ip route ospf
conf t

3. OSPF网络类型:
------------------------------------------------------------------------

在点到点的网络OSPF的网络类型
点到点的二层网络类型主要出现的地方有两个:1是串行链路;2是帧中继的点对点链路。

R1:
int s0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 11.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 11.1.1.0 0.0.0.255 area 0
exit

R2:
int s0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 22.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 22.1.1.0 0.0.0.255 area 0
exit

R1:
end
show ip ospf int s0/0
conf t
-----------------------------------------------------------------
R1/R2:
int s0/0
ip ospf network broadcast
ip ospf network point-to-multipoint
ip ospf network point-to-multipoint non-broadcast
exit

R1:
show ip ospf int s0/0
-------------------------------------------------------------
R1/R2:
int s0/0
ip ospf network non-broadcast
exit

R1:
router ospf 1
neighbor 12.1.1.2
exit

R1:
show ip ospf int s0/0

广播网络的OSPF网络类型
--------------------------------------------------------------------------

R1:
int f0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 11.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 11.1.1.0 0.0.0.255 area 0
exit

R2:
int f0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 22.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 22.1.1.0 0.0.0.255 area 0
exit

R1:
end
show ip ospf int f0/0
conf t
----------------------------------------------------------------------
R1/R2:
int f0/0
ip ospf network point-to-point
exit

R1:
show ip ospf int f0/0

不同网络类型之间相互学习
----------------------------------------------------------------

R1:
int s0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 11.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 11.1.1.0 0.0.0.255 area 0
exit

R2:
int s0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 22.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 22.1.1.0 0.0.0.255 area 0
exit

R1:
int s0/0
ip ospf network point-to-point
exit

R2:
int s0/0
ip ospf network broadcast
exit

R1:
show ip ospf neighbor
show ip route
show ip ospf database

NBMA环境下的OSPF
----------------------------------------------------------

R4:
frame-relay switch

int s0/1
encap frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 102 int s0/2 201
frame-relay route 103 int s0/3 301
no shut
exit

int s0/2
encap frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 201 int s0/1 102
no shut
exit

int s0/3
encap frame-relay
frame-relay lmi-type cisco
frame-relay intf-type dce
frame-relay route 301 int s0/1 103
no shut
exit

end
show frame-relay route
conf t

R1:
int s0/0
ip add 123.1.1.1 255.255.255.0
encap frame-relay
no frame-relay inverse-arp
frame-relay map ip 123.1.1.2 102 broadcast
frame-relay map ip 123.1.1.3 103 broadcast
no shut
exit

R2:
int s0/0
ip add 123.1.1.2 255.255.255.0
encap frame-relay
no frame-relay inverse-arp
frame-relay map ip 123.1.1.1 201 broadcast
frame-relay map ip 123.1.1.3 201 broadcast
no shut
exit

R3:
int s0/0
ip add 123.1.1.3 255.255.255.0
encap frame-relay
no frame-relay inverse-arp
frame-relay map ip 123.1.1.1 301 broadcast
frame-relay map ip 123.1.1.2 301 broadcast
no shut
exit

R2:
ping 123.1.1.1
ping 123.1.1.3

R1:
router ospf 1
router-id 11.1.1.1
network 123.1.1.0 0.0.0.255 area 0
network 11.1.1.0 0.0.0.255 area 0
exit

R2:
router ospf 1
router-id 22.1.1.1
network 123.1.1.0 0.0.0.255 area 0
network 22.1.1.0 0.0.0.255 area 0
exit

R3:
router ospf 1
router-id 33.1.1.1
network 123.1.1.0 0.0.0.255 area 0
network 22.1.1.0 0.0.0.255 area 0
exit

R1:
show ip ospf neighbor

会发现并没有任何邻居发现,这是因为在NBMA的网络,是没有办法自动发现邻居的,需要手动指邻居,在任何一方指都行。

R1:
router ospf 1
neighbor 123.1.1.2
neighbor 123.1.1.3
exit

show ip ospf neighbor

R2:
show ip route

会发现邻居已经起来了,但是R2没有学到任何路由,这是因为R3被选为DR,造成DR不对称。在NBMA网络中,一定要控制DR在HUB点上。

R2/R3:
int s0/0
ip ospf priority 0
exit

R2:
show io route ospf
show ip ospf int s0/0

R1/R2/R3:
int s0/0
ip ospf network point-to-multipoint
exit

R1:
show ip route ospf

4. OSPF明文认证和MD5认证:
---------------------------------------------------------------

R1:
int s0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 11.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 11.1.1.0 0.0.0.255 area 0
exit

R2:
int s0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 22.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 22.1.1.0 0.0.0.255 area 0
exit

R1/R2:
show ip route ospf

R1/R2:
int s0/0
ip ospf authentication
ip ospf authentication-key cisco
exit

R1/R2:
show ip ospf int s0/0

R1/R2:
int s0/0
no ip ospf authentication
no ip ospf authentication-key cisco
exit

router ospf 1
area 0 authentication
no area 0 authentication
exit

OSPF的MD5认证与明文认证的配置非常相似,开启的方法也有两种,基于链路和基于区域。在配置秘钥的时候,都只能去链路下配置。每条链路可以配置成不一样的。

R1/R2:
int s0/0
ip ospf authentication message-digest
ip ospf message-digest-key 1 md5 cisco
exit

R1/R2:
int s0/0
no ip ospf authentication message-digest
no ip ospf message-digest-key 1 md5 cisco
exit

router ospf 1
area 0 authentication message-digest
exit

OSPF链路认证开启优先于区域认证开启,也就是说在链路上开启的明文,但是在区域里开启了MD5,则此链路是明文的认证。

5. OSPF注入默认路由
---------------------------------------------------------------
R2:
router ospf 1
default-information originate always
exit

如果不使用可选的"always"参数, 路由器上必须存在一条默认路由;如果使用该参数,无论路由器上是否存在默认路由,都会向OSPF区域内注入一条默认路由。

6. OSPF特殊区域:
-------------------------------------------------------------------------------

OSPF末节区域

R1:
int f0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 11.1.1.1
network 12.1.1.0 0.0.0.255 area 1
network 11.1.1.0 0.0.0.255 area 1
exit

R2:
int f0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 23.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 22.1.1.1
network 12.1.1.0 0.0.0.255 area 1
network 22.1.1.0 0.0.0.255 area 0
network 23.1.1.0 0.0.0.255 area 0
exit

R3:
int f0/0
ip add 23.1.1.3 255.255.255.0
no shut
exit
int f1/0
ip add 34.1.1.3 255.255.255.0
no shut
exit
int l0
ip add 33.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 33.1.1.1
network 23.1.1.0 0.0.0.255 area 0
network 33.1.1.0 0.0.0.255 area 0
network 34.1.1.0 0.0.0.255 area 2
exit

R4:
int f0/0
ip add 34.1.1.4 255.255.255.0
no shut
exit
int l0
ip add 44.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 44.1.1.1
network 34.1.1.0 0.0.0.255 area 2
network 44.1.1.0 0.0.0.255 area 2
exit

R4:
int l1
ip add 144.1.1.1 255.255.255.0
exit
router ospf 1
redistribute connected subnets
exit

R1:
show ip route ospf

R1/R2:
router ospf 1
area 1 stub
exit

R1:
show ip route ospf

可以发现R1上再也收不到144.1.1.0/24的这条路由了,OSPF的stub区域就是用来阻止外部路由的。此外我们发现生成了一条区域间的默认路由,这里area 1的路由器要访问OSPF外部的路由都是走这条缺省路由。

完全末节区域
--------------------------------------------------------------------------------
area 1已经是一个末节区域了,阻止了OSPF的外部路由。但是我们发现,区域间的路由还是很多,路由表没有减到最小,此时就需要一个完全的末节区域。完全末节区域需要在ABR上配置。
R2:
router ospf 1
area 1 stub no-summary
exit

R1:
show ip route ospf
此时路由表已经减少到最小了,area 1的路由器(这里只有R1)去往所有区域外的路由和区域间的路由都用词默认路由就可以了。

OSPF次末节区域
---------------------------------------------------------------------
area 1配置末节区域之后,不能引入外部路由。如果想保留stub区域较少路由条目的优点,又想引入外部路由的话,就需要用到NSSA。

R1/R2:
router ospf 1
no area 1 stub
exit

R1/R2:
router ospf 1
area 1 nssa
exit

区域1阻止了外部的路由,并且还能够重分布进路由条目。
如果只是配置一个NSSA区域,需要去R2上手动产生一条默认路由让NSSA区域的路由器能够去访问外部。
R2:
router ospf 1
area 1 nssa default-information-originate
exit

R1:
int l1
ip add 111.1.1.1 255.255.255.0
exit
router ospf 1
redistribute connected subnets
exit

R4:
show ip route ospf

OSPF完全次末节区域
----------------------------------------------------------------
此时area 1(R1,R2)已经是一个NSSA区域了,我们想把路由条目减到最少,就要用到完全次末节区域。与stub一样,只需要在ABR上配置就可以了。
R2:
router ospf 1
area 1 nssa no-summary
exit

R1/R4:
show ip route ospf

7. OSPF虚电路:
-------------------------------------------------------------------------------
把非骨干区域连接到骨干区域

R1:
int f0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 11.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 11.1.1.0 0.0.0.255 area 0
exit

R2:
int f0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 23.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 22.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 22.1.1.0 0.0.0.255 area 0
network 23.1.1.0 0.0.0.255 area 1
exit

R3:
int f0/0
ip add 23.1.1.3 255.255.255.0
no shut
exit
int f1/0
ip add 34.1.1.3 255.255.255.0
no shut
exit
int l0
ip add 33.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 33.1.1.1
network 23.1.1.0 0.0.0.255 area 1
network 33.1.1.0 0.0.0.255 area 1
network 34.1.1.0 0.0.0.255 area 2
exit

R4:
int f0/0
ip add 34.1.1.4 255.255.255.0
no shut
exit
int l0
ip add 44.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 44.1.1.1
network 34.1.1.0 0.0.0.255 area 2
network 44.1.1.0 0.0.0.255 area 2
exit

R4:
show ip ospf neighbor
show ip route ospf
会发现学不到任何区域间路由,原因是区域间的路由学习,只能通过连接到骨干区域的ABR传过来,两个普通区域相连接并不会传递路由信息,这就需要用到虚电路。
由于area 2 被 area 1分割开,所以虚电路需要在area 1里面去做。

R2:
router ospf 1
area 1 virtual-link 33.1.1.1
exit

R3:
router ospf 1
area 1 virtual-link 22.1.1.1
exit

R3:
show ip ospf neighbor

R4:
show ip route ospf

不连续的骨干区域
-------------------------------------------------------------------------------

R1:
int f0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 11.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 11.1.1.0 0.0.0.255 area 0
exit

R2:
int f0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 23.1.1.2 255.255.255.0
no shut
exit
int l0
ip add 22.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 22.1.1.1
network 12.1.1.0 0.0.0.255 area 0
network 22.1.1.0 0.0.0.255 area 0
network 23.1.1.0 0.0.0.255 area 1
exit

R3:
int f0/0
ip add 23.1.1.3 255.255.255.0
no shut
exit
int f1/0
ip add 34.1.1.3 255.255.255.0
no shut
exit
int l0
ip add 33.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 33.1.1.1
network 23.1.1.0 0.0.0.255 area 1
network 33.1.1.0 0.0.0.255 area 0
network 34.1.1.0 0.0.0.255 area 0
exit

R4:
int f0/0
ip add 34.1.1.4 255.255.255.0
no shut
exit
int l0
ip add 44.1.1.1 255.255.255.0
no shut
exit

router ospf 1
router-id 44.1.1.1
network 34.1.1.0 0.0.0.255 area 0
network 44.1.1.0 0.0.0.255 area 0
exit

R1/R4:
show ip route ospf

R2:
router ospf 1
area 1 vritual-link 33.1.1.1
exit

R3:
router ospf 1
area 1 virtual-link 22.1.1.1
exit

R2/R3:
show ip ospf neighbor

R1/R4:
show ip route ospf

7. OSPF区域间选路
-------------------------------------------------------------------------------

R1:
int f0/0
ip add 12.1.1.1 255.255.255.0
no shut
exit
int l0
ip add 11.1.1.1 255.255.255.0
exit

router ospf 1
router-id 11.1.1.1
network 11.1.1.0 0.0.0.255 area 2
network 12.1.1.0 0.0.0.255 area 2
exit

R2:
int f0/0
ip add 12.1.1.2 255.255.255.0
no shut
exit
int f1/0
ip add 23.1.1.2 255.255.255.0
no shut
exit
int f2/0
ip add 24.1.1.2 255.255.255.0
no shut
exit

router ospf 1
router-id 22.1.1.1
network 12.1.1.0 0.0.0.255 area 2
network 24.1.1.0 0.0.0.255 area 0
network 23.1.1.0 0.0.0.255 area 0
exit

R3:
int f0/0
ip add 23.1.1.3 255.255.255.0
no shut
exit
int f1/0
ip add 35.1.1.3 255.255.255.0
no shut
exit
int f2/0
ip add 34.1.1.3 255.255.255.0
no shut
exit

router ospf 1
router-id 33.1.1.1
network 23.1.1.0 0.0.0.255 area 0
network 35.1.1.0 0.0.0.255 area 1
network 34.1.1.0 0.0.0.255 area 1
exit

R4:
int f0/0
ip add 24.1.1.4 255.255.255.0
no shut
exit
int f1/0
ip add 45.1.1.4 255.255.255.0
no shut
exit
int f2/0
ip add 34.1.1.4 255.255.255.0
no shut
exit

router ospf 1
router-id 44.1.1.1
network 24.1.1.0 0.0.0.255 area 0
network 45.1.1.0 0.0.0.255 area 1
network 34.1.1.0 0.0.0.255 area 1
exit

R5:
int f0/0
ip add 35.1.1.5 255.255.255.0
no shut
exit
int f1/0
ip add 45.1.1.5 255.255.255.0
no shut
exit

router ospf 1
router-id 55.1.1.1
network 35.1.1.0 0.0.0.255 area 1
network 45.1.1.0 0.0.0.255 area 1
exit

R1:
int f0/0
ip ospf cost 1
exit

R2:
int f0/0
ip ospf cost 1
exit
int f1/0
ip ospf cost 10
exit
int f2/0
ip ospf cost 2
exit

R3:
int f0/0
ip ospf cost 10
exit
int f1/0
ip ospf cost 2
exit
int f2/0
ip ospf cost 2
exit

R4:
int f0/0
ip ospf cost 2
exit
int f1/0
ip ospf cost 5
exit
int f2/0
ip ospf cost 2
exit

R5:
int f0/0
ip ospf cost 2
exit
int f1/0
ip ospf cost 5
exit

R5:
show ip route ospf
trace 12.1.1.1

CCNP路由实验(2) -- OSPF的更多相关文章

  1. CCNP路由实验之八 路由重公布

     CCNP路由实验之八 路由重公布 在前面几个实验,已经学习了静态路由和动态路由.如今,我们要掌握怎样使它们在一个网络中融合,即路由重公布. 使用出站口作为静态路由 0 使用下一跳地址作为静态路由 ...

  2. CCNP路由实验之六 动态路由协议之IS-IS

     CCNP路由实验之六动态路由协议之IS-IS 动态路由协议能够自己主动的发现远程网络.仅仅要网络拓扑结构发生了变化.路由器就会相互交换路由信息,不仅能够自己主动获知新添加的网络.还能够在当前网络 ...

  3. CCNP路由实验之九 路由策略

     CCNP路由实验之九 路由策略 路由器在公布与接收路由信息时,可能须要实施一些策略.以便对路由信息进行过滤,比如仅仅接收或公布满足一定条件的路由信息. 一种路由协议可能须要引入其它的路由协议发现 ...

  4. CCNP路由实验之十 组播(多播)

                        CCNP路由实验之十 组播(多播) 种方法: 在交换机上配置静态的多播MAC地址到用户接口的映射 使用CGMP.执行CGMP的多播路由器能够将用户发送给自己 ...

  5. CCNP路由实验之七 动态路由之BGP

     CCNP路由实验之七 动态路由之BGP 动态路由协议能够自己主动的发现远程网络,仅仅要网络拓扑结构发生了变化,路由器就会相互交换路由信息,不仅能够自己主动获知新添加的网络,还能够在当前网络连接失 ...

  6. CCNP路由实验之十五 NAT(网络地址转换)

     CCNP路由实验之十五 NAT(网络地址转换) 众所周知,要让自己的电脑连上Internet,必须要到运营商(ISP)申请一个上网账号,依据此账号申请自己的宽频业务(拨号上网.商业固定IP等等) ...

  7. CCNP路由实验之十二 MPLS

     个.第3个数据包„„同样的操作.包含查询路由表.重写MAC地址,CRC校验等. 系列路由器.或者12000系列路由器. Netflow switching 通过一种标准的交换机制,处理了流的第一 ...

  8. CCNP路由实验(3) -- 路由控制

    1.用distribute-list过滤路由在不同协议里的用法 在RIP里 在EIGRP里 在OSPF里 只接收奇数路由 只接收偶数路由 只接收被4整除的路由2.offset-list在不同协议里的用 ...

  9. CCNP路由实验(1) -- EIGRP

    EIGRP(Enhanced Interior Gateway Routing Protocol,增强型内部网关路由协议)是Cisco公司开发的一个平衡混合型路由协议,它融合了距离向量和链路状态两种路 ...

随机推荐

  1. 精读《javascript高级程序设计》笔记三——面向对象的程序设计

    重点来了,我认为这一章值得好好地反复地看.看第一遍 还是懵懵懂懂,现在看第二遍,终于能看出点意思了. 创建对象 工厂模式 function createPerson(name, age, job){ ...

  2. HTML DOM 属性记录

    将HTML DOM中几个容易常用的属性做下记录,需要的朋友可以参考下.     nodeName.nodeValue 以及 nodeType 包含有关于节点的信息. nodeName 属性含有某个节点 ...

  3. css区块定位之浮动与清除属性

    float属性将所属标记的显示空间指定为一个浮动元素,并使其周围对象按一定的方式环绕它排列. float属性的作用就象图像和表格的align属性一样,但可以用到任何元素上. clear属性的作用是禁止 ...

  4. 请求(Request)的参数(Parameter)里包含特殊字符(#等)的正确处理方式

    遇到一个问题 在一个地址链接(URL)里使用 url?param1=val1&param2=val2 的方式传递参数,结果在获取参数值时发现不是当初设定的值. 具体案例 以特殊字符井号(#)为 ...

  5. office软件卸载

    因为工具是微软出的,并且对应的是每一个版本,所以这里我给大家说下每个版本的对应卸载工具,和卸载方法. office2013卸载 下载对应卸载工具,安装工具,比如你的是2013版本的office,那么下 ...

  6. 19.java.lang.NoClassDefFoundException

    java.lang.NoClassDefFoundException未找到类定义错误 当Java虚拟机或者类装载器试图实例化某个类,而找不到该类的定义时抛出该错误. 违背安全原则异常:Secturit ...

  7. Wafer管芯数量及成本估算

    芯片流片费用一般不按颗数计价,现在流片主要分为全晶圆和MPW两种方式.   MPW是现在很流行的一种tapout方法,主要是按晶圆面积来均分价格.   如果是整个wafer的话,成本主要是wafer费 ...

  8. WINDOWS硬件通知应用程序的常方法(五种方式:异步过程调用APC,事件方式VxD,消息方式,异步I/O方式,事件方式WDM)

    摘要:在目前流行的Windows操作系统中,设备驱动程序是操纵硬件的最底层软件接口.为了共享在设备驱动程序设计过程中的经验,给出设备驱动程序通知应用程序的5种方法,详细说明每种方法的原理和实现过程,并 ...

  9. [原]基于CAS实现单点登录(SSO):登录成功后,cas client如何返回更多用户信息

    从cas server登录成功后,默认只能从casclient得到用户名.但程序中也可能遇到需要得到更多如姓名,手机号,email等更多用户信息的情况. cas client拿到用户名后再到数据库中查 ...

  10. 使用QueueUserWorkerItem实现的线程池封装

    此线程池所依赖的线程类,请参看<一个Windows C++的线程类实现>: http://blog.csdn.net/huyiyang2010/archive/2010/08/10/580 ...