漫漫長夜,想睡覺又不能睡覺的夜晚,特地跑去圖書館借了兩本理財書籍來看,出社會工作也兩年多了,對我來說上班工作就是為了賺錢,有固定的收入,至少能夠確保家人衣食無虞。但若想要達到經濟自由,除了趁著年輕努力工作之外,多吸收一些理財知識是必要的。
(繼續閱讀...)
2011年9月26日
2011年9月21日
頻寬速度
頻寬的單位:
第一種是B/s、KB/s 或 MB/s,表示單位時間(秒)內傳輸的數據量(Bytes、千 Bytes、百萬 Bytes);
第二種是bps(或稱 b/s)、Kbps(或稱Kb/s)或Mbps(或稱Mb/s),表示單位時間(秒)內傳輸的數據量(bit、千 bit、百萬 bit)。
頻寬換算:1 B/s = 8 bps(b/s)、1 KB/s = 8 Kbps(Kb/s)、1 MB/s = 8 Mbps(Mb/s)
1Byte = 8bits
1KBytes = 1024 Bytes
( 電腦算法:1K = 1024 而不是1000 )
bps = (bit per secend / 每秒傳送 bit 數)
Bps = (Byte per secend / 每秒傳送 byte 數)
8bps = 1Bps
bps 不同於 Bps
若是 2M /512 kbps 網路:
2Mbps / 512 Kbps = 2048Kbps/ 512Kbps = 256KBps / 64KBps
所以「理論」每秒最大下載速率約為 256Kbytes ,上傳 64Kbytes。
(繼續閱讀...)
第一種是B/s、KB/s 或 MB/s,表示單位時間(秒)內傳輸的數據量(Bytes、千 Bytes、百萬 Bytes);
第二種是bps(或稱 b/s)、Kbps(或稱Kb/s)或Mbps(或稱Mb/s),表示單位時間(秒)內傳輸的數據量(bit、千 bit、百萬 bit)。
頻寬換算:1 B/s = 8 bps(b/s)、1 KB/s = 8 Kbps(Kb/s)、1 MB/s = 8 Mbps(Mb/s)
1Byte = 8bits
1KBytes = 1024 Bytes
( 電腦算法:1K = 1024 而不是1000 )
bps = (bit per secend / 每秒傳送 bit 數)
Bps = (Byte per secend / 每秒傳送 byte 數)
8bps = 1Bps
bps 不同於 Bps
若是 2M /512 kbps 網路:
2Mbps / 512 Kbps = 2048Kbps/ 512Kbps = 256KBps / 64KBps
所以「理論」每秒最大下載速率約為 256Kbytes ,上傳 64Kbytes。
(繼續閱讀...)
2011年9月18日
ICMP-type values
ICMP協定
Using the ping and traceroute commands, we obtain the round-trip time (RTT). This is the time required to send an echo packet, and get an answer back. This can be useful to have a rough idea of the delay on the link. However, these figures are not precise enough to be used for performance evaluation.
When a packet destination is the router itself, this packet has to be process-switched. The processor has to handle the information from this packet, and send an answer back. This is not the main goal of a router. By definition, a router is built to route packets. Answering a ping is offered as a best-effort service.
(繼續閱讀...)
Using the ping and traceroute commands, we obtain the round-trip time (RTT). This is the time required to send an echo packet, and get an answer back. This can be useful to have a rough idea of the delay on the link. However, these figures are not precise enough to be used for performance evaluation.
When a packet destination is the router itself, this packet has to be process-switched. The processor has to handle the information from this packet, and send an answer back. This is not the main goal of a router. By definition, a router is built to route packets. Answering a ping is offered as a best-effort service.
(繼續閱讀...)
2011年9月14日
2011年9月8日
Cisco IOS IP Accounting Features
Cisco Router IP 監控流量查詢指令
Router#configure terminal
Router(config)#interface fastEthernet 4 (要查看的interface介面)
Router(config-if)#ip accounting ?
access-violations Account for IP packets violating access lists on this interface
mac-address Account for MAC addresses seen on this interface
output-packets Account for IP packets output on this interface
precedence Count packets by IP precedence on this interface
(繼續閱讀...)
Router#configure terminal
Router(config)#interface fastEthernet 4 (要查看的interface介面)
Router(config-if)#ip accounting ?
access-violations Account for IP packets violating access lists on this interface
mac-address Account for MAC addresses seen on this interface
output-packets Account for IP packets output on this interface
precedence Count packets by IP precedence on this interface
(繼續閱讀...)
2011年6月15日
Auto-Negotiation
Auto-Negotiation:設備端口支援一種以上的速率(10M/100M)及全雙工/半雙工模式,為了決定連線的速率、模式,所需的演算機制。
Transmission Signals:
一、Link Integrity Test (LIT) in 10BASE-T
二、IDLE code (11111) in 100BASE-TX
三、Fast Link Pulse (FLP) in Auto-Negotiation
(繼續閱讀...)
Transmission Signals:
一、Link Integrity Test (LIT) in 10BASE-T
二、IDLE code (11111) in 100BASE-TX
三、Fast Link Pulse (FLP) in Auto-Negotiation
(繼續閱讀...)
2011年6月3日
修改MTU的軟體
MTU 為 Maximum Transmission Unit 的縮寫
可參考維基百科的MTU的解釋
測試 MTU 的方法
利用ping指令中的-f參數來測試(-f Set Don't Fragment flag in packet)
送出封包大小為1450 bytes,且強制不分割封包,測試的MTU值為1450可通過
ping -f -l 1450 dns.seed.net.tw
Reply from 139.175.55.244: bytes=1450 time=6ms TTL=245
Reply from 139.175.55.244: bytes=1450 time=6ms TTL=245
(繼續閱讀...)
可參考維基百科的MTU的解釋
測試 MTU 的方法
利用ping指令中的-f參數來測試(-f Set Don't Fragment flag in packet)
送出封包大小為1450 bytes,且強制不分割封包,測試的MTU值為1450可通過
ping -f -l 1450 dns.seed.net.tw
Reply from 139.175.55.244: bytes=1450 time=6ms TTL=245
Reply from 139.175.55.244: bytes=1450 time=6ms TTL=245
(繼續閱讀...)
訂閱:
文章 (Atom)

