
2014年6月8日
2014年2月17日
2014年1月31日
搶救鬼屋大作戰─氣密隔音窗
這間外觀像危樓,裡頭像鬼屋的房子買很久了,還好每個月的貸款提醒,不然我都忘了它。
鬼屋最大,也是唯一的的亮點就是view很好。view對老人家有用,對我沒用,我是攻城屍嘛~~

鬼屋最大,也是唯一的的亮點就是view很好。view對老人家有用,對我沒用,我是攻城屍嘛~~
2013年12月29日
2013年11月24日
2013年8月28日
2013年8月27日
2013年6月2日
20130529-31 寶瓶星
這一次的目的是距離台灣270公里的石垣島,很近,騎腳踏車不用一天就可以到。
不過計時車還沒fitting好,只好將就點坐船去。
本來要找從小就認識的朋友小史幫忙載一程,但是他最近忙著保衛地球不方便打擾他。

不過計時車還沒fitting好,只好將就點坐船去。
本來要找從小就認識的朋友小史幫忙載一程,但是他最近忙著保衛地球不方便打擾他。
2013年5月24日
How [ RFC1483 Bridging ] work ?
The Cisco 6xx CPE defaults to routing mode. Therefore, when it is configured for bridging mode and installed at the subscriber's location with the necessary splitters/microfilters, it trains up automatically upon power up. When the CPE trains up, it indicates that the physical layer between the CPE and DSLAM is fine. Depending on how the end station?s IP address is configured (that is, whether it is assigned via a DHCP server or it is a static IP address with default gateway information), it can then communicate with the service destination.
Following is a description of the flow of packets.
The user's data is encapsulated in IEEE 802.3 from the PC and enters the Cisco 6xx CPE. It is then encapsulated into an Logical Link Control/Subnetwork Access Protocol (LLC/SNAP) header, which in turn is encapsulated in ATM adaptation layer 5 (AAL5) and handed over to the ATM layer.

The ATM cells are then modulated by the ADSL transmission technology, Carrierless Amplitude and Phase (CAP) modulation or Discrete Multi-Tone (DMT), and sent over the wire to the DSLAM. At the DSLAM, these modulated signals are first received by the POTS splitter, which checks whether the frequency of the signal is below or above 4 kHz. After it identifies the signals as above 4 kHz, it passes them to the ADSL Transmission Unit - Central Office (ATU-C) in the DSLAM.
The ATU-C demodulates the signal and retrieves the ATM cells, which are then passed to the network interface card (NIC) in the multiplexing device (MUX). The NIC looks at the subscriber side VPI/VCI information in the ATM header and makes the switching decision to another VPI/VCI which will be forwarded to the service destination router. After the service destination router receives these cells on a particular ATM interface, it re-assembles them, looks at the upper layer, and passes the information to the BVI interface. The BVI interface looks at the Layer 3 information and decides where the packet is to be delivered.
Following is a description of the flow of packets.
The user's data is encapsulated in IEEE 802.3 from the PC and enters the Cisco 6xx CPE. It is then encapsulated into an Logical Link Control/Subnetwork Access Protocol (LLC/SNAP) header, which in turn is encapsulated in ATM adaptation layer 5 (AAL5) and handed over to the ATM layer.
The ATM cells are then modulated by the ADSL transmission technology, Carrierless Amplitude and Phase (CAP) modulation or Discrete Multi-Tone (DMT), and sent over the wire to the DSLAM. At the DSLAM, these modulated signals are first received by the POTS splitter, which checks whether the frequency of the signal is below or above 4 kHz. After it identifies the signals as above 4 kHz, it passes them to the ADSL Transmission Unit - Central Office (ATU-C) in the DSLAM.
The ATU-C demodulates the signal and retrieves the ATM cells, which are then passed to the network interface card (NIC) in the multiplexing device (MUX). The NIC looks at the subscriber side VPI/VCI information in the ATM header and makes the switching decision to another VPI/VCI which will be forwarded to the service destination router. After the service destination router receives these cells on a particular ATM interface, it re-assembles them, looks at the upper layer, and passes the information to the BVI interface. The BVI interface looks at the Layer 3 information and decides where the packet is to be delivered.
2013年5月23日
31
從家裡到公司大約7.5公里。
假設從出發到終點是一條直線,且沒有任何停留:
以騎機車、開車來算,時速50耗時9分鐘,
以騎單車來算,時速30耗時15分鐘,
若以跑步來算,配速5.5分鐘/公里耗時41分鐘。
可是事實上,我到公司必須經過的紅綠燈,總共有31個!
如果一個紅綠燈要停留30秒,那總共得停留15.5分鐘!
根據之前看到的調查,台灣人平均每天來回通勤24公里。
換句話說,就是每天花費將近兩個小時在通勤上。
塞車、發呆,嚴然成為台灣人的第二專長...
20年內台灣的交通狀況不會改善到哪裡去,
既然兩個小時的通勤免不了,那我能做的就是想辦法提升這兩個小時的附加價值。
山不轉,幹,我轉。

(這不是擷取畫面,這是我們家小朋友畫的!是不是很有天分?)
假設從出發到終點是一條直線,且沒有任何停留:
以騎機車、開車來算,時速50耗時9分鐘,
以騎單車來算,時速30耗時15分鐘,
若以跑步來算,配速5.5分鐘/公里耗時41分鐘。
可是事實上,我到公司必須經過的紅綠燈,總共有31個!
如果一個紅綠燈要停留30秒,那總共得停留15.5分鐘!
根據之前看到的調查,台灣人平均每天來回通勤24公里。
換句話說,就是每天花費將近兩個小時在通勤上。
塞車、發呆,嚴然成為台灣人的第二專長...
20年內台灣的交通狀況不會改善到哪裡去,
既然兩個小時的通勤免不了,那我能做的就是想辦法提升這兩個小時的附加價值。
山不轉,幹,我轉。
(這不是擷取畫面,這是我們家小朋友畫的!是不是很有天分?)
2013年3月19日
20130317 台北國道馬拉松
去年發生了很多事情。
包括相繼完成了CCNA、CCNP認證,還有做到爆肝的公司前台系統換裝,以及親人過世等等...。
所以去年底我他媽開始跑步了!(是不是轉太硬了...)
好吧,主要是因為我的『人生必做25件事』之一,是完成一場『超級鐵人』。
所以我不僅開始練跑,還立馬敗進了一台計時車呢~~

(加油!再加台登山車就可以湊齊大三元了...)
包括相繼完成了CCNA、CCNP認證,還有做到爆肝的公司前台系統換裝,以及親人過世等等...。
所以去年底我他媽開始跑步了!(是不是轉太硬了...)
好吧,主要是因為我的『人生必做25件事』之一,是完成一場『超級鐵人』。
所以我不僅開始練跑,還立馬敗進了一台計時車呢~~
(加油!再加台登山車就可以湊齊大三元了...)
2012年6月10日
(cisco) VLAN Trunk Protocol
這一篇在草稿裡面躺了半年...
關於VTP,有些被我想複雜了,有些卻被我想簡單了。
參考文件:Understanding VLAN Trunk Protocol (VTP)
1.
這個被我想複雜了
VTP = Layer2 protocol, why IP here ?

以為這之中有甚麼驚人的秘密,的確!根本就沒有秘密...
這個IP是"Updater Identity",識別而已,並不參與VTP的運作。

Code = 0x02 = advertisement
2.
這被我想簡單了
我以為VTP server就一直把advertisement packets丟出去,client就一直撿起來compare這樣。
但事實上client是會發出advertisement request的。
advertisement request packet format :
Code = 0x03 = advertisement request
而且還會針對沒被update的部分發出request,有聰明。
3.
這點我到現在還不明白:為什麼明明是layer2的 "frame",cisco要把它叫做 "packet"?
知道的大德請不吝賜教~~~~
-----------------------------------------------------------------------------------------------
同場加映
關於VTP,有些被我想複雜了,有些卻被我想簡單了。
參考文件:Understanding VLAN Trunk Protocol (VTP)
1.
這個被我想複雜了
VTP = Layer2 protocol, why IP here ?
以為這之中有甚麼驚人的秘密,的確!根本就沒有秘密...
這個IP是"Updater Identity",識別而已,並不參與VTP的運作。
Code = 0x02 = advertisement
2.
這被我想簡單了
我以為VTP server就一直把advertisement packets丟出去,client就一直撿起來compare這樣。
但事實上client是會發出advertisement request的。
advertisement request packet format :
Code = 0x03 = advertisement request
而且還會針對沒被update的部分發出request,有聰明。
3.
這點我到現在還不明白:為什麼明明是layer2的 "frame",cisco要把它叫做 "packet"?
知道的大德請不吝賜教~~~~
-----------------------------------------------------------------------------------------------
同場加映
2012年5月13日
(CISCO) OSPF metric
話說1991年OSPF上路之後,CISCO就用『10^8/bandwidth』來計算鏈路的cost (CISCO好像比較喜歡稱作metric)。
10^8其實就是100Mbps,當時會用100M做分子不是巧合,而是在1991年時100M仍然是個神話。後來因為資源共享的氣候形成,導致對網路頻寬的需求暴增,802.3u(FastEthernet)很快地在1995年通過RFC。其後短短三年時間,OC-3(155M)、802.3z(GigabitEthernet)各種高速網路相繼問世。
問題就來了,當大於100M的鏈路套進『10^8/bandwidth』來計算的結果就是無條件進位成1,這將使得cost值形同虛設。所以CISCO早在1994年發布IOS 11.2的時候為metric的計算增加了一個"auto-cost reference-bandwidth"的指令,藉以彌補『10^8/bandwidth』公式的不足。這個指令可以將分子(也就是原本是10^8)的value指定在1到4294967之間,請注意,單位是"megabits per second ",而default為100。這樣,OSPF就又可以用上好一陣子了。
報告完畢~~
參考連結:
Cisco IOS Release 12.0 Network Protocols Command Reference, Part 1
OSPF cost from ciscotips
10^8其實就是100Mbps,當時會用100M做分子不是巧合,而是在1991年時100M仍然是個神話。後來因為資源共享的氣候形成,導致對網路頻寬的需求暴增,802.3u(FastEthernet)很快地在1995年通過RFC。其後短短三年時間,OC-3(155M)、802.3z(GigabitEthernet)各種高速網路相繼問世。
問題就來了,當大於100M的鏈路套進『10^8/bandwidth』來計算的結果就是無條件進位成1,這將使得cost值形同虛設。所以CISCO早在1994年發布IOS 11.2的時候為metric的計算增加了一個"auto-cost reference-bandwidth"的指令,藉以彌補『10^8/bandwidth』公式的不足。這個指令可以將分子(也就是原本是10^8)的value指定在1到4294967之間,請注意,單位是"megabits per second ",而default為100。這樣,OSPF就又可以用上好一陣子了。
報告完畢~~
參考連結:
Cisco IOS Release 12.0 Network Protocols Command Reference, Part 1
OSPF cost from ciscotips
2012年4月6日
2012年2月11日
訂閱:
文章 (Atom)

