Professional Documents
Culture Documents
Chapter 7 :: IP Tutorial
Dr. Mashiur Rahman
! Tutoria$
Man( o) the *ene)its o) Voice over ! +Vo !, are #erive# )rom the use o) nternet !rotoco$ + !, as the trans-ort mechanism. To tru$( un#erstan# these *ene)its. /e must )irst un#er-stan# what IP actually means. 0hat are the *ehaviora$ characteristics o) !. an# /hat #oes an ! -acket $ook $ike1
23 Re)erence Mo#e$
The nternationa$ 2r%ani4ation )or 3tan#ar#i4ation + 32, #eve$o-e# the 23 re)erence mo#e$ in the ear$( '&80s. an# it is no/ the stan#ar# )or #eve$o-in% -rotoco$s that ena*$e com-uters to communicate. 5$thou%h not a$$ -rotoco$s )o$$o/ this mo#e$. man( -eo-$e use it to he$them #eve$o- an# teach ne/ -rotoco$s. The 23 re)erence mo#e$ *reaks u- the -ro*$em o) intermachine communication into seven $a(ers. Each $a(er is concerne# on$( /ith ta$kin% to its corres-on#in% $a(er on the other machine. This means that La(er 5 has to /orr( on$( a*out ta$kin% to La(er 5 on the receivin% machine. an# not /hat the actua$ -h(sica$ me#ium mi%ht *e.
23 Re)erence Mo#e$
nternet !rotoco$
! itse$) is a connection$ess -rotoco$ that resi#es at La(er 8 +the net/ork $a(er,. /hich means that no re$ia*i$it( mechanisms. )$o/ contro$. seAuencin%. or ackno/$e#%ments are -resent. 2ther -rotoco$s. such as TC!. can sit on to- o) ! +La(er 4. session, an# can a## )$o/ contro$. seAuencin%. an# other )eatures.
IP Packet Fields
Trans-ort !rotoco$s
T/o main t(-es o) tra))ic ri#e u-on nternet !rotoco$ + !,:
'.
7.
n %enera$. (ou use TC! /hen (ou nee# a re$ia*$e connection an# <D! /hen (ou nee# sim-$icit( an# re$ia*i$it( is not (our chie) concern. Due to the time-sensitive nature o) voice tra))ic. <D!6 ! /as the $o%ica$ choice to carr( voice. More in)ormation /as nee#e# on a -acket-*(--acket *asis than <D! o))ere#. ho/ever. 3o. )or rea$time or #e$a(-sensitive tra))ic. the nternet En%ineerin% Task "orce + ET", a#o-te# the RT!. Vo ! ri#es on to- o) RT!. /hich ri#es on to- o) <D!. There)ore. Vo ! is carrie# /ith an RT!6<D!6 ! -acket hea#er.
! Trans-ort Mechanisms
TC! an# <ser Data%ram !rotoco$ +<D!, have #i))erent characteristics that various a--$ications can use. ) re$ia*i$it( is more im-ortant than #e$a(. )or instance. (ou can use TC!6 ! to %uarantee -acket #e$iver(. <D!6 ! #oes not uti$i4e -acket retransmissions. ho/ever. This can $o/er re$ia*i$it(. *ut in some cases a $ate retransmission is o) no use.
RT!
RT! is the stan#ar# )or transmittin% #e$a(sensitive tra))ic across -acket-*ase# net/orks. RT! ri#es on to- o) <D! an# !. RT! %ives receivin% stations in)ormation that is not in the connection$ess <D!6 ! streams.
5s sho/n in "i%ure. t/o im-ortant *its o) in)ormation are seAuence in)ormation an# timestam-in%. RT! uses the seAuence in)ormation to #etermine /hether the -ackets are arrivin% in or#er. an# it uses the timestam-in% in)ormation to #etermine the interarriva$ -acket time +Bitter,.
TC!
TC! -rovi#es )u$$-#u-$eC. ackno/$e#%e#. an# )$o/-contro$$e# service to u--er-$a(er -rotoco$s. t moves #ata in a continuous. unstructure# *(te stream /here *(tes are i#enti)ie# *( seAuence num*ers.
To maCimi4e throu%h-ut. TC! ena*$es each station to sen# mu$ti-$e -ackets *e)ore an ackno/$e#%ment arrives. 5)ter the sen#er receives an ackno/$e#%ment )or an outstan#in% -acket. the sen#er s$i#es the -acket /in#o/ a$on% the *(te stream an# sen#s another -acket. This )$o/ contro$ mechanism is kno/n as a s$i#in% /in#o/.
TC!
0ithin the si%na$in% -ortion o) Vo !. TC! is use# to ensure the re$ia*i$it( o) the setuo) a ca$$. Due to the metho#s *( /hich TC! o-erates. it is not )easi*$e to use TC! as the mechanism to carr( the actua$ voice in a Vo ! ca$$. 0ith Vo !. -acket $oss is $ess im-ortant than $atenc(.
<D!
<D! is a much sim-$er -rotoco$ than TC! an# is use)u$ in situations /here the re$ia*i$it( mechanisms o) TC! are unnecessar(. <D! a$so is connection$ess an# has a sma$$er hea#er. /hich trans$ates to minima$ overhea#.
The <D! hea#er has on$( )our )ie$#s: source -ort. #estination -ort. $en%th. an# <D! checksum. The source an# #estination -ort )ie$#s serve the same )unctions as the( #o in the TC! hea#er. The $en%th )ie$# s-eci)ies the $en%th o) the <D! hea#er an# #ata. an# the checksum )ie$# ena*$es -acket inte%rit( checkin%. The <D! checksum is o-tiona$.
<D! is use# in Vo ! to carr( the actua$ voice tra))ic +the *earer channe$s,. TC! is not use# *ecause )$o/ contro$ an# retransmission o) voice au#io -ackets are unnecessar(. Because <D! is use# to carr( the au#io stream. it continues to transmit. re%ar#$ess o) /hether (ou are eC-eriencin% 5 -ercent -acket $oss or 50 -ercent -acket $oss.
<D!
) TC! /ere uti$i4e# )or Vo !. the $atenc( incurre# /aitin% )or ackno/$e#%ments an# retransmissions /ou$# ren#er voice Aua$it( unacce-ta*$e. 0ith Vo ! an# other rea$-time a--$ications. contro$$in% $atenc( is more im-ortant than ensurin% the re$ia*$e #e$iver( o) each -acket.
Protocols of VoIP
The Protocols used in VoIP communication can be sub divided into three main parts.
1. Signaling Protocols 2. Media Transfer protocols 3. Transport Layer Protocols
Most popular signaling protocols are SIP and H323. They work in application layer to establish signaling between two ends. Media transfer protocol is used to transmit the voice. RTP(Real-time Transfer Protocol) is the typically used for media transmission.
In transport layer of a VoIP network UDP (user datagram protocol ) is used instead of TCP. Because, TCP is more reliable which slows down the transmission speed. On the other hand UDP is less reliable and can send errors. However, it is faster than TCP and it takes less bandwidth.
3ummer(
! is one o) the most u*iAuitous -rotoco$s on the -$anet. t ena*$es usua$$( #is-arate a--$ications an# net/orks to communicate in ne/ /a(s.
5nnouncement