Radia Perlman
星期一, 八月 2nd, 2010Radia Perlman(拉迪亚·珀尔曼)
今天翻书(Cisco Press),看到有段是介绍 Radia Perlma,802.1D 协议的发明人,顺手查了过去。
这大妈这么亲切,还是牛人啊,膜拜一下!~
Radia Perlman(拉迪亚·珀尔曼)
今天翻书(Cisco Press),看到有段是介绍 Radia Perlma,802.1D 协议的发明人,顺手查了过去。
这大妈这么亲切,还是牛人啊,膜拜一下!~
“定向广播”特指 IP 主机位全为 1 的数据包,路由器不转发全网广播(255.255.255.255),但是思科路由器可以转发定向广播,只是默认不转发而已,使用 ip directed-broadcast 接口命令来实现转发定向广播。
我们来利用这一特性,在 Linux 下实现 Ping Spoofing 的攻击。
在日志和调试时加上时间戳
Router(config)#service timestamps log datetime localtime
Router(config)#service timestamps debug datetime localtime
设置时间
Router#clock set 15:30:00 January 1 2009
outer#calendar set 15:30:00 January 1 2009
Clock 和 Calendar 的区别:
Most Cisco routers have two clocks:a battery-powered hardware clock (referenced in CLI commands as the “calendar”) and a software clock (referenced in CLI commands as the “clock”). These two clocks are managed separately.
The primary source for time data on your system is the software clock. This clock runs from the moment the system starts up and keeps track of the current date and time. The software clock can be set from a number of sources and in turn can be used to distribute the current time through various mechanisms to other systems. When a router with a hardware clock is initialized or rebooted, the software clock is initially set based on the time in the hardware clock.
Jeff Doyle 最喜欢在面试的时候问的一个问题:
为什么在 OSPF 中非骨干区域之间的互访流量必须通过骨干区域(区域 0)传递?
下面通过比较三个即使 OSPF 初学者也知道的链路状态路由协议的基本概念,来探究该问题的答案。
第一个基本概念是:运行链路状态协议的路由器都会向其他路由器泛洪自身的,链路的和邻居信息。通过这些泛洪的信息,各个路由器都能够建立起一致的链路状态数据库。然后各个路由器再各自独立的运行最近路径优先算法来获得一个最短路径树,这棵树就类似一个描绘到达其他路由器路径的地图。链路状态协议的一个优点就是通过提供一个整个网络的地图来避免出现路由回环。相对应的距离矢量协议的路由信息是在网络中逐跳的进行传递的,然后逐跳的根据本地的信息进行各自的路由计算。.在进行正确的路由计算和计算结果信息正确传递之前,这些路由器之间都是独立的。当一个路由器宣告它所学到的网络前缀给邻居时,它就宣告说它知道如何到达这些目的地,而由于运行距离矢量协议的路由器也只能通过邻居的宣告来获得网络信息,除了邻居之外没有整个网络的地图,因此很容易产生路由回环。
Bandwidth
Bandwidth 命令设置将接口的带宽值与高级协议交流的信息参数,这只是个路由参数,不影响实际接口。这个命令的 no 形式恢复缺省值。缺省带宽值在启动期间设置,可以用 show interfaces 命令显示。
Clock Rate
Clock rate 接口配置命令配置网络接口模块和接口处理器等串行接口上硬件连接的时钟速率,设置为硬件可接受的位速率。现实操作中,DCE 是电信设备,来提供时钟。路由器正常时一般是 DTE,只接收时钟信号,不产生。所以不需要 Clock rate。