计算机网络方面的面试基础?超级全哦) - 百度文库 ر

ײУ

ֻУײݲ֣㷽ײΪ 16 λIJ֣Ȼÿ 16 λȡȻͣٽȡŵײУ͡

շյͬķ֣ȡͣȡΪ㣬գͶ Դַ 32 Ŀĵַ 32

2 һ TCP ĶηΪײ֡ײɹ̶ֺѡɣ̶ 20 ֽڡ TCP ײ󳤶Ϊ 60 ײ̶ֶΣ ֶ ֽڣ Byte ֶ ֽڣ Byte Դ˿ 2 ĿĶ˿ 2 4 ȷϺ

4 յԷһĶεݵĵһֽڵ

ƫ

4bit ָ TCP Ķεʼ TCP ĶεʼжԶ 6bit

ȷϱ ACK

ֻе ACK=1 ʱȷϺֶβЧ

ͱ

λ

ͬ

ֹ 2

2 ײ֣ͬʱҪ 12 ֽڵαײУͼ㣩 ѡ

ȿɱ䣨Χ 1 40

TCP 12 ֽαײ Դ IP ַ 4 Ŀ IP ַ 4 0 (1)

6(1) TCP IP Эᵽ TCP ȣ 2

3 ûݱ UDP ײݲɡײֻ 8 ֽڣ 4 ֶɣÿֶζֽڡ ֶ ֽ ֶ

ֽ Դ˿ 2 ĿĶ˿ 2 2

2 ײݣ 12 ֽڵαײ UDP 12 ֽαײ Դ IP ַ 4 Ŀ IP ַ 4 0 (1)

17(1) UDP IP Эᵽ UDP ȣ 2

27 Ӻͷӵķصʲô

ӵķͨ˫ڽ֮ͨǰҪ˫һĿԱ˴˹ͨͨͨŹУӵһֱԱʵʱؼغ͹

ӵķ񣬲ҪԤȽһͨŽڵӣҪͨŵʱ򣬷ͽڵͿϷϢϢȥһڴĹвټԼء

28 ̫֡ĸʽ Ŀĵַ Դַ FCS

29 TCP ֹ̣Ϊʲô֣öֿ 𣺽ӵĹÿͻģʽ A Ϊͻˣ B Ϊˡ 1 TCP ֹ̣ A B B յ A ıĶνȷϣ A ٴζ B ȷϽȷϡ

2 Ϊ˷ֹʧЧĶͻȻִ͵ B ʧЧĶָ A ûյ B ȷϣǾһʱ A B ҽɹ˳ݴ䡣һ A һη͵ûжʧΪڵ㵼ӳٴﵽ B B Ϊ A ַӣ B ͬӣ A ȷϣǴʱ A ᣬ B һֱڵȴ A ݣ B Դ˷ѡ

3 ֲУԭ˵ʵЧ 30 ·Ľ齻ıȽϣ

𣺵·绰 PSTN ƶ GSM CDMA õĶǵ·ĻصDzӵķʽ˫֮ͨǰҪΪͨ˫һй̶ͨŵ·ͨ˫ͨŹһֱռԴֱͨŽڵ·ĽͷŹжҪصЭ顣ַʽŵͨŹпԱ֤Ϊûṩ㹻ĴʵʱǿʱС豸ɱͣͬʱȱʲߣһ·ͨ˫Ƿͨ״̬ĵ·һֱռáӽݴ䡪ͷ

ĽĽͷ齻ƣҲô洢תƣĽԱΪ͵ԪڱijȲܴ󣬳ĿܵºܴʱӣҶÿڵ˵ķҲȽѣΪֳȱĵҪҴﵽЧĿģڵҪ䲻ͬСĻпݴ͵ʧܡʵӦбĽҪڴ䱨Ľ϶̣ʵʱҪϵ͵ͨҵ繫õ籨Ľȷ齻ֵҪһЩ齻ڱĽĻϣķָɷд䣬ڴʱӺʹЧϽƽ⡣һȱdzʱĶش

齻·Ҫڴͻصҵ罻ʽҵԣźܴľԡͨžнǿͻԣֵʺƽϴõ·ֵʷ·Դļ˷ѣ