2008年9月24日星期三

新的目標 - CCSP

  早前,就在8月底的時候,完成了那個名叫“Cisco Network Security Fundamental Course”的東西,著實增添不少對於Security方面的知識,相信對於就讀中的CCNP也會很大的幫助。
  CCSP已經正式改版,8月份到11月17號的這段時間是舊版到新版的一個過渡時期,可以考舊版也可以考新版的試,價錢差不多,證書的有效期也一樣,主要是考試的內容有點變化。考舊版就要先拿到CCNA,然後還要考6科,新版就要考5科。今天剛收到老師的回覆,建議我考新版,因為舊版在11月17號就過期了,而且考新版可以多學點新的Cisco產品。

  預計可以在半年內完成這5科吧,然後加上2科CCNP,差不多一個月1科就可以了。而且到了年底了,假期比較多,公司那里還有好幾天的假期,應該問題不是很大。主要問題還是 => Money Money,5科的CCSP要US$850。明天厚著臉皮叫上司幫忙要求公司像CCNP的贊助吧,做牛做馬都可以啊,呵呵呵~


2008年9月23日星期二

無債一身輕

哈哈哈,真的是鬆口氣,終於考完CCNA了,也完成左多媒體功課和考試~

說起CCNA,考試的過程還真的有點迂回。
預定了1號下午考試的,剛進入考試畫面的時候還可以說是順利,只是斷斷續續的停了一下,而到就要按下Agreement的那個Yes的時候,也停了“一下”。但這一下就停了半個月,我到11號早上的時候才收到VUE考試中心的電話通知,說已經可以重新安排考試了,就16號吧。這一下也給了我更多的時間去溫習,結果當然是順利的通過了。

然後了,接著就是要交多媒體課程的功課和準備考試,時間就在21號,很“緊湊”的哦。其實多媒體這個課程相對於其他的已經是較容易的了,基本上就是考電腦通識與應用,最後只用了3天的時間就準備好了。而功課也在當天晚上就完成了,老實說,相對於這個身上只有一兩個藝術細胞僅存的人來說,要畫出一份及格的Flash出來,難度還蠻大的。

最後在“黑格比”先生的陪伴下,欣賞一下這份藝術品吧。因為是公益廣告,別給太低分了 -_-''


2008年9月15日星期一

CCNA - NAT



NAT(Network Adddress Translation)
1). NAT with Address Pool - Multi 2 Multi
2). PAT
3). Static Mapping - Address <=> Address OR Port <=> Port


Implementation:
1). NAT - Address Pool
~In Router R1~
R1(config)#ip nat pool POOL_NAME 50.0.0.1 50.0.0.254 netmask 255.255.255.0
R1(config)#access-list 10 permit 10.0.0.0 0.0.0.255
R1(config)#ip nat inside source list 10 pool POOL_NAME
R1(config)#int fa0/0
R1(config-if)#ip nat outside
R1(config-if)#int fa0/1
R1(config-if)#ip nat inside
R1(config-if)#exit
R1(config)#ip route 0.0.0.0 0.0.0.0 fa0/0

~In Router R2~
R2(config)#ip route 0.0.0.0 0.0.0.0 fa0/0


2). PAT - use only one address here, but you may use over one.
~In Router R1~
R1(config)#ip nat pool POOL_NAME 50.0.0.1 50.0.0.1 netmask 255.255.255.0
R1(config)#access-list 10 permit 10.0.0.0 0.0.0.255
R1(config)#ip nat inside source list 10 pool POOL_NAME overload
R1(config)#int fa0/0
R1(config-if)#ip nat outside
R1(config-if)#int fa0/1
R1(config-if)#ip nat inside
R1(config-if)#exit
R1(config)#ip route 0.0.0.0 0.0.0.0 fa0/0

~In Router R2~
R2(config)#ip route 0.0.0.0 0.0.0.0 fa0/0


3). Static Mapping (Port Mapping)
~In Router R2~
R2(config)#ip nat inside source static tcp 30.0.0.2 80 20.0.0.2 80
R2(config)#int fa0/0
R2(config-if)#ip nat outside
R2(config-if)#exit
R2(config)#ip route 0.0.0.0 0.0.0.0 fa0/0

~In Router R1~
R1(config)#ip route 0.0.0.0 0.0.0.0 fa0/0

2008年9月13日星期六

CCNA - VTP

1). VTP works only if there is a link in trunk mode, not access mode

2). By compare the Configuration Revision, whatever it is client or server mode, it updates the neighbours when has higher revision number. And it is full update, elimates the differences.

3). VTP Advertisements

Summary advertisements
- Are sent every 5 minutes to inform the current VTP configuration revision number
- Immediately after a configuration has been made

Subset Advertisements
- Creating or deleting a VLAN
- Suspending or activating a VLAN
- Changing the name of a VLAN
- Changing the MTU of a VLAN

Request Advertisements
- The VTP domain name has been changed
- The switch receives a summary advertisement with a higher configuration revision number.
- A subset advertisement message is missed for some reason
- The switch has been reset


4). VTP Pruning

VTP pruning prevents unnecessary flooding of broadcast information from one VLAN across all trunks in a VTP domain. VTP pruning permits switches to negotiate which VLANs are assigned to ports at the other end of a trunk and, hence, prune the VLANs that are not assigned to ports on the remote switch. Pruning is disabled by default. VTP pruning is enabled using the vtp pruning global configuration command.

CCNA - Spanning-Tree




When 3 switch connect together, make a circle. Without spanning-tree, there will be a loop.
Here is how switches make spanning-tree, it is enabled by default on the switches.



1). Elect the Root bridge, I like to call it Root switch.

- Switches send BID(Bridge ID) out of its connecting ports.
- BID composed with Bridge Priority, Extend System ID and MAC.
- Default BID priority is 32769, but can be changed switch-globally per vlan.
- With BID, switches compare with each other, which who has lowest BID will be the Root bridge, the BOSS.



2). Elect the non-designated port on the other switches.

- There are 3 kinds of port roles, root port, designated port and non-designated port.
- Root port is the port that has the direction toward the root bridge(the BOSS), designated port is just the opposite.
- Non-designated port is the port that the traffic will be blocked on this port except BPDU.
- How to decide which switch's port to be blocked:
- They use port cost and BID to decide. The port cost is the first priority.
- Post cost is the how fast it go toward the Root bridge.
- Here are the cost definitiion: 10G - 2, 1G - 4, 100M - 19, 10M - 100.



3). States of a switch port without configurated portfast.

- Blocking: Only receivce BPDU, no other traffic
- Listening: Send and receive BPDU, preparing to participate in the active topology.
- Learning: Prepares to participate in frame forwarding and begins to populate the MAC address table.
- Forwarding: All traffic allowed.
- Disable: Port is down, administratively disabled.



4). BPDU Timers

- Hello time: By default, 2 seconds to send a BPDU frame. Can be changed between 1 and 10.
- Forward delay: The time spent in the listening and learning state. Default 15 seconds for each state, can be changed between 4 and 30.
- Maximum age: The time a switch port saves BPDU information. 20 seconds by default, but can be changed between 6 and 40.




2008年8月10日星期日

貞子回來了

  上次那個莫名的電話,真的受不了那種苦苦癡情不定期的糾纏,終於在某個夜里聽了那個電話,和對方說了沒有他想要的那個人,是打錯電話了,所以就這樣“草草地”結束了這段“孽緣”。

  說起“貞子”這套戲,已經是十多年前事情了,第一次看應該是97年吧,在廈門的某個地方。那時候邀女朋友一起看,想試試看在對方看恐怖片的時候,驚嚇扯住你衣袖的那種感覺。結果......預期的那種情形完全沒有出現,還給罵了一頓:“嗯...這有甚麼好看的,都不覺得恐怖”... @@''


  突然想再次看一下,所以就在網上找了部分片段回來,也找回回憶中的那些片段。現在看來應該沒有這麼恐怖的,但那些片段不知道是不是給修改了,都有些不一樣了,變得特別“恐怖”。膽小的人就不要看了,說真的哦~





看完沒有?怕不怕啊?

2008年7月20日星期日

午夜“兇鈴”

  又要考試了,慣常的做法都是熬夜來攻讀,而且還是要前一天才會認真的去溫習。現在靠這種方法來增強腦袋里頭的臨時記憶,然后在考完之後那些記憶就不見了,就好像帶電的RAM一樣,斷電以後就全部歸零了。明天的那門課是Java,對於熟悉編程的我來說應該問題是不大,但為了防止沒電,也是要熬一熬夜充一下電。不然的話,考試差了,老師的貴手也抬不高。

  這時間應該是2點左右吧,一邊溫習一邊上網。想到Gmail那里下載一個功課的附件,卻無法下載,沒辦法這幾天都這樣。於是就打開MSN,到處瀏覽朋友的Space...啊~小麗正在遭受病魔的折磨;Kit“剛”Post上5月份到臺灣的游照;Denny貼文炫耀著剛買回來的奧運紀念鈔;還有就是一個朋友Fanny訴說著她一個禮拜前的交通意外,開著車在外面無辜地給一輛7人休閑車撞了,車子現在應該還在“醫院”,澳門現在的人開車真的很沖,自己開車要小心之外,還要留心別人。

  題外話說一下,那時候我看著看著,想起了之前在大橋那邊撞了別人屁股一下,賠了點小錢,花錢消災唄,算是幸運了。那次的意外是因為車子的剎車系統出了問題,所以“盡快”地就在今天拿去修,換剎車系統、死氣喉斷了要修、後輪胎變光頭要換了、機油也是時間換,看來沒有3張是跑不掉的。

  還是轉回正題,因為朋友的意外應該還蠻嚴重的,我想著這幾天就發個訊息過去關心一下朋友。就在這時(其實是10分鐘後),電話響了一下,出現了一個手提號碼,然後就只響了一下就斷了。我看了以後也就不理了,因為我電話號碼好記,經常都有不明人士打電話過來“搭訕”幾句。但一分鐘後,就收到一個訊息:“你系米 Fanny”~ =.=' 這是甚麼世界啊,有這麼巧合的事情嗎?

  寫到這里的時候已經是3點10分了,還有一個私人號碼打過來,別嚇我啦...我不會接的,我要溫習了...

(順道說一下,今晚才剛換了新手提電話 )