所有由kang发布的文章

I believe…

i believe 当我在你家门口下雨了你看了也会难过
i believe 你不说话的时候也是一种其实你在回应我
虽然不曾说相信你正在懂就算牵的不是我的手我不真的难过
不知道在高兴什么你的笑容有时候也宁可当作你在为我加油
不知道在妄想什么只告诉自己 i believe
你总会看到我在某个时候想让你陪伴的是我
i believe 没有回应的时候只不过正好你在电话中
i believe 语音信箱的沉默也是一种其实你在倾听我
虽然不曾说相信你正在懂就算牵的不是我的手我真的不难过
不知道在高兴什么你的笑容有时候也宁可当作你在为我加油
不知道在妄想什么只告诉自己 i believe
你总会看到我在一切之后留在你身边的是我
那延续太久的一时冲动在你身后的独角戏聚光灯没亮过
怀疑是自己编造的内容你从不真的认得我
不知道在高兴什么你的笑容有时候也宁可当作你在为我加油
不知道在妄想什么只告诉自己 i believe
一定会有结果在很久以后留在你身边的是我会陪着你的人是我

昨天一面听着这首曾经的歌,一面说了那些可能伤害人的话……有些时候现实就是这样的无奈……

I’m sorry, lemon, you are past tense.

The Transporter

The Transporter

  • Rule 1: Never change the deal.
  • Rule 2: No Names.
  • Rule 3: Never open the package.

今 天晚上又看了一遍The Transporter,上次看大概是1年前了……很久都没体验到晚上看电影的感觉了,很轻松,很高兴,但是为什么看这个片子会让我想起一些几乎忘记了的 事情呢。既然已经是几乎忘记了的,就忘记了吧……真希望每天都能像今天这样轻松快乐,无忧无虑……

实验21 配置BGP联邦(CCIE实验51)

实验21 配置BGP联邦(CCIE实验51
时间:2006320
时间花费 总计约120分钟
实验设备:2501 5
实验拓扑:

bgp confederation

 

涉及到的概念:BGP联邦即BGP Confederation。一般用在一个AS的内部,在一个大的AS内部可以拆分成数个小的AS,这样只要保证小的AS之间可以通过EBGP方式进行互联即可,不必每台路由器都互相建立IBGP连接。

BGP联邦和RR的对比:BGP联邦建立之后在联邦内跨越内部的AS的时候AS_PATH仍然会发生变化,可以针对AS_PATH的变化做出更精确的控制。

配置如下:

routerE:
router bgp 100
 no synchronization
 bgp log-neighbor-changes
 network 1.1.1.1 mask 255.255.255.255
 neighbor 152.1.1.9 remote-as 200
 neighbor 152.1.2.5 remote-as 200
 no auto-summary 

routerB:
router ospf 1
 log-adjacency-changes
 redistribute connected subnets
 network 152.1.1.6 0.0.0.0 area 0
!
router bgp 65050
 no synchronization
 bgp log-neighbor-changes
 bgp confederation identifier 200
 bgp confederation peers 65051
 neighbor 152.1.1.5 remote-as 65050
 neighbor 152.1.1.5 next-hop-self
 neighbor 152.1.1.10 remote-as 100
 neighbor 152.1.1.65 remote-as 65051
 no auto-summary

routerA:
router ospf 1
 log-adjacency-changes
 network 152.1.1.0 0.0.0.255 area 0
!
router bgp 65050
 no synchronization
 bgp log-neighbor-changes
 network 152.1.1.1 mask 255.255.255.255
 neighbor 152.1.1.6 remote-as 65050
 no auto-summary
!

routerC:
router bgp 65051
 no synchronization
 bgp log-neighbor-changes
 bgp confederation identifier 200
 bgp confederation peers 65050
 network 152.1.2.1 mask 255.255.255.255
 neighbor 152.1.1.66 remote-as 65050
 neighbor 152.1.1.66 next-hop-self
 neighbor 152.1.2.6 remote-as 100
 neighbor 152.1.2.129 remote-as 65051
 no auto-summary
!

routerD:
router ospf 1
 log-adjacency-changes
 network 152.1.2.0 0.0.0.255 area 0
!
router bgp 65051
 no synchronization
 bgp log-neighbor-changes
 network 152.1.2.2 mask 255.255.255.255
 neighbor 152.1.2.130 remote-as 65051
 no auto-summary
!
 配置完毕后,在router E上show ip bgp可以看到:

E#sh ip bgp 
BGP table version is 7, local router ID is 1.1.1.1
Status codes: s suppressed, d damped, h history, * valid, > best, i – internal,
              r RIB-failure, S Stale
Origin codes: i – IGP, e – EGP, ? – incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*> 1.1.1.1/32       0.0.0.0                  0         32768 i
*> 152.1.1.1/32     152.1.1.9                              0 200 i
*  152.1.2.1/32     152.1.1.9                              0 200 i
*>                  152.1.2.5                0             0 200 i
*  152.1.2.2/32     152.1.1.9                              0 200 i
*>                  152.1.2.5                              0 200 i 

由此可知,联邦对外的表现是一个整体,AS100看到的都是AS200,而不是内部的AS65050或65051。但是在联邦的内部执行show ip bgp仍然会看到联邦内的AS的信息:

b#sh ip bgp
BGP table version is 12, local router ID is 152.1.1.2
Status codes: s suppressed, d damped, h history, * valid, > best, i – internal,
              r RIB-failure, S Stale
Origin codes: i – IGP, e – EGP, ? – incomplete

   Network          Next Hop            Metric LocPrf Weight Path
*  1.1.1.1/32       152.1.1.65               0    100      0 (65051) 100 i
*>                  152.1.1.10               0             0 100 i
r>i152.1.1.1/32     152.1.1.5                0    100      0 i
*> 152.1.2.1/32     152.1.1.65               0    100      0 (65051) i
*> 152.1.2.2/32     152.1.1.65               0    100      0 (65051) i 

记录一下来自riverpoint的提醒

故兵以诈立,以利动,以分合为变者也。故其疾如风, 其徐如林侵掠如火不动如山,难知如阴,动如雷震。掠乡分众,廓地分利,悬权而动。先知迂直之计者胜,此军争之法也。 –孙子兵法·军争篇

晚上睡觉前和妹妹聊了一会儿最近发生的一些事情,我想我应该得到了很好的建议。Thank you, riverpoint.