freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

計算機網(wǎng)絡(luò)課程設(shè)計-wenkub

2023-06-15 15:19:08 本頁面
 

【正文】 Queue/DropTail/PriQueue 。 移動節(jié)點個數(shù) set val(rp) DSDV 。 God 對象主要用來對路由協(xié)議做性能評價,它存儲了節(jié)點總數(shù),節(jié)點間最短路徑等信息。 } 為移動節(jié)點指定初始的 X, Y 坐 標,此處 Z 坐標為 0 $node_(0) set X_ $node_(0) set Y_ $node_(0) set Z_ $node_(1) set X_ $node_(1) set Y_ $node_(1) set Z_ 下面產(chǎn)生一些簡單的運動 Node_(1)在 ,以 (,)運動 $ns_ at $node_(1) setdest Node_(0)在 ,以 (,)運動 $ns_ at $node_(0) setdest Node_(1)在 ,以 (,)運動 $ns_ at $node_(1) setdest 設(shè)置節(jié)點間的流量 創(chuàng)建一個 TCP 源代理對象 tcp set tcp [new Agent/TCP] class_是 agent 類中定義的整型變量 ,用于分類,之后可用于著色。 $ns_ halt stop 過程 proc stop {} { global ns_ tracefd namtracefd 。 。 第二個字段 $2 標識事件發(fā)生的時間 node=$3。 uid=$6。 有線 trace 第 3 個字段 $3 為分組的源節(jié)點 to_node=$4。 uid=$12。amp。 源節(jié)點是無線節(jié)點 2,保存源節(jié)點發(fā)送分組的時間 } else { 如果分析的是有線 trace 記錄 if(event==r amp。 pkt_type==cbr amp。amp。amp。 for(i=0。 delay=end start。 i=0。 len = length(node)。 uid = $6。 to_node = $4。 uid = $12。amp。 } end_time[i]=time。 打印吞吐量信息 } 18 、 文件 BEGIN { highest_uid=0。 len = length(node)。 uid = $6。 to_node =$4。 uid = $12。amp。 } else { if(event==r amp。 pkt_type==cbr) end_time[uid] = time。 i=highest_uid。 用一個數(shù)組保存每個分組的延遲時間 } } last_delay=0。 i++) { if(delay[i]!=0) { if(last_delay==0) { jitter=0。 last_seqno=i。 當 Bob 第一次聯(lián)網(wǎng)時,他不能做任何事假如沒有 IP 地址,因此,第一次網(wǎng)絡(luò)關(guān)聯(lián)的舉動就是運行 DHCP 來獲得 IP 地 址,也包括其他的一些信息。 the frame’s source MAC address is that of Bob’s laptop, 00:16:D3:23:68:8A. IP 數(shù)據(jù)報包含 DHCP 的發(fā)送請求報文,然后封裝在以太網(wǎng)幀中。 該報文的廣播的 IP 目的地址表明本 IP 數(shù)據(jù)報應(yīng)該由上層協(xié)議在這個節(jié)點上進行處理,所以該數(shù)據(jù)報的有效載荷(一個 UDP 報文)向上分用給 UDP,然后 DHCP 請求報文從 UDP 報文中提取。 我們假設(shè) DHCP 服務(wù)器分配給 Bob 的電腦的 IP 是 。 6. The Ether frame containing the DHCP ACK is sent (unicast) by the router to the switch. Because the switch is selflearning and previously received an Ether (containing the DHCP request) from Bob’s laptop, the switch knows to forward a frame addressed to 00:16:D3:23:68:8A only to the output port leading to Bob’s laptop. 包含 DHCP ACK 的 以太網(wǎng)幀從路由器發(fā)送到交換機。 同時也將默認網(wǎng)關(guān)的地址記錄在它的轉(zhuǎn)發(fā)表中。 當 Bob 使用 URL 用瀏覽器打開谷歌首頁時,事件鏈最終將導(dǎo)致谷歌的主頁在他的網(wǎng)頁瀏覽器中顯示。 23 8. The operating system on Bob’s laptop thus creates a DNS query message, putting the string “” in the question section of the DNS message. This DNS message is then placed within a UDP segment with a destination port of 53 (DNS server). The UDP segment is then placed within an IP datagram with an IP destination address of (the address of the DNS server returned in the DHCP ACK in step 5) and a source IP address of . Bob 電腦的 OS 創(chuàng)建一個 DNS 查詢消息,其中把谷歌域名放在 DNS 報文的請求問題部分。 為了獲得默認網(wǎng)關(guān)的 MAC 地址還需要 ARP 協(xié)議。 網(wǎng)關(guān)路由器將 ARP 請求報文封裝在以太網(wǎng)幀中,其目的地址為 Bob 電腦的 MAC 地址,并且24 發(fā)送幀到交換機,交換機再發(fā)送在、數(shù)據(jù)幀到 Bob 的 電腦。 Bob 的電腦發(fā)送幀到交換機,然后發(fā)送到網(wǎng)關(guān)路由器。 15. The leftmost router in the Comcast work ? receives the frame, ? extracts the IP datagram, ? examines the datagram’s destination address () and ? determines the outgoing interface on which to forward the datagram towards the DNS server from its forwarding table, which has been filled in by Comcast’s intradomain protocol (such as RIP, OSPF, or ISIS) as well as the Inter’s interdomain protocol, BGP. 最左邊的路由器在電信公司的網(wǎng)絡(luò)上 接收數(shù)據(jù)幀,提取 IP 報文段,檢查報文的目 的 IP 地址,檢查從路由器的轉(zhuǎn)發(fā)表發(fā)送數(shù)據(jù)報到 DNS 服務(wù)器的合適的接口,轉(zhuǎn)發(fā)表通過域內(nèi)網(wǎng)關(guān)協(xié)議和邊界網(wǎng)關(guān)協(xié)議來進行填充。 這個報文將被轉(zhuǎn)發(fā)通過電信網(wǎng)絡(luò)到學校路由器,然后在通過以太網(wǎng)交換機到 Bob 的電腦。 當 Bob 創(chuàng)建 TCP 套接字, TCP 連接第一次必須和谷歌服務(wù)器執(zhí)行三次握手。 20. Eventually, the datagram containing the TCP SYN arrives at . The TCP SYN message is extracted from the datagram and demultiplexed to the wele socket associated with port 80. A connection socket is created for the TCP connection between the Google HTTP server and Bob’s laptop. A TCP SYNACK segment is generated, placed inside a datagram addressed to Bob’s laptop, and finally placed inside a linklayer frame appropriate for the link connecting to its firsthop router. 最終,包含 TCP SYN 的報文段 到達谷歌服務(wù)器。 21. The datagram containing the TCP SYNACK segment is forwarded through the Google, Comcast, 26 and school works, eventually arriving at the Ether card in Bob’s laptop. The datagram is demultiplexed within the operating system to the TCP socket created in step 18, which enters the connected state. 該包含 TCP SYN ACK 的報文段在通過層層轉(zhuǎn)發(fā)到 Bob 的電腦上。 TCP 報文段被封裝在數(shù)據(jù)報中然 后發(fā)送傳輸?shù)焦雀?,進行的是 1820 部分。 四、 總結(jié) 本次計算機網(wǎng)絡(luò)的課程設(shè)計收獲頗多,總體總結(jié)下來可以有以下幾點收獲和體會。 24. The datagram containing the HTTP reply message is forwarded through the Google, Comcast, and school works, and arrives at Bob’s laptop. Bob’s web browser program reads the HTTP response from the socket, extracts the html for the web page from the body of the HTTP response, and finally (finally!) displays the web page! 這個包含有 HTTP 回復(fù)消息的數(shù)據(jù)報通過層層轉(zhuǎn)發(fā)到 Bob 的電腦。 22. With the socket on Bob’s laptop now (finally) ready to send bytes to , Bob’s browser creates the HTTP GET message containing the URL to be fetched. The HTTP GET message is then written into the socket, with the GET message being the payload of a TCP segment. The TCP segment is placed in a datagram and sent and delivered to as in steps 18- 20 above. 有了連接套接字 Bob 的電腦就可以準備發(fā)送字節(jié)到谷歌, Bob 的瀏覽器創(chuàng)建 HTTP GET 消息進行訪問,其中使用 URL。 這樣,一個在 googleHTTP 服務(wù)器和 Bob 電腦上的 TCP 鏈接套接字就被創(chuàng)建成功了。 19. The routers in the school work, Comcast’s work, and Google’s work forward the datagram containing the TCP SYN towards , using the forwarding table in each router, as in steps 14- 16 above. Recall that the router forwarding table entries governing forwarding of packets over the interdomain link between the Comcast and Google works are determined by the BGP protocol. 學校網(wǎng)絡(luò)上的路由器,電信網(wǎng)絡(luò)和谷歌所在網(wǎng)絡(luò)的路由器都使用各自的轉(zhuǎn)發(fā)表負
點擊復(fù)制文檔內(nèi)容
畢業(yè)設(shè)計相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖片鄂ICP備17016276號-1