Dab tsi yog qhov loj tshaj plaws ntawm IPv4 header?
Dab tsi yog qhov loj tshaj plaws ntawm IPv4 header?

Video: Dab tsi yog qhov loj tshaj plaws ntawm IPv4 header?

Video: Dab tsi yog qhov loj tshaj plaws ntawm IPv4 header?
Video: #5 YouTube Video Marketing Off-Page SEO for Local Business (Plumbers) 2024, Kaum ib hlis
Anonim

60 Bytes

Kuj paub yog, qhov loj ntawm IPv4 header yog dab tsi?

60 bytes

Dab tsi yog qhov loj ntawm IPv4 header nrog 12 bytes ntawm kev xaiv? Tus nqi HLEN yog 8, uas txhais tau tias tag nrho cov naj npawb ntawm bytes hauv taub hau yog 8x32 bytes . Thawj 20 bytes yog lub hauv paus taub hau tom ntej no 12 Thawj 20 bytes yog lub hauv paus taub hau , lub tom ntej 12 bytes yog cov kev xaiv . Hauv ib IPv4 pob ntawv , tus nqi ntawm HLEN yog 5, thiab tus nqi ntawm tag nrho ntev ua 0x0028.

Ib yam li ntawd, tib neeg nug, qhov luaj li cas ntawm IPv4 header nrog 9 bytes ntawm kev xaiv?

Internet Header Length (IHL) teb yog tus naj npawb ntawm 32-ntsis lo lus hauv IPv4 header, suav nrog txhua yam kev xaiv. Vim tias qhov no kuj yog 4-ntsis teb, IPv4 header yog txwv rau qhov siab tshaj ntawm kaum tsib 32-ntsis lo lus lossis 60 bytes . Tus nqi ib txwm ntawm daim teb no (thaum tsis muaj kev xaiv tam sim no) yog 5.

IP header length xam li cas?

Cov Header Length teb yog siv los qhia qhov ntev ntawm taub hau , uas tuaj yeem nyob ntawm 20 mus rau 60 bytes. Koj yuav tsum muab tus nqi hauv daim teb no los ntawm plaub kom tau qhov ntev ntawm IP header . Piv txwv li, yog tias tus nqi hauv daim teb no yog 3, lub ntev ntawm taub hau yog 3 * 4, uas yog 12 bytes.

Pom zoo: