顯示具有 Protocol 標籤的文章。 顯示所有文章
顯示具有 Protocol 標籤的文章。 顯示所有文章

2013年10月22日 星期二

Cisco 6500 多層交換器 簡介


特性:擴充性、電力備援、高容量、高密度連接埠
插槽規格槽位數量從3-13個不等。
每一個模組都是可以熱插拔(hot-swappable)
電源供應器可設為故障切換(failover)聯合(combined)模式支援更多耗電模組。
符合電信等級認證的網路設備建置系統(Network Equipment Building System,NEBS)

最初僅支援 32Gbps 背板速度,如今可以支持 720Gbps 背板速度,未來可以支持 1440Gbps 背板速度。
在大規模企業中扮演Core網路核心設備

即使在小規模公司,也可以使用6509。包含防火牆模組(FWSM)、內容交換模組(CSM)、網路分析模組(NAM),單一機箱就能包含完整的 網路基礎架構、安全、負載平衡、裝置監控 等功能。

配備多層交換卡(包含在最新的supervisor之內),就成為了多層交換器,若執行原生的IOS還可以在保持交換器功能與速度的前提下,化為擁有300多個Ethernet連接埠介面的路由器。

C6500系列的槽位不能隨意亂插,例如:C6509,Supervisor可以主要插在槽位1,備援Supervisor插在槽位2;SFM(Switch Fabric Module)主要插在槽位5,備援SFM插在槽位6。如有內建SFM的Supervisor(例如sup-720)主要必須插在槽位5,備援插在槽位6,不要錯置了。

C6506沒有槽位7,8,9;C6513須將sup-720插在槽位7(主要)、槽位8(備援)。如有疑問請查閱思科相關文件。

增強型機箱(例如C6509E)
多一碼E代表增強型機箱,目的為了供應更多電力給線卡(Line card)。例如:VOIP的乙太網路供電(POE)線卡使用。

E經重新設計過後,每個槽位能支援 80Gbps 的總傳輸量;此理論值是一般C6500機箱的兩倍。C6509-V-E則為每個槽位均支持 80Gbps ,且包含NEBS機箱前版功能,包含了前後散熱與垂直模組。

2013年4月26日 星期五

DHCP Have Acknowledgement in UDP?


DHCP Service 並不會使用到 TCPPort
根據預設只會使用UDP 6768 Port
67 UDP    Bootstrap Protocol (BOOTP) Server; also used by Dynamic Host Configuration Protocol (DHCP)        Official
68 UDP    Bootstrap Protocol (BOOTP) Client; also used by Dynamic Host Configuration Protocol (DHCP)        Official

[運作方式]
一開始Client沒有ip資料

DHCPDISCOVER
Client發出DHCPDISCOVER廣播封包(UDP port 67),尋找DHCP Server

DHCPOFFER
Client開始監聽UDP port 68(任何)DHCP Server收到DHCPDISCOVER封包後,會發出DHCPOFFER廣播封包(UDP port 68),內含提供的ip資料。使用廣播封包是因為此時Client端還沒有配置ip

DHCPREQUEST
Client收到可能來自多個ServerDHCPOFFER封包後,從其中挑選一筆來回應(通常就直接使用最早收到的一筆)。這時仍是使用廣播方式,向所有Server發出DHCPREQUEST(UDP port 67),內含挑選使用的DHCP Server IP,確定使用提供的資料,並提出其它選項需求(netmask/gateway..etc)。而其它未選用的DHCP Server也可籍此廣播封包瞭解工作已完成。

DHCPACK
Client繼續監聽UDP port 68選定的DHCP Server收到DHCPREQUEST封包後瞭解Client已確認使用,即發出DHCPACK封包(仍為廣播封包,UDP port 68),內含所有Client要求的選項資料。Client接收到此封包後即可依其內容配置IP資訊,完成DHCP請求。

從以上的運作流程來看,client僅會監聽UDP 68 PortServer所發出的DHCPACK封包也一樣屬於廣播封包,切記。

What is the difference between Flooding and Broadcasting?


In a network, flooding is the forwarding by a router of a packet from any node to every other node attached to the router except the node from which the packet arrived. Flooding is a way to distribute routing information updates quickly to every node in a large network. It is also sometimes used in multicast packets (from one source node to many specific nodes in a real or virtual network).

The Internet's Open Shortest Path First (OSPF) protocol, which updates router information in a network, uses flooding.

在網路環境中,Flooding(洪泛)是一種藉由路由器繞送一封包從任何結點到其他可以抵達節點的運作方式。在大型網路環境中,Flooding是一種快速分享路由資訊給予分散路由節點的技術。他們有些時候會使用群播的方式發出封包(在實體或虛擬網路中,從單一結點到一群指定結點)。

在網際網路的OSPF協定運作中,即是利用Flooding進行路由資料交換。

Flooding vs Broadcasting 
Routing is the process of choosing which paths to be used to send network traffic, and sending the packets along the selected sub-network. Flooding and Broadcast are two routing algorithms used in computer networks today. Flooding sends all incoming packets through every outgoing edge. Broadcasting means every device in the network will receive a packet.

What is Flooding?
Flooding is a very simple routing algorithm which sends all incoming packets through every outgoing edge. Because of how this routing algorithm works, a packet is guaranteed to be delivered (if it can be delivered).

What is Broadcasting?
Broadcasting is a method used in computer networking, which makes sure that every device in the network will receive a (broadcasted) packet. Because broadcasting can impact performance in a negative way, not every network technology supports broadcasting. X.25 and frame relay does not support broadcasting and there is no such thing as internet-wide broadcasting.

What is the difference between Flooding and Broadcasting?
Sending a packet to all hosts simultaneously is broadcasting. But flooding does not send packets to all hosts simultaneously. The packets would ultimately reach all nodes in the network due to flooding. Flooding may send the same packet along the same link multiple times, but broadcasting sends a packet along a link at most once. Several copies of the same packet may reach nodes in flooding, while broadcasting does not cause that problem. Unlike flooding, broadcasting is done by specifying a special broadcast address on packets.

簡單來說,Flooding的機制,會有機會在同一節點上收到兩個以上相同封包;但是Broadcasting不會發生,因為Broadcasting通常會使用一個指定的廣播位址,就是該次一次性的送出。

2013年4月23日 星期二

DNS查詢是利用UDP 53 port,何時使用TCP 53 port?



1. Zone transfers
此為DNS Server間的資料轉送,即指Master DNS(Primary DNS)與 Slave DNS(Secondary DNS)間,進行資料轉換時會使用TCP 53 Port。

2. Data requests larger than 484 bytes(Request Packet larger than 512 bytes)
The second legitimate use for TCP/53 traffic is when the requested data exceeds 484 bytes (512 bytes minus the DNS header). 
依上述說明,當Request超越512 bytes時,即使用TCP 53 Port來進行相關詢問,即去掉DNS表頭後內含超過484 bytes的查詢長度,這是一個非常長的電腦系統名稱,此時就會使用TCP 53 Port。依照一般的情況來說,DNS查詢不會有機會用到TCP 53 Port。

3. Some load balancing packages
部分的負載平衡機制,有可能為了達到外部對內部的DNS Server查詢附載平衡,而向ISP業者申請對內查詢時使用TCP 53 Port來進行。