資源描述:
《兩主機(jī)通信過(guò)程》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在教育資源-天天文庫(kù)。
1、主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2應(yīng)用進(jìn)程數(shù)據(jù)先傳送到應(yīng)用層加上應(yīng)用層首部,成為應(yīng)用層PDU主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2應(yīng)用層PDU再傳送到運(yùn)輸層加上運(yùn)輸層首部,成為運(yùn)輸層報(bào)文主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2運(yùn)輸層報(bào)文再傳送到網(wǎng)絡(luò)層加上網(wǎng)絡(luò)層首部,成為IP數(shù)據(jù)報(bào)(或分組)主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2IP數(shù)據(jù)報(bào)再傳送到數(shù)據(jù)鏈路層加上鏈路層首部和尾部,成為數(shù)據(jù)鏈路層幀主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)
2、5432154321主機(jī)1AP2AP1主機(jī)2數(shù)據(jù)鏈路層幀再傳送到物理層最下面的物理層把比特流傳送到物理媒體主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)應(yīng)用層(applicationlayer)5432154321物理傳輸媒體主機(jī)1AP2AP1電信號(hào)(或光信號(hào))在物理媒體中傳播從發(fā)送端物理層傳送到接收端物理層主機(jī)2主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2物理層接收到比特流,上交給數(shù)據(jù)鏈路層主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2數(shù)據(jù)鏈路層剝?nèi)撞亢蛶膊咳〕鰯?shù)據(jù)部分,上交給網(wǎng)絡(luò)層主機(jī)1向主機(jī)2發(fā)
3、送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2網(wǎng)絡(luò)層剝?nèi)ナ撞?,取出?shù)據(jù)部分上交給運(yùn)輸層主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2運(yùn)輸層剝?nèi)ナ撞?,取出?shù)據(jù)部分上交給應(yīng)用層主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2應(yīng)用層剝?nèi)ナ撞浚〕鰬?yīng)用程序數(shù)據(jù)上交給應(yīng)用進(jìn)程主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2我收到了AP1發(fā)來(lái)的應(yīng)用程序數(shù)據(jù)!主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2應(yīng)用程序數(shù)據(jù)應(yīng)用層首部H510100110100101比
4、特流110101110101注意觀察加入或剝?nèi)ナ撞浚ㄎ膊浚┑膶哟螒?yīng)用程序數(shù)據(jù)H5應(yīng)用程序數(shù)據(jù)H4H5應(yīng)用程序數(shù)據(jù)H3H4H5應(yīng)用程序數(shù)據(jù)H4運(yùn)輸層首部H3網(wǎng)絡(luò)層首部H2鏈路層首部T2鏈路層尾部主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)210100110100101比特流110101110101計(jì)算機(jī)2的物理層收到比特流后交給數(shù)據(jù)鏈路層H2T2H3H4H5應(yīng)用程序數(shù)據(jù)H3H4H5應(yīng)用程序數(shù)據(jù)主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2數(shù)據(jù)鏈路層剝?nèi)撞亢蛶膊亢蟀褞臄?shù)據(jù)部分交給網(wǎng)
5、絡(luò)層H2T2H3H4H5應(yīng)用程序數(shù)據(jù)H4H5應(yīng)用程序數(shù)據(jù)H3H4H5應(yīng)用程序數(shù)據(jù)主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2網(wǎng)絡(luò)層剝?nèi)シ纸M首部后把分組的數(shù)據(jù)部分交給運(yùn)輸層H5應(yīng)用程序數(shù)據(jù)H4H5應(yīng)用程序數(shù)據(jù)主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2運(yùn)輸層剝?nèi)?bào)文首部后把報(bào)文的數(shù)據(jù)部分交給應(yīng)用層應(yīng)用程序數(shù)據(jù)H5應(yīng)用程序數(shù)據(jù)主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321主機(jī)1AP2AP1主機(jī)2應(yīng)用層剝?nèi)?yīng)用層PDU首部后把應(yīng)用程序數(shù)據(jù)交給應(yīng)用進(jìn)程主機(jī)1向主機(jī)2發(fā)送數(shù)據(jù)5432154321
6、主機(jī)1AP2AP1主機(jī)2我收到了AP1發(fā)來(lái)的應(yīng)用程序數(shù)據(jù)!