Archive

Archive for the ‘学习笔记’ Category

ICMP 重定向的一些问题

前端时间跟朋友遇到一个问题,一部分PC能上外网,另一部分不能上外网。
经检查,发现能上网的PC都是定制的windows xp,不能上网的都是定制的windows server。
而且在xp上ping外网测试,在route print中竟然出现了明细路由(32位),server上却没有。

后来测试发现,这是由于ICMP重定向引起的明细路由自动添加,至于为什么server访问不了外网,没有查到问题,改成3层互联后(switch与router),所以不建议下面这种部署方案。
Read the rest of this entry »

Protected: 7600/6500 Architecture Summarize

This post is password protected. To view it please enter your password below:


bit、Byte、bps、Bps、pps、Gbps的详细说明

bit

电脑记忆体中最小的单位,在二进位电脑系统中,每一bit 可以代表0 或 1 的数位讯号。

Byte

字节单位,一般表示存储介质大小的单位,一个B(常用大写的B来表示Byte)可代表一个字元(A~Z)、数字(0~9)、或符号(,.?!%&+-*/),但中文字需要2个Byte。

1 Byte = 8    bits
1 KB   = 1024 Bytes
1 MB   = 1024 KB
1 GB   = 1024 MB
注意:在计算存储介质大小时,需要用2的n次方来换算(1KB = 2^10 Bytes)。

bps

“bits per second”常用于表示数据机及网络通讯的传输速率。例如GigabitEthernet端口:
Read the rest of this entry »

Xmodem

今天本打算做SSO的某些feature实验,要用到3560。但现有3560的ios不支持OSPF,所以删了现有的IOS,但3560不小心被同事重启了,这下可麻烦了,3560在Rommon模式下还不支持tftp,看来只能用Xmodem来灌IOS了。

以下是Xmodem的操作过程:

switch: dir

List of filesystems currently registered:

flash[0]: (read-write)
xmodem[1]: (read-only)
null[2]: (read-write)
bs[3]: (read-only)

switch: ?
? — Present list of available commands
Read the rest of this entry »

BGP 地址族分析 – Address-family

概念定义:

所谓地址族,就是把ipv4、ipv6和vpnv4分成不同的“块”,对每个“块”单独进行配置,如下所示:

Rack1R3(config-router)#address-family ?
ipv4   Address family
ipv6   Address family
vpnv4  Address family

由于ipv6现在应用较少,所以暂时不予讨论,如果大家配置过MPLS VPN,那么对ipv4和vpnv4这两个地址族应该有些了解。
其实如果不是有特殊应用(MPLS、Ipv6),也不会用到这些地址族的概念,直接默认建立全局BGP邻居及属性就可以了。所以可以理解地址组是BGP的一个扩展。
Read the rest of this entry »