2014年6月8日

搶救鬼屋大作戰─玄關門

換玄關門的專業度太高,我不會,不過門框填縫是自己來。
IMG_0888

搶救鬼屋大作戰─水電DIY

戶外插座改裝防水蓋板
無標題

搶救鬼屋大作戰 ─ 粉刷

幾底幾度,是粉刷的術語。
批土一次(通常含打磨)是"1底",粉刷一次叫做1度。
IMG_0771

2014年2月17日

搶救鬼屋大作戰─電纜與照明

再度根據碳14的鑑定發現,這屋子的所有電纜大概從明朝崇禎皇帝之後就再也沒換過。
電燈忽明忽暗,有時候會整個暗掉個幾分鐘又亮起來,整體上放首姊姊就可以直接開趴這樣。
IMG_0752

2014年1月31日

搶救鬼屋大作戰─氣密隔音窗

這間外觀像危樓,裡頭像鬼屋的房子買很久了,還好每個月的貸款提醒,不然我都忘了它。

鬼屋最大,也是唯一的的亮點就是view很好。view對老人家有用,對我沒用,我是攻城屍嘛~~
IMG_0164

2013年12月29日

20131215 松蘿湖

今天,全台灣都在下雨,當日最高降雨量就落在這,宜蘭大同鄉。
1521292_690653734293237_9230299_n

2013年11月24日

Cisco ASA 懶得ARP..?

雖然早了點,不過小弟還是在這先跟大家拜個早年,畢竟人越老,創作越是難產....

這兩天做LAB發現ASA詭異的行為,下圖為架構。
infra

IP與MAC對照表
arp_by_3750

2013年8月28日

20130818 Color Me Rad 之 我見你真色

大家都愛粉味!

原本大家都很乾淨,很純潔~~
IMG_0356

2013年8月27日

20130811 桃園議長盃路跑

今年三月跑了一場全馬,也是人生第一場馬拉松,幹,就受傷了。
接著pass好幾場路跑...

無標題

無標題

2013年6月2日

20130529-31 寶瓶星

這一次的目的是距離台灣270公里的石垣島,很近,騎腳踏車不用一天就可以到。

不過計時車還沒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.

routed_bridged_encap_1


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年內台灣的交通狀況不會改善到哪裡去,
既然兩個小時的通勤免不了,那我能做的就是想辦法提升這兩個小時的附加價值。

山不轉,幹,我轉。


001
(這不是擷取畫面,這是我們家小朋友畫的!是不是很有天分?)

2013年3月19日

20130317 台北國道馬拉松

去年發生了很多事情。
包括相繼完成了CCNA、CCNP認證,還有做到爆肝的公司前台系統換裝,以及親人過世等等...。

所以去年底我他媽開始跑步了!(是不是轉太硬了...)

好吧,主要是因為我的『人生必做25件事』之一,是完成一場『超級鐵人』。
所以我不僅開始練跑,還立馬敗進了一台計時車呢~~
BMC TM02
(加油!再加台登山車就可以湊齊大三元了...)

2012年6月10日

(cisco) VLAN Trunk Protocol

這一篇在草稿裡面躺了半年...
關於VTP,有些被我想複雜了,有些卻被我想簡單了。

參考文件:Understanding VLAN Trunk Protocol (VTP)

1.
這個被我想複雜了

VTP = Layer2 protocol,  why IP here ?

vtp status

以為這之中有甚麼驚人的秘密,的確!根本就沒有秘密...

這個IP是"Updater Identity",識別而已,並不參與VTP的運作。
summary advertisement packet format
Code = 0x02 = advertisement 

2.
這被我想簡單了
我以為VTP server就一直把advertisement packets丟出去,client就一直撿起來compare這樣。
但事實上client是會發出advertisement request的。

advertisement request packet format :
Advertisement Requests
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

2012年4月17日

150m

上篇介紹了牛B的山寨線,今天讓大家知道好線的極致性能!
150m

2012年4月6日

線也山寨乎?

這是我目前遇到過最牛B的山寨網路線了,留文一篇以紀念。
通常跑10/100Mb只用到1&2、3&6這兩對線,所以很多不肖廠商就從4&5、7&8去偷料。山寨線大多有這樣的特徵,這條當然也不例外。
IMG-20120405-00185

2012年2月13日

打包

小時候跟著媽媽去吃喜宴,最期待的是最後一道菜,甜點。
DSC_5647

2012年2月11日

iPad 遇上 Cisco

用這條線,一邊接iPad,另一邊接CISCO的console port。開機快,續航力也比notebook強,而且適用所有iDevice!
DSC_6667

2012年1月28日

iBooks 2

Apple號稱iPad是「電子閱讀器」,果然,官方那套iBooks讓人閱讀到生氣。

所以iPad到手沒幾天(感謝老妹),我就在Apple Store買了Good Reader。
Picture 8