December 22nd, 2011
[昨天同事问了下关于Option3的一些问题,好久不看了,有些忘记了,上blog看发现没有option3的笔记,后来在草稿中找到了,呵呵,还没完全整理好,所以没发,虽然没有完全整理好,暂时先release出来,到时再改吧,要不总是从草稿中看比较费劲。后期我会对此笔记进行完善]
由于使用ASBR间多跳还是不能保证完全减少ASBR的压力,跨域用户很多的话,仍然会受到严重影响。
又因为RR上已经有VPNv4的路由了,也就是说他已经承担了所有MPLS数据包转发,因此用RR建立跨域无疑是最合适的选择。但如果是两个不同的运营商,就难免会泄漏RR地址。
下面介绍具体的操作步骤:
1. 公布PE和RR的环回口
可以在PE和RR上单独network,但是为了不在骨干网上跑多余的全局BGP,所以只需在ASBR上network这些路由就可以了,然后再重分布到IGP中。
Read the rest of this entry »
December 11th, 2011
IP语音(Voip)4种常见信令
注意:由于暂时没有抓包分析Ip电话及语音网关间的数据包,所以还不是很理解以下信令,下面的理解仅仅是根据教学视频得来。
1. H.323:它是中继信令,P2P协议,他是伞形协议,下面有很多子协议,可以类似的与BGP进行对比。由于为了解决BGP的P2P限制(参考TCP卷二),可以用RR来实现,相应的对于H.323来说,GK就类似RR
2. SIP(RFC):既有P2P也有C/S特性,它也是中继信令。
3. MGCP(RFC):主要是用来管理语音网关。
4. SCCP:思科私有协议,是终端管理协议,C/S行为,C就是IP电话,S及时CM。
IP语音(Voip)2种媒体
RTP
RTCP
IP语音占用的带宽
Read the rest of this entry »
February 16th, 2011
根据下面的logging复习各个知识点
1w0d: OSPF: DR/BDR election on TenGigabitEthernet6/4
1w0d: OSPF: Elect BDR 0.0.0.0
1w0d: OSPF: Elect DR 7.7.7.7
1w0d: DR: 7.7.7.7 (Id) BDR: none
1w0d: OSPF: Rcv DBD from 8.8.8.8 on TenGigabitEthernet6/4 seq 0x2011 opt 0x2 flag 0x2 len 1472 mtu 0 state EXSTART
!---定义option的类型,详细参考TCP/IP卷一,这里0x2如下所示
Options: 0x02 (E)
0... .... = DN: DN-bit is NOT set
.0.. .... = O: O-bit is NOT set
..0. .... = DC: Demand circuits are NOT supported
...0 .... = L: The packet does NOT contain LLS data block
.... 0... = NP: Nssa is NOT supported
.... .0.. = MC: NOT multicast capable
.... ..1. = E: ExternalRoutingCapability
.... ...0 = MT
1w0d: OSPF: NBR Negotiation Done. We are the MASTER
1w0d: OSPF: Send DBD to 8.8.8.8 on TenGigabitEthernet6/4 seq 0x2012 opt 0x52 flag 0x3 len 1452
Read the rest of this entry »
February 14th, 2011
问题:
CPU Peak
解决:
设备从某端口收到的数据包又根据路由从此端口发送出去,这样导致了重定向的产生,并且关掉重定向后,cpu恢复正常。那么到底是什么数据包导致cpu高呢?是cpu发的icmp重定向提示包么(icmp type5)?用下面的实验来确认到底是什么包punt到了cpu。
Topology:
7609(10.1.1.1)——-(10.1.1.2)PC
Default Configuration:
在7609指默认路,出口地址为10.1.1.2,通过下面命令来确认软件和硬件转发是否对默认路由生效:
Router#sh ip cef exact-route 2.2.2.2 1.1.1.1
2.2.2.2 -> 1.1.1.1 => IP adj out of GigabitEthernet5/2, addr 10.1.1.2
Router#
Router#sh mls cef exact-route 2.2.2.2 1.1.1.1
Interface: Gi5/2, Next Hop: 10.1.1.2, Vlan: 4084, Destination Mac: 0023.7d29.d8c3
Router#
Router#sh vlan internal usage
VLAN Usage
---- --------------------
4084 GigabitEthernet5/2
Read the rest of this entry »
February 7th, 2011
注:此处只介绍一些比较重要的内容,更细节的请看TCP/IP卷一,EIGRP的相关章节。
邻居关系
1. hello packets
EIGRP 的hello是组播形式的,地址是224.0.0.10(0100.5200.000a);在nbma网络环境中hello interval是60s,其他所有端口都是5s。
2. hold timer
默认3倍的hello时间。
nbma中是180s;其他端口是15s。
3. uptime/SRTT/RTO
RTRA#show ip eigrp neighbors
IP-EIGRP neighbors for process 1
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
2 10.1.1.1 Et0 12 6d16h 20 200 0 233
1 10.1.4.3 Et1 13 2w2d 87 522 0 452
0 10.1.4.2 Et1 10 2w2d 85 510 0 3
Read the rest of this entry »