Está en la página 1de 520

WIRELESS NETWORKING IN THE DEVELOPING WORLD

Third Edition

Wireless Networking in the Developing World


F o r m o r e i n f o r m a t i o na b o u t t h i s p r o j e c t p l e a s e v i s i t h t t p : / / w n d w . n e t F i r s t E d i t i o n , J a n u a r y 2 0 0 6 S e c o n dE d i t i o n , D e c e m b e r 2 0 0 7 $i r dE d i t i o n , F e b r u a r y 2 0 1 3
Ma n yd e s i g n a t i o n su s e db ym a n u f a c t u r e r sa n dv e n d o r st od i s t i n g u i s ht h e i r p r o d u c t sa r ec l a i m e da st r a d e m a r k s .Wh e r et h o s ed e s i g n a t i o n sa p p e a ri nt h i s b o o k , a n dt h ea u t h o r s w e r ea w a r eo f at r a d e m a r kc l a i m , t h ed e s i g n a t i o n s h a v e b e e np r i n t e di na l l c a p s o r i n i t i a l c a p s . A l l o t h e r t r a d e m a r k s a r e p r o p e r t y o f t h e i r r e s p e c t i v e o w n e r s . $e a u t h o r s a n dp u b l i s h e r h a v e t a k e nd u ec a r e i np r e p a r a t i o n o f t h i s b o o k , b u t m a k e n o e x p r e s s e do r i m p l i e dw a r r a n t y o f a n y k i n da n d a s s u m e n o r e s p o n s i b i l i t y f o r e r r o r s o r o m i s s i o n s . N ol i a b i l i t y i s a s s u m e df o r i n c i d e n t a l o r c o n s e q u e n t i a l d a m a g e si nc o n n e c t i o nw i t ho ra r i s i n go u to ft h eu s eo ft h e i n f o r m a t i o nc o n t a i n e dh e r e i n . A s w e h a v e d i s c o v e r e dt h e d e v e l o p i n gw o r l do f w i r e l e s s n e t w o r k i n g i s a l l a r o u n d u s , t h ea u t h o r s o f t h i s b o o kh a v ei n c l u d e dp r o j e c t s i nN o r t hA m e r i c a , E u r o p e , a n di nA s i a , S o u t hA m e r i c a , I n d i a a n dA f r i c a . S o w e h a v e c o m e t ot h e c o n c l u s i o n t h a t m o s t p l a c e s h a v e t h e p o t e n t i a l t o0 n da 1 o r d a b l e i n d o o r a n do u t d o o r w i r e l e s s n e t w o r k s u s e f u l . We h o p e y o ue n j o yr e a d i n g t h i s b o o ka n du s e i t a s t h e s t a r t i n g p o i n t o f a w i r e l e s s p r o j e c t i ny o u r c o m m u n i t y . $ eb o o ka n dP D F0 l ea r ep u b l i s h e du n d e raC r e a t i v eC o m m o n s A t t r i b u t i o n S h a r e A l i k e 3 . 0l i c e n s e . $i s a l l o w s a n y o n e t om a k e c o p i e s , a n de v e ns e l l t h e mf o r ap r o 0 t , a s l o n ga s p r o p e r a t t r i b u t i o ni s g i v e nt ot h e a u t h o r s a n da n yd e r i v a t i v e w o r k s a r e m a d e a v a i l a b l e u n d e r t h e s a m e t e r m s . A n yc o p i e s o r d e r i v a t i v ew o r k sm u s t i n c l u d eap r o m i n e n t l i n kt oo u rw e b s i t e , h t t p : / / w n d w . n e t / S e eh t t p : / / c r e a t i v e c o m m o n s . o r g / l i c e n s e s / b y s a / 3 . 0 /f o rm o r ei n f o r m a t i o na b o u t t h e s e t e r m s .

ISBN-13: 978-1484039359

LICENSE
Wi r e l e s s N e t w o r k i n g i n t h e D e v e l o p i n g Wo r l d b y $e WN D WA u t h o r s i s l i c e n s e d u n d e r a C r e a t i v e C o m m o n s A t t r i b u t i o n S h a r e A l i k e 3 . 0 Unported License.

ABOUT THIS BOOK


$i s t h i r dv e r s i o no f t h i s b o o k w a s s t a r t e da s a B o o k S p r i n t i nS e p t e m b e r 2 0 1 1 i nt h e b e a u t i f u l c i t y o f C o p e n h a g e n h o s t e d b y S e b a s t i a n B u e t t r i c h , w h o i s o n e o f t h e a u t h o r s . Ac o r e t e a mo f e i g h t p e o p l e t h e n0 n i s h e d t h i s v e r s i o no v e r t h e f o l l o w i n g m o n t h s l e a d i n g t o p u b l i c a t i o n i nMa r c h2 0 1 3 . $r o u g h o u t t h e p r o j e c t , t h e c o r e g r o u ph a s a c t i v e l y s o l i c i t e dc o n t r i b u t i o n s a n df e e d b a c k f r o mt h e w i r e l e s s n e t w o r k i n g c o m m u n i t y w o r l d w i d e . Y o u c a np r o v i d e y o u r o w nf e e d b a c k o r p o s t t e c h n i c a l q u e s t i o n s t o t h e a u t h o r s a t o u r F a c e b o o kp a g e : h t t p s : / / w w w . f a c e b o o k . c o m / g r o u p s / w i r e l e s s u $i sb o o ki sa v a i l a b l ea sa ne B o o kf o ry o u rm o b i l ed e v i c e ,o ri ti s d o w n l o a d a b l ef r o mt h ew e b s i t eh t t p : / / w n d w . n e t / f o r f r e e( h i g ha n dl o w r e s o l u t i o na v a i l a b l e ) ,o ri tc a nb eo r d e r e da sa p r i n t e db o o kf r o m h t t p : / / w w w . l u l u . c o m / Wed og i v eo u t ac o p yt oe v e r ys t u d e n t w h oa t t e n d s aw i r e l e s s t r a i n i n g c o u r s eg i v e nb ya l lo ft h eI n s t i t u t i o n sw ew o r kw i t hs u c ha st h e I n t e r n a t i o n a l C e n t r e f o r $e o r e t i c a l P h y s i c s ( I C T P ) , t h e N e t w o r kS t a r t u p R e s o u r c eC e n t e r ( N S R C ) , t h eA s i a nI n s t i t u t eo f T e c h n o l o g y( A I T ) , $e I n t e r n e t S o c i e t y ( I S O C ) a n dA i r J a l d i , t o n a m e j u s t a f e w . A n dw e w o u l d a l l s t r o n g l y e n c o u r a g e y o u t o s i g nu p f o r a l o c a l c o u r s e . F o r i n f o r m a t i o na b o u t u p c o m i n g c o u r s e s o r i f y o uw o u l dl i k e t oa r r a n g e a c o u r s ei n y o u rr e g i o n ,p l e a s ec o n t a c tt h ee d i t o r ,J a n eB u t l e r j a n e s b u t l e r @ n e t w o r k t h e w o r l d . o r g I f y o ua r ep l a n n i n gaw i r e l e s s p r o j e c t a n dy o un e e dac o p yo f t h i s b o o k a n dc a nn e i t h e r d o w n l o a di t a s y o uh a v e l i m i t e db a n d w i d t hn o r a 1 o r dt o o r d e ri to n l i n e ,p l e a s es e n da ne m a i lt oJ a n eo rs e n d am e s s a g eo n F a c e b o o ka n dw e ' l l m a i l a p r i n t e dc o p y t o y o u .

Core Contributors
J a n eB u t l e r , w h oi sl e a de d i t o ro ft h i sv e r s i o no ft h eb o o k .J a n ei s c u r r e n t l yP r e s i d e n t o f t h e p r i v a t eF o u n d a t i o nc a l l e dn e t w o r k t h e w o r l d . o r g w h i c hp r o m o t e s a n ds u p p o r t s t h e g r o w t ho f I n t e r n e t c o n n e c t i v i t ya r o u n d t h ew o r l d m a i n l y b ys u p p o r t i n g w i r e l e s sp r o j e c t sa n d t r a i n i n g h t t p : / / w i r e l e s s u . o r g .J a n ei sa l s oh e a do fi n d u s t r i a lc o l l a b o r a t i o na n d o u t r e a c ha t U n i v e r s i t y C o l l e g e L o n d o n . J a n e h o l d s a nH o n o u r s D e g r e e i n E n g i n e e r i n g , i saC h a r t e r e dE n g i n e e ra n dF e l l o wo ft h eI n s t i t u t i o no f E l e c t r o n i c s a n dT e c h n o l o g y . J a n e c a nb e r e a c h e da t j a n e s b u t l e r @ n e t w o r k t h e w o r l d . o r g e e d i t o r w o u l d l i k e t o a c k n o w l e d g e a n dt h a n k t h e c o r e g r o u p o f c o n t r i b u t o r s w h o a r e l i s t e d b e l o wE r m a n n oP i e t r o s e m o l i .E r m a n n oi sc u r r e n t l yar e s e a r c h e ra tt h e T e l e c o m m u n i c a t i o n s / I C T f o rD e v e l o p m e n tL a bo ft h eI n t e r n a t i o n a l C e n t r e f o r $e o r e t i c a l P h y s i c s i nT r i e s t e , I t a l y , a n dP r e s i d e n t o f F u n d a c i n E s c u e l a L a t i n o a m e r i c a n ad eR e d e s " E s L a R e d " , an o n p r o 0 t o r g a n i z a t i o n t h a t p r o m o t e s I C Ti nL a t i nA m e r i c at h r o u g ht r a i n i n ga n dd e v e l o p m e n t p r o j e c t s . E s L a R e dw a s a w a r d e dt h e 2 0 0 8 J o n a t h a nB . P o s t e l S e r v i c e A w a r d b yt h eI n t e r n e tS o c i e t y .E r m a n n oh a sb e e nd e p l o y i n gw i r e l e s sd a t a c o m m u n i c a t i o nn e t w o r k sf o c u s i n go nl o wc o s tt e c h n o l o g y ,a n dh a s p a r t i c i p a t e di nt h ep l a n n i n ga n db u i l d i n go f w i r e l e s sd a t an e t w o r k si n A r g e n t i n a , C o l o m b i a , E c u a d o r , I t a l y , L e s o t h o , Ma l a w i , Me x i c o , Mo r o c c o , N i c a r a g u a , P e r u , T r i n i d a d , U . S . A . a n dV e n e z u e l a . H eh a sp r e s e n t e di n m a n yc o n f e r e n c e sa n dp u b l i s h e ds e v e r a l p a p e r sr e l a t e dt ow i r e l e s sd a t a c o m m u n i c a t i o na n di sc o a u t h o ra n dt e c h n i c a lr e v i e w e ro ft h eb o o k " Wi r e l e s sN e t w o r k i n gf o rt h eD e v e l o p i n gWo r l d "f r e e l ya v a i l a b l ef r o m h t t p : / / w n d w . n e t .E r m a n n oh o l d s a Ma s t e r ' sD e g r e ef r o m S t a n f o r d U n i v e r s i t y a n dw a s P r o f e s s o r o f T e l e c o m m u n i c a t i o n s a t U n i v e r s i d a dd e l o s A n d e s i n V e n e z u e l a f r o m1 9 7 0 t o 2 0 0 0 . E r m a n n o c a nb e r e a c h e da t e r m a n n o @ i c t p . i t Ma r c oZ e n n a r o . Ma r c or e c e i v e dh i s M. S c .D e g r e ei nE l e c t r o n i c E n g i n e e r i n gf r o mU n i v e r s i t yo fT r i e s t ei nI t a l y . H ed e f e n d e dh i sP h D t h e s i s o n Wi r e l e s s S e n s o r N e t w o r k s f o r D e v e l o p m e n t : P o t e n t i a l s a n dO p e n I s s u e s a t K T HR o y a l I n s t i t u t e o f T e c h n o l o g y , S t o c k h o l m , S w e d e n . H i s r e s e a r c hi n t e r e s t i s i nI C T 4 D , t h e u s e o f I C Tf o r D e v e l o p m e n t .

II

I np a r t i c u l a r , h e i s i n t e r e s t e di nWi r e l e s s N e t w o r k s a n di nWi r e l e s s S e n s o r N e t w o r k s i nd e v e l o p i n g c o u n t r i e s . H e h a s b e e ng i v i n g l e c t u r e s o nWi r e l e s s t e c h n o l o g i e s i nm o r e t h a n2 0d i 1 e r e n t c o u n t r i e s . Wh e nn o t t r a v e l l i n g , h e i s t h e e d i t o r o f w s n b l o g . c o m . Ma r c o c a nb e r e a c h e da t m z e n n a r o @ i c t p . i t C a r l oF o n d ai sam e m b e ro ft h eR a d i oC o m m u n i c a t i o n sU n i ta tt h e A b d u s S a l a mI n t e r n a t i o n a l C e n t e r f o r $e o r e t i c a l P h y s i c s i n T r i e s t e , I t a l y . C a r l o c a nb e r e a c h e d a t c f o n d a @ i c t p . i t S t e p h e nO k a y .S t e v ei sa g e e k o f a l l t r a d e sw i t ho v e r2 0y e a r so f e x p e r i e n c ei ns y s t e m s / n e t w o r kp r o g r a m m i n ga n da d m i n i s t r a t i o nw i t ha p a r t i c u l a r p a s s i o nf o r f r e e / o p e nn e t w o r k s a n ds o f t w a r e . H e h a s d e p l o y e d w i r e l e s s n e t w o r k s i nL a o s , Ma l a w i , I t a l y , a n dt h e U n i t e dS t a t e s . H e i s a n I n v e n e oc o f o u n d e ra n dh a st a u g h tw o r k s h o p so nV o I Pa n dw i r e l e s s n e t w o r k i n ga t I n s t i t u t i o n s a r o u n dt h e w o r l d . H e l i v e s a n dh a c k s i nS a n F r a n c i s c o , C a l i f o r n i a . S t e v e c a nb e r e a c h e d a t s t e v e @ i n v e n e o . o r g C o r i n n a" E l e k t r a "A i c h e l e .E l e k t r ah a sb e e nb u s yw o r k i n go nm e s h n e t w o r k i n gp r o t o c o l sf o rt h eF r e i f u n kc o m m u n i t yi nG e r m a n y . B e f o r e i n v e n t i n gt h e B . A . T . M. A . N . r o u t i n gp r o t o c o l f o r w i r e l e s s m e s hn e t w o r k s i n2 0 0 6 , s h e w a s w o r k i n go ni m p r o v i n gt h e O L S Rr o u t i n gp r o t o c o l . S h e i s o n eo f t h ep e o p l eb e h i n dt h eMe s h P o t a t od e v i c e , ar u g g e do u t d o o r o p e n s o u r c ea n do p e n h a r d w a r eWi F i r o u t e rw i t ha nF X Sp o r t . S h ei s p a r t o f t h e V i l l a g e t e l c oc o m m u n i t y , t h a t s t r i v e s t od e p l o ym e s hn e t w o r k s f o rV O I Pa n dd a t a .S h el i v e si n as o l a r p o w e r e dh o m ei nB e r l i n , G e r m a n y . $e p h i l o s o p h y b e h i n d h e r i d e a sa b o u tu b i q u i t o u s c o m m u n i c a t i o nf o r e v e r y o n e i s : " e f a c t t h a t y o ut a l k i ny o u r h e a dd o e s n ' t m e a nt h a t y o ut h i n k b u t o n l y t h a t y o us p e a k w i t hy o u r s e l f " . E l e k t r a c a nb e r e a c h e d a t e l e k t r a @ v i l l a g e t e l c o . o r g h t t p : / / v i l l a g e t e l c o . o r g h t t p : / / o p e n m e s h . n e t / S e b a s t i a nB u e t t r i c h .S e b a s t i a ni sR e s e a r c hL a b Ma n a g e ra tt h eI T U n i v e r s i t y o f C o p e n h a g e n , h t t p : / / p i t . i t u . d k H ew o r k sw i t he m b e d d e d / p e r v a s i v es y s t e m s , w i r e l e s st e c h n o l o g y ,o p e n s o u r c e/ f r e e s o f t w a r ea n ds o l a r e n e r g yt ob u i l dn e t w o r k s , s y s t e m s , s k i l l s a n dc a p a c i t y a s a m a n a g e r , d e v e l o p e r , a r c h i t e c t , c o n s u l t a n t a n dt e a c h e r . $i sw o r kf o c u s e do n( b u tn o tl i m i t e dt o )d e v e l o p i n gc o u n t r i e sa n d c o m m u n i t i e s , e s p e c i a l l yi nA s i aa n dA f r i c a . O n e c u r r e n t f o c u s i s t oh e l p

III

d e v e l o pc a m p u s n e t w o r k s f o r r e s e a r c ha n de d u c a t i o n , w i t he m p h a s i s o n g l o b a li n t e g r a t i o na n ds u s t a i n a b i l i t y .H i sc u r r e n ts i d ea N l i a t i o n sa r e : h t t p : / / w w w . n s r c . o r g - t h e N e t w o r k S t a r t u p R e s o u r c e C e n t e r h t t p : / / w i r e . l e s s . d k-N G Oa n dc o m p a n yc o f o u n d e dw i t hT o m a sK r a g h t t p : / / w i r e l e s s U . o r gag r o u po f d e d i c a t e dp r o f e s s i o n a l s w o r k i n gt o w a r d s a w o r l d w i d e , p e o p l e c e n t e r e d , i n c l u s i v e I n f o r m a t i o n S o c i e t y h t t p : / / w n d w . n e t /-C o a u t h o ro ft h e Wi r e l e s sN e t w o r k i n gi nt h e D e v e l o p i n gWo r l db o o k . S e b a s t i a nh o l d saP h . D . i nQ u a n t u mP h y s i c s f r o mt h eT e c h n i c a l U n i v e r s i t yo fB e r l i ni nG e r m a n y , w i t haf o c u so n o p t i c s , r a d i o s p e c t r o s c o p y , p h o t o v o l t a i c s y s t e m s a n d s c i e n t i 0 c p r o g r a m m i n g . H e l o v e s a n dp l a y s m u s i c , i s f a s c i n a t e da n de n g a g e dw i t h t e x t , l a n g u a g ea n dp o e t r yi nm a n yf o r m s . S e b a s t i a nc a nb er e a c h e da t s e b a s t i a n @ l e s s . d k J i mF o r s t e r . J i mi s p a s s i o n a t e a b o u t e x t e n d i n gt h e I n t e r n e t . H e s t a r t e da t C i s c oi n1 9 8 8w h e ni t w a s q u i t e s m a l l a n ds p e n t 2 0y e a r s t h e r e , m o s t l y i n I O SS o f t w a r eD e v e l o p m e n ta n dS y s t e mA r c h i t e c t u r e , a n db e c o m i n ga D i s t i n g u i s h e dE n g i n e e r . Wh i l ea tC i s c oh es t a r t e dw o r k i n go np r o j e c t s a n dp o l i c i e s t oi m p r o v e I n t e r n e t a c c e s s i nd e v e l o p i n g c o u n t r i e s . N o wh e i s e n g a g e d i n b o t h f o r p r o 0 t a n d n o n p r o 0 t e 1 o r t s t o e x t e n d c o m m u n i c a t i o n s i nA f r i c a a n dI n d i a . H e f o u n d e dn e t w o r k t h e w o r l d . o r g , a f o u n d a t i o n d e d i c a t e d t oi m p r o v i n gc o m m u n i c a t i o n sa n d I n t e r n e t , e s p e c i a l l yi nA f r i c aa n dI n d i a .H ei so ns e v e r a lB o a r do fD i r e c t o r s , i n c l u d i n gR a n g eN e t w o r k s/O p e n B T Sa n dI n v e n e oi nt h eU S , E s o k o N e t w o r k si nG h a n a ,a n dA i r J a l d ii nI n d i a .J i m c a nb er e a c h e da t j f o r s t e r @ n e t w o r k t h e w o r l d . o r g K l a a s Wi e r e n g a . K l a a s w o r k s i nt h e R e s e a r c ha n dA d v a n c e dD e v e l o p m e n t g r o u pa tC i s c oS y s t e m sw h e r eh ef o c u s e so nI d e n t i t y ,S e c u r i t ya n d Mo b i l i t yt o p i c s , o f t e ni nc o l l a b o r a t i o nw i t ht h eR e s e a r c ha n dE d u c a t i o n C o m m u n i t y .H ei sc o a u t h o ro ft h eC i s c oP r e s sb o o k" B u i l d i n gt h e Mo b i l eI n t e r n e t " .P r i o rt oj o i n i n gC i s c oh ew o r k e da tS U R F n e t , t h e D u t c hR e s e a r c ha n dE d u c a t i o nN e t w o r k , w h e r eh ec r e a t e dt h eg l o b a l Wi F i r o a m i n g s e r v i c e i na c a d e m i a c a l l e de d u r o a m . H e i s a l s ot h e C h a i r o f t h e Mo b i l i t yT a s kF o r c e o f T E R E N A , t h e E u r o p e a na s s o c i a t i o no f R &E N e t w o r k s . K l a a s p a r t i c i p a t e s i na n u m b e r o f I E T Fw o r k i n gg r o u p s i nt h e 0 e l d so fi d e n t i t y , s e c u r i t ya n dm o b i l i t ya n dc h a i r st h ea b f a bw o r k i n g g r o u pt h a t d e a l s w i t hf e d e r a t e di d e n t i t y f o r n o n w e ba p p l i c a t i o n s . H e c a n b e r e a c h e d a t k l a a s @ w i e r e n g a . n e t

IV

E r i c V y n c k e . S i n c e 1 9 9 7 , E r i c h a s w o r k e da s aD i s t i n g u i s h e dE n g i n e e r a t C i s c oi nt h e0 e l do fs e c u r i t yb ya s s i s t i n gc u s t o m e r st od e p l o ys e c u r e n e t w o r k s . S i n c e2 0 0 5 , E r i ch a s a l s ob e e na c t i v ei nt h eI P v 6a r e a , h ei s n o t a b l yt h ec o c h a i r o f t h eB e l g i a nI P v 6C o u n c i l a n dh a s aw e l l k n o w n s i t e f o r m o n i t o r i n g I P v 6d e p l o y m e n t s : h t t p : / / w w w . v y n c k e . o r g / i p v 6 s t a t u s / H e i s a l s oA s s o c i a t eP r o f e s s o r a t t h e U n i v e r s i t yo f L i g ei nB e l g i u m . H e p a r t i c i p a t e s i ns e v e r a l I E T Fw o r k i n g g r o u p s r e l a t e dt os e c u r i t y o r t oI P v 6 . E r i c c a nb e r e a c h e d a t e r i c @ v y n c k e . o r g B r u c eB a i k i e . B r u c ei s am e m b e ro f t h eB r o a d b a n df o rG o o dt e a ma t I n v e n e oa sS e n i o rD i r e c t o rB r o a d b a n dI n i t i a t i v e s . H ei sl e v e r a g i n gh i s e x t e n s i v e e x p e r i e n c e i nt h e e n e r g y a n dt e l e c o mi n d u s t r i e s , a n d1 6y e a r s a t S u nMi c r o s y s t e m s a s t e l e c o mi n d u s t r ye x p e r t t oa d v i s e o ni m p l e m e n t i n g s o l a rp o w e r e dI C T 4 Dp r o j e c t s . H i sa r e a so fe x p e r t i s ei n c l u d e : w i r e l e s s n e t w o r k i n g ,e c o d a t ac e n t e r s ,D Ct e l e c o m p o w e rs y s t e m s ,a n ds o l a r p o w e r . B r u c eh a s p u b l i s h e dn u m e r o u s w h i t e p a p e r s a n da r t i c l e s o ng r e e n d a t ac e n t e ro p e r a t i o n sa n ds o l a rp o w e ri nI C T 4 D .H i se d u c a t i o n a l b a c k g r o u n di n c l u d e saB . S . i nMe c h a n i c a l E n g i n e e r i n gf r o m Mi c h i g a n T e c h n o l o g i c a l U n i v e r s i t ya n da d v a n c e ds t u d i e s i nI n t e r n a t i o n a l B u s i n e s s f r o mt h e U n i v e r s i t yo f Wi s c o n s i n . B r u c ei s a l s oag u e s t l e c t u r e r o ns o l a r p o w e r e dI C T 4 Da t t h e A b d u s S a l a mI n t e r n a t i o n a l C e n t r e f o r $e o r e t i c a l P h y s i c s i nT r i e s t e , I t a l y . D u r i n gp a s t t w oy e a r s , B r u c e h a s b e e nm e n t o r i n g e n g i n e e r i n gs t u d e n t s f r o mI l l i n o i s I n s t i t u t eo f T e c h n o l o g y , U n i v e r s i t yo f C o l o r a d o B o u l d e r ,S a nF r a n c i s c oS t a t eU n i v e r s i t y ,a n dS a nJ o s eS t a t e U n i v e r s i t yi nI C T 4 Dd e s i g na n dp r o j e c t si n Ha i t i ,We s tA f r i c a ,a n d Mi c r o n e s i a . B r u c e c a nb e r e a c h e da t b r u c e @ g r e e n w i 0 . o r g L a u r a H o s m a n . L a u r a i s A s s i s t a n t P r o f e s s o r o f P o l i t i c a l S c i e n c e a t I l l i n o i s I n s t i t u t e o f T e c h n o l o g y . P r i o r t oI I T , P r o f e s s o r H o s m a nh e l dp o s t d o c t o r a l r e s e a r c hf e l l o wp o s i t i o n s a t t h e U n i v e r s i t yo f C a l i f o r n i a , B e r k e l e y a n dt h e U n i v e r s i t yo f S o u t h e r nC a l i f o r n i a( U S C ) . S h e g r a d u a t e dw i t haP h Di n P o l i t i c a lE c o n o m ya n dP u b l i cP o l i c yf r o mU S C .H e rc u r r e n tr e s e a r c h f o c u s e s o nt h e r o l e o f i n f o r m a t i o na n d c o m m u n i c a t i o n s t e c h n o l o g y( I C T ) i nd e v e l o p i n gc o u n t r i e s , p a r t i c u l a r l yi nt e r m s o f i t sp o t e n t i a l e 1 e c t s o n s o c i o c u l t u r a l f a c t o r s , h u m a n d e v e l o p m e n t , a n de c o n o m i c g r o w t h . H e rw o r kf o c u s e so nt w om a i na r e a s :P u b l i c P r i v a t eP a r t n e r s h i p sa n d I C T i n e d u c a t i o n , b o t hw i t h a f o c u s o n t h e d e v e l o p i n g w o r l d . H e r b l o g , g i v i n g i n s i g h t s o n h e r 0 e l d w o r ke x p e r i e n c e s , i s a t h t t p : / / i c t 4 d v i e w s f r o mt h e 0 e l d . w o r d p r e s s . c o m

Mi c h a e l G i n g u l d .F o u n d e r ,D i r e c t o r-S t r a t e g ya n dO p e r a t i o n s ,R u r a l B r o a d B a n d P v t .L t d . C o F o u n d e r ,C E O ,A i r J a l d iR e s e a r c h a n d I n n o v a t i o n . Mi c h a e l w a s b o r na n dr a i s e di nK i b b u t zK i s s u 0 mi nI s r a e l . H e h a s m o r e t h a n2 0 y e a r s o f e x p e r i e n c e w o r k i n g i nI C T , c o m m u n i t y a n d r u r a l d e v e l o p m e n tp r o j e c t si nI n d i a , I n d o n e s i a , C a m b o d i a , N e p a l , a n d I s r a e l . Mi c h a e lw o r k e di nt h en o n p r o 0 ta n df o r -p r o 0 ts e c t o r sw i t hs t a r t u p g r a s s r o o t so r g a n i z a t i o n s ,a d v o c a c yg r o u p s ,l a r g ei n t e r n a t i o n a lN G O sa n d c o m m e r c i a l e n t e r p r i s e s w o r k i n g i n d e v e l o p i n g c o u n t r i e s . Mi c h a e lw o r k e da n dl i v e di nD h a r a m s a l ab e t w e e n1 9 9 8a n d2 0 0 2a n d r e t u r n e dt oI n d i ai nt h eb e g i n n i n go f2 0 0 7t oj o i n ar u r a lc o n n e c t i v i t y i n i t i a t i v et h a te v e n t u a l l yl e dt ot h ec r e a t i o no fA i r J a l d iR e s e a r c ha n d I n n o v a t i o n ,an o n p r o 0 to r g a n i z a t i o nd e d i c a t e dt oR &D a n dc a p a c i t y b u i l d i n gw o r ki nt h e 0 e l do f Wi r e l e s s n e t w o r k s i n2 0 0 7 , a n do f R B B , a f o r p r o 0 t w o r k i n go nt h e d e s i g n , d e p l o y m e n t a n dm a n a g e m e n t o f r u r a l b r o a db a n dn e t w o r k s i nr u r a l a r e a s , i n2 0 0 9 . Mi c h a e l h o l d s a B . S c . i nA g . E c o n o m i c sf r o mt h eH e b r e wU n i v e r s i t y . ,J e r u s a l e m , I s r a e l ,a n MA i n D e v e l o p m e n t S t u d i e s f r o mt h e I n s t i t u t e o f S o c i a l S t u d i e s , t h e Ha g u e , t h e N e t h e r l a n d s , a n da n MA i nP u b l i cA d m i n i s t r a t i o nf r o mt h eK e n n e d y S c h o o l o f G o v e r n m e n t , Ha r v a r dU n i v e r s i t y , C a m b r i d g e , U S A . Mi c h a e l i s b a s e di nD h a r a m s a l a , H i m a c h a l P r a d e s h , I n d i a . H e c a nb e r e a c h e da t Mi c h a e l @ a i r j a l d i . n e t E m m a n u e l T o g o . E m m a n u e l i s f r o mG h a n a , a n de a r n e dh i s 0 r s t d e g r e e i n C o m p u t e r S c i e n c ea n dP h y s i c s f r o mU n i v e r s i t yo f G h a n ai n1 9 9 9 . H e c u r r e n t l y w o r k s a s t h e H e a do f t h e N e t w o r k i n gU n i t o f t h e U n i v e r s i t y o f G h a n a ' s C o m p u t i n g S y s t e m s ( U G C S ) . H ei s a l s oa f o u n d i n gm e m b e r o f t h eG h a n a i a nA c a d e m i ca n dR e s e a r c h N e t w o r k ' s( G A R N E T )t e c h n i c a lt e a m w o r k i n gt ob u i l dt h en a t i o n a l r e s e a r c ha n de d u c a t i o nn e t w o r ki nG h a n a . E m m a n u e l ' s c u r r e n t f o c u s i s d e s i g n i n ga n dd e p l o y i n ga na 1 o r d a b l e ,l a r g e s c a l ec a m p u s w i d e Wi F i n e t w o r k i nG h a n a . E m m a n u e l c a n b e r e a c h e da t e m a t o g o @ u g . e d u . g h $e O p e nT e c h n o l o g yI n s t i t u t e , ( w h op r o v i d e dac a s e s t u d y ) , s t r e n g t h e n s i n d i v i d u a l sa n dc o m m u n i t i e st h r o u g hp o l i c yr e s e a r c h , a p p l i e dl e a r n i n g , a n dt e c h n o l o g i c a l i n n o v a t i o n .

VI

Support $ ee d i t o r i a l t e a mw o u l de s p e c i a l l yl i k e t or e c o g n i s et h es u p p o r t o f o u r t e c h n i c a l i l l u s t r a t o r , P a o l oA t z o r i , w h oh a so v e rs e v e r a l m o n t h s w o r k e d t i r e l e s s l y t oe n s u r e t h e b o o kh a s s o m e w o n d e r f u l , a s w e l l a s a c c u r a t e , e a s y t or e a di l l u s t r a t i o n s . H e h a s a l s oe n s u r e dt h a t w e ' v e b e e na b l e t op u b l i s h s u c c e s s f u l l y s e v e r a l v e r s i o n s o f t h e b o o k i nh i g ha n dl o wr e s o l u t i o nf o r m a t . P a o l oA t z o r i . P a o l os t u d i e dA r c h i t e c t u r e i nV e n i c e a n dR o m e a n dMe d i a A r t si nC o l o g n e .A f t e rw o r k i n ga sa na r c h i t e c ti nV i e n n a ,P a o l o c o l l a b o r a t e dw i t ht h eC o l o g n eA c a d e m yo fMe d i aA r t s( K HM) ;A t N A B A ,Mi l a nh ew a sn a m e dt h eD i r e c t o ro ft h e Ma s t e rD i g i t a l E n v i r o n m e n t D e s i g na n dA d v i s o r o f t h eP h Dp r o g r a mo f t h eP l a n e t a r y C o l l e g i u m , MN o d e . H e h a s c r e a t e dm a n y t h e a t r i c a l a n da r t i s t i c p r o j e c t s , i n t r o d u c i n g n e wr e p r e s e n t a t i o n s o f s p a c e c h a r a c t e r i s e db y t h e d y n a m i c s o f p e r v a s i v e n e s s a n di n t e r a c t i o n . P a o l oh a sa l s oc u r a t e de x h i b i t i o n sd e d i c a t e dt od i g i t a la r t s ,d i r e c t e d e d u c a t i o n a l p r o g r a m s , a n dp u b l i s h e da r t i c l e s a n de s s a y s o n d i g i t a l c u l t u r e . H e h a s l i v e da n dw o r k e di nV e n i c e , R o m e , N e wY o r k , V i e n n a , C o l o g n e , B r u s s e l s , T e l A v i v . S i n c e2 0 0 5h eh a s l i v e dw i t hh i s p a r t n e r N i c o l ea n d t h e i r c h i l d r e nA l m a a n dZ e n oi nT r i e s t e , I t a l y . I n2 0 1 1h ef o u n d e dw i t h N i c o l e L e g h i s s a t h e A g e n c y " H y p h a e . h t t p : / / h y p h a e . o r g h t t p : / / v i m e o . c o m / g r o u p s / x t e n d e d l a b / v i d e o s h t t p : / / w w w . x t e n d e d l a b . c o m / h t t p : / / w w w . k h m . d e / ~ P a o l o Authors and editors of earlier versions of the book R o bF l i c k e n g e r . R o bh a s w r i t t e na n de d i t e ds e v e r a l b o o k s a b o u t w i r e l e s s n e t w o r k i n g a n dL i n u x , i n c l u d i n gWi r e l e s s Ha c k s ( O R e i l l y ) a n dH o wT o A c c e l e r a t e Y o u r I n t e r n e t ( h t t p : / / b w m o . n e t / ) . H e i s p r o u dt ob eah a c k e r , a m a t e u r m a ds c i e n t i s t , a n dp r o p o n e n t o f f r e e n e t w o r k s e v e r y w h e r e . L a u r aM. D r e w e t t i s aC o F o u n d e r o f A d a p t e dC o n s u l t i n gI n c . , as o c i a l e n t e r p r i s et h a t s p e c i a l i s e s i na d a p t i n gt e c h n o l o g ya n db u s i n e s s s o l u t i o n s f o r t h e d e v e l o p i n gw o r l d . S i n c e L a u r a 0 r s t l i v e di nMa l i i nt h e 1 9 9 0 s a n d w r o t eh e rt h e s i so ng i r l s e d u c a t i o np r o g r a m s , s h eh a ss t r i v e dt o0 n d s u s t a i n a b l es o l u t i o n sf o rd e v e l o p m e n t . L a u r ah o l d saB a c h e l o r s o fA r t s

VII

w i t hD i s t i n c t i o ni nF o r e i g nA 1 a i r sa n dF r e n c hf r o mt h eU n i v e r s i t yo f V i r g i n i aa n d aMa s t e r sC e r t i 0 c a t ei nP r o j e c tMa n a g e m e n tf r o m t h e G e o r g e Wa s h i n g t o nU n i v e r s i t y S c h o o l o f B u s i n e s s . A l b e r t oE s c u d e r o P a s c u a l a n dL o u i s eB e r t h i l s o na r et h ef o u n d e r s o f I T + 4 6 ,a S w e d i s hc o n s u l t a n c yc o m p a n yw i t hf o c u so ni n f o r m a t i o n t e c h n o l o g yi nd e v e l o p i n gr e g i o n s .Mo r ei n f o r m a t i o nc a nb ef o u n da t h t t p : / / w w w . i t 4 6 . s e / I a nH o w a r d . A f t e r W y i n g a r o u n dt h e w o r l df o r s e v e ny e a r s a s a p a r a t r o o p e r i nt h eC a n a d i a nm i l i t a r y , I a nH o w a r dd e c i d e dt ot r a d eh i s g u nf o ra c o m p u t e r .A f t e r0 n i s h i n gad e g r e ei ne n v i r o n m e n t a ls c i e n c e sa tt h e U n i v e r s i t yo f Wa t e r l o oh ew r o t ei nap r o p o s a l , " Wi r e l e s s t e c h n o l o g yh a s t h eo p p o r t u n i t yt ob r i d g et h ed i g i t a l d i v i d e . P o o rn a t i o n s , w h od on o t h a v e t h e i n f r a s t r u c t u r e f o r i n t e r c o n n e c t i v i t y a s w e d o , w i l l n o wb e a b l e t o c r e a t e a w i r e l e s s i n f r a s t r u c t u r e . " A s a r e w a r d , G e e k c o r p s s e n t h i mt oMa l i a s t h e G e e k c o r p s Ma l i P r o g r a m Ma n a g e r , w h e r e h e l e da t e a me q u i p p i n g r a d i os t a t i o n s w i t hw i r e l e s s i n t e r c o n n e c t i o n s a n dd e s i g n e dc o n t e n t s h a r i n g s y s t e m s . K y l e J o h n s t o n , h t t p : / / w w w . s c h o o l n e t . n a / T o m a s K r a gs p e n d s h i s d a y s w o r k i n gw i t hw i r e . l e s s . d k , ar e g i s t e r e dn o n p r o 0 t ,b a s e di nC o p e n h a g e n , w h i c hh ef o u n d e dw i t hh i sf r i e n da n d c o l l e a g u eS e b a s t i a nB t t r i c hi ne a r l y2 0 0 2 .w i r e . l e s s . d ks p e c i a l i s e si n c o m m u n i t y w i r e l e s s n e t w o r k i n g s o l u t i o n s , a n dh a s a s p e c i a l f o c u s o nl o w c o s t w i r e l e s s n e t w o r k s f o r t h e d e v e l o p i n g w o r l d . T o m a s i s a l s o a na s s o c i a t e o ft h eT a c t i c a lT e c h n o l o g yC o l l e c t i v eh t t p : / / w w w . t a c t i c a l t e c h . o r g ,a n A m s t e r d a m b a s e dn o n p r o 0 t t os t r e n g t h e ns o c i a l t e c h n o l o g ym o v e m e n t s a n dn e t w o r k s i nd e v e l o p i n ga n dt r a n s i t i o nc o u n t r i e s , a s w e l l a s p r o m o t e c i v i l s o c i e t y s e 1 e c t i v e , c o n s c i o u s a n dc r e a t i v e u s e o f n e wt e c h n o l o g i e s . C u r r e n t l ym o s to fh i se n e r g yg o e si n t ot h e Wi r e l e s sR o a d s h o w ( h t t p : / / w w w . t h e w i r e l e s s r o a d s h o w . o r g ) , ap r o j e c t t h a t s u p p o r t s c i v i l s o c i e t y p a r t n e r si nt h ed e v e l o p i n gw o r l di np l a n n i n g , b u i l d i n ga n ds u s t a i n i n g c o n n e c t i v i t y s o l u t i o n s b a s e do nl i c e n s e e x e m p t s p e c t r u m , o p e nt e c h n o l o g y a n do p e nk n o w l e d g e .

VIII

G i n aK u p f e r m a n ni s g r a d u a t ee n g i n e e r i ne n e r g ym a n a g e m e n t a n dh o l d s ad e g r e ei ne n g i n e e r i n ga n db u s i n e s s . B e s i d e s h e r p r o f e s s i o na s 0 n a n c i a l c o n t r o l l e r s h eh a s w o r k e df o r v a r i o u ss e l f o r g a n i s e dc o m m u n i t yp r o j e c t s a n dn o n p r o 0 t o r g a n i s a t i o n s . S i n c e 2 0 0 5s h ei s m e m b e r o f t h e e x e c u t i v e b o a r do f t h e d e v e l o p m e n t a s s o c i a t i o nf o r f r e e n e t w o r k s , t h e l e g a l e n t i t y o f f r e i f u n k . n e t A d a m Me s s e r . O r i g i n a l l yt r a i n e da sa ni n s e c ts c i e n t i s t ,A d a m Me s s e r m e t a m o r p h o s e di n t oat e l e c o m m u n i c a t i o n sp r o f e s s i o n a la f t e rac h a n c e c o n v e r s a t i o ni n1 9 9 5 l e dh i mt os t a r t o n e o f A f r i c a ' s 0 r s t I S P s . P i o n e e r i n g w i r e l e s s d a t as e r v i c e s i nT a n z a n i a , Me s s e r w o r k e df o r 1 1y e a r s i ne a s t e r n a n ds o u t h e r nA f r i c ai nv o i c ea n dd a t ac o m m u n i c a t i o n s f o r s t a r t u p s a n d m u l t i n a t i o n a l c e l l u l a r c a r r i e r s . H e n o wr e s i d e s i nA m m a n , J o r d a n . J u e r g e nN e u m a n n ( h t t p : / / w w w . e r g o m e d i a . d e )s t a r t e dw o r k i n gw i t h i n f o r m a t i o nt e c h n o l o g y i n1 9 8 4a n ds i n c e t h e nh a s b e e nl o o k i n g f o r w a y s t od e p l o yI C Ti nu s e f u lw a y sf o ro r g a n i z a t i o n sa n ds o c i e t y .A sa c o n s u l t a n tf o rI C Ts t r a t e g ya n di m p l e m e n t a t i o n , h ew o r k e df o rm a j o r G e r m a na n di n t e r n a t i o n a l c o m p a n i e sa n dm a n yn o n p r o 0 tp r o j e c t s . I n 2 0 0 2h ec o f o u n d e dw w w . f r e i f u n k . n e t ,f o rs p r e a d i n gk n o w l e d g ea n d s o c i a ln e t w o r k i n ga b o u tf r e ea n do p e nn e t w o r k s .F r e i f u n ki sg l o b a l l y r e g a r d e d a s o n e o f t h e m o s t s u c c e s s f u l c o m m u n i t y p r o j e c t s i nt h i s 0 e l d . F r d r i cR e n e ti sa c o f o u n d e ro fT e c h n i c a lS o l u t i o n sa tA d a p t e d C o n s u l t i n g , I n c . F r d r i c h a s b e e ni n v o l v e d i nI C Tf o r m o r e t h a n1 0 y e a r s a n dh a s w o r k e dw i t hc o m p u t e r s s i n c e h i s c h i l d h o o d . H eb e g a nh i s I C T c a r e e r i nt h e e a r l y 1 9 9 0 s w i t ha b u l l e t i nb o a r ds y s t e m( B B S ) o na na n a l o g m o d e m a n dh a ss i n c ec o n t i n u e dt oc r e a t es y s t e m st h a te n h a n c e c o m m u n i c a t i o n .Mo s tr e c e n t l y ,F r d r i cs p e n tm o r et h a n ay e a ra t I E S C / G e e k c o r p s Ma l i a s a c o n s u l t a n t . I nt h i s c a p a c i t y , h e d e s i g n e dm a n y i n n o v a t i v e s o l u t i o n s f o r F Mr a d i o b r o a d c a s t i n g , s c h o o l c o m p u t e r l a b s a n d l i g h t i n g s y s t e m s f o r r u r a l c o m m u n i t i e s .

IX

Contents
ABOUT THIS BOOK
Core Contributors Support Authors and editors of earlier versions of the book

V
VI XI XI

INTRODUCTION
The country of Aipotu Purpose of this book Fitting wireless into your existing network How this book is organized

XXI
XXI XXII XXIV XXIV

PHYSICS 1. RADIO PHYSICS


What is a wave? Electromagnetic forces Symbols of the international system of units Phase Polarization The electromagnetic spectrum Bandwidth Frequencies and channels Behaviour of radio waves The Huygens Principle Absorption Re2ection Diffraction Interference Line of sight Understanding the Fresnel zone Power Physics in the real world

26 1
1 3 4 6 7 8 10 10 11 12 13 14 15 17 19 20 23 25

2. TELECOMMUNICATIONS BASICS
Modulation Multiplexing and duplexing Conclusions

26
32 33 35

3. LICENSING AND REGULATION


Examples of relevant types of regulation

36
36

4. RADIO SPECTRUM
What is the electromagnetic spectrum? How is the spectrum adjudicated? Political issues Explosion in spectrum demand Spectrum scarcity or spectrum hoarding? IEE 802.22 Developing countries advantage

40
40 44 46 46 49 50 51

5. ANTENNAS / TRANSMISSION LINES


Cables Waveguides Connectors and adapters Antenna term glossary Types of antennas Re2ector theory Ampli;ers Practical antenna designs Antenna measurements

54
56 58 60 63 72 80 81 82 82

NETWORKING 6. NETWORKING
Introduction Cooperative communications The OSI model The TCP/IP model The Internet Protocols Internet Protocol Suite Physical hardware Putting it all together Designing the physical network

84 85
86 89 89 91 93 112 114 120 121

7. WIFI FAMILY
IEEE 802: What is it, and why should I care? The 802.11 standard Deployment planning for 802.11 wireless networks

126
126 128 129

XI The 802.22 Standard Summary 131 133

8. MESH NETWORKING
Introduction Bandwidth impact of multi-hop relaying routes Summary Routing protocols for mesh networks Devices and ;rmware for embedded devices Frequently observed problems

134
134 137 137 138 140 143

9. SECURITY FOR WIRELESS NETWORKS


Introduction Protecting the wireless network Physical security for wireless networks Authentication and access control Summary 802.1X Inter-organisational roaming End to end encryption Tor & Anonymizers

146
146 148 150 152 157 161 163 165 173

PLANNING AND DEPLOYMENT 10. DEPLOYMENT PLANNING


Estimating capacity Calculating the link budget Link planning software Avoiding noise Repeaters Deployment planning for IPv6

176 177
177 179 189 194 197 199

11. HARDWARE SELECTION AND CONFIGURATION


Wired wireless Choosing wireless components Commercial vs. DIY solutions Professional lightning protection Access Point Con;guration Con;gure the client Hints - working outdoors Troubleshooting

201
201 203 205 209 212 221 222 222

XII

12. INDOOR INSTALLATION


Introduction Preparations Bandwidth requirements Frequencies and data rates Access Points choice and placement SSID and Network Architecture Post Installation

223
223 223 224 224 225 227 227

13. OUTDOOR INSTALL


What is needed for a long distance link? Antenna alignment

228
230 232

14. OFF-GRID POWER


Solar Power Photovoltaic system components The solar panel The battery Temperature effects The charge regulator Converters Equipment or load Orientation of the panels How to size your photovoltaic system Data to collect Electrical characteristics of system components Procedure of calculation Cables Cost of a solar installation

238
238 239 244 250 257 258 260 262 266 267 269 270 272 276 277

MAINTENANCE, MONITORING AND SUSTAINABILITY 279 15. MAINTENANCE AND TROUBLESHOOTING


Introduction Building your team Proper troubleshooting techniques Common network problems Trouble tracking and reporting

280
280 280 283 286 293

XIII

16. NETWORK MONITORING


Introduction Network monitoring example Detecting network outages Monitoring your network Types of monitoring tools Network detection Spot check tools Protocol analysers Trending tools Throughput testing Realtime tools and intrusion detection Other useful tools What is normal? Establishing a baseline Monitoring RAM and CPU usage Summary

295
295 296 298 300 307 308 308 313 315 323 326 329 331 331 337 339

17. ECONOMIC SUSTAINABILITY


Introduction Create a mission statement Evaluate the demand for potential offerings Establish appropriate incentives Research the regulatory environment for wireless Analyse the competition Determine initial and recurring costs and pricing Categories of Costs Secure the ;nancing Evaluate the strengths and weaknesses of the internal situation Putting it all together Conclusion

340
340 342 343 345 346 347 347 349 351 354 355 358

GLOSSARY Glossary APPENDICES APPENDIX A: ANTENNA CONSTRUCTION


Guidelines for building some simple types of antennas

359 360 392 393


393

XIV Collinear omni Cantenna Cantenna as dish feed NEC2 393 403 410 411

APPENDIX B: CHANNEL ALLOCATIONS APPENDIX C: PATH LOSS APPENDIX D: CABLE SIZES APPENDIX E: SOLAR DIMENSIONING
Finding the Worst Month Final Calculations

412 414 415 416


420 422

APPENDIX F: RESOURCES CASE STUDIES Case Studies - Introduction


Equipment enclosures Antenna masts Involve the local community Now read on

424 432 433


433 434 434 435

Case Study: Long Distance 802.11 in Venezuela


Introduction Background Action Plan Pico del Aguila Site Survey Antennas El Bal Site Survey Mrida, Venezuela, 17 April 2006. Can we do better? Acknowledgments

437
437 437 438 439 441 444 448 448 450

Case Study: Pisces Project


Introduction Wi; setup and installation Connecting to the UG campus wireless network

452
457 458 459

Case Study: University Of Ghana campus wireless network 457

XV Pictures of our project and installation Challenges we faced Next steps 460 464 465

Case Study: Airjaldi's Garhwal Network, India


Introduction Airjaldis Garhwal Network: The Airjaldi Garhwal Network Vital Statistics Realities, needs Summary

466
466 466 467 468 479

Case Study: Open Technology Institute


Red Hook initiative Wi; & Tidepools History of the network Social software and growth of the network Expansion after superstorm Sandy Sustainability & future goals Cost of the network Lessons learned Related articles & websites

480
480 480 485 489 494 494 494 495

XVI

INTRODUCTION
$i s b o o ka i m s t oe m p o w e r p e o p l e t ob u i l dD I Yn e t w o r k s u s i n gw i r e l e s s t e c h n o l o g i e s . I t h a s b e e nc o m p i l e db yab u n c ho f n e t w o r k i n gg e e k s t h a t h a v eb e e nb u s yd e s i g n i n g , d e p l o y i n ga n do p e r a t i n gw i r e l e s s n e t w o r k s f o r q u i t e s o m e t i m e , a l l o f t h e ma c t i v e l yp a r t i c i p a t i n gi ne x p a n d i n g t h e r e a c h o f t h e I n t e r n e t a l l o v e r t h e w o r l d . We b e l i e v e t h a t p e o p l e c a nh a v e a s i g n i 0 c a n t s t a k e i nb u i l d i n gt h e i r o w n c o m m u n i c a t i o n si n f r a s t r u c t u r ea n da l s oi n W u e n c et h ew i d e r c o m m u n i t y a r o u n dt h e mt om a k e s u r e n e t w o r k s b e c o m e a 1 o r d a b l e a n da v a i l a b l e . We h o p e t on o t o n l y c o n v i n c e y o ut h a t t h i s i s p o s s i b l e , b u t a l s o s h o wh o ww e h a v e d o n e i t , a n dt og i v e y o ut h e i n f o r m a t i o na n dt o o l s y o un e e dt os t a r t a n e t w o r k p r o j e c t i ny o u r l o c a l c o m m u n i t y . B yp r o v i d i n gp e o p l ei ny o u rl o c a l c o m m u n i t yw i t hc h e a p e ra n de a s i e r a c c e s s t oi n f o r m a t i o n , t h e y w i l l d i r e c t l y b e n e 0 t f r o mw h a t t h e I n t e r n e t h a s t oo 1 e r . $e t i m e a n de 1 o r t s a v e db y h a v i n g a c c e s s t ot h e g l o b a l n e t w o r k o f i n f o r m a t i o nt r a n s l a t e s i n t o v a l u e o na l o c a l s c a l e . L i k e w i s e , t h e n e t w o r k b e c o m e sa l lt h em o r ev a l u a b l ea sm o r ep e o p l ea r ec o n n e c t e dt oi t . C o m m u n i t i e s c o n n e c t e dt ot h eI n t e r n e t a t h i g hs p e e dh a v ea v o i c ei na g l o b a l m a r k e t p l a c e , w h e r et r a n s a c t i o n s h a p p e na r o u n dt h ew o r l da t t h e s p e e do f l i g h t . P e o p l ea l l o v e r t h ew o r l da r e0 n d i n gt h a t I n t e r n e t a c c e s s g i v e s t h e ma v o i c e t od i s c u s s t h e i r p r o b l e m s , p o l i t i c s , a n dw h a t e v e r e l s e i s i m p o r t a n t i nt h e i r l i v e s , i na w a y t h a t t h e t e l e p h o n e a n dt e l e v i s i o ns i m p l y c a n n o t c o m p e t e . Wh a t h a s u n t i l r e c e n t l ys o u n d e dl i k es c i e n c e0 c t i o ni s n o wb e c o m i n g ar e a l i t y ,a n dt h a tr e a l i t yi sb e i n gb u i l to nw i r e l e s s n e t w o r k s .

The country of Aip otu


N o wl e t s f o r a m o m e n t l o o ka t a 0 c t i o n a l c o u n t r y c a l l e d' A i p o t u ' , i nt h e d e v e l o p i n gw o r l d . A i p o t uh a s b e e nc o n n e c t e dt ot h eI n t e r n e t m e r e l yb y e x p e n s i v e V S A Tl i n k s f o r a l o n g t i m e . Ab r a n dn e wo p t i c a l s u b m a r i n e t e l e c o m m u n i c a t i o n s c o n n e c t i o nh a s 0 n a l l y a r r i v e da t t h e s h o r e o f A i p o t u . $ ec h a l l e n g ef o r A i p o t ui s n o wt or o l l o u t ac o m p l e t ec o m m u n i c a t i o n i n f r a s t r u c t u r e f o r a w h o l e c o u n t r y f r o ms c r a t c h .

XVII

$ em e t h o do fc h o i c et o d a yi sl i k e l y at h r e et i e rs t r a t e g y .F i r s ta n d f o r e m o s t A i p o t us h o u l dt r y t o r o l l o u t o p t i c a l 0 b r e l i n e s w h e r e v e r p o s s i b l e . F i b r e l i n e s o 1 e r t h e c a p a b i l i t yt ot r a n s p o r t a " s e a o f b a n d w i d t h " . $e c o s t o f o p t i c a l 0 b r ei sv e r yl o w , c o n s i d e r i n gt h ec a p a c i t y . B yu p g r a d i n gt h e o p t i c a l t r a n s c e i v e r s t h ec a p a c i t yo f ao p t i c a l 0 b r el i n ec a nb eu p g r a d e d w i t h o u tl a y i n gn e wc a b l e .I fA i p o t uc a na 1 o r dt oe s t a b l i s h a0 b r e c o n n e c t i o nt oe v e r yh o u s e h o l dt h e r ei s n or e a s o nn o t t og of o r i t . $i s w o u l dm a k eo u rt h r e et i e rm o d e lo b s o l e t ea n dw ec o u l ds t o ph e r e . H o w e v e r , t h e r e a r e p r o b a b l y a r e a s i nA i p o t ut h a t c a n n o t a 1 o r d0 b r e l i n e s . $ es e c o n dt i e r t h a t t h ep e o p l eo f A i p o t uc a nu s ei no r d e r t oc o n n e c t r e m o t e v i l l a g e s o r s m a l l c i t i e s a r e h i g hs p e e dp o i n t t o p o i n t l i n k s b e t w e e n h i g hp o i n t s . I t i s p o s s i b l et oe s t a b l i s hh i g hs p e e dl i n k s ( 4 0Mb p s ) o f 3 0 k mo r m o r e b e t w e e nt o w e r s o f 3 0 m e t r e h e i g h t o n W a t t e r r a i n . I f m o u n t a i nt o p s , h i g hb u i l d i n g so rh i l l t o p s a r ea v a i l a b l e , e v e nl o n g e r l i n k s a r e p o s s i b l e . $e n e t w o r k t e c h n o l o g y e x p e r t s o f A i p o t ud o n ' t h a v e t o w o r r yt o om u c ha b o u t t h e w i r e l e s s t e c h n o l o g yt h a t t h e y a r e m o u n t i n go n t o po f t h e i r t o w e r s t h ec o s t l i e s m o s t l yi nb u i l d i n gt h e t o w e r s , p r o p e r l i g h t n i n g p r o t e c t i o n , p o w e r s u p p l i e s , p o w e r b a c k u pa n dt h e f t p r o t e c t i o n , r a t h e r t h a ni nt h e a c t u a l w i r e l e s s e q u i p m e n t a n d a n t e n n a s . L i k e t h e t e c h n o l o g yo f o p t i c a l t r a n s c e i v e r s , w i r e l e s s t r a n s c e i v e r s a l s ok e e p a d v a n c i n g , b u t aw i r e l e s s l i n kw i l l a l w a y s b eo r d e r s o f m a g n i t u d es l o w e r t h a nt h e c a p a c i t y o f o p t i c a l 0 b r e . $e t h i r dc h a l l e n g e f o r A i p o t ui s t os o l v e t h e p r o b l e mo f t h e l a s t m i l e ( s ) : D i s t r i b u t i n ga c c e s st oa l l t h ei n d i v i d u a l h o u s e h o l d s , o N c e s , p r o d u c t i o n f a c i l i t i e s a n ds oo n . N o t t o ol o n ga g ot h em e t h o do f c h o i c ew a s t or u n c o p p e rw i r e sb u tn o wt h e r ei sab e t t e rc h o i c e . $i st h i r dt i e ro fo u r n e t w o r k m o d e l i s c l e a r l y t h e d o m a i no f w i r e l e s s n e t w o r k i n g t e c h n o l o g y .

Purpose of this book


$e o v e r a l lg o a lo ft h i sb o o ki st oh e l py o ub u i l da 1 o r d a b l e c o m m u n i c a t i o nt e c h n o l o g yi ny o u r l o c a l c o m m u n i t yb y m a k i n gb e s t u s e o f w h a t e v e r r e s o u r c e s a r e a v a i l a b l e . U s i n gi n e x p e n s i v e o f f t h e s h e l f e q u i p m e n t , y o uc a nb u i l dh i g hs p e e dd a t a n e t w o r k s t h a t c o n n e c t r e m o t e a r e a s t o g e t h e r , p r o v i d e b r o a d b a n dn e t w o r k a c c e s s i na r e a s w h e r ee v e nd i a l u pd o e s n o t e x i s t , a n du l t i m a t e l yc o n n e c t y o u a n dy o u r n e i g h b o u r s t o t h e g l o b a l I n t e r n e t .

XVIII

B y u s i n g l o c a l s o u r c e s f o r m a t e r i a l s a n df a b r i c a t i n g p a r t s y o u r s e l f , y o uc a n b u i l dr e l i a b l e n e t w o r kl i n k s w i t hv e r yl i t t l e b u d g e t . A n db y w o r k i n gw i t h y o u r l o c a l c o m m u n i t y , y o uc a nb u i l da t e l e c o m m u n i c a t i o n s i n f r a s t r u c t u r e t h a t b e n e 0 t s e v e r y o n e w h op a r t i c i p a t e s i ni t . $i s b o o ki s n o t ag u i d e t o c o n 0 g u r i n gw i r e l e s s f o r y o u r l a p t o po r c h o o s i n gc o n s u m e r g r a d e g e a r f o r y o u rh o m en e t w o r k .$ ee m p h a s i si so nb u i l d i n gi n f r a s t r u c t u r el i n k s i n t e n d e dt ob eu s e da s t h eb a c k b o n ef o r w i d ea r e aw i r e l e s s n e t w o r k s a s w e l l a s s o l v i n g t h e l a s t m i l e p r o b l e m . Wi t ht h o s e g o a l s i nm i n d , i n f o r m a t i o ni s p r e s e n t e df r o mm a n yp o i n t s o f v i e w ,i n c l u d i n gt e c h n i c a l ,s o c i a l ,a n d0 n a n c i a lf a c t o r s .$ ee x t e n s i v e c o l l e c t i o no fc a s es t u d i e si n c l u d e dp r e s e n tv a r i o u sg r o u p s a t t e m p t sa t b u i l d i n gt h e s e n e t w o r k s , t h e r e s o u r c e s t h a t w e r e c o m m i t t e dt ot h e m , a n d t h e u l t i m a t e r e s u l t s o f t h e s e a t t e m p t s . I t i s a l s o i m p o r t a n t t on o t e t h a t a l l o f t h e r e s o u r c e s , t e c h n i q u e s a n dd e s i g n m e t h o d o l o g i e s d e s c r i b e di nt h i s b o o ka r ev a l i di na n yp a r t o f t h e w o r l d . $e r e a r e m a n y r u r a l p a r t s a l l o v e r t h e g l o b e t h a t r e m a i nu n c o n n e c t e dt o t h e I n t e r n e t f o r r e a s o n s o f c o s t , g e o g r a p h y , p o l i t i c s a n ds o o n . D e p l o y i n gw i r e l e s sn e t w o r k i n gc a no f t e nl e a dt ot h e s ep r o b l e m sb e i n g s o l v e dt h e r e b ye x t e n d i n gc o n n e c t i v i t yt ot h o s ew h oa sy e th a v en o t a c h i e v e di t .$ e r ea r em a n yc o m m u n i t yb a s e dn e t w o r k i n gp r o j e c t s e m e r g i n g e v e r y w h e r e . S o w h e t h e r y o ul i v e i nt h e U n i t e dK i n g d o m , K e n y a , C h i l e o r I n d i a o r a n y w h e r e e l s e , t h i s b o o k c a nb e a u s e f u l p r a c t i c a l g u i d e . S i n c et h e0 r s ts p a r kg a pe x p e r i m e n t sa tt h et u r no ft h eX I Xc e n t u r y , w i r e l e s s h a s b e e nar a p i d l ye v o l v i n ga r e ao f c o m m u n i c a t i o n s t e c h n o l o g y . Wh i l ew e p r o v i d e s p e c i 0 c e x a m p l e s o f h o wt ob u i l dw o r k i n gh i g hs p e e d d a t al i n k s ,t h et e c h n i q u e sd e s c r i b e di nt h i sb o o ka r en o t i n t e n d e dt o r e p l a c ee x i s t i n gw i r e di n f r a s t r u c t u r e( s u c ha st e l e p h o n es y s t e m s o r0 b r e o p t i c b a c k b o n e ) . R a t h e r , t h e s et e c h n i q u e s a r ei n t e n d e dt oa u g m e n te x i s t i n gs y s t e m s , a n d p r o v i d e c o n n e c t i v i t yi na r e a s w h e r er u n n i n g0 b r eo r o t h e r p h y s i c a l c a b l e w o u l d b e i m p r a c t i c a l . Weh o p ey o u0 n dt h i sb o o ku s e f u lf o rs o l v i n gy o u rc o m m u n i c a t i o n c h a l l e n g e s .

XIX

Fitting wireless into your existing network


I f y o ua r e an e t w o r ka d m i n i s t r a t o r , y o um a yw o n d e r h o ww i r e l e s s m i g h t 0 t i n t oy o u r e x i s t i n gn e t w o r ki n f r a s t r u c t u r e . Wi r e l e s s c a ns e r v ei nm a n y c a p a c i t i e s ,f r o m as i m p l ee x t e n s i o n( l i k eas e v e r a lk i l o m e t r eE t h e r n e t c a b l e ) t oa d i s t r i b u t i o np o i n t ( l i k e a l a r g e h u b ) . H e r e j u s t a f e we x a m p l e s o f h o wy o u r n e t w o r k c a nb e n e 0 t f r o mw i r e l e s s t e c h n o l o g y .

F i g u r e I 1 : S o m e w i r e l e s s n e t w o r k i n g e x a m p l e s .

How this book is organized


$i s b o o k h a s 4 m a i n s e c t i o n s c a l l e dP h y s i c s N e t w o r k i n g P l a n n i n g a n dD e p l o y m e n t Ma i n t e n a n c e , Mo n i t o r i n ga n dS u s t a i n a b i l i t y A tt h ee n dy o uw i l l 0 n daG l o s s a r ya sw e l l a sA p p e n d i c e sa n dC a s e S t u d i e s .

XX

Wi t h i nt h e 4m a i ns e c t i o n s t h e r e a r e c h a p t e r s w r i t t e nb y k e ye x p e r t s w i t h t h e o r e t i c a l a n dp r a c t i c a l h a n d s o n e x p e r i e n c e o f t h e t o p i c s . $e r e a r e a b r o a dr a n g e o f t o p i c s i nt h e c h a p t e r s w h i c hh a v e b e e ns e l e c t e d a s b e i n g k e yt oe n a b l i n gy o ut os t a r t a n dg r o wa r e a l w i r e l e s s d e p l o y m e n t i ny o u r o w nc o m m u n i t y . A n o t h e r r e s o u r c e y o u m a y 0 n d u s e f u l i s h e r e h t t p : / / w t k i t . o r g / g r o u p s / w t k i t / w i k i / 8 2 0 c b / d o w n l o a d _ p a g e . h t m l I t i s t h es e t o f p r e s e n t a t i o nm a t e r i a l s u s e db yt h e s e s a m e k e ye x p e r t s t o d e l i v e r w i r e l e s s n e t w o r k i n g t r a i n i n g c l a s s e s a r o u n dt h e w o r l d . I na d d i t i o na l l o f t h ek e ye x p e r t s w h oh a v ew r i t t e nt h i s b o o kr e g u l a r l y c h e c ko u r F a c e b o o kp a g e . S oa s y o up l a ny o u r d e p l o y m e n t p l e a s e d oa s k q u e s t i o n s o n o u r p a g e w e d o a n s w e r q u i c k l y . h t t p s : / / w w w . f a c e b o o k . c o m / g r o u p s / w i r e l e s s u

PHYSICS

1. RADIO PHYSICS

1. RADIO PHYSICS
Wi r e l e s sc o m m u n i c a t i o n sm a k eu s eo fe l e c t r o m a g n e t i cw a v e st os e n d s i g n a l sa c r o s sl o n gd i s t a n c e s .F r o m au s e r sp e r s p e c t i v e ,w i r e l e s s c o n n e c t i o n sa r en o tp a r t i c u l a r l yd i 1 e r e n tf r o m a n yo t h e rn e t w o r k c o n n e c t i o n : y o u r w e bb r o w s e r , e m a i l , a n do t h e r a p p l i c a t i o n s a l l w o r ka s y o uw o u l de x p e c t . B u tr a d i ow a v e sh a v es o m eu n e x p e c t e dp r o p e r t i e s c o m p a r e dt oE t h e r n e t c a b l e . F o r e x a m p l e , i t s v e r ye a s yt os e et h ep a t h t h a ta nE t h e r n e tc a b l et a k e s :l o c a t et h ep l u gs t i c k i n go u to fy o u r c o m p u t e r , f o l l o wt h e c a b l e t ot h e o t h e r e n d , a n dy o u v e f o u n di t ! Y o uc a n a l s ob e c o n 0 d e n t t h a t r u n n i n g m a n y E t h e r n e t c a b l e s a l o n g s i d e e a c ho t h e r w o n tc a u s ep r o b l e m s ,s i n c et h ec a b l e se 1 e c t i v e l yk e e pt h e i rs i g n a l s c o n t a i n e dw i t h i nt h e w i r e i t s e l f . B u th o wd oy o uk n o ww h e r et h ew a v e s e m a n a t i n gf r o my o u rw i r e l e s s d e v i c e a r eg o i n g ? Wh a t h a p p e n s w h e nt h e s e w a v e s b o u n c eo 1o b j e c t s i n t h e r o o mo r o t h e r b u i l d i n g s i na no u t d o o r l i n k ? H o wc a ns e v e r a l w i r e l e s s c a r d s b e u s e di nt h e s a m e a r e a w i t h o u t i n t e r f e r i n g w i t he a c h o t h e r ? I no r d e rt ob u i l ds t a b l eh i g h s p e e dw i r e l e s sl i n k s ,i ti si m p o r t a n tt o u n d e r s t a n dh o wr a d i o w a v e s b e h a v e i nt h e r e a l w o r l d .

What is a wave?
Wea r ea l l f a m i l i a rw i t hv i b r a t i o n so ro s c i l l a t i o n si nv a r i o u sf o r m s : a p e n d u l u m , a t r e e s w a y i n g i nt h e w i n d , t h e s t r i n g o f a g u i t a r t h e s e a r e a l l e x a m p l e s o f o s c i l l a t i o n s . Wh a t t h e y h a v e i nc o m m o ni s t h a t s o m e t h i n g , s o m e m e d i u mo r o b j e c t , i s s w i n g i n g i na p e r i o d i c m a n n e r , w i t ha c e r t a i nn u m b e r o f c y c l e s p e r u n i t o f t i m e . $i s k i n do f w a v e i s s o m e t i m e s c a l l e da m e c h a n i c a l w a v e , s i n c e i t i s d e 0 n e d b y t h e m o t i o no f a no b j e c t o r i t s p r o p a g a t i n g m e d i u m . Wh e ns u c ho s c i l l a t i o n s t r a v e l ( t h a t i s , w h e nt h es w i n g i n gd o e s n o t s t a y b o u n dt oo n ep l a c e )t h e nw es p e a ko f w a v e s p r o p a g a t i n gi ns p a c e . F o r e x a m p l e , as i n g e r s i n g i n gc r e a t e s p e r i o d i co s c i l l a t i o n s i nh i s o r h e r v o c a l c o r d s . $e s e o s c i l l a t i o n s p e r i o d i c a l l y c o m p r e s s a n dd e c o m p r e s s t h e a i r , a n d t h i sp e r i o d i cc h a n g eo f a i rp r e s s u r et h e nl e a v e s t h es i n g e r sm o u t ha n d t r a v e l s , a t t h e s p e e do f s o u n d . As t o n ep l u n g i n gi n t oal a k ec a u s e sad i s t u r b a n c e , w h i c ht h e nt r a v e l s a c r o s s t h e l a k e a s a w a v e .

PHYSICS

Aw a v e h a s a c e r t a i ns p e e d , f r e q u e n c y , a n dw a v e l e n g t h . $e s e a r e c o n n e c t e d b y a s i m p l e r e l a t i o n : S p e e d=F r e q u e n c y * W a v e l e n g t h $ ew a v e l e n g t h( s o m e t i m e sr e f e r r e dt oa sl a m b d a , )i st h ed i s t a n c e m e a s u r e df r o ma p o i n t o no n e w a v e t ot h e e q u i v a l e n t p a r t o f t h e n e x t ( o r , i na m o r e t e c h n i c a l w a y , t ot h e n e x t p o i n t t h a t i s i nt h e s a m e p h a s e ) , f o r e x a m p l e f r o mt h e t o po f o n e p e a kt o t h e n e x t . $e f r e q u e n c y i s t h e n u m b e r o f w h o l ew a v e s t h a t p a s s a0 x e dp o i n t i na p e r i o d o f t i m e . S p e e di s m e a s u r e di nm e t r e s / s e c o n d , f r e q u e n c y i s m e a s u r e d i nc y c l e sp e rs e c o n d( o rH e r t z ,r e p r e s e n t e db yt h es y m b o lH z ) ,a n d w a v e l e n g t hi s m e a s u r e di nm e t r e s . F o r e x a m p l e , i f a w a v e o nw a t e r t r a v e l s a t o n e m e t r e p e r s e c o n d , a n di t o s c i l l a t e s 0 v e t i m e s p e r s e c o n d , t h e ne a c h w a v e w i l l b e t w e n t y c e n t i m e t r e s l o n g : 1 m e t r e / s e c o n d=5 c y c l e s / s e c o n d * W W =1 / 5 m e t r e s W= 0 . 2 m e t r e s =2 0 c m Wa v e s a l s oh a v eap r o p e r t yc a l l e da m p l i t u d e . $i s i s t h e d i s t a n c e f r o m t h e c e n t r eo f t h e w a v e t ot h e e x t r e meo f o n eo f i t s p e a k s , a n dc a nb e t h o u g h t o f a s t h e h e i g h t o f a w a t e r w a v e . F r e q u e n c y , w a v e l e n g t h , a n d a mp l i t u d e a r e s h o w ni nF i g u r e R P1 .

F i g u r e R P1 : W a v e l e n g t h , a m p l i t u d e , a n d f r e q u e n c y . F o r t h i s w a v e , t h e f r e q u e n c y i s 2 c y c l e s p e r s e c o n d , o r 2 H z , w h i l e t h e s p e e d i s 1 m / s .

1. RADIO PHYSICS

Wa v e s i nw a t e r a r e e a s y t o v i s u a l i z e . S i m p l y d r o pa s t o n e i n t o t h e l a k e a n dy o uc a ns e e t h e w a v e s a s t h e y m o v e a c r o s s t h e w a t e r o v e r t i m e . I nt h e c a s e o f e l e c t r o m a g n e t i c w a v e s , t h e p a r t t h a t m i g h t b e h a r d e s t t o u n d e r s t a n di s : Wh a t i s i t t h a t i s o s c i l l a t i n g ? I no r d e rt ou n d e r s t a n dt h a t , y o un e e dt ou n d e r s t a n de l e c t r o m a g n e t i c f o r c e s .

Electromagnetic forces
E l e c t r o m a g n e t i cf o r c e sa r et h ef o r c e sb e t w e e ne l e c t r i c a lc h a r g e sa n d c u r r e n t s . O u r m o s t d i r e c t a c c e s s t ot h o s e i s w h e no u r h a n dt o u c h e s a d o o r h a n d l ea f t e rw a l k i n go ns y n t h e t i cc a r p e t ,o rb r u s h i n gu pa g a i n s ta n e l e c t r i c a l f e n c e . Am o r e p o w e r f u l e x a m p l e o f e l e c t r o m a g n e t i c f o r c e s i s t h e l i g h t n i n g w e s e e d u r i n g t h u n d e r s t o r m s . $e e l e c t r i c a l f o r c e i s t h e f o r c e b e t w e e ne l e c t r i c a l c h a r g e s . $e m a g n e t i c f o r c e i s t h e f o r c e b e t w e e ne l e c t r i c a l c u r r e n t s . E l e c t r o n sa r ep a r t i c l e st h a t c a r r yan e g a t i v ee l e c t r i c a l c h a r g e . $e r ea r e o t h e r c h a r g e dp a r t i c l e s t o o , b u t i t i s t h e e l e c t r o n s t h a t a r e r e s p o n s i b l e f o r m o s t o f w h a t w e n e e dt o k n o wa b o u t h o wr a d i o b e h a v e s . L e t u s l o o ka t w h a t i s h a p p e n i n gi nap i e c eo f s t r a i g h t v e r t i c a l w i r e , i n w h i c hw ep u s ht h ee l e c t r o n sf r o m o n ee n dt ot h eo t h e ra n db a c k , p e r i o d i c a l l y . A t o n e m o m e n t , t h e t o po f t h e w i r e i s n e g a t i v e l y c h a r g e da l l t h e n e g a t i v e e l e c t r o n s a r e g a t h e r e dt h e r e . $i s c r e a t e s a ne l e c t r i c 0 e l df r o m t h ep o s i t i v e l y c h a r g e d e n dt o t h e n e g a t i v e l y c h a r g e d o n e a l o n g t h e w i r e . $e n e x t m o m e n t , t h e e l e c t r o n s h a v e a l l b e e nd r i v e nt ot h e o t h e r s i d e , a n d t h ee l e c t r i c0 e l dp o i n t s t h eo t h e r w a y . A s t h i s h a p p e n s a g a i na n da g a i n , t h ee l e c t r i c0 e l dv e c t o r s ( r e p r e s e n t e db ya r r o w s f r o mp l u s t om i n u s ) a r e l e a v i n gt h e w i r e , s ot os p e a k , a n da r e r a d i a t e do u t i n t ot h e s p a c e a r o u n d t h e w i r e . Wh a t w eh a v ej u s t d e s c r i b e di s k n o w na s ad i p o l e( b e c a u s eo f t h et w o d i 1 e r e n t l yc h a r g e dp o l e s , p l u s a n dm i n u s , t h a t a r e c r e a t e di nt h e s t r a i g h t v e r t i c a l w i r e ) , o r m o r e c o m m o n l y a d i p o l e a n t e n n a . $i si st h es i m p l e s tf o r mo fa no m n i d i r e c t i o n a la n t e n n a .$em o v i n g e l e c t r i c 0 e l di s c o m m o n l yr e f e r r e dt oa s a ne l e c t r o m a g n e t i cw a v e b e c a u s e t h e r e i s a l s o a na s s o c i a t e dm a g n e t i c 0 e l d . Am o v i n g e l e c t r i c 0 e l d , s u c ha s a w a v e , a l w a y s c o m e s t o g e t h e r w i t ha m a g n e t i c 0 e l dy o uw i l l n o t 0 n do n e w i t ho u t t h e o t h e r . Wh y i s t h i s t h e c a s e ? A ne l e c t r i c 0 e l di s c a u s e db y e l e c t r i c a l l y c h a r g e do b j e c t s .

PHYSICS

Am o v i n g e l e c t r i c 0 e l di s p r o d u c e db y m o v i n g e l e c t r i c a l l yc h a r g e do b j e c t s , s u c ha s w e h a v e j u s t d e s c r i b e da b o v e i na d i p o l e a n t e n n a . Wh e r e v e r e l e c t r i c a l c h a r g e s a r e m o v i n g , t h e y i n d u c e a m a g n e t i c 0 e l d . Ma t h e m a t i c a l l y , t h i s i s f o r m u l a t e di nMa x w e l l ' s e q u a t i o n s :

h t t p s : / / e n . w i k i p e d i a . o r g / w i k i / E l e c t r o m a g n e t i c _ 0 e l d # Ma t h e m a t i c a l _ d e s c r i p t i o n

S i n c et h ee l e c t r i c a l a n dm a g n e t i cc o m p o n e n t s a r et i e dt o g e t h e r i nt h i s w a y , w es p e a k o f a ne l e c t r o m a g n e t i c 0 e l d . I np r a c t i c a l w i r e l e s s n e t w o r k i n g , w e f o c u s i nt h e e l e c t r i c a l c o m p o n e n t b u t t h e r e b e a l w a y s a m a g n e t i c c o m p o n e n t a s w e l l . L e t u s c o m e b a c kt o t h e r e l a t i o n : S p e e d=F r e q u e n c y * W a v e l e n g t h I nt h e c a s e o f e l e c t r o m a g n e t i c w a v e s , t h e s p e e di s c , t h e s p e e do f l i g h t .
8 c =3 0 0 , 0 0 0 k m / s =3 0 0 , 0 0 0 , 0 0 0 m / s =3 * 1 0 m / s

c =f * E l e c t r o m a g n e t i c w a v e s d i 1 e r f r o mm e c h a n i c a l w a v e s i nt h a t t h e yr e q u i r e n om e d i u m i nw h i c ht op r o p a g a t e .E l e c t r o m a g n e t i cw a v e sw i l le v e n p r o p a g a t e t h r o u g hp e r f e c t v a c u u m . $ el i g h tf r o mt h es t a r si sag o o de x a m p l e : i t r e a c h e s u st h r o u g ht h e v a c u u mo f s p a c e .

Symbols of the international system of units


I np h y s i c s , m a t h s , a n de n g i n e e r i n g , w e o f t e ne x p r e s s n u m b e r s b yp o w e r s o f t e n . We w i l l m e e t t h e s e t e r m s a g a i n , a n dt h e s y m b o l s u s e dt o r e p r e s e n t t h e m , e . g . g i g a h e r t z ( G Hz ) , c e n t i m e t r e s ( c m ) , m i c r o s e c o n d s ( s ) , a n ds oo n . $e s es y m b o l sa r ep a r to ft h ei n t e r n a t i o n a l s y s t e mo f m e a s u r e m e n tS I ( h t t p : / / w w w . b i p m . o r g / u t i l s / c o m m o n / p d f / s i _ b r o c h u r e _ 8 _ e n . p d f ) , t h e ya r e n o t a b b r e v i a t i o n s a n ds h o u l dn o t b e c h a n g e d . $e c a s e i s s i g n i 0 c a n t a n ds h o u l dn o t b e a l t e r e d .

1. RADIO PHYSICS

S I s y m b o l s a t t o f e m t o p i c o n a n o m i c r o m i l l i c e n t i k i l o m e g a g i g a t e r a p e t a e x a

1018

1 / 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 / 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 / 1 0 0 0 0 0 0 0 0 0 0 0 0 1 / 1 0 0 0 0 0 0 0 0 0 1 / 1 0 0 0 0 0 0 1 / 1 0 0 0 1 / 1 0 0 1 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

a f p n m c k M G T P E

1015 1012 109 106 103 102 10 3 10 6 10 9 10 12 10 15 10 18

K n o w i n gt h e s p e e do f l i g h t , w e c a nc a l c u l a t e t h e w a v e l e n g t hf o r ag i v e n f r e q u e n c y . L e t u s t a k et h ee x a m p l eo f t h ef r e q u e n c yo f 8 0 2 . 1 1 bw i r e l e s s n e t w o r k i n g , w h i c hi s : f =2 . 4 G H z =2 , 4 0 0 , 0 0 0 , 0 0 0 c y c l e s / s e c o n d
8 9 1 w a v e l e n g t h ( ) =c / f =3 * 1 0 / 2 . 4 * 1 0 =1 . 2 5 * 1 0 m=1 2 . 5 c m

F r e q u e n c y a n dt h e r e f o r e w a v e l e n g t hd e t e r m i n e m o s t o f a ne l e c t r o m a g n e t i c w a v e s b e h a v i o u r . I t g o v e r n s t h e d i m e n s i o n s o f t h e a n t e n n a s t h a t w e b u i l d a sw e l la st h ee 1 e c to ft h ei n t e r a c t i o n sw i t ho b j e c t st h a ta r ei nt h e p r o p a g a t i o np a t h , i n c l u d i n g t h e b i o l o g i c a l e 1 e c t s i nl i v i n g b e i n g s . Wi r e l e s ss t a n d a r d so fc o u r s ea r ed i s t i n g u i s h e db ym o r et h a nj u s tt h e f r e q u e n c y t h e ya r e w o r k i n ga t f o r e x a m p l e , 8 0 2 . 1 1 b , 8 0 2 . 1 1 g , 8 0 2 . 1 1 n a n d8 0 2 . 1 6c a na l l w o r ka t 2 . 4G Hz, y e t t h e ya r ev e r yd i 1 e r e n t f r o m o n e a n o t h e r .

PHYSICS

$ ec h a p t e rc a l l e dT e l e c o m m u n i c a t i o n sB a s i c sw i l ld i s c u s sm o d u l a t i o n t e c h n i q u e s , m e d i a a c c e s s t e c h n i q u e s , a n do t h e r r e l e v a n t f e a t u r e s o f w i r e l e s s c o m m u n i c a t i o n s s t a n d a r d s . H o w e v e r , t h e b a s i c c a p a b i l i t i e s o f e l e c t r o m a g n e t i cw a v e s t op e n e t r a t eo b j e c t s , t og ol o n gd i s t a n c e s , a n ds o f o r t ht h e s e a r ed e t e r m i n e db yp h y s i c s a l o n e . $e e l e c t r o m a g n e t i cw a v e " d o e s n o t k n o wo r c a r e "w h a t m o d u l a t i o no r s t a n d a r do r t e c h n i q u ey o u p u t o nt o po f i t . S o , w h i l ed i 1 e r e n t s t a n d a r d s m a yi m p l e m e n t a d v a n c e d t e c h n i q u e s t od e a l w i t hN L O S( N o nL i n eo f S i g h t ) , m u l t i p a t ha n ds o f o r t ht h e ys t i l l c a n n o t m a k eaw a v eg ot h r o u g haw a l l , i f t h a t w a l l i s a b s o r b i n gt h e r e s p e c t i v e f r e q u e n c y . $e r e f o r e , a nu n d e r s t a n d i n g o f t h e b a s i c i d e a s o f f r e q u e n c y a n dw a v e l e n g t hh e l p s a l o t i np r a c t i c a l w i r e l e s s w o r k .

Phase
L a t e ri nt h i sc h a p t e r ,w ew i l lt a l ka b o u tc o n c e p t sl i k ei n t e r f e r e n c e , m u l t i p a t ha n dF r e s n e l z o n e s . I no r d e r t o u n d e r s t a n dt h e s e , w e w i l l n e e dt o k n o wa b o u t t h e p h a s e o f a w a v e , o r r a t h e r , p h a s e d i > e r e n c e s b e t w e e nw a v e s . L o o k a t t h e s i n e w a v e s h o w ni nF i g R P1 n o wi m a g i n e w e h a v e t w o s u c h w a v e s m o v i n g . $e s e c a nb e i ne x a c t l yt h e s a m e p o s i t i o n : Wh e r e t h e o n e h a s i t s p e a k , t h e o t h e r o n e a l s oh a s a p e a k . $e n , w e w o u l ds a y , t h e y a r e i np h a s e , o r , t h e i rp h a s ed i 1 e r e n c ei s z e r o . B u t o n ew a v ec o u l da l s ob e d i s p l a c e df r o mt h eo t h e r , f o r e x a m p l ei t c o u l dh a v ei t sp e a kw h e r et h e o t h e r w a v e i s a t z e r o . I nt h i s c a s e , w e h a v e ap h a s e d i 1 e r e n c e . $i s p h a s e d i 1 e r e n c e c a nb e e x p r e s s e di nf r a c t i o n s o f t h e w a v e l e n g t h , e . g . / / 4 , o r i n d e g r e e s , e . g .9 0d e g r e e s-w i t ho n ef u l lc y c l eo f t h ew a v eb e i n g3 6 0 d e g r e e s . Ap h a s e d i 1 e r e n c e o f 3 6 0 d e g r e e s i s t h e s a m e a s t h a t o f 0d e g r e e s : n o p h a s e d i 1 e r e n c e .

F i g u r e R P2 : P h a s e D i > e r e n c e b e t w e e nT w o W a v e s

1. RADIO PHYSICS

Polarization
A n o t h e ri m p o r t a n tq u a l i t yo fe l e c t r o m a g n e t i cw a v e si sp o l a r i z a t i o n . P o l a r i z a t i o nd e s c r i b e s t h e d i r e c t i o no f t h e e l e c t r i c a l 0 e l dv e c t o r . I f y o ui m a g i n eav e r t i c a l l ya l i g n e dd i p o l ea n t e n n a( t h es t r a i g h t p i e c eo f w i r e ) , e l e c t r o n s c a no n l ym o v e u pa n dd o w n , n o t s i d e w a y s ( b e c a u s e t h e r e i s n o r o o mt om o v e ) a n dt h u s e l e c t r i c a l 0 e l d s o n l y e v e r p o i n t u p o r d o w n , v e r t i c a l l y . $e 0 e l dl e a v i n gt h ew i r ea n dt r a v e l l i n ga s aw a v e h a s as t r i c t l i n e a r ( a n di nt h i s c a s e , v e r t i c a l ) p o l a r i z a t i o n . I f w e p u t t h e a n t e n n a W a t o n t h e g r o u n d , w e w o u l d 0 n d h o r i z o n t a l l i n e a r p o l a r i z a t i o n .

L i n e a r p o l a r i z a t i o ni s j u s t o n e s p e c i a l c a s e , a n di s n e v e r q u i t e s op e r f e c t : i n g e n e r a l , w ew i l l a l w a y sh a v es o m ec o m p o n e n to f t h e0 e l dp o i n t i n gi n o t h e r d i r e c t i o n s t o o . I f w e c o m b i n et w oe q u a l d i p o l e s f e dw i t ht h e s a m e s i g n a l , w e c a ng e n e r a t eac i r c u l a r l yp o l a r i z e dw a v e , i nw h i c ht h ee l e c t r i c 0 e l dv e c t o r k e e p s r o t a t i n g p e r p e n d i c u l a r l y t o t h e w a v e ' s t r a j e c t o r y .

PHYSICS

$e m o s t g e n e r a l c a s e i s e l l i p t i c a l p o l a r i z a t i o n , i nw h i c ht h e e l e c t r i c0 e l d v e c t o rm a x i m u mv a l u ei sn o tt h es a m ei nt h ev e r t i c a l a n dh o r i z o n t a l d i r e c t i o n . A so n ec a ni m a g i n e ,p o l a r i z a t i o nb e c o m e si m p o r t a n tw h e n a l i g n i n ga n t e n n a s . I f y o ui g n o r ep o l a r i z a t i o n , y o um i g h t h a v ev e r yl i t t l e s i g n a l e v e nt h o u g hy o uh a v et h e b e s t a n t e n n a s . Wec a l l t h i s p o l a r i z a t i o n m i s m a t c h . Mu c hi nt h e s a m e w a y , p o l a r i z a t i o nm a ya l s ob e u s e di nas m a r t w a y , t o k e e pt w ow i r e l e s sl i n k si n d e p e n d e n ta n dw i t h o u ti n t e r f e r e n c e ,e v e n t h o u g ht h e ym i g h t u s et h es a m ee n dp o i n t s( o r e v e ns h a r eac o m m o n r e W e c t o r )a n dt h e r e f o r et h es a m et r a j e c t o r y :i fo n el i n ki sp o l a r i z e d v e r t i c a l l y a n dt h e o t h e r h o r i z o n t a l l y , t h e y w i l l n o t " s e e " e a c ho t h e r . $i s i s ac o n v e n i e n tw a yt od o u b l ed a t ar a t e so v e ro n el i n ku s i n gas i n g l e f r e q u e n c y . $e a n t e n n a s u s e di nt h i s k i n do f a p p l i c a t i o nm u s t b ec a r e f u l l y b u i l t i n o r d e rt or e j e c tt h e" u n w a n t e d "p o l a r i z a t i o n , i . e . a na n t e n n am e a n tf o r v e r t i c a lp o l a r i z a t i o nm u s tn o tr e c e i v eo rt r a n s m i ta n yh o r i z o n t a l l y p o l a r i z e ds i g n a l ,a n dv i c ev e r s a . Wes a yt h e ym u s t h a v eah i g h" c r o s s p o l a r i z a t i o n " r e j e c t i o n .

The electromagnetic spectrum


E l e c t r o m a g n e t i c w a v e s s p a na w i d e r a n g e o f f r e q u e n c i e s ( a n d , a c c o r d i n g l y , w a v e l e n g t h s ) . $i sr a n g eo ff r e q u e n c i e so rw a v e l e n g t h si sc a l l e dt h e e l e c t r o m a g n e t i cs p e c t r u m .$ e p a r to ft h es p e c t r u m m o s tf a m i l i a rt o h u m a n si sp r o b a b l yl i g h t ,t h ev i s i b l ep o r t i o no ft h ee l e c t r o m a g n e t i c 1 4 s p e c t r u m . L i g h t l i e s r o u g h l yb e t w e e nt h e f r e q u e n c i e s o f 7 . 5 * 1 0 Hz a n d 1 4 3 . 8 * 1 0 Hz ,c o r r e s p o n d i n gt ow a v e l e n g t h sf r o m c i r c a4 0 0n m ( v i o l e t / b l u e ) t o8 0 0 n m( r e d ) . Wea r ea l s or e g u l a r l ye x p o s e dt oo t h e rr e g i o n so ft h ee l e c t r o m a g n e t i c s p e c t r u m , i n c l u d i n gA l t e r n a t i n g C u r r e n t ( A C ) o r g r i de l e c t r i c i t y a t 5 0 / 6 0 Hz , A Ma n dF Mr a d i o , U l t r a v i o l e t ( a t f r e q u e n c i e s h i g h e r t h a nt h o s eo f v i s i b l e l i g h t ) , I n f r a r e d( a t f r e q u e n c i e s l o w e r t h a nt h o s e o f v i s i b l e l i g h t ) , X R a y r a d i a t i o n , a n dm a n y o t h e r s . R a d i oi s t h e t e r mu s e df o r t h e p o r t i o no f t h e e l e c t r o m a g n e t i c s p e c t r u mi n w h i c hw a v e sc a nb et r a n s m i t t e db ya p p l y i n ga l t e r n a t i n gc u r r e n tt oa n a n t e n n a . $i s i s t r u e f o r t h e r a n g e f r o m3 0k Hz t o3 0 0G Hz , b u t i nt h e m o r e n a r r o ws e n s e o f t h e t e r m , t h e u p p e r f r e q u e n c y l i m i t w o u l db e a b o u t 1 G Hz , a b o v e w h i c hw e t a l k o f m i c r o w a v e s a n dm i l l i m e t r i c w a v e s .

1. RADIO PHYSICS

Wh e nt a l k i n ga b o u t r a d i o , m a n y p e o p l e t h i n ko f F Mr a d i o , w h i c hu s e s a f r e q u e n c ya r o u n d1 0 0MHz . I nb e t w e e nr a d i oa n di n f r a r e dw e0 n dt h e r e g i o no f m i c r o w a v e s w i t hf r e q u e n c i e s f r o ma b o u t 1G Hz t o3 0 0G Hz , a n dw a v e l e n g t h s f r o m3 0 c mt o 1 m m . $e m o s t p o p u l a r u s e o f m i c r o w a v e s m i g h t b e t h e m i c r o w a v e o v e n , w h i c h i nf a c t w o r k s i ne x a c t l yt h e s a m e r e g i o na s t h ew i r e l e s s s t a n d a r d s w e a r e d e a l i n gw i t h . $e s e r e g i o n s l i e w i t h i nt h e b a n d s t h a t a r e b e i n g k e p t o p e n f o rg e n e r a l u n l i c e n s e du s e . $i sr e g i o ni sc a l l e dt h eI S Mb a n d , w h i c h s t a n d s f o r I n d u s t r i a l , S c i e n t i 0 c , a n dMe d i c a l . Mo s t o t h e r p a r t s o f t h e e l e c t r o m a g n e t i c s p e c t r u ma r e t i g h t l y c o n t r o l l e db y l i c e n s i n gl e g i s l a t i o n , w i t hl i c e n s e v a l u e s b e i n gah u g ee c o n o m i c f a c t o r . I n m a n yc o u n t r i e s t h e r i g h t t ou s e p o r t i o n s o f t h e s p e c t r u mh a v eb e e ns o l d t oc o m m u n i c a t i o n s c o m p a n i e s f o r m i l l i o n s o f d o l l a r s . I nm o s t c o u n t r i e s , t h e I S Mb a n d s h a v e b e e nr e s e r v e df o r u n l i c e n s e du s e a n d t h e r e f o r e d o n o t h a v e t o b e p a i df o r w h e nu s e d .

F i g u r e R P4 : e e l e c t r o m a g n e t i c s p e c t r u m . $e f r e q u e n c i e s m o s t i n t e r e s t i n gt ou s a r e2 . 4 0 02 . 4 9 5G Hz , w h i c hi s u s e db y t h e 8 0 2 . 1 1 b a n d8 0 2 . 1 1 g s t a n d a r d s ( c o r r e s p o n d i n g t o w a v e l e n g t h s o f a b o u t 1 2 . 5 c m ) , a n d5 . 1 5 0 5 . 8 5 0 G Hz ( c o r r e s p o n d i n g t ow a v e l e n g t h s o f a b o u t 5 t o6c m ) , u s e db y 8 0 2 . 1 1 a . $e 8 0 2 . 1 1 ns t a n d a r dc a nw o r ki n e i t h e r o f t h e s e b a n d s . S e et h eC h a p t e rc a l l e d Wi F iF a m i l yf o ra no v e r v i e wo fs t a n d a r d sa n d f r e q u e n c i e s . I na d d i t i o ny o u c a n0 n do u t m o r e a b o u t t h e R a d i op o r t i o n o f t h e e l e c t r o m a g n e t i c s p e c t r u mi nt h e C h a p t e r c a l l e dR a d i o S p e c t r u m .

10

PHYSICS

Bandwidth
At e r my o uw i l l m e e t o f t e ni nr a d i op h y s i c s i s b a n d w i d t h . B a n d w i d t hi s s i m p l y a m e a s u r e o f f r e q u e n c y r a n g e . I f a r a n g e o f 2 . 4 0 G Hz t o 2 . 4 8 G Hz i s u s e db yad e v i c e , t h e nt h eb a n d w i d t hw o u l db e0 . 0 8G Hz( o r m o r e c o m m o n l y s t a t e da s 8 0 MHz ) . I t i s e a s y t os e e t h a t t h e b a n d w i d t hw e d e 0 n e h e r e i s c l o s e l y r e l a t e dt ot h e a m o u n t o f d a t a y o uc a nt r a n s m i t w i t h i ni t t h e m o r e r o o mi nf r e q u e n c y s p a c e ,t h em o r ed a t ay o uc a n0 ti na ta g i v e nm o m e n t .$ et e r m b a n d w i d t hi s o f t e nu s e df o r s o m e t h i n g w e s h o u l dr a t h e r c a l l d a t a r a t e , a s i n m yI n t e r n e t c o n n e c t i o nh a s 1Mb p s o f b a n d w i d t h , m e a n i n gi t c a n t r a n s m i t d a t a a t 1 m e g a b i t p e r s e c o n d . H o wm u c he x a c t l y y o uc a n0 t i n t o ap h y s i c a l s i g n a lw i l l d e p e n do nt h em o d u l a t i o n , e n c o d i n ga n do t h e r t e c h n i q u e s . F o re x a m p l e , 8 0 2 . 1 1 gu s e s t h es a m eb a n d w i d t ha s 8 0 2 . 1 1 b , h o w e v e r i t 0 t s m o r e d a t a i n t o t h o s e s a m e f r e q u e n c y r a n g e s t r a n s m i t t i n g u p t o 5 t i m e s m o r e b i t s p e r s e c o n d . A n o t h e r e x a m p l e w e h a v em e n t i o n e d : y o um a yd o u b l e y o u r d a t a r a t e b y a d d i n g a s e c o n dl i n k a t p e r p e n d i c u l a r p o l a r i z a t i o nt o a ne x i s t i n g r a d i o l i n k . H e r e , f r e q u e n c y a n db a n d w i d t hh a v e n o t c h a n g e d , h o w e v e r t h e d a t a r a t e i s d o u b l e d .

Frequencies and channels


L e t u s l o o ka b i t c l o s e r a t h o wt h e 2 . 4 G Hz b a n di s u s e di n8 0 2 . 1 1 b . $e s p e c t r u mi s d i v i d e di n t oe v e n l ys i z e dp i e c e s d i s t r i b u t e do v e r t h e b a n da s i n d i v i d u a l c h a n n e l s . N o t et h a t c h a n n e l s a r e2 2MHz w i d e , b u t a r eo n l y s e p a r a t e db y 5 MHz . $i sm e a n s t h a t a d j a c e n t c h a n n e l s o v e r l a p , a n dc a ni n t e r f e r ew i t he a c h o t h e r . $i s i s r e p r e s e n t e d v i s u a l l y i nF i g u r e R P5 .

F i g u r e R P5 : C h a n n e l s a n d c e n t r e f r e q u e n c i e s f o r 8 0 2 . 1 1 b . N o t e t h a t c h a n n e l s 1 , 6 , a n d 1 1 d o n o t o v e r l a p .

1. RADIO PHYSICS

11

Behaviour of radio waves


$e r ea r eaf e ws i m p l er u l e so f t h u m bt h a t c a np r o v ee x t r e m e l yu s e f u l w h e nm a k i n g 0 r s t p l a n s f o r a w i r e l e s s n e t w o r k : t h e l o n g e r t h e w a v e l e n g t h , t h e f u r t h e r i t g o e s ; t h e l o n g e r t h e w a v e l e n g t h , t h e b e t t e r i t t r a v e l s t h r o u g h a n da r o u n d t h i n g s ; t h e s h o r t e r t h e w a v e l e n g t h , t h e m o r e d a t a i t c a nt r a n s p o r t . A l l o f t h e s e r u l e s , s i m p l i 0 e da s t h e y m a y b e , a r e r a t h e r e a s y t ou n d e r s t a n d b y e x a m p l e . L o n g e r w a v e s t r a v e l f u r t h e r Wa v e sw i t hl o n g e rw a v e l e n g t h s t e n dt ot r a v e l f u r t h e rt h a nw a v e sw i t h s h o r t e rw a v e l e n g t h s . A sa ne x a m p l e ,A M r a d i os t a t i o n sh a v eam u c h g r e a t e r r a n g e t h a nF Ms t a t i o n s , w h i c hu s e af r e q u e n c y1 0 0t i m e s h i g h e r . L o w e r f r e q u e n c yt r a n s m i t t e r s t e n dt or e a c hm u c hg r e a t e r d i s t a n c e s t h a n h i g hf r e q u e n c y t r a n s m i t t e r s a t t h e s a m e p o w e r . L o n g e r w a v e s p a s s a r o u n do b s t a c l e s Aw a v e o nw a t e r w h i c hi s 5m e t r e s l o n gw i l l n o t b ea 1 e c t e db y a5m m p i e c e o f w o o dW o a t i n g o nt h e w a t e r . I f i n s t e a dt h e p i e c e o f w o o dw e r e 5 0 m e t r e s b i g ( e . g . a s h i p ) , i t w o u l d m o d i f y t h e b e h a v i o r o f t h e w a v e . $e d i s t a n c eaw a v ec a nt r a v e l d e p e n d s o nt h er e l a t i o n s h i pb e t w e e nt h e w a v e l e n g t ho ft h ew a v ea n dt h es i z eo fo b s t a c l e si ni t sp a t ho f p r o p a g a t i o n . I t i s h a r d e r t ov i s u a l i z e w a v e s m o v i n g t h r o u g h s o l i do b j e c t s , b u t t h i s i s t h ec a s ew i t he l e c t r o m a g n e t i cw a v e s . L o n g e r w a v e l e n g t h( a n d t h e r e f o r el o w e rf r e q u e n c y )w a v e st e n dt op e n e t r a t eo b j e c t sb e t t e rt h a n s h o r t e r w a v e l e n g t h ( a n dt h e r e f o r e h i g h e r f r e q u e n c y ) w a v e s . F o r e x a m p l e , F Mr a d i o( 8 8 1 0 8MHz ) c a nt r a v e l t h r o u g hb u i l d i n g s a n d o t h e r o b s t a c l e s e a s i l y , w h i l e s h o r t e r w a v e s ( s u c ha s G S Mp h o n e s o p e r a t i n g a t 9 0 0 MHz o r 1 8 0 0 MHz ) h a v e a h a r d e r t i m e p e n e t r a t i n g b u i l d i n g s . $i se 1 e c t i s p a r t l yd u et ot h ed i 1 e r e n c ei np o w e r l e v e l su s e df o r F M r a d i oa n dG S M, b u t i s a l s op a r t l yd u e t ot h e s h o r t e r w a v e l e n g t ho f G S M s i g n a l s . A t m u c hh i g h e r f r e q u e n c i e s , v i s i b l el i g h t d o e s n o t g ot h r o u g ha w a l l o r e v e n1 m mo f w o o da s w e a l l k n o w , f r o mp r a c t i c a l e x p e r i e n c e . B u t m e t a l w i l l s t o pa n y k i n do f e l e c t r o m a g n e t i c w a v e .

12

PHYSICS

S h o r t e r w a v e s c a nc a r r y m o r e d a t a $e f a s t e r t h e w a v e s w i n g s o r b e a t s , t h e m o r e i n f o r m a t i o ni t c a nc a r r y e v e r y b e a t o r c y c l e c o u l df o r e x a m p l eb eu s e dt ot r a n s p o r t ad i g i t a l b i t , a' 0 ' o r a ' 1 ' , a ' y e s ' o r a ' n o ' . S ot h e d a t ar a t e s c a l e s w i t hb a n d w i d t h , a n dc a nb ef u r t h e r e n h a n c e db y a d v a n c e dm o d u l a t i o na n dm e d i aa c c e s s t e c h n i q u e s s u c ha s O F D M, a n d MI MO ( Mu l t i p l e I n p u t , Mu l t i p l e O u t p u t ) .

The H uygens Pri nc iple


$e r ei s a n o t h e r p r i n c i p l e t h a t c a nb ea p p l i e dt oa l l k i n d s o f w a v e s , a n d w h i c hi s e x t r e m e l y u s e f u l f o r u n d e r s t a n d i n g r a d i o w a v e p r o p a g a t i o n . $i s p r i n c i p l e i s k n o w na s t h e H u y g e n s P r i n c i p l e , n a m e da f t e r C h r i s t i a a n H u y g e n s , D u t c hm a t h e m a t i c i a n , p h y s i c i s t a n da s t r o n o m e r , 1 6 2 9 1 6 9 5 . I m a g i n ey o ua r et a k i n gal i t t l es t i c ka n dd i p p i n gi t v e r t i c a l l yi n t oas t i l l l a k e ' s s u r f a c e , c a u s i n g t h e w a t e r t os w i n ga n dd a n c e . Wa v e s w i l l l e a v e t h e c e n t r e o f t h e s t i c kt h e p l a c e w h e r e y o ud i pi ni nc i r c l e s . N o w , w h e r e v e r w a t e r p a r t i c l e s a r es w i n g i n ga n dd a n c i n g , t h e yw i l l c a u s et h e i r n e i g h b o r p a r t i c l e s t od ot h e s a m e : f r o me v e r yp o i n t o f d i s t u r b a n c e , an e wc i r c u l a r w a v ew i l l s t a r t . $i si s , i ns i m p l ef o r m , t h eH u y g e n sp r i n c i p l e . I nt h e w o r d s o f w i k i p e d i a . o r g : e H u y g e n s ' p r i n c i p l e i s am e t h o do f a n a l y s i s a p p l i e dt op r o b l e m s o f w a v e p r o p a g a t i o ni nt h ef a rC e l dl i m i t .I tr e c o g n i z e st h a te a c hp o i n to fa n a d v a n c i n g w a v e f r o n t i s i nf a c t t h e c e n t r e o f a f r e s h d i s t u r b a n c e a n dt h e s o u r c e o f an e wt r a i no f w a v e s ; a n dt h a t t h e a d v a n c i n gw a v e a s aw h o l em a yb e r e g a r d e da s t h es u mo f a l l t h es e c o n d a r yw a v e s a r i s i n gf r o mp o i n t s i nt h e m e d i u ma l r e a d y t r a v e r s e d . $i s v i e wo f w a v e p r o p a g a t i o nh e l p s b e t t e r u n d e r s t a n dav a r i e t yo f w a v e p h e n o m e n a , s u c ha s d i 1 r a c t i o n . $i s p r i n c i p l e h o l d s t r u e f o r r a d i ow a v e s a s w e l l a s w a v e s o nw a t e r , f o r s o u n da s w e l l a sl i g h t , b u t f o r l i g h t t h e w a v e l e n g t hi s f a r t o os h o r t f o r h u m a nb e i n g s t oa c t u a l l ys e et h ee 1 e c t s d i r e c t l y . $i sp r i n c i p l ew i l l h e l pu st ou n d e r s t a n dd i 1 r a c t i o na sw e l l a sF r e s n e l z o n e s , a n dt h e f a c t t h a t s o m e t i m e s w e s e e mt ob e a b l e t ot r a n s m i t a r o u n d c o r n e r s , w i t hn o l i n e o f s i g h t . L e tu sn o wl o o ki n t ow h a th a p p e n st oe l e c t r o m a g n e t i cw a v e sa st h e y t r a v e l .

1. RADIO PHYSICS

13

Absorption
Wh e ne l e c t r o m a g n e t i cw a v e sg ot h r o u g h' s o m e t h i n g '( s o m em a t e r i a l ) , t h e y g e n e r a l l y g e t w e a k e n e d o r d a m p e n e d . H o wm u c ht h e yl o s ei np o w e rw i l l d e p e n do nt h e i rf r e q u e n c ya n do f c o u r s e t h e m a t e r i a l . C l e a r w i n d o wg l a s s i s o b v i o u s l yt r a n s p a r e n t f o r l i g h t , w h i l e t h e g l a s s u s e d i ns u n g l a s s e s 0 l t e r s o u t q u i t e a s h a r e o f t h e l i g h t i n t e n s i t y a n dm o s t o f t h e u l t r a v i o l e t r a d i a t i o n . O f t e n , a na b s o r p t i o nc o e N c i e n t i s u s e dt od e s c r i b e a m a t e r i a l s i m p a c t o n r a d i a t i o n . F o r m i c r o w a v e s , t h e t w o m a i na b s o r b e n t m a t e r i a l s a r e : Me t a l . E l e c t r o n s c a nm o v e f r e e l yi nm e t a l s , a n da r e r e a d i l ya b l e t os w i n g a n dt h u s a b s o r b t h e e n e r g y o f a p a s s i n g w a v e . W a t e r . Mi c r o w a v e sc a u s ew a t e rm o l e c u l e st oj o s t l ea r o u n d , t h u st a k i n g a w a y s o m e o f t h e w a v e s e n e r g y . F o rt h ep u r p o s eo f p r a c t i c a l w i r e l e s s n e t w o r k i n g , w em a yw e l l c o n s i d e r m e t a l a n dw a t e r p e r f e c t a b s o r b e r s : w e w i l l n o t b e a b l e t og o t h r o u g h t h e m ( a l t h o u g ht h i nl a y e r so fw a t e rw i l l l e ts o m ep o w e rp a s s ) . $e ya r et o m i c r o w a v e w h a t a b r i c k w a l l i s t o l i g h t . Wh e nt a l k i n g a b o u t w a t e r , w e h a v e t o r e m e m b e r t h a t i t c o m e s i nd i 1 e r e n t f o r m s : r a i n , f o g a n dm i s t , l o wc l o u d s a n ds of o r t h , a l l w i l l b e i n t h e w a y o f r a d i ol i n k s . $e yh a v eas t r o n gi n W u e n c e , a n di nm a n yc i r c u m s t a n c e s a c h a n g e i nw e a t h e r c a nb r i n g a r a d i o l i n k d o w n . Wh e nt a l k i n ga b o u tm e t a l ,k e e pi nm i n dt h a ti tm a yb ef o u n di n u n e x p e c t e dp l a c e s : i t m a y b e h i d d e ni nw a l l s ( f o r e x a m p l e , a s m e t a l g r i d s i nc o n c r e t e )o rb eat h i nc o a to nm o d e r nt y p e so fg l a s s( t i n t e dg l a s s , c o l o r e d g l a s s ) . H o w e v e rt h i nt h el a y e ro fm e t a l , i tm i g h tb ee n o u g ht os i g n i 0 c a n t l y a b s o r ba r a d i o w a v e . $e r ea r eo t h e rm a t e r i a l st h a th a v ea m o r ec o m p l e xe 1 e c to nr a d i o a b s o r p t i o n . F o rt r e e sa n dw o o d , t h ea m o u n t o f a b s o r p t i o nd e p e n d s o n h o wm u c hw a t e r t h e y c o n t a i n .

14

PHYSICS

O l d d e a dd r y w o o di s m o r e o r l e s s t r a n s p a r e n t , w e t f r e s h w o o dw i l l a b s o r b al o t . P l a s t i c s a n ds i m i l a r m a t e r i a l s g e n e r a l l yd on o t a b s o r bal o t o f r a d i o e n e r g y , b u t t h i s v a r i e s d e p e n d i n g o n t h e f r e q u e n c y a n dt y p e o f m a t e r i a l . L a s t l y , l e t u s t a l ka b o u t o u r s e l v e s : h u m a n s ( a s w e l l a s o t h e r a n i m a l s ) a r e l a r g e l y m a d e o u t o f w a t e r . A s f a r a s r a d i on e t w o r k i n g i s c o n c e r n e d , w e m a yw e l l b e d e s c r i b e da s b i g b a g s o f w a t e r , w i t ht h e s a m e s t r o n g a b s o r p t i o n . O r i e n t i n ga no N c ea c c e s s p o i n t i ns u c haw a yt h a t i t s s i g n a l m u s t p a s s t h r o u g hm a n y p e o p l e i s a k e y m i s t a k e w h e nb u i l d i n g o N c e n e t w o r k s . $ es a m eg o e sf o rh o t s p o t s ,c a f ei n s t a l l a t i o n s ,l i b r a r i e s ,a n do u t d o o r i n s t a l l a t i o n s .

Re'ection
J u s t l i k e v i s i b l e l i g h t , r a d i ow a v e s a r e r e W e c t e dw h e nt h e y c o m e i nc o n t a c t w i t hm a t e r i a l s t h a t a r e s u i t e df o r t h a t : f o r r a d i o w a v e s , t h e m a i n s o u r c e s o f r e W e c t i o na r e m e t a l a n dw a t e r s u r f a c e s . $e r u l e s f o r r e W e c t i o na r e q u i t e s i m p l e : t h e a n g l e a t w h i c ha w a v e h i t s a s u r f a c e i s t h e s a m e a n g l e a t w h i c hi t g e t s d e W e c t e d . N o t et h a t i nt h e e y e s o f ar a d i ow a v e , ad e n s e g r i do f b a r s a c t s j u s t t h e s a m ea sas o l i ds u r f a c e , a sl o n ga st h ed i s t a n c eb e t w e e nb a r si ss m a l l c o m p a r e dt o t h e w a v e l e n g t h . A t 2 . 4 G Hz , a o n e c mm e t a l g r i d w i l l a c t m u c ht h e s a m e a s a m e t a l p l a t e . A l t h o u g ht h e r u l e s o f r e W e c t i o na r e q u i t e s i m p l e , t h i n g s c a nb e c o m e v e r y c o m p l i c a t e dw h e ny o ui m a g i n ea no N c ei n t e r i o r w i t hm a n ym a n y s m a l l m e t a l o b j e c t s o f v a r i o u s c o m p l i c a t e ds h a p e s . $e s a m e g o e s f o r u r b a ns i t u a t i o n s : l o o ka r o u n dy o ui nc i t y e n v i r o n m e n t a n dt r y t o s p o t a l l o f t h e m e t a l o b j e c t s . $i s e x p l a i n s w h ym u l t i p a t he > e c t s ( i . e . s i g n a l r e a c h i n gt h e i r t a r g e t a l o n g d i 1 e r e n t p a t h s , a n dt h e r e f o r ea t d i 1 e r e n t t i m e s ) p l a ys u c ha ni m p o r t a n t r o l e i nw i r e l e s s n e t w o r k i n g . Wa t e r s u r f a c e s , w i t hw a v e s a n dr i p p l e s c h a n g i n ga l l t h et i m e , e 1 e c t i v e l y m a k ef o rav e r yc o m p l i c a t e dr e W e c t i o no b j e c tw h i c hi sm o r eo rl e s s i m p o s s i b l e t o c a l c u l a t e a n dp r e d i c t p r e c i s e l y .

1. RADIO PHYSICS

15

F i g u r e R P6 : R e E e c t i o no f r a d i o w a v e s . e a n g l e o f i n c i d e n c e i s a l w a y s e q u a l t o t h e a n g l e o f r e E e c t i o n . Am e t a l p a r a b o l i c s u r f a c e u s e s t h i s e > e c t t o c o n c e n t r a t e r a d i o w a v e s s p r e a d o u t o v e r i t i na c o m m o nd i r e c t i o n .

Wes h o u l da l s oa d dt h a t p o l a r i z a t i o nh a sa ni m p a c t : w a v e s o f d i 1 e r e n t p o l a r i z a t i o ni ng e n e r a l w i l l b e r e W e c t e d d i 1 e r e n t l y . We u s e r e W e c t i o nt oo u r a d v a n t a g e i na n t e n n a b u i l d i n g : e . g . w e p u t h u g e p a r a b o l a s b e h i n do u r r a d i ot r a n s m i t t e r / r e c e i v e r t oc o l l e c t a n db u n d l e t h e r a d i o s i g n a l i n t o a s i n g l e p o i n t , t h e f o c a l p o i n t .

Diffraction
D i 1 r a c t i o ni s t h e a p p a r e n t b e n d i n g o f w a v e s w h e nh i t t i n g a no b j e c t . I t i s t h e e 1 e c t o f w a v e s g o i n ga r o u n dc o r n e r s . I m a g i n e a w a v e o nw a t e r t r a v e l i n g i na s t r a i g h t w a v e f r o n t , j u s t l i k e a w a v e t h a t w e s e e r o l l i n g o n t o a no c e a nb e a c h . N o ww e p u t a s o l i db a r r i e r , s a y a w o o d e ns o l i df e n c e , i ni t s w a y t ob l o c k i t . We c u t a n a r r o ws l i t o p e n i n g i n t o t h a t w a l l , l i k e a s m a l l d o o r . F r o mt h i s o p e n i n g , a c i r c u l a r w a v e w i l l s t a r t , a n di t w i l l o f c o u r s e r e a c h p o i n t s t h a t a r e n o t i na d i r e c t l i n e b e h i n dt h i s o p e n i n g , b u t a l s oo ne i t h e r s i d e o f i t . I f y o ul o o ka t t h i s w a v e f r o n t a n di t m i g h t j u s t a s w e l l b ea n e l e c t r o m a g n e t i cw a v ea s ab e a m( as t r a i g h t l i n e ) , i t w o u l db eh a r dt o e x p l a i nh o wi t c a nr e a c hp o i n t s t h a t s h o u l db e h i d d e nb y a b a r r i e r . Wh e nm o d e l l e da s a w a v e f r o n t , t h e p h e n o m e n o nm a k e s s e n s e .

16

PHYSICS

F i g u r e R P7 : D i > r a c t i o nt h r o u g h a n a r r o ws l i t .
$e H u y g e n s P r i n c i p l ep r o v i d e s o n em o d e l f o r u n d e r s t a n d i n gt h i s b e h a v i o r . I m a g i n et h a ta ta n yg i v e ni n s t a n t ,e v e r yp o i n to n aw a v e f r o n tc a nb e c o n s i d e r e dt h e s t a r t i n g p o i n t f o r a s p h e r i c a l w a v e l e t . $i si d e aw a sl a t e re x t e n d e db yF r e s n e l ,a n dw h e t h e ri ta d e q u a t e l y d e s c r i b e s t h e p h e n o m e n o ni s s t i l l a m a t t e r o f d e b a t e . B u t f o r o u r p u r p o s e s , t h e H u y g e n s m o d e l d e s c r i b e s t h e e 1 e c t q u i t e w e l l .

F i g u r e R P8 : e H u y g e n s P r i n c i p l e . $r o u g hm e a n so ft h ee 1 e c to fd i 1 r a c t i o n , w a v e sw i l l b e n d a r o u n d c o r n e r s o r s p r e a d t h r o u g ha no p e n i n g i na b a r r i e r .

1. RADIO PHYSICS

17

$e w a v e l e n g t h s o f v i s i b l el i g h t a r ef a r t o os m a l l f o r h u m a n s t oo b s e r v e t h i s e 1 e c t d i r e c t l y . Mi c r o w a v e s ,w i t h aw a v e l e n g t ho fs e v e r a l c e n t i me t e r s , w i l l s h o wt h e e 1 e c t so fd i 1 r a c t i o nw h e nw a v e s h i t w a l l s , m o u n t a i np e a k s , a n do t h e r o b s t a c l e s . I ts e e m sa si f t h eo b s t r u c t i o nc a u s e st h ew a v et oc h a n g ei t s d i r e c t i o na n dg o a r o u n dc o r n e r s .

F i g u r e R P9 : D i > r a c t i o no v e r a m o u n t a i nt o p . N o t et h a td i 1 r a c t i o nc o m e sa tt h ec o s to fp o w e r :t h ee n e r g yo ft h e d i 1 r a c t e dw a v e i s s i g n i 0 c a n t l y l e s s t h a nt h a t o f t h e w a v e f r o n t t h a t c a u s e d i t . B u t i ns o m e v e r ys p e c i 0 c a p p l i c a t i o n s , y o uc a nt a k ea d v a n t a g eo f t h e d i 1 r a c t i o ne 1 e c t t o c i r c u m v e n t o b s t a c l e s .

Interference
I n t e r f e r e n c ei s o n eo f t h em o s t m i s u n d e r s t o o dt e r m s a n dp h e n o n e m a i n w i r e l e s s n e t w o r k i n g . I n t e r f e r e n c eo f t e ng e t s t h eb l a m ew h e nw ea r et o ol a z yt o0 n dt h er e a l p r o b l e m , o r w h e na r e g u l a t o r w a n t s t os h u t d o w ns o m e o n e e l s e ' s n e t w o r k f o r b u s i n e s s r e a s o n s . S o , w h y a l l t h e m i s u n d e r s t a n d i n g s ? I t i s m o s t l y b e c a u s e d i 1 e r e n t p e o p l e m e a nd i 1 e r e n t t h i n g s t h o u g ht h e y a r e u s i n g t h e s a m e w o r d . Ap h y s i c i s ta n d at e l e c o m m u n i c a t i o n se n g i n e e rw i l lu s et h ew o r d " I n t e r f e r e n c e "i nv e r yd i 1 e r e n tw a y s . $e p h y s i c i s t s 'v i e w w i l lb e c o n c e r n e dw i t ht h e" b e h a v i o u ro fw a v e s " .$ e t e l e c o m m u n i c a t i o n s e n g i n e e r w i l l t a l k a b o u t . . . a n y n o i s e t h a t g e t s i nt h e w a y .

18

PHYSICS

B o t hv i e w s a r e r e l e v a n t i nw i r e l e s s , a n di t i s i m p o r t a n t t ob e a b l e t ok n o w t h e mb o t ha n dk n o wt h e d i 1 e r e n c e . L e t u s s t a r t w i t ht h e p h y s i c i s t s ' v i e w : Wh e nw o r k i n g w i t hw a v e s , o n e p l u s o n e d o e s n o t n e c e s s a r i l y e q u a l t w o . I t c a na l s o r e s u l t i nz e r o .

F i g u r e R P1 0 : C o n s t r u c t i v e a n d d e s t r u c t i v e i n t e r f e r e n c e . $i s i s e a s y t ou n d e r s t a n dw h e ny o ud r a wt w o s i n e w a v e s a n da d du pt h e a m p l i t u d e s . Wh e nt h ep h a s ed i 1 e r e n c ei s z e r o , p e a kh i t s p e a k , a n dy o u w i l l h a v e m a x i m u mr e s u l t s ( 1+1 =2 ) . $i s i s c a l l e dc o n s t r u c t i v e i n t e r f e r e n c e . Wh e nt h ep h a s ed i 1 e r e n c ei s 1 8 0d e g r e e s , o r / 2 , p e a kh i t s v a l l e y , a n d y o uw i l lh a v ec o m p l e t ea n n i h i l a t i o n( ( 1+( ) 1=0 ) -d e s t r u c t i v e i n t e r f e r e n c e . Y o uc a na c t u a l l y t r y t h i s w i t hw a v e s o n w a t e r a n dt w o l i t t l e s t i c k s t o c r e a t e c i r c u l a r w a v e s y o uw i l l s e e t h a t w h e r e t w o w a v e s c r o s s , t h e r e w i l l b e a r e a s o f h i g h e rw a v ep e a k sa n do t h e r st h a t r e m a i na l m o s t W a ta n dc a l m . I n o r d e rf o rw h o l et r a i n so fw a v e st oa d du po rc a n c e l e a c ho t h e ro u t p e r f e c t l y , t h e yh a v et oh a v et h e e x a c t s a m e w a v e l e n g t ha n da0 x e dp h a s e r e l a t i o n . Y o uc a ns e e o b v i o u s e x a m p l e s o f i n t e r f e r e n c e i na c t i o nw h e ny o ul o o ka t t h e w a y t h a t a n t e n n a s a r e a r r a n g e di nw h a t a r e c a l l e db e a m f o r m i n g a r r a y s , i no r d e rt og i v em a x i m u mc o n s t r u c t i v ei n t e r f e r e n c ei nt h ed i r e c t i o n s w h e r e y o uw a n t t h e s i g n a l , a n dd e s t r u c t i v e i n t e r f e r e n c e ( n os i g n a l ) w h e r e y o u w a n t n o s i g n a l . T e c h n i c a l l y , t h i si s a c h i e v e db yac o m b i n a t i o no f p h y s i c a l d i m e n s i o n i n g a n dc o n t r o l o f p h a s e s h i f t s .

1. RADIO PHYSICS

19

S i m p l i 0 e d , i m a g i n et h a t y o uh a v et h r e ea n t e n n a s a n dy o ud o n ' t w a n t a n t e n n a 3t op i c ku ps i g n a l f r o ma n t e n n a 1a n d2 . Y o uw o u l dt h e np l a c e a n t e n n a3a t ap o s i t i o nw h e r et h es i g n a l s f r o ma n t e n n a s 1a n d2c a n c e l e a c ho t h e r o u t . N o wl e t u s h a v e a l o o ka t t h e w a y t h e w o r di n t e r f e r e n c e i s t y p i c a l l y u s e d : i na w i d e r s e n s e , f o r a n yd i s t u r b a n c e t h r o u g ho t h e r R Fs o u r c e s , a n yn o i s e t h a t m i g h t g e t i no u r w a y , e . g . f r o mn e i g h b o r i n gc h a n n e l s o r c o m p e t i n g p r o v i d e r s .S o ,w h e nw i r e l e s sn e t w o r k e r st a l ka b o u ti n t e r f e r e n c et h e y t y p i c a l l yt a l ka b o u t a l l t h e s e k i n d s o f d i s t u r b a n c e b y o t h e r n e t w o r k s , a n d a n yo t h e r s o u r c e s o f m i c r o w a v e , w h e t h e r i t h a s e x a c t l y t h e s a m e f r e q u e n c y a n da0 x e dp h a s e r e l a t i o no r n o t . I n t e r f e r e n c eo f t h i s k i n di s o n eo f t h e m a i ns o u r c e s o f d i N c u l t yi nb u i l d i n gw i r e l e s s l i n k s , e s p e c i a l l yi nu r b a n e n v i r o n m e n t s o r c l o s e ds p a c e s ( s u c ha s ac o n f e r e n c es p a c e ) w h e r em a n y n e t w o r k s m a y c o m p e t e f o r u s e o f t h e s p e c t r u m . B u t , i n t e r f e r e n c eo f t h i sk i n di s a l s oo f t e no v e r r a t e d : f o r e x a m p l e , i m a g i n e y o uh a dt ob u i l da p o i n t t op o i n t l i n kt h a t h a s t oc r o s s a c r o w d e di n n e r c i t y a r e a , b e f o r er e a c h i n gi t s t a r g e t o nt h eo t h e r s i d eo f t h ec i t y . S u c hah i g h l y d i r e c t i o n a l b e a mw i l l c r o s s t h e" e l e c t r i cs m o g "o f t h e u r b a nc e n t r ew i t h o u t a n y p r o b l e m . Y o um a y i m a g i n e t h i s l i k e a g r e e na n da r e dl i g h t b e a mc r o s s i n g e a c ho t h e r i na9 0d e g r e e s a n g l e : w h i l e b o t hb e a m s w i l l o v e r l a pi nac e r t a i n a r e a , t h e o n e w i l l n o t h a v e a n y i m p a c t o n t h e o t h e r a t a l l . G e n e r a l l y ,m a n a g i n gs p e c t r u ma n dc o e x i s t e n c eh a sb e c o m eam a i ni s s u e e s p e c i a l l y i nd e n s e i n d o o r e n v i r o n m e n t s a n du r b a na r e a s .

Line of sight
$ et e r m l i n eo fs i g h t ,o f t e na b b r e v i a t e da sL O S ,i sq u i t ee a s yt o u n d e r s t a n dw h e nt a l k i n ga b o u t v i s i b l e l i g h t : i f w e c a ns e e a p o i n t Bf r o m p o i n t Aw h e r e w e a r e , w e h a v e l i n e o f s i g h t . S i m p l y d r a wa l i n e f r o m At o B , a n di f n o t h i n g i s i nt h e w a y , w e h a v e l i n e o f s i g h t . $i n g s g e t a b i t m o r e c o m p l i c a t e dw h e nw e a r e d e a l i n gw i t hm i c r o w a v e s . R e m e m b e r t h a t m o s t p r o p a g a t i o nc h a r a c t e r i s t i c s o f e l e c t r o m a g n e t i cw a v e s s c a l e w i t ht h e i r w a v e l e n g t h . $i s i s a l s o t h e c a s e f o r t h e w i d e n i n g o f w a v e s a s t h e y t r a v e l . L i g h t h a s aw a v e l e n g t ho f a b o u t 0 . 5m i c r o m e t r e s , m i c r o w a v e s a s u s e di n w i r e l e s s n e t w o r k i n g h a v e a w a v e l e n g t h o f a f e wc e n t i m e t r e s . C o n s e q u e n t l y , t h e i r b e a m s a r ea l o t w i d e r t h e yn e e dm o r e s p a c e , s ot o s p e a k .

20

PHYSICS

N o t et h a t v i s i b l el i g h t b e a m s w i d e nj u s t t h es a m e , a n di f y o ul e t t h e m t r a v e l l o n g e n o u g h , y o uc a ns e e t h e r e s u l t s d e s p i t e t h e i r s h o r t w a v e l e n g t h . Wh e np o i n t i n ga w e l l f o c u s s e dl a s e r a t t h e m o o n , i t s b e a mw i l l w i d e nt o w e l l o v e r 1 0 0m e t r e s i nr a d i u s b y t h e t i m e i t r e a c h e s t h e s u r f a c e . Y o uc a n s e e t h i s e 1 e c t f o r y o u r s e l f u s i n g a ni n e x p e n s i v e l a s e r p o i n t e r a n da p a i r o f b i n o c u l a r s o na c l e a r n i g h t . R a t h e r t h a np o i n t i n ga t t h e m o o n , p o i n t a t a d i s t a n t m o u n t a i no ru n o c c u p i e ds t r u c t u r e( s u c ha saw a t e r t o w e r ) . $e r a d i u s o f y o u r b e a mw i l l i n c r e a s e a s t h e d i s t a n c e i n c r e a s e s . $i s i s d u e t o t h e d i 1 r a c t i o n . $ el i n eo fs i g h tt h a tw en e e di no r d e rt oh a v ea no p t i m a l w i r e l e s s c o n n e c t i o nf r o m At oBi s m o r e t h a nj u s t a t h i nl i n e i t s s h a p e i s m o r e l i k e t h a t o f a c i g a r , a ne l l i p s o i d . I t s w i d t hc a nb e d e s c r i b e db y t h e c o n c e p t o f F r e s n e l z o n e s s e e n e x t s e c t i o nf o r a ne x p l a n a t i o n . Y o uw i l l a l s o0 n d t h ea b b r e v i a t i o nN L O S , f o r " n o nl i n e o f s i g h t " , w h i c hi s m o s t l yu s e dt o d e s c r i b e a n da d v e r t i s e t e c h n o l o g i e s t h a t a l l o wf o r d e a l i n gw i t hw a v e s t h a t r e a c ht h e r e c e i v e r t h r o u g hm u l t i p l e t r a j e c t o r i e s ( m u l t i p a t h ) o r d i 1 r a c t i o n . I t d o e sn o t i n d i c a t et h a t t h es i n g l ee l e c t r o m a g n e t i cb e a mg o e s" a r o u n d c o r n e r s " ( o t h e r t h a nt h r o u g hd i 1 r a c t i o n ) o r " t h r o u g ho b s t a c l e s " a n y b e t t e r t h a nt h a t o f o t h e r t e c h n o l o g i e s . F o r e x a m p l e , y o um i g h t c a l l Wh i t e S p a c e t e c h n o l o g y N L O S , a s i t s l o w e r f r e q u e n c i e s ( l o n g e r w a v e l e n g t h s ) a l l o wi t t o p e r m e a t e o b j e c t s a n du t i l i z e d i 1 r a c t i o nm u c hb e t t e r t h a nc o m p a r a b l e 2 . 4 G Hz o r 5 G Hz t r a n s m i s s i o n s .

Understanding t h e F r e s n e l zone
$ ee x a c tt h e o r yo fF r e s n e l( p r o n o u n c e d F r a y n e l l )z o n e si sq u i t e c o m p l i c a t e d . H o w e v e r , t h e c o n c e p t i s q u i t e e a s yt ou n d e r s t a n d : w e k n o w f r o mt h e H u y g e n s p r i n c i p l e t h a t a t e a c hp o i n t o f a w a v e f r o n t n e wc i r c u l a r w a v e ss t a r t ,w ek n o wt h a tm i c r o w a v eb e a m sw i d e na st h e yl e a v et h e a n t e n n a , w ek n o wt h a t w a v e s o f o n ef r e q u e n c yc a ni n t e r f e r ew i t he a c h o t h e r . F r e s n e l z o n e t h e o r y s i m p l y l o o k s a t a l i n e f r o m At oB , a n d t h e na t t h e s p a c e a r o u n dt h a t l i n e t h a t c o n t r i b u t e s t ow h a t i s a r r i v i n g a t p o i n t B . S o m e w a v e s t r a v e l d i r e c t l y f r o m At oB , w h i l e o t h e r s t r a v e l o np a t h s o 1a x i s a n dr e a c ht h e r e c e i v e r b y r e W e c t i o n . C o n s e q u e n t l y , t h e i rp a t hi sl o n g e r , i n t r o d u c i n gap h a s es h i f tb e t w e e nt h e d i r e c t a n d i n d i r e c t b e a m . Wh e n e v e rt h ep h a s es h i f ti so n eh a l fw a v e l e n g t h , y o ug e td e s t r u c t i v e i n t e r f e r e n c e : t h e s i g n a l s c a n c e l .

1. RADIO PHYSICS

21

T a k i n g t h i s a p p r o a c hy o u 0 n dt h a t w h e nt h e r e W e c t e d p a t hi s l e s s t h a nh a l f aw a v e l e n g t hl o n g e r t h a nt h ed i r e c t p a t h , t h er e W e c t i o n s w i l l a d dt ot h e r e c e i v e ds i g n a l . C o n v e r s e l y , w h e nt h er e W e c t e dp a t hl e n g t he x c e e d st h e d i r e c tp a t hb ym o r et h a no n eh a l fw a v e l e n g t h ,i t sc o n t r i b u t i o nw i l l d e c r e a s e t h e r e c e i v e dp o w e r .

F i g u r e R P1 1 : e F r e s n e l z o n e i s p a r t i a l l y b l o c k e d o n t h i s l i n k , a l t h o u g h t h e v i s u a l l i n e o f s i g h t a p p e a r s c l e a r . N o t et h a tt h e r ea r em a n yp o s s i b l eF r e s n e lz o n e s ,b u tw ea r ec h i e W y c o n c e r n e dw i t ht h e 0 r s t z o n e , b e c a u s e t h e c o n t r i b u t i o n s f r o mt h e s e c o n d z o n ea r en e g a t i v e .$ ec o n t r i b u t i o n sf r o mt h et h i r dz o n ea r ep o s i t i v e a g a i n , b u t t h e r e i s n o p r a c t i c a l w a y t ot a k e a d v a n t a g e o f t h o s e w i t h o u t t h e p e n a l t y i n c u r r e di ng o i n g t h r o u g ht h e s e c o n dF r e s n e l Z o n e . I f t h e 0 r s t F r e s n e l z o n e i s p a r t i a l l y b l o c k e d b y a no b s t r u c t i o n , e . g . a t r e e o r a b u i l d i n g , t h e s i g n a l a r r i v i n g a t t h e f a r e n dw o u l db e d i m i n i s h e d . Wh e n b u i l d i n gw i r e l e s s l i n k s , w e t h e r e f o r e n e e dt ob es u r e t h a t t h e 0 r s t z o n e i s k e p t f r e e o f o b s t r u c t i o n s . I np r a c t i c e , i t i s n o t s t r i c t l yn e c e s s a r yt h a t t h e w h o l eo f t h i s z o n ei s c l e a r , i nw i r e l e s s n e t w o r k i n gw e a i mt oc l e a r a b o u t 6 0 p e r c e n t o f t h e r a d i u s o f t h e 0 r s t F r e s n e l z o n e . H e r e i s o n e f o r m u l a f o r c a l c u l a t i n g t h e r a d i u s o f t h e 0 r s t F r e s n e l z o n e :

r =17.31 (

( d 1d 2) ) ( f d )

. . . w h e r e r i s t h e r a d i u s o f t h e z o n e i nm e t r e s , d n dd r e d i s t a n c e s f r o m 1a 2a t h e o b s t a c l e t ot h e l i n k e n dp o i n t s i nm e t r e s , d i s t h e t o t a l l i n k d i s t a n c e i n m e t r e s , a n df i s t h e f r e q u e n c y i nMHz .

22

PHYSICS

$ e0 r s tF r e s n e lz o n er a d i u sc a na l s ob ec a l c u l a t e dd i r e c t l yf r o mt h e w a v e l e n g t h a s :

r= (

w i t h a l l t h e v a r i a b l e s i nm e t r e s I t i s a p p a r e n t t h a t t h e m a x i m u mv a l u eo f t h e0 r s t F r e s n e l z o n eh a p p e n s e x a c t l yi nt h e m i d d l e o f t h e t r a j e c t o r ya n di t s v a l u e c a nb e f o u n ds e t t i n g d = d = d / 2i nt h e p r e c e d i n gf o r m u l a s . N o t e t h a t t h e f o r m u l a e g i v e y o ut h e 1 2 r a d i u s o f t h e z o n e , n o t t h e h e i g h t a b o v e g r o u n d . T o c a l c u l a t e t h e h e i g h t a b o v e g r o u n d , y o un e e dt o s u b t r a c t t h e r e s u l t f r o m a l i n e d r a w n d i r e c t l y b e t w e e nt h e t o p s o f t h e t w o t o w e r s . F o r e x a m p l e , l e t s c a l c u l a t e t h e s i z e o f t h e 0 r s t F r e s n e l z o n e i nt h e m i d d l e o f a 2 k ml i n k , t r a n s m i t t i n g a t 2 . 4 3 7 G Hz ( 8 0 2 . 1 1 bc h a n n e l 6 ) :

d 1d 2 ) d

r =17.31 [

( 10001000) ] ( 2437 2000)

r =17.31 (

1000000 ) 4874000

r =7 . 8 4 m e t r e s
A s s u m i n gb o t ho fo u rt o w e r sw e r et e nm e t r e st a l l , t h e0 r s tF r e s n e l z o n e w o u l d p a s s j u s t 2 . 1 6 m e t r e s a b o v e g r o u n dl e v e l i nt h e m i d d l e o f t h e l i n k . B u t h o wt a l l c o u l da s t r u c t u r e a t t h a t p o i n t b e t ob l o c k n o m o r e t h a n 6 0 %o f t h e 0 r s t z o n e ?

r =0 . 6 * 7 . 8 4 m e t r e s r =4 . 7 0 m e t r e s S u b t r a c t i n gt h er e s u l t f r o m1 0m e t r e s , w ec a ns e et h a t as t r u c t u r e5 . 3 m e t r e s t a l l a t t h ec e n t r eo f t h el i n kw o u l db l o c ku pt o4 0 %o f t h e 0 r s t F r e s n e l z o n e . $i s i s n o r m a l l ya c c e p t a b l e , b u t t oi m p r o v e t h e s i t u a t i o nw e w o u l dn e e d t op o s i t i o no u r a n t e n n a s h i g h e r u p , o r c h a n g e t h e d i r e c t i o no f t h e l i n kt o a v o i dt h e o b s t a c l e .

1. RADIO PHYSICS

23

Power
A n y e l e c t r o m a g n e t i c w a v e c a r r i e s e n e r g y w e c a nf e e l t h a t w h e nw e e n j o y ( o r s u 1 e r f r o m ) t h e w a r m t h o f t h e s u n . $e a m o u n t o f e n e r g y d i v i d e db y t h e t i m e d u r i n g w h i c hw e m e a s u r e i t i s c a l l e dp o w e r .$ ep o w e rP i sm e a s u r e di nW ( w a t t s )a n di so fk e y i m p o r t a n c ef o raw i r e l e s sl i n k st ow o r k : y o un e e dac e r t a i nm i n i m u m p o w e r i no r d e r f o r a r e c e i v e r t o m a k e s e n s e o f t h e s i g n a l . Wew i l l c o m eb a c kt od e t a i l so ft r a n s m i s s i o np o w e r , l o s s e s , g a i n sa n d r a d i o s e n s i t i v i t y i nt h e c h a p t e r c a l l e dA n t e n n a s / T r a n s m i s s i o nL i n e s .
H e r e w e w i l l b r i e W y d i s c u s s h o wt h e p o w e r Pi s d e 0 n e d a n dm e a s u r e d . $ ee l e c t r i c0 e l di s m e a s u r e di nV / m( p o t e n t i a l d i 1 e r e n c ep e rm e t r e ) , t h e p o w e r c o n t a i n e dw i t h i ni t i s p r o p o r t i o n a l t o t h e s q u a r e o f t h e e l e c t r i c 0 e l d :
2 P~E

P r a c t i c a l l y , w em e a s u r et h ep o w e r i nw a t t sb ym e a n s o f s o m ef o r mo f r e c e i v e r ,e . g .a na n t e n n aa n d av o l t m e t r e ,p o w e rm e t r e ,o s c i l l o s c o p e , s p e c t r u ma n a l y s e r o r e v e na r a d i o c a r da n dl a p t o p . L o o k i n ga t t h e s i g n a l s p o w e r d i r e c t l ym e a n s l o o k i n ga t t h e s q u a r e o f t h e s i g n a l i nv o l t s a n dd i v i d i n g b y t h e e l e c t r i c a l r e s i s t a n c e . C a l c u l a t i n g w i t h d B B y f a r t h e m o s t i m p o r t a n t t e c h n i q u e w h e nc a l c u l a t i n g p o w e r i s c a l c u l a t i n g w i t hd e c i b e l s ( d B ) . $e r ei s n on e wp h y s i c s h i d d e ni nt h i s i t i s j u s t a c o n v e n i e n t m e t h o d w h i c hm a k e s c a l c u l a t i o n s a l o t s i m p l e r . $ ed e c i b e li sad i m e n s i o n l e s su n i t ,t h a ti s ,i td e 0 n e sar e l a t i o n s h i p b e t w e e nt w o m e a s u r e m e n t s o f p o w e r . I t i s d e 0 n e d b y : d B=1 0 * L o g ( P P ) 1/ 0 w h e r eP n dP a nb ew h a t e v e rt w ov a l u e sy o uw a n tt oc o m p a r e . 1 a 0 c T y p i c a l l y , i no u r c a s e , t h i s w i l l b e s o m e a m o u n t o f p o w e r . Wh y a r e d e c i b e l s s oh a n d y t ou s e ? Ma n y p h e n o m e n a i nn a t u r e h a p p e nt o b e h a v e i na w a y w e c a l l e x p o n e n t i a l .

24

PHYSICS

F o r e x a m p l e , t h e h u m a ne a r s e n s e s a s o u n dt ob e t w i c e a s l o u da s a n o t h e r o n e i f i t h a s t e nt i m e s t h e p h y s i c a l s i g n a l p o w e r . A n o t h e re x a m p l e ,q u i t ec l o s et oo u r0 e l do fi n t e r e s t ,i sa b s o r p t i o n . S u p p o s e a w a l l i s i nt h e p a t ho f o u r w i r e l e s s l i n k , a n de a c hm e t r e o f w a l l t a k e s a w a y h a l f o f t h e a v a i l a b l e s i g n a l . $e r e s u l t w o u l d b e : 0 m e t r e s =1 ( f u l l s i g n a l ) 1 m e t r e=1 / 2 2 m e t r e s =1 / 4 3 m e t r e s =1 / 8 4 m e t r e s =1 / 1 6 n n n m e t r e s =1 / 2 =2 $i s i s e x p o n e n t i a l b e h a v i o u r . B u t o n c ew e h a v eu s e dt h e t r i c ko f a p p l y i n gt h el o g a r i t h m( l o g ) , t h i n g s b e c o m e al o t e a s i e r : i n s t e a do f t a k i n gav a l u et ot h e n t hp o w e r , w e j u s t m u l t i p l y b y n . I n s t e a do f m u l t i p l y i n g v a l u e s , w e j u s t a d d . H e r e a r e s o m e c o m m o n l y u s e dv a l u e s t h a t a r e i m p o r t a n t t o r e m e m b e r : + 3 d B=d o u b l e p o w e r 3 d B=h a l f t h e p o w e r + 1 0 d B=o r d e r o f m a g n i t u d e ( 1 0t i m e s p o w e r ) 1 0 d B=o n e t e n t h p o w e r I na d d i t i o nt o d i m e n s i o n l e s s d B , t h e r e a r e a n u m b e r o f d e 0 n i t i o n s t h a t a r e b a s e do n a c e r t a i nb a s e v a l u e P . $e m o s t r e l e v a n t o n e s f o r u s a r e : 0 d B mr e l a t i v e t o P 1 m W 0= d B i r e l a t i v e t o a n i d e a l i s o t r o p i c a n t e n n a A ni s o t r o p i ca n t e n n ai sah y p o t h e t i c a la n t e n n at h a te v e n l yd i s t r i b u t e s p o w e r i na l l d i r e c t i o n s . I t i s a p p r o x i m a t e db y ad i p o l e , b u t ap e r f e c t i s o t r o p i c a n t e n n a c a n n o t b e b u i l t i nr e a l i t y . $ei s o t r o p i cm o d e l i s u s e f u l f o r d e s c r i b i n gt h er e l a t i v e p o w e r g a i no f a r e a l w o r l da n t e n n a .

1. RADIO PHYSICS

25

A n o t h e rc o m m o n( a l t h o u g hl e s sc o n v e n i e n t )c o n v e n t i o nf o re x p r e s s i n g p o w e ri si nm i l l i w a t t s . H e r ea r ee q u i v a l e n tp o w e rl e v e l se x p r e s s e di n m i l l i w a t t s a n dd B m : 1 m W =0 d B m 2 m W =3 d B m 1 0 0 m W =2 0 d B m 1 W =3 0 d B m F o r m o r e d e t a i l s o n d Br e f e r t o t h e d Bm a t h l e c t u r e o f t h e Wi r e l e s s T r a i n i n g k i t : h t t p : / / w t k i t . o r g / s a n d b o x / g r o u p s / w t k i t / w i k i / 8 2 0 c b / a t t a c h m e n t s / e b d a c / 0 2 d B _ Ma t h v 1 . 1 2 _ w i t h n o t e s . p d f

Physics in the real world


D o n tw o r r yi ft h ec o n c e p t si n t h i sc h a p t e rs e e m c h a l l e n g i n g . U n d e r s t a n d i n gh o w r a d i ow a v e sp r o p a g a t ea n di n t e r a c tw i t ht h e e n v i r o n m e n t i s a c o m p l e x 0 e l do f s t u d y i ni t s e l f . Mo s t p e o p l e0 n di t d i N c u l t t ou n d e r s t a n dp h e n o m e n o nt h a t t h e yc a n t e v e ns e e w i t ht h e i r o w ne y e s . B yn o wy o us h o u l du n d e r s t a n dt h a t r a d i ow a v e s d o n t t r a v e l o n l yi na s t r a i g h t , p r e d i c t a b l e p a t h . T om a k er e l i a b l ec o m m u n i c a t i o nn e t w o r k s , y o uw i l l n e e dt ob ea b l et o c a l c u l a t e h o wm u c hp o w e r i s n e e d e dt oc r o s s a g i v e nd i s t a n c e , a n dp r e d i c t h o wt h e w a v e s w i l l t r a v e l a l o n g t h e w a y .

26

PHYSICS

2. TELECOMMUNICATIONS BASICS
$e p u r p o s e o f a n yt e l e c o m m u n i c a t i o n s s y s t e mi s t ot r a n s f e r i n f o r m a t i o n f r o mt h e s e n d e r t o t h e r e c e i v e r b y a m e a n s o f a c o m m u n i c a t i o n c h a n n e l . $e i n f o r m a t i o ni s c a r r i e db yas i g n a l , w h i c hi s c e r t a i np h y s i c a l q u a n t i t y t h a t c h a n g e s w i t ht i m e . $e s i g n a l c a nb eav o l t a g ep r o p o r t i o n a l t ot h e a m p l i t u d e o f t h e v o i c e , l i k e i na s i m p l e t e l e p h o n e , a s e q u e n c e o f p u l s e s o f l i g h t i na no p t i c a l 0 b r e , o r a r a d i o e l e c t r i c w a v e i r r a d i a t e db y a na n t e n n a . F o ra n a l o gs i g n a l s ,t h e s ev a r i a t i o n sa r ed i r e c t l yp r o p o r t i o n a lt os o m e p h y s i c a lv a r i a b l el i k es o u n d ,l i g h t ,t e m p e r a t u r e ,w i n ds p e e d ,e t c .$ e i n f o r m a t i o nc a na l s o b e t r a n s m i t t e d b y d i g i t a l b i n a r y s i g n a l s , t h a t w i l l h a v e o n l yt w ov a l u e s , a d i g i t a l o n e a n da d i g i t a l z e r o . A n y a n a l o g s i g n a l c a nb e c o n v e r t e di n t oad i g i t a l s i g n a l b y a p p r o p r i a t e l ys a m p l i n g a n dt h e nc o d i n g i t . $e s a m p l i n g f r e q u e n c y m u s t b e a t l e a s t t w i c e t h e m a x i m u mf r e q u e n c y p r e s e n ti nt h es i g n a li no r d e rt oc a r r ya l l t h ei n f o r m a t i o nc o n t a i n e d t h e r e i n . R a n d o ms i g n a l s a r et h eo n e s t h a t a r e u n p r e d i c t a b l ea n dc a nb e d e s c r i b e do n l yb ys t a t i s t i c a lm e a n s . N o i s ei sat y p i c a lr a n d o ms i g n a l , d e s c r i b e db y i t s m e a np o w e r a n df r e q u e n c y d i s t r i b u t i o n . As i g n a l c a nb e c h a r a c t e r i s e db y i t s b e h a v i o u r o v e r t i m e o r b y i t s f r e q u e n c yc o m p o n e n t s , w h i c hc o n s t i t u t ei t ss p e c t r u m . S o m ee x a m p l e so fs i g n a l sa r es h o w ni n F i g u r e T B1 .

F i g u r e T B1 : E x a m p l e s o f s i g n a l s
A n y p e r i o d i c s i g n a l i s c o m p o s e do f m a n y s i n u s o i d a l c o m p o n e n t s , a l l o f t h e m m u l t i p l e s o f t h e f u n d a m e n t a l f r e q u e n c y , w h i c hi s t h e i n v e r s e o f t h e p e r i o do f t h e s i g n a l . S oa s i g n a l c a nb e c h a r a c t e r i s e de i t h e r b y a g r a p ho f i t s a m p l i t u d e o v e r t i m e , c a l l e da w a v e f o r m , o r a g r a p ho f o f t h e a m p l i t u d e s o f i t s f r e q u e n c y c o m p o n e n t s , c a l l e da s p e c t r u m . F i g u r e T B2 : W a v e f o r m s , S p e c t r u ma n d C l t e r s

2. TELECOMMUNICATIONS BASICS 27

F i g u r eT B2s h o w s h o wt h es a m e s i g n a l c a nb es e e nf r o mt w od i 1 e r e n t p e r s p e c t i v e s . $e w a v e f o r mc a nb ed i s p l a y e db ya ni n s t r u m e n t c a l l e da n o s c i l l o s c o p e ,w h i l et h es p e c t r u mc a nb ed i s p l a y e db yw h a ti sc a l l e da S p e c t r u m A n a l y z e r .$ e s p e c t r u m d i s t r i b u t i o nr e l a y sv e r yi m p o r t a n t i n f o r m a t i o na b o u t t h e s i g n a l a n da l l o w s f o r t h e i n t u i t i v e u n d e r s t a n d i n g o f t h ec o n c e p t o f 0 l t e r i n go f e l e c t r i c a l s i g n a l s . I nt h ee x a m p l es h o w n , t h e s i g n a l i s f o r m e db yt h es u p e r p o s i t i o no f t h r e e s i n u s o i d a l c o m p o n e n t s o f f r e q u e n c yf , f n df . I f w ep a s s t h i s s i g n a l t h r o u g had e v i c et h a t w i l l 1 2a 3 r e m o v e f a n d f , t h e o u t p u t i s a p u r e s i n u s o i d a l a t f r e q u e n c y f . 2 3 1 Wec a l l t h i so p e r a t i o n L o wP a s s0 l t e r i n g b e c a u s ei t r e mo v e st h e h i g h e r f r e q u e n c i e s . C o n v e r s e l y , w ec a na p p l yt h es i g n a l t oa Hi g h P a s sF i l t e r ,a d e v i c et h a tw i l lr e mo v ef n df e a v i n go n l ya 1 a 2 l s i n u s o i d a ls i g n a la tt h ef f r e q u e n c y . Ot h e r c o mb i n a t i o n s a r e 3 p o s s i b l e , g i v i n gr i s et oav a r i e t yo f0 l t e r s . N op h y s i c a l d e v i c ec a n t r a n s mi ta l l t h ei n 0 n i t ef r e q u e n c i e so f t h er a d i o e l e c t r i cs p e c t r u m, s oe v e r yd e v i c ew i l l a l w a y sp e r f o r ms o mee x t e n to f 0 l t e r i n gt ot h e s i g n a lt h a tg o e st h r o u g hi t .$ e b a n d w i d t ho fa s i g n a li st h e d i 1 e r e n c eb e t w e e nt h eh i g h e s ta n dt h el o w e s tf r e q u e n c yt h a ti t c o n t a i n s a n di s e x p r e s s e di nHz ( n u mb e r o f c y c l e s p e r s e c o n d ) . Wh i l e t r a v e l l i n g t h r o u g ht h e c o m m u n i c a t i o nc h a n n e l , t h e s i g n a l i s s u b j e c t t oi n t e r f e r e n c e c a u s e db y o t h e r s i g n a l s a n di s a l s oa 1 e c t e db y t h e e l e c t r i c a l n o i s e a l w a y s p r e s e n t i na n ye l e c t r i c a l o r o p t i c a l c o m p o n e n t . I n t r a c h a n n e l i n t e r f e r e n c eo r i g i n a t e si nt h es a m ec h a n n e la so u rs i g n a l .C o c h a n n e l i n t e r f e r e n c e i s d u e t ot h e i m p e r f e c t i o no f t h e 0 l t e r s t h a t w i l l l e t i ns i g n a l s f r o ma d j a c e n t c h a n n e l s . C o n s e q u e n t l y , t h e r e c e i v e ds i g n a l w i l l a l w a y s b e ad i s t o r t e dr e p l i c a o f t h e

28

PHYSICS

t r a n s m i t t e ds i g n a l , f r o mw h i c ht h e o r i g i n a l i n f o r m a t i o nm u s t b e r e t r i e v e d b ya p p r o p r i a t em e a n st oc o m b a tt h ee 1 e c to fi n t e r f e r e n c ea n dn o i s e . F u r t h e r m o r e , t h er e c e i v e ds i g n a l w i l l b es u b j e c t t oa t t e n u a t i o na n dd e l a y t h a t i n c r e a s e w i t ht h e d i s t a n c e b e t w e e nt h e t r a n s m i t t e r a n dt h e r e c e i v e r .

F i g u r e T B3 : A t t e n u a t i o n a n d d e l a y A l t h o u g hi t i s r e l a t i v e l y s i m p l e t or e s t o r e t h e a m p l i t u d e o f s i g n a l b y m e a n s o fa ne l e c t r i c a la m p l i C e r ,t h ec o m p o n e n t so ft h ea m p l i 0 e rw i l la d d a d d i t i o n a l n o i s e t ot h e s i g n a l , s oa t v e r y l o n g d i s t a n c e s w h e r e t h e r e c e i v e d s i g n a l i s f e e b l e , t h e a m p l i 0 e r w i l l p r o d u c eas i g n a l s og a r b l e dw i t hn o i s e t h a t t h e i n f o r m a t i o no r i g i n a l l y t r a n s m i t t e d w i l l n o l o n g e r b e r e t r i e v a b l e . O n ew a yt oa d d r e s s t h i sp r o b l e mc o n s i s t s i nc o n v e r t i n gt h e c o n t i n u o u s q u a n t i t yc a r r y i n gt h e i n f o r m a t i o ni n t oa s e q u e n c eo f v e r ys i m p l e s y m b o l s w h i c hc a nb e e a s i e r t or e c o g n i s e e v e na t g r e a t d i s t a n c e . F o r i n s t a n c e , t h e W a g o f a s h i pi s a c o n v e n i e n t w a y t od i s t i n g u i s ht h e n a t i o n a l i t y o f t h e s h i p e v e na t d i s t a n c e s a t w h i c ht h e l e t t e r s o n t h e h u l l c a n n o t b e r e a d . $i st e c h n i q u eh a sb e e ne x t e n d e dt oc a r r yg e n e r a l i s e dm e s s a g e sb y a s s i g n i n gd i 1 e r e n t p o s i t i o no f W a g s t oe v e r yl e t t e r o f t h e a l p h a b e t , i na n e a r l yf o r mo f l o n gd i s t a n c et e l e c o m m u n i c a t i o n sb ym e a n s o f d i g i t a l o r n u m e r i c s i g n a l s . $e l i m i t a t i o no f t h i s m e t h o d i s o b v i o u s ; t ob e a b l e t od i s t i n g u i s ha m o n g ,

2. TELECOMMUNICATIONS BASICS 29

s a y , 2 6 s y m b o l s c o r r e s p o n d i n g t oe a c hl e t t e r s o f t h e a l p h a b e t , o n e m u s t b e q u i t e c l o s e t o t h e c o m m u n i c a t i n g s h i p . O nt h e o t h e r h a n d , i f w e c o d e e a c hl e t t e r o f t h e a l p h a b e t i na s e q u e n c e o f o n l yt w os y m b o l s , t h e s es y m b o l sc a nb ed i s t i n g u i s h e da tm u c hl o n g e r d i s t a n c e , f o r e x a m p l e t h e d o t a n dd a s h e s o f t h e t e l e g r a p hs y s t e m . $e p r o c e s so ft r a n s f o r m i n gac o n t i n u o u sa n a l o gs i g n a li n t oa d i s c o n t i n u o u s d i g i t a l o n ei s c a l l e dA n a l o gt oD i g i t a l C o n v e r s i o n( A D C ) , a n dc o n v e r s e l y w e m u s t h a v e a D i g i t a l t oA n a l o gC o n v e r t e r ( D A C ) a t t h e r e c e i v i n g e n dt o r e t r i e v e t h e o r i g i n a l i n f o r m a t i o n . $i si st h er e a s o nw h ym o s tm o d e r nt e l e c o m m u n i c a t i o ns y s t e m su s e d i g i t a l b i n a r ys i g n a l s t oc o n v e ya l l s o r t s o f i n f o r m a t i o ni nam o r e r o b u s t w a y . $e r e c e i v e r m u s t o n l y d i s t i n g u i s hb e t w e e nt w op o s s i b l e s y m b o l s , o r i no t h e r w o r d sb e t w e e nt w op o s s i b l ev a l u e s o f t h er e c e i v e db i t ( b i n a r y d i g i t ) . F o r i n s t a n c e , t h e C Dh a s r e p l a c e dt h e v i n y l r e c o r d , a n da n a l o g u e t e l e v i s i o ni s b e i n g r e p l a c e db y d i g i t a l t e l e v i s i o n . D i g i t a l s i g n a l s c a nu s e l e s s b a n d w i d t h ,a se x e m p l i 0 e db yt h e d i g i t a ld i v i d e n d c u r r e n t l yb e i n g h a r n e s s e di nm a n y c o u n t r i e s w h i c hc o n s i s t s i n b a n d w i d t ht h a t h a s b e c o m e a v a i l a b l et h a n k s t ot h et r a n s i t i o nf r o ma n a l o gt od i g i t a l t r a n s m i s s i o ni n T Vb r o a d c a s t i n g . A l t h o u g hi nt h ep r o c e s so fc o n v e r t i n gf r o m a na n a l o gt o ad i g i t a l i n f o r m a t i o ns y s t e mt h e r ei sa l w a y ss o m el o s so fi n f o r m a t i o n ,w ec a n e n g i n e e r t h e s y s t e ms o a s t o m a k e t h i s l o s s n e g l i g i b l e .

F i g u r e T B4 : U n d e r s a m p l e dI m a g e
F o r e x a m p l e , i nad i g i t a l c a m e r aw e c a nc h o o s et h en u m b e r o f b i t s u s e dt o r e c o r d t h e i m a g e . $ eg r e a t e r t h en u m b e r o f b i t s ( p r o p o r t i o n a l t ot h ea m o u n t o f m e g a p i x e l s ) ,

30

PHYSICS

t h e b e t t e r t h e r e n d e r i n g , b u t m o r e m e m o r yw i l l b eu s e da n dl o n g e r t i m e t o t r a n s m i t t h e i m a g e w i l l b e n e e d e d . S om o s t m o d e r nc o m m u n i c a t i o ns y s t e m s d e a l w i t hd i g i t a l s i g n a l s , a l t h o u g h t h e o r i g i n a l v a r i a b l e t h a t w e w a n t t ot r a n s m i t m i g h t b e a n a l o g , l i k e t h e v o i c e . I t c a nb es h o w nt h a t a n ya n a l o gs i g n a l c a nb er e c o n s t r u c t e df r o md i s c r e t e s a m p l e s i f t h e s a m p l i n gr a t e i s a t l e a s t t w i c e a s h i g ha s t h e h i g h e s t f r e q u e n c y c o n t e n t o f t h e s i g n a l .

F i g u r e T B5 : d e t e c t i o no f a n o i s y s i g n a l $e ne a c hs a m p l e i s c o d e di na s m a n y b i t s a s n e c e s s a r y t oa c h i e v e t h e d e s i r e d

2. TELECOMMUNICATIONS BASICS 31

a m o u n t o f p r e c i s i o n . $e s e b i t s c a nn o wb e e N c i e n t l y s t o r e do r t r a n s m i t t e d , s i n c e f o r t h e r e c o v e r y o f t h e i n f o r m a t i o no n en e e d s t od i s t i n g u i s ha m o n g o n l yt w os t a t e s , a n dn o t a m o n g t h e i n 0 n i t e n u a n c e s o f a na n a l o g s i g n a l .

$i s i s s h o w ni nF i g u r e T B5 , w h e r e t h e o r i g i n a l d a t a c o n s i s t s o f t h e 0 1 0 1110s e q u e n c e . $e 0 ' s a r e r e p r e s e n t e da s z e r ov o l t s a n dt h e 1 ' s a s 1V . A s t h e s i g n a l m o v e s t o w a r d s t h e r e c e i v e r , i t s a m p l i t u d e w i l l d i m i n i s h . $i s e 1 e c t i s c a l l e d" a t t e n u a t i o n "a n di s s h o w ni nt h e0 g u r e . L i k e w i s e , t h e r e w i l l a l s ob ead e l a ya st h es i g n a lm o v e sf r o mt h et r a n s m i t t e rt ot h e r e c e i v e r , t h ev a r i a b i l i t yi nt h ed e l a yo f t h er e c e i v e ds i g n a l i s c a l l e dj i t t e r . A t t e n u a t i o n , n o i s eo r j i t t e r ( o r t h e i r c o m b i n a t i o n ) i f s e v e r ee n o u g h , c a n c a u s ea d e t e c t i o ne r r o r .A na m p l i 0 e rc a nb eu s e dt oo v e r c o m et h e a t t e n u a t i o n , b u t t h e e l e c t r i c a l n o i s e a l w a y s p r e s e n t i nt h e s y s t e mw i l l a d d t o t h e r e c e i v e ds i g n a l . $ en o i s yr e c e i v e ds i g n a l i st h e r e f o r eq u i t ed i 1 e r e n tf r o mt h eo r i g i n a l s i g n a l ,b u ti n ad i g i t a ls y s t e m w ec a ns t i l lr e c o v e rt h ei n f o r m a t i o n c o n t a i n e db ys a m p l i n gt h er e c e i v e ds i g n a la tt h ec o r r e c tt i m ea n d c o m p a r i n gt h ev a l u ea tt h es a m p l i n gt i m ew i t h as u i t a b l et h r e s h o l d v o l t a g e . I nt h i s e x a m p l e t h e n o i s e r e c e i v e ds i g n a l h a s ap e a ko f 1 . 8V , s o w em i g h t c h o o s eet h r e s h o l dv o l t a g eo f 1 . 1V . I f t h er e c e i v e ds i g n a l i s a b o v e t h e t h r e s h o l d , t h e d e t e c t o r w i l l o u t p u t a d i g i t a l 1 , o t h e r w i s e , i t w i l l o u t p u t a 0 . I nt h i s c a s e w e c a ns e e t h a t b e c a u s e o f t h e e 1 e c t o f t h e n o i s e t h e 0 f t hb i t w a s e r r o n e o u s l y d e t e c t e da s a z e r o . T r a n s m i s s i o ne r r o r s c a na l s o o c c u r i f t h e s a m p l i n g s i g n a l p e r i o d i s d i 1 e r e n t f r o mt h a t o f t h eo r i g i n a l d a t a( d i 1 e r e n c ei nt h ec l o c kr a t e s ) , o ri f t h e r e c e i v e r c l o c k i s n o t s t a b l e e n o u g h( j i t t e r ) . A n yp h y s i c a l s y s t e mw i l l h a v ea nu p p e r l i m i t i nt h e f r e q u e n c i e s t h a t w i l l t r a n s m i t f a i t h f u l l y ( t h e b a n d w i d t ho f t h e s y s t e m ) , h i g h e r f r e q u e n c i e s w i l l b e b l o c k e d , s ot h e a b r u p t r i s e a n df a l l o f t h e v o l t a g e w i l l b e s m o o t h e do u t a s t h e s i g n a l g o e s t h r o u g ht h e c h a n n e l . $e r e f o r e , w e m u s t m a k e s u r e t h a t e a c ho f t h e e l e m e n t s o f t h e s y s t e mh a s e n o u g hb a n d w i d t ht oh a n d l et h es i g n a l . O nt h eo t h e r h a n d , t h eg r e a t e r t h e b a n d w i d t ho f t h e r e c e i v e r s y s t e m , t h e g r e a t e r t h e a m o u n t o f t h e n o i s e t h a t w i l l a 1 e c t t h e r e c e i v e ds i g n a l .

32

PHYSICS

Modulation
$e r o b u s t n e s s o f t h e d i g i t a l s i g n a l i s a l s oe x e m p l i 0 e db yt h e f a c t t h a t i t w a s c h o s e nf o r t h e 0 r s t t r i a l s o f r a d i ot r a n s m i s s i o n . Ma r c o n i s h o w e dt h e f e a s i b i l i t y o f l o n g d i s t a n c e t r a n s m i s s i o n , b u t p r e t t y s o o nr e a l i s e dt h a t t h e r e w a s a n e e dt o s h a r e t h e m e d i u ma m o n g d i 1 e r e n t u s e r s . $i s w a sa c h i e v e db ya s s i g n i n gd i 1 e r e n tc a r r i e rf r e q u e n c i e sw h i c hw e r e m o d u l a t e db ye a c hu s e r s m e s s a g e . Mo d u l a t i o ni s as c h e m e t om o d i f yt h e a m p l i t u d e , f r e q u e n c y o r p h a s e o f t h e c a r r i e r a c c o r d i n gw i t ht h e i n f o r m a t i o n o n e w a n t s t ot r a n s m i t . $e o r i g i n a l i n f o r m a t i o ni s r e t r i e v e da t d e s t i n a t i o n b y t h e c o r r e s p o n d i n g d e m o d u l a t i o no f t h e r e c e i v e ds i g n a l .

F i g u r e T B6 : S i n u s o i d a l C a r r i e r S i g n a l F i g u r eT B 6s h o w sac a r r i e rs i g n a lw i t hA m p l i t u d eA , p h a s e , a n d f r e q u e n c y f w h i c h i s t h e r e c i p r o c a l o f t h e p e r i o d T . o $ ec o m b i n a t i o no fd i 1 e r e n tm o d u l a t i o ns c h e m e sh a sr e s u l t e di na p l e t h o r a o f m o d u l a t i o nt e c h n i q u e s d e p e n d i n go nw h i c ha s p e c t o n e w a n t s t oo p t i m i s e : r o b u s t n e s s a g a i n s t n o i s e , a m o u n t o f i n f o r m a t i o nt r a n s m i t t e d p e rs e c o n d( c a p a c i t yo ft h el i n ki nb i t s / s e c o n d )o rs p e c t r a le M c i e n c y ( n u m b e r o f b i t s / s p e r H e r t z ) . F o ri n s t a n c e ,B P S KB i n a r yP h a s eS h i f tK e y i n g -i sa v e r yr o b u s t m o d u l a t i o nt e c h n i q u eb u t t r a n s m i t s o n l yo n e b i t p e r s y m b o l , w h i l e2 5 6

2. TELECOMMUNICATIONS BASICS 33

Q A MQ u a t e r n a r yA m p l i t u d eMo d u l a t i o n w i l l c a r r y8b i t s p e r s y m b o l , t h u sm u l t i p l y i n gb yaf a c t o ro fe i g h tt h ea m o u n to fi n f o r m a t i o n t r a n s m i t t e dp e rs e c o n d ,b u tt oc o r r e c t l yd i s t i n g u i s ha m o n g s tt h e2 5 6 s y m b o l s t r a n s m i t t e d , t h e r e c e i v e ds i g n a l m u s t b e v e r ys t r o n g a s c o m p a r e d w i t ht h e n o i s e ( a v e r y h i g hS / NS i g n a l / N o i s e r a t i o i s r e q u i r e d ) . $ eu l t i m a t em e a s u r eo f q u a l i t yi nd i g i t a l t r a n s m i s s i o ni s t h eB E RB i t E r r o r R a t e w h i c hc o r r e s p o n d s t o t h e f r a c t i o no f e r r o n e o u s l y d e c o d e db i t s . 3 9 T y p i c a l v a l u e s o f B E Rr a n g e b e t w e e n1 0a n d1 0. $ em o d u l a t i o na l s oa l l o w s u st oc h o o s ew h i c hr a n g eo f f r e q u e n c yw e w a n t t ou s e f o r a g i v e nt r a n s m i s s i o n . A l l f r e q u e n c i e s a r e n o t c r e a t e d e q u a l a n dt h e c h o i c e o f t h e c a r r i e r f r e q u e n c y i s d e t e r m i n e db y l e g a l , c o m m e r c i a l a n dt e c h n i c a l c o n s t r a i n t s .

Multiplexing and duplexing


I ng e n e r a l ,t h es h a r i n go fac h a n n e la m o n gd i 1 e r e n tu s e r si sc a l l e d m u l t i p l e x i n g . $i s i s s h o w n i nF i g u r e T B7 .

A s s i g n i n gd i 1 e r e n t c a r r i e r f r e q u e n c i e s t od i 1 e r e n t u s e r s i s c a l l e dF D MA F r e q u e n c y D i v i s i o nMu l t i p l e A c c e s s . A na l t e r n a t i v et e c h n i q u ec o n s i s t si na s s i g n i n gd i 1 e r e n tt i m es l o t st o d i 1 e r e n tu s e r s , i nw h a ti sk n o w na sT D MA T i m eD i v i s i o n Mu l t i p l e A c c e s s ,o re v e nd i 1 e r e n tc o d e si nC D MA C o d eD i v i s i o n Mu l t i p l e

34

PHYSICS

A c c e s s -w h e r et h ed i 1 e r e n tu s e r sa r er e c o g n i s e da tt h er e c e i v e rb yt h e p a r t i c u l a r m a t h e m a t i c a l c o d e a s s i g n e dt o t h e m . S e e F i g u r e T B8 . B y u s i n g t w o o r m o r e a n t e n n a s s i m u l t a n e o u s l y , o n e c a nt a k e a d v a n t a g e o f t h ed i 1 e r e n t a m o u n t o f f a d i n gi n t r o d u c e di nt h ed i 1 e r e n tp a t h s t ot h e r e c e i v e r e s t a b l i s h i n g a d i 1 e r e n c e a m o n g u s e r s i nw h a t i s k n o w na s S D MA S p a c eD i v i s i o nMu l t i p l eA c c e s s , at e c h n i q u ee m p l o y e di nt h eMI MO Mu l t i p l eI n p u t , Mu l t i p l eO u t p u t -s y s t e m st h a th a v eg a i n e dp o p u l a r i t y r e c e n t l y .

F i g u r e T B8 : Me d i u mS h a r i n g t e c h n i q u e s Mo s t c o m m u n i c a t i o ns y s t e m s t r a n s m i t i n f o r m a t i o ni nb o t hd i r e c t i o n s , f o r i n s t a n c ef r o mt h eB a s eS t a t i o nt ot h es u b s c r i b e ri nw h a ti sc a l l e dt h e d o w n l i n k , a n df r o mt h e s u b s c r i b e r t o t h e b a s e s t a t i o ni nt h e u p l i n k .

2. TELECOMMUNICATIONS BASICS 35

T oa c c o m p l i s ht h i s ,t h ec h a n n e lm u s tb es h a r e db e t w e e nt h et w o d i r e c t i o n s g i v i n g r i s e r e s p e c t i v e l y t oF D DF r e q u e n c y D i v i s i o nD u p l e x i n g a n dT D DT i m e D i v i s i o nD u p l e x i n g .

Conclusions
$e c o m m u n i c a t i o ns y s t e mm u s t o v e r c o m et h e n o i s e a n di n t e r f e r e n c e t o d e l i v e r a s u i t a b l e r e p l i c a o f t h e s i g n a l t o t h e r e c e i v e r . $e c a p a c i t y o f t h e c o m m u n i c a t i o nc h a n n e l i nb i t s / s e c o n di s p r o p o r t i o n a l t o t h e b a n d w i d t hi nHz a n dt o t h e l o g a r i t h mo f t h e S / Nr a t i o . Mo d u l a t i o ni s u s e d t oa d a p t t h e s i g n a l t ot h e c h a n n e l a n dt oa l l o ws e v e r a l s i g n a l s t os h a r e t h e s a m e c h a n n e l . H i g h e r o r d e r m o d u l a t i o ns c h e m e s a l l o w f o r a h i g h e r t r a n s m i s s i o n r a t e , b u t r e q u i r e h i g h e r S / Nr a t i o . $e c h a n n e lc a nb es h a r e db ys e v e r a lu s e r st h a to c c u p yd i 1 e r e n t f r e q u e n c i e s , d i 1 e r e n t t i m e s l o t s , d i 1 e r e n t c o d e s o r b y t a k i n ga d v a n t a g e o f d i 1 e r e n t p r o p a g a t i o nc h a r a c t e r i s t i c s i nw h a t i s c a l l e ds p a t i a l m u l t i p l e x i n g . F o rm o r ei n f o r m a t i o na n ds l i d e sc o v e r i n gt h i st o p i cp l e a s ev i s i t h t t p : / / w t k i t . o r g / g r o u p s / w t k i t / w i k i / 8 2 0 c b / d o w n l o a d _ p a g e . h t m l

36

PHYSICS

3. LICENSING AND REGULATION


$e r ea r ean u m b e r o f a r e a s w h e r en a t i o n a l a n di n t e r n a t i o n a l l a w s a n d r e g u l a t i o n s c a ni n W u e n c e y o u r a b i l i t y t o s e t u p w i r e l e s s n e t w o r k s . S i n c e t h e s e r u l e s v a r yf r o mc o u n t r y t oc o u n t r y i t i s i m p o s s i b l e t og i v e a n o v e r v i e wo f w h i c hr e g u l a t i o n s m a y a p p l y i ny o u r r e g i o n . I t i s a l s ow o r t hn o t i n g t h a t t h e r e m a y b e a h u g e d i 1 e r e n c e i nw h i c hl a w s e x i s t , a n dh o wt h e y a r e r e g u l a t e di np r a c t i c e . I no t h e r w o r d s t h e r e m a y b e c o u n t r i e s w h e r e u s i n g t h e 2 . 4 G Hz / 5 G Hz s p e c t r u mf o r o u t d o o r w i r e l e s s i s t e c h n i c a l l y i l l e g a l , b u t w h e r e e v e r y o n e d o e s i t a n y w a y . A s a r u l e o f t h u m b , i f o t h e r p e o p l e a r e b u i l d i n gs i m i l a r n e t w o r k s t ow h a t y o ui n t e n d , c o n t a c t t h e ma n d0 n do u t w h a t l e g a l i s s u e s t h e ym a yh a v e r u ni n t o . I f s u c hn e t w o r k s a r e v e r y w i d e l y d e p l o y e di ny o u r c o u n t r y , t h e n y o up r o b a b l yd o n ' t n e e dt ow o r r yt o om u c h . O nt h eo t h e r h a n d , i t i s a l w a y sa d v i s a b l et os e e kl o c a la d v i c e , f r o mh a r d w a r ev e n d o r s , w i r e l e s s e x p e r t s o r o t h e r s w h oh a v e c o m e b e f o r e y o u , b e f o r e c o m m i t t i n g t i m e a n d r e s o u r c e s t ob u i l d i n g a w i r e l e s s n e t w o r k . Wh a t e v e r y o ud o , i t i s i m p o r t a n t y o u t a k e l o c a l l a w s a n dr e g u l a t i o n s i n t oc o n s i d e r a t i o n .

Examples of relevant types of regulation


E a c h c o u n t r y m a y h a v e d i 1 e r e n t r u l e s , a n de a c hs c e n a r i om a y c o m e a c r o s s d i 1 e r e n t t y p e s o f r e g u l a t i o n s . $e a r e a s w h e r e r e g u l a t i o n s m a y b e r e l e v a n t i n c l u d el i c e n s e sf o ru s i n gs p e c i 0 cr a d i of r e q u e n c i e s , r u l e sr e g a r d i n gt h e r i g h tt oi n s t a l l t o w e r sf o ra n t e n n a s , t h em a x i m u mp o w e ra l l o w e da n d t e l e c o ml i c e n s i n gr u l e s l i m i t i n gy o u r a b i l i t yt op r o v i d e I n t e r n e t a c c e s s t o o t h e r s . $e t y p e s o f l e g a l i s s u e s t h a t m a y ( o r m a y n o t ) b e w o r t hc o n s i d e r i n g w h e n p l a n n i n g a w i r e l e s s n e t w o r k i n c l u d e : S p e c t r u mL i c e n s i n g I S P / T e l e c o m m u n i c a t i o n s L i c e n s e s T o w e r p e r m i t s f o r a n t e n n a s T r a n s m i s s i o np o w e r a n da n t e n n a g a i nl i m i t s C e r t i 0 c a t i o no f e q u i p m e n t I S PT e r m s o f U s e

3. LICENSING AND REGULATION

37

S p e c t r u mL i c e n s i n g Mo s t c o u n t r i e s c o n s i d e r R Fs p e c t r u ma s a ne x c l u s i v e p r o p e r t y o f t h e s t a t e . $ eR Fs p e c t r u mi s an a t i o n a l r e s o u r c e , m u c hl i k ew a t e r , l a n d , g a s a n d m i n e r a l s . U n l i k e t h e s e , h o w e v e r , R Fi s r e u s a b l e . $e p u r p o s e o f s p e c t r u m m a n a g e m e n t i st om i t i g a t er a d i os p e c t r u mp o l l u t i o na n dm a x i m i z et h e b e n e 0 t o f u s a b l e r a d i o s p e c t r u m . $e 0 r s t s e n t e n c eo f t h e I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n s U n i o n( I T U ) c o n s t i t u t i o nf u l l yr e c o g n i s e s t h e s o v e r e i g nr i g h t o f e a c hS t a t e t or e g u l a t e i t s t e l e c o m m u n i c a t i o n .E 1 e c t i v e s p e c t r u m m a n a g e m e n tr e q u i r e s r e g u l a t i o na t n a t i o n a l , r e g i o n a l a n dg l o b a l l e v e l s . L i c e n s i n gi sa no r d e r l yw a yt om a n a g ew h o ,w h e n ,w h e r ea n dh o w s p e c t r u mr e s o u r c ei su s e d .$ eu n l i c e n s e dw i r e l e s ss p e c t r u m w a ss e t a r o u n dt h e 2 . 4 G Hz b a n d . I nJ u n e 2 0 0 3 , t h e I T Um a d e a v a i l a b l e t h e 5 G Hz b a n df o r l i c e n s e e x e m p t t e c h n o l o g yd e p l o y m e n t . $ e9 0 0MHz b a n d , u n l i c e n s e di nt h eU n i t e d S t a t e s ,i sp r e s e n t l yu s e di n We s t e r nE u r o p ea n di nm a n yd e v e l o p i n g c o u n t r i e sf o rG S M p h o n e s .E a c hc o u n t r yh a st h es o v e r e i g nr i g h tt o r e g u l a t ei t st e l e c o m m u n i c a t i o na n dt oi n t e r p r e t t h ei n t e r n a t i o n a l R a d i o R e g u l a t i o n s .G o v e r n m e n t sd e 0 n et h er u l e sa n dc o n d i t i o n so ft h e f r e q u e n c y u s e . ( F r o m : Wi k i p e d i a " S p e c t r u m Ma n a g e m e n t " ) $ et e c h n o l o g i e sd e s c r i b e di nt h i sb o o k( m o s t l y )u s eal i c e n s e e x e m p t s l i c eo f t h es p e c t r u mr e f e r r e dt oa st h eI S M ( I n d u s t r i a l , S c i e n t i 0 ca n d Me d i c a l r a d i o b a n d s ) . R a d i of r e q u e n c i e s i nt h e I S Mb a n d s h a v e b e e nu s e d f o rc o m m u n i c a t i o np u r p o s e s ,a l t h o u g hs u c hd e v i c e sm a ye x p e r i e n c e i n t e r f e r e n c e f r o mn o n c o m m u n i c a t i o ns o u r c e s . $ eI S Mb a n d s a r ed e 0 n e db yt h eI T U R( I T U ' s R a d i o c o m m u n i c a t i o n S e c t o r )a t2 . 4a n d 5 GHz . I n d i v i d u a lc o u n t r i e s 'u s eo ft h eb a n d s d e s i g n a t e di nt h e s e s e c t i o n s m a y d i 1 e r d u e t ov a r i a t i o n s i nn a t i o n a l r a d i o r e g u l a t i o n s . B e c a u s ec o m m u n i c a t i o nd e v i c e s u s i n gt h eI S Mb a n d sm u s t t o l e r a t e a n yi n t e r f e r e n c e f r o mI S Me q u i p m e n t , u n l i c e n s e do p e r a t i o n s a r e t y p i c a l l y p e r m i t t e dt ou s e t h e s e b a n d s , s i n c e u n l i c e n s e do p e r a t i o nt y p i c a l l y n e e d s t o b e t o l e r a n t o f i n t e r f e r e n c e f r o mo t h e r d e v i c e s a n y w a y . I nt h eU S , t h eF C C( F e d e r a l C o m m u n i c a t i o n s C o m m i s s i o n ) 0 r s t m a d e u n l i c e n s e ds p r e a ds p e c t r u ma v a i l a b l ei nt h eI S Mb a n d s i nr u l e s a d o p t e d o n Ma y9 ,1 9 8 5 .Ma n yo t h e rc o u n t r i e sl a t e ra d o p t e dt h e s eF C C r e g u l a t i o n s , e n a b l i n g u s e o f t h i s t e c h n o l o g y i nm a n y c o u n t r i e s . ( F r o m : Wi k i p e d i a " I S MB a n d " )

38

PHYSICS

I S P / T e l e c o m m u n i c a t i o n s L i c e n s e s I ns o m e c o u n t r i e s a nI S Pl i c e n s e w o u l db e r e q u i r e db e f o r e d e p l o y i n g a n y n e t w o r ki n f r a s t r u c t u r ef o r s h a r i n gn e t w o r k s o v e r p u b l i cs p a c e s . I no t h e r c o u n t r i e s t h i s w o u l d o n l y b e r e q u i r e dt or u nc o m m e r c i a l n e t w o r k s . T o w e r p e r m i t s f o r a n t e n n a s Wh e nd e p l o y i n gl o n g r a n g eo u t d o o rn e t w o r k s , i t i so f t e nn e c e s s a r yt o b u i l da t o w e r f o r t h e a n t e n n a . Ma n yc o u n t r i e s h a v e r e g u l a t i o n s r e g a r d i n g t h e b u i l d i n go f s u c ha n t e n n a t o w e r s i f t h e y a r e m o r e t h a n5o r 1 0m e t r e s a b o v e t h e r o o f o r g r o u n d . T r a n s m i s s i o n P o w e r l i m i t s Wh e ns e t t i n gt r a n s m i s s i o np o w e r l i m i t s , r e g u l a t o r ya g e n c i e s g e n e r a l l yu s e t h eE q u i v a l e n t I s o t r o p i c a l l yR a d i a t e dP o w e r ( E I R P ) , a s t h i s i s t h e p o w e r a c t u a l l y r a d i a t e db y t h e a n t e n n a e l e m e n t . P o w e r l i m i t s c a nb e i m p o s e do n o u t p u t p o w e r o f d e v i c e s a s w e l l . A sa ne x a m p l e ,t h eF C Ce n f o r c e sc e r t a i nr u l e sr e g a r d i n gt h ep o w e r r a d i a t e d b y t h e a n t e n n a e l e m e n t ,d e p e n d i n g o n w h e t h e rt h e i m p l e m e n t a t i o ni s p o i n t t o m u l t i p o i n t ( P t Mp ) o r p o i n t t o p o i n t ( P t P ) . I t a l s oe n f o r c e s c e r t a i nr u l e s r e g a r d i n gt h em a x i m u mp o w e r t r a n s m i t t e db y t h e r a d i o . Wh e na no m n i d i r e c t i o n a la n t e n n ai su s e d ,t h eF C C a u t o m a t i c a l l y c o n s i d e r s t h e l i n k a P t MPl i n k . I nt h e s e t u po f a 2 . 4 G Hz P t MPl i n k , t h e F C Cl i m i t st h eE I R Pt o 4 Wa t t sa n dt h ep o w e rl i m i ts e tf o rt h e i n t e n t i o n a l r a d i a t o r i s 1 Wa t t . $i n g s a r e m o r e c o m p l i c a t e di nt h e 5 G h z b a n d . $e U n l i c e n s e d N a t i o n a l I n f o r m a t i o nI n f r a s t r u c t u r e( U N I I )r a d i ob a n di sp a r to ft h er a d i o f r e q u e n c ys p e c t r u mu s e db yI E E E 8 0 2 . 1 1 ad e v i c e s a n db ym a n yw i r e l e s s I S P s . I t o p e r a t e s o v e r t h r e e r a n g e s : U N I I L o w( U N I I 1 ) : 5 . 1 5 5 . 2 5G Hz . R e g u l a t i o n s r e q u i r eu s e o f a ni n t e g r a t e d a n t e n n a . P o w e r l i m i t e dt o5 0 m W. U N I I Mi d( U N I I 2 ) : 5 . 2 5 5 . 3 5G Hz . R e g u l a t i o n s a l l o wf o r a u s e r i n s t a l l a b l e a n t e n n a , s u b j e c t t oD y n a m i c F r e q u e n c y S e l e c t i o n( D F S , o r r a d a r a v o i d a n c e ) . P o w e r l i m i t e dt o2 5 0 m W. U N I IWo r l d w i d e : 5 . 4 7 5 . 7 2 5G Hz . B o t ho u t d o o ra n di n d o o r u s e , s u b j e c t t oD y n a m i cF r e q u e n c yS e l e c t i o n( D F S , o r r a d a r a v o i d a n c e ) . P o w e r l i m i t e dt o 2 5 0 m W.

3. LICENSING AND REGULATION

39

$i s s p e c t r u mw a s a d d e db yt h eF C Ci n2 0 0 3t o" a l i g nt h ef r e q u e n c y b a n d s u s e db yU N I Id e v i c e s i nt h e U n i t e dS t a t e s w i t hb a n d s i no t h e r p a r t s o f t h e w o r l d " . $e F C Cc u r r e n t l yh a s a ni n t e r i ml i m i t a t i o no no p e r a t i o n s o nc h a n n e l s w h i c h o v e r l a p t h e 5 6 0 0 5 6 5 0 MHz b a n d . U N I I U p p e r ( U N I I 3 ) : 5 . 7 2 5 t o 5 . 8 2 5 G Hz . S o m e t i m e s r e f e r r e dt o a s U N I I / I S Md u e t o o v e r l a p w i t ht h e I S Mb a n d . R e g u l a t i o n s a l l o wf o r a u s e r i n s t a l l a b l e a n t e n n a . P o w e r l i m i t e dt o 1 W. Wi r e l e s s I S P s g e n e r a l l y u s e 5 . 7 2 5 5 . 8 2 5 G Hz . ( F r o m : Wi k i p e d i a " U N I I " ) F o r P t Pi nt h e 5G H z b a n dt h e m a x i m u mE I R Pa l l o w e di s c o n s i d e r a b l e h i g h e r , s i n c eah i g hg a i na n t e n n ap r o d u c e sav e r yn a r r o wb e a ma n d t h e r e f o r e t h e i n t e r f e r e n c e c a u s e dt oo t h e r u s e r s i s c o n s i d e r a b l y l e s s t h a ni n P t MP t t o p o l o g y . C e r t i 0 c a t i o no f e q u i p m e n t G o v e r n m e n t sm a yr e q u i r eaf o r m a lc e r t i 0 c a t i o nt h a ta g i v e nr a d i o e q u i p m e n t c o m p l y w i t hs p e c i 0 c t e c h n i c a l s t a n d a r d s a n dl o c a l r e g u l a t i o n s . $i s i s o f t e nr e f e r r e dt oa s h o m o l o g a t i o n , a n dt h e p r o c e s s m u s t b e d o n e b y a ni n d e p e n d e n t l a b o r a t o r y a u t h o r i s e d b y t h e g o v e r n m e n t o f t h e c o u n t r y . C e r t i 0 e de q u i p m e n t i s a l l o w e dt oo p e r a t e w i t h o u t a ni n d i v i d u a l l i c e n s e . I t i s w o r t hn o t i n gt h a t c e r t i 0 c a t i o nm a yo n l ya p p l yt ot h e o r i g i n a l f a c t o r y s t a t e f o r r a d i o e q u i p m e n t . F o re x a m p l e ,c h a n g i n gt h ea n t e n n ao n aw i r e l e s sa c c e s sp o i n ti nt h e U n i t e dS t a t e s i n v a l i d a t e s t h e F C CC e r t i 0 c a t i o n . I S PT e r m s o f U s e Ma n yI S P ' s i n c l u d ei nt h e i r " T e r m s o f U s e " ac l a u s e t h a t p r o h i b i t s u s e r s f r o ms h a r i n g a ni n t e r n e t c o n n e c t i o nw i t ho t h e r u s e r s . $e r em a ya l s ob ec o m m e r c i a l g r a d e c o n n e c t i o n s t h a t d on o t h a v et h e s e l i m i t a t i o n s . I t i s i m p o r t a n t t on o t e t h a t t h i s i s N O Ta l e g a l i s s u e , b u t a c l a u s e o f t h e c o n t r a c t w i t ht h e I S P , a n dt h e r e p e r c u s s i o n s f o r b r e a c h i n gt h e s e i s u s u a l l y a d i s c o n n e c t i o no f t h e I n t e r n e t c o n n e c t i o n .

40

PHYSICS

4. RADIO SPECTRUM
What is the electromagnetic spectrum?
$e r ei sn o tas i m p l ed e 0 n i t i o no ft h es p e c t r u m . F r o mt h et e c h n i c a l v i e w p o i n t t h e s p e c t r u mi s s i m p l yt h e r a n g e o f e l e c t r o m a g n e t i c w a v e s t h a t c a nb e u s e dt ot r a n s m i t i n f o r m a t i o n , b u t f r o mt h e p r a c t i c a l v i e w p o i n t t h e e c o n o m i c a n dp o l i t i c a l a s p e c t s , a s w e l l a s t h e t e c h n o l o g y a c t u a l l yu s e dt o c o n v e y t h e i n f o r m a t i o nb y m e a n s o f t h e s e w a v e s , p l a y p i v o t a l r o l e s . A s a ne x a m p l e , w h e nMa r c o n i i n1 9 0 20 r s t s p a n n e dt h e A t l a n t i c w i t hh i s w i r e l e s s t e l e g r a p hm e s s a g e , h eu s e dt h e w h o l es p e c t r u ma v a i l a b l e a t t h e t i m e t o s e n da f e wb i t s / s o v e r a na r e a o f t h o u s a n d s o f s q u a r e k i l o m e t r e s . Wi t ht h e s p a r kt r a n s m i t t e r u s e df o r t h i s a c h i e v e m e n t t h a t o c c u p i e da l l t h e f r e q u e n c i e s t h a t t h e e x i s t i n g r e c e i v e r s w e r e a b l e t ou n d e r s t a n d , n o b o d y e l s e c o u l du s er a d i of o r c o m m u n i c a t i o n s o nar a d i u s o f s o m e 3 5 0 0k mf r o m t h et r a n s m i t t i n gs t a t i o ni nE n g l a n d . S o , i f o t h e ru s e r s w a n t e dt os e n d m e s s a g e si nt h es a m ea r e a ,t h e yw o u l dn e e dt oc o o r d i n a t et h e i r t r a n s m i s s i o n s i nd i 1 e r e n t t i m e s l o t s i no r d e r t os h a r e t h e m e d i u m . $i s t e c h n i q u e i s c a l l e d T D MA , T i m e D i v i s i o nMu l t i p l e A c c e s s . U s e r s l o c a t e da t d i s t a n c e s m u c hg r e a t e rt h a n3 5 0 0k mf r o m Ma r c o n i s t r a n s m i t t e r c o u l du s et h es p e c t r u ma g a i n , s i n c et h ep o w e r o f t h er a d i o w a v e s d e c r e a s e s a s w e m o v e f a r t h e r a w a y f r o mt h e t r a n s m i t t e r . R e u s i n g t h e s p e c t r u mi nd i 1 e r e n t g e o g r a p h i c a l a r e a s i s c a l l e d S D MA , S p a c e D i v i s i o n Mu l t i p l eA c c e s s . Ma r c o n i w a s l a t e r a b l e t ob u i l dat r a n s m i t t e r t h a t c o u l d r e s t r i c t e m i s s i o n s t oj u s t ar a n g e o f f r e q u e n c i e s , a n da r e c e i v e r t h a t c o u l d b e t u n e d t o ap a r t i c u l a rf r e q u e n c yr a n g e .N o w ,m a n yu s e r sc o u l d t r a n s m i t s i m u l t a n e o u s l yi nt h es a m ea r e a( s p a c e ) a n da t t h es a m et i m e . F D MA , F r e q u e n c yD i v i s i o n Mu l t i p l eA c c e s sw a sb o r n e . R a d i ot h e n b e c a m e ap r a c t i c a l m e a n s o f c o m m u n i c a t i o n s , a n dt h e o n l yo n et h a t w a s a v a i l a b l et or e a c h as h i pi nt h eo p e ns e a s .$ec o o r d i n a t i o no ft h e f r e q u e n c i e sa l l o c a t e dt od i 1 e r e n tu s e r sw a sd o n eb yn a t i o n a la g e n c i e s c r e a t e dt ot h i s e 1 e c t , b u t s i n c er a d i ow a v e s a r e n o t s t o p p e db yn a t i o n a l b o r d e r s ,i n t e r n a t i o n a la g r e e m e n t sw e r en e e d e d . $e i n t e r n a t i o n a l o r g a n i z a t i o nt h a th a db e e nc r e a t e dt or e g u l a t et h et r a n s m i s s i o no f t e l e g r a m s a m o n gd i 1 e r e n t c o u n t r i e s w a s c o m m i s s i o n e dt oa l l o c a t e t h e u s e o f t h e e l e c t r o m a g n e t i c s p e c t r u m .

4. RADIO SPECTRUM

41

N o w a d a y s , I T U , I n t e r n a t i o n a l T e l e c o m m u n i c a t i o n sU n i o n , i s t h eo l d e s t I n t e r n a t i o n a lOr g a n i z a t i o n ,t a s k e dw i t hi s s u i n gr e c o m m e n d a t i o n s a b o u tw h i c hf r e q u e n c i e st ou s ef o rw h i c hs e r v i c e st oi t s1 9 3n a t i o n m e m b e r s . $ eu s eo ft h es p e c t r u mf o rm i l i t a r ya p p l i c a t i o n sr a i s e dan e wi s s u e ; j a m m i n g ,t h ei n t e n t i o n a li n t e r f e r e n c ei n t r o d u c e db yt h ee n e m yt o i m p e d ec o m m u n i c a t i o n .T oa v o i dj a m m i n g ,a n e w t e c h n i q u ew a s d e v e l o p e di nw h i c ht h e i n f o r m a t i o nt ob e t r a n s m i t t e d w a s c o m b i n e dw i t h as p e c i a l m a t h e m a t i c a l c o d e ; o n l yr e c e i v e r s w i t ht h ek n o w l e d g eo f t h a t p a r t i c u l a rc o d ec o u l di n t e r p r e tt h ei n f o r m a t i o n . $ ec o d e ds i g n a lw a s t r a n s m i t t e da t l o wp o w e r b u t u s i n gav e r yw i d e i n t e r v a l o f f r e q u e n c i e s t o m a k e j a m m i n g m o r e d i N c u l t . $i s t e c h n i q u e w a s l a t e r a d a p t e dt oc i v i l i a na p p l i c a t i o n s i nw h a t i s c a l l e d C D MA , C o d e D i v i s i o nMu l t i p l eA c c e s s , o n eo f t h eW a v o u r s o f s p r e a d s p e c t r u mc o m m u n i c a t i o n , e x t e n s i v e l yu s e di nm o d e r nc o m m u n i c a t i o n s s y s t e m s . I ns u m m a r y , t h es p e c t r u mc a nb es h a r e da m o n gm a n yu s e r s b y a s s i g n i n gd i 1 e r e n t t i m e s l o t s , d i 1 e r e n t f r e q u e n c y i n t e r v a l s , d i 1 e r e n t r e g i o n s o f s p a c e , o r d i 1 e r e n t c o d e s . Ac o m b i n a t i o no f t h e s e m e t h o d s i s u s e di nt h e l a t e s t c e l l u l a r s y s t e m s . B e s i d e s i s s u e s o f s o v e r e i g n t y a n di t s d e f e n c e , v e r y s t r o n ge c o n o m i ca n dp o l i t i c a l i n t e r e s t sp l a yad e t e r m i n a n tr o l ei nt h e m a n a g e m e n t o f t h e s p e c t r u m , w h i c ha l s on e e d s t ob e c o n s t a n t l yu p d a t e d t o t a k e a d v a n t a g e o f t h e a d v a n c e s i nt h e c o m m u n i c a t i o n s t e c h n o l o g y . T e l e c o m m u n i c a t i o n se n g i n e e r sk e e p0 n d i n gm o r ee N c i e n tw a y st o t r a n s m i t i n f o r m a t i o nu s i n gt i m e , f r e q u e n c ya n ds p a c e d i v e r s i t y b y m e a n s o fe v e ra d v a n c i n gm o d u l a t i o na n dc o d i n gt e c h n i q u e s .$ eg o a li st o i n c r e a s et h e s p e c t r u me N c i e n c y ,d e 0 n e da st h ea m o u n to fb i t sp e r s e c o n d( b i t / s ) t h a t c a nb e t r a n s m i t t e d i ne a c hHz o f b a n d w i d t hp e r s q u a r e k i l o m e t r eo fa r e a . F o re x a m p l e ,t h e0 r s ta t t e m p t st op r o v i d em o b i l e t e l e p h o n es e r v i c e sw e r ed o n eb yu s i n gap o w e r f u lt r a n s m i t t e r , c o n v e n i e n t l y l o c a t e dt o g i v e c o v e r a g e t o a w h o l e c i t y . $i st r a n s m i t t e r( c a l l e d aB a s eS t a t i o ni nt h i sc o n t e x t ) ,d i v i d e dt h e a l l o c a t e df r e q u e n c yb a n di n t os a y , 3 0c h a n n e l s . S oo n l y3 0c o n v e r s a t i o n s c o u l db e h e l ds i m u l t a n e o u s l y i nt h e w h o l e c i t y . A s ac o n s e q u e n c e , t h e s e r v i c ew a s v e r ye x p e n s i v e a n do n l yt h e e x t r e m e l y w e a l t h yc o u l da 1 o r di t . $i s s i t u a t i o np r e v a i l e df o r m a n yy e a r s , u n t i l t h e a d v a n c e s i ne l e c t r o n i c t e c h n o l o g y a l l o w e dt h e i m p l e m e n t a t i o no f a s c h e m e t o t a k e a d v a n t a g e o f S p a c e D i v e r s i t y .

42

PHYSICS

I n s t e a do f u s i n g a s i n g l e p o w e r f u l t r a n s m i t t e r t oc o v e r t h e w h o l e c i t y , t h e a r e a t o b e s e r v i c e dw a s d i v i d e d i n t o m a n y c e l l s , e a c ho n e s e r v e d b y a l o w p o w e r t r a n s m i t t e r . N o wc e l l s t h a t a r e s u N c i e n t l y a p a r t c a nu t i l i z e t h e s a m e c h a n n e l sw i t h o u t i n t e r f e r e n c e ,i nw h a ti sk n o w na s f r e q u e n c yr e u s e . Wi t ht h e c e l l u l a r s c h e m e , t h e 0 r s t 1 0c h a n n e l s a r e t ou s e f r e q u e n c y b a n d 1 ,t h es e c o n d1 0c h a n n e l sf r e q u e n c yb a n d 2a n dt h er e m a i n i n g1 0 c h a n n e l s f r e q u e n c yb a n d3 . $i s i s s h o w ni nF i g u r eR S1 , i nw h i c ht h e c o l o u r s c o r r e s p o n dt od i 1 e r e n t f r e q u e n c yb a n d s . N o t i c et h a t t h e c o l o u r s r e p e a t o n l ya t d i s t a n c e s f a r e n o u g ht oa v o i di n t e r f e r e n c e . I f w e d i v i d e t h e c i t y i ns a y , 5 0c e l l s , w e c a nn o wh a v e 1 0 X 5 0=5 0 0 s i m u l t a n e o u s u s e r s i n t h es a m ec i t yi n s t e a do f3 0 .$ e r e f o r e ,b ya d d i n gc e l l so fs m a l l e r d i m e n s i o n s ( s p e c i 0 e db yl o w e rt r a n s m i s s i o np o w e r ) w ec a ni n c r e a s et h e n u m b e ro fa v a i l a b l ec h a n n e l su n t i lw er e a c h al i m i ti m p o s e db yt h e i n t e r f e r e n c e .

F i g u r e R S 1 : C e l l u l a r s h a r i n g o f s p e c t r u m $i s e x a m p l e s h o w s t h a t a c l e v e r u s e o f e x i s t i n g r e s o u r c e s c a nd r a m a t i c a l l y i n c r e a s ei t su s e f u l n e s s . A l t h o u g ht h em a i nu s eo ft h es p e c t r u mi sf o r c o m m u n i c a t i o np u r p o s e s , t h e r e a r ea l s oo t h e r u s e s , l i k e c o o k i n gf o o di n m i c r o w a v e o v e n s , m e d i c a l a p p l i c a t i o n s , g a r a g e d o o r o p e n e r s a n ds o o n .

4. RADIO SPECTRUM

43

S os o m ef r e q u e n c yb a n d sa r ea l l o c a t e df o rt h e s ep u r p o s e si nw h a ti s k n o w na s t h e I S M( I n d u s t r i a l , S c i e n t i 0 c a n dMe d i c a l ) b a n d s . $i s s p e c t r u mu s a g e i s n o r m a l l y f o r s h o r t d i s t a n c e a p p l i c a t i o n s . Ab r e a k t h r o u g ho c c u r r e di n1 9 8 5w h e nt h e F C C( F e d e r a l C o m m i s s i o no f C o m m u n i c a t i o n s ) , t h ea g e n c yt h a to v e r s e e st h es p e c t r u mi nt h eU . S . , a l l o w e dt h e u s e o f t h i s s p e c t r u mf o r c o m m u n i c a t i o n s a p p l i c a t i o n s a s w e l l , p r o v i d e dt h a tt h et r a n s m i s s i o np o w e rw a sk e p tt oav e r yl o wl e v e lt o m i n i m i z e i n t e r f e r e n c e . P e o p l ec o u l df r e e l yu s et h e s e U n l i c e n s e d b a n d sw i t h o u tp r e v i o u s l y a p p l y i n gf o ra p e r m i t ,p r o v i d e dt h a tt h ee q u i p m e n tu s e dh a db e e n c e r t i 0 e db ya na u t h o r i z e dl a b o r a t o r yt h a te n s u r e dc o m p l i a n c ew i t h i n t e r f e r e n c e m i t i g a t i o nm e a s u r e s . S e v e r a lm a n u f a c t u r e r sb e g a nt a k i n ga d v a n t a g eo ft h i so p p o r t u n i t yb y o 1 e r i n ge q u i p m e n tt h a tc o u l db eu s e dt oc o m m u n i c a t eb e t w e e n c o m p u t e r s w i t h o u t t h en e e df o r c a b l e s , a n ds o m e w i r e l e s s d a t an e t w o r k s c o v e r i n g s i g n i 0 c a n t g e o g r a p h i c a r e a s w e r e b u i l t w i t ht h e m , b u t t h e t u r n i n g p o i n th a p p e n e da f t e rt h e1 9 9 7a p p r o v a lo ft h eI E E E( I n s t i t u t eo f E l e c t r i c a l a n dE l e c t r o n i c s E n g i n e e r s ) 8 0 2 . 1 1S t a n d a r d , t h e b a s i s o f w h a t i s k n o w na s Wi F i . $ee x i s t e n c eo fa s t a n d a r dt h a tg u a r a n t e e dt h ei n t e r o p e r a b i l i t yo f e q u i p m e n tp r o d u c e db yd i 1 e r e n tm a n u f a c t u r e r sf u e l l e da ni m p r e s s i v e g r o w t ho f t h e m a r k e t , w h i c hi nt u r nd r o v e t h e c o m p e t i t i o nt h a t f o s t e r e da d r a m a t i c d e c r e a s e i nt h e c o s t o f t h e d e v i c e s . I np a r t i c u l a r , t h e p o r t i o no f t h e I S Mb a n db e t w e e n2 4 0 0a n d2 4 8 3 MHz i s n o w a d a y s a v a i l a b l e i nm o s t o f t h e w o r l dw i t h o u t t h e n e e df o r p r e v i o u s l y a p p l y i n g f o r a l i c e n s e a n di s w i d e l y u s e db y l a p t o p s , t a b l e t s , s m a r t p h o n e s a n de v e np h o t o g r a p h i c c a m e r a s . I ti si m p o r t a n tt os t r e s st h er o l eo ft h eu n l i c e n s e ds p e c t r u mi nt h e e n o r m o u s s u c c e s s o f Wi F i h i g hs p e e dI n t e r n e t a c c e s s . Ma n ya i r p o r t s , h o t e l s a n dc a f e s a l l o v e r t h e w o r l do 1 e r f r e e Wi F i I n t e r n e t a c c e s s o nt h e i r p r e m i s e s , a n dl o wc o s t w i r e l e s s c o m m u n i t yn e t w o r k s h a v e b e e n b u i l t b o t hi nr u r a l a r e a a n di nc i t i e s c o v e r i n g c o n s i d e r a b l e g e o g r a p h i c a r e a s , t h a n k s t o t h e a v a i l a b i l i t y o f f r e e s p e c t r u m . Mo b i l e p h o n e o p e r a t o r s , w h oh a v e t op a yd e a r l y f o r f r e q u e n c y l i c e n s e s t o u s e t h e s p e c t r u m , w e r e q u i t e h o s t i l e t o t h i s a p p a r e n t l y u n f a i r c o m p e t i t i o n . B u t w h e nt h e ys t a r t e do 1 e r i n g s m a r t p h o n e s , w h i c hm a k e v e r yi n t e n s i v e u s e o f t h e I n t e r n e t , t h e y p r e t t y s o o nr e a l i z e dt h a t o f f l o a d i n g t h e t r a N c t o Wi F i w a si nt h e i rb e s ti n t e r e s t , b e c a u s ei tr e l i e v e dt h et r a N ci nt h e i r d i s t r i b u t i o nn e t w o r k ( k n o w na s t h e b a c k h a u l ) .

44

PHYSICS

S o n o wt h e y e n c o u r a g e t h e i r c u s t o m e r s t ou s e Wi F i w h e r e v e r i t i s a v a i l a b l e a n du s e t h e m o r e e x p e n s i v e c e l l u l a r s e r v i c e o n l y w h e no u t o f r a n g e o f a n y Wi F i A c c e s s P o i n t . $i s i s a r e m a r k a b l e e x a m p l e o f t h e u s e f u l n e s s o f t h e u n l i c e n s e ds p e c t r u m e v e nt ot r a d i t i o n a l t e l e c o m m u n i c a t i o n s o p e r a t o r s w h oo f t e nh a v e l o b b i e d a g a i n s t i t .

How is the spectrum adjudicated?


C u r r e n t l yt h e m a i nm e t h o d s t og a i na c c e s s t oa g i v e ns p e c t r u mb a n da r e a u c t i o n s a n dt h e s oc a l l e d b e a u t y c o n t e s t . $e a u c t i o nm e t h o di s s t r a i g h t f o r w a r d ; i n t e r e s t e dp a r t i e s b i df o r ag i v e n s p e c t r u mc h u n k ; w h o e v e r c o m m i t s t h eh i g h e r s u mg e t s t h er i g h t t ou s e t h e f r e q u e n c i e s . I nt h e o r y t h i s m e t h o d g u a r a n t e e s t h a t t h e a d j u d i c a t i o nw i l l b e t r a n s p a r e n t , i np r a c t i c e t h i s h a s o f t e nb e e nc i r c u m v e n t e d a n dt h e r e h a v e b e e ni n s t a n c e s o f p o w e r f u l c o m m e r c i a l i n t e r e s t s t h a t a c q u i r ef r e q u e n c i e s o n l yt oa v o i d t h e i r u s e b y t h e c o m p e t i t i o n , w i t ht h e r e s u l t o f h i g h l yv a l u a b l es p e c t r u m n o t b e i n g u s e d . A l s ot h e r ei st h et e m p t a t i o no nt h ep a r to fg o v e r n m e n t st ou s et h i s m e t h o da s am e a n s t og e n e r a t er e v e n u e s a n dn o t n e c e s s a r i l yi nt h eb e s t p u b l i c i n t e r e s t . A s a ne x a m p l e , i nt h e y e a r 2 0 0 0 t h e r e w e r e a u c t i o n s i ns e v e r a l c o u n t r i e s o f E u r o p et oa d j u d i c a t es p e c t r u mf o rm o b i l ep h o n e s , w h i c hr e s u l t e di na t o t a l i n c o m eo f 1 0 0b i l l i o n( 1 0 00 0 00 0 00 0 0 ) e u r o s t ot h e g o v e r n m e n t c o 1 e r s . $ e b e a u t yc o n t e s t m e t h o di sf o rt h ei n t e r e s t e dp a r t i e st os u b m i t p r o p o s a l s a b o u t h o wt h e y i n t e n d t o u s e t h e s p e c t r u m . Ac o m m i t t e e o f t h e s p e c t r u mr e g u l a t i n g a g e n c y t h e nd e c i d e s w h i c ho f t h e p r o p o s a l s b e t t e r s e r v e s t h e p u b l i c g o a l s . $i s m e t h o dr e l i e s o nt h e o b j e c t i v i t y , t e c h n i c a l p r o 0 c i e n c y a n dh o n e s t y o f t h e m e m b e r s o f t h e d e c i d i n g c o m m i t t e e , w h i c hi s n o t a l w a y s g u a r a n t e e d . I nm a n yc o u n t r i e s t h e r e a r er u l e s f o r s p e c t r u ma d j u d i c a t i o nt h a t c a l l f o r t h e r e l i n q u i s h i n go f s p e c t r u mb a n d s t h a t h a v eb e e na c q u i r e db u t a r e n o t b e i n gu s e d ; h o w e v e r t h e i r e n f o r c e m e n t i s o f t e nl a c k i n gd u et ot h e s t r o n g e c o n o m i c i n t e r e s t s a 1 e c t e d .

4. RADIO SPECTRUM

45

F i g u r e R S 2 : As p e c i a l v e h i c l e f o r s p e c t r u mm o n i t o r i n g i nMo n t e v i d e o , U r u g u a y . F i g u r eR S2s h o w sa p h o t o g r a p ho fa s p e c t r u mm o n i t o r i n gv e h i c l ei n Mo n t e v i d e o , U r u g u a ya n dF i g u r e R S3t h a t o f t h es a m e k i n do f e q u i p m e n t b e i n g u s e di nJ a k a r t a , I n d o n e s i a .

F i g u r e R S 3 : e s p e c t r u mP o l i c e a t w o r k i nJ a k a r t a

46

PHYSICS

N o t e t h a t t h e o p e ns p e c t r u mu s e di nt h e u n l i c e n s e db a n d s c a n n o t p r e v e n t i n t e r f e r e n c e i s s u e s , e s p e c i a l l y i nv e r y c r o w d e da r e a s , b u t n e v e r t h e l e s s i t h a s p r o v e da f a n t a s t i c s u c c e s s f o r s h o r t d i s t a n c e a p p l i c a t i o n s i nc i t i e s a n da l s o f o r l o n g d i s t a n c e a p p l i c a t i o n s i nr u r a l a r e a s . I t i s t h e r e f o r ea d v i s a b l et oi n v e s t i g a t en e wf o r m s o f s p e c t r u ma l l o c a t i o n , t a k i n gi n t oc o n s i d e r a t i o nt h en e e d s o f m a n ys t a k e h o l d e r s a n ds t r i k i n ga b a l a n c e a m o n g t h e m . Ad y n a m i cs p e c t r u ma l l o c a t i o nm e c h a n i s ms e e m s t ob et h eb e s t c h o i c e g i v e nt h e a d v a n c e s i nt e c h n o l o g y t h a t m a k e t h i s v i a b l e n o w a d a y s . A s a ne x a m p l e , t h e c u r r e n t m e t h o d o f s p e c t r u ma l l o c a t i o ni s s i m i l a r t ot h e r a i l w a ys y s t e m , t h er a i l r o a d s c a nb ei d l eac o n s i d e r a b l ea m o u n t o f t i m e , w h e r e a s t h ed y n a m i cs p e c t r u ma l l o c a t i o ni s a k i nt ot h ef r e e w a ys y s t e m t h a t c a nb e u s e da t a l l t i m e s b y d i 1 e r e n t u s e r s .

Political issues
$e i m p o r t a n c e o f t h e s p e c t r u ma s ac o m m u n i c a t i o n s e n a b l e r c a n n o t b e o v e r s t a t e d . T e l e v i s i o na n dr a d i ob r o a d c a s t i n gh a v eas t r o n gi n W u e n c ei n s h a p i n gp u b l i cp e r c e p t i o no f a n yi s s u e , a n dh a v eb e e nu s e do v e r t l yf o r p o l i t i c a l p r o p a g a n d a( I th a sb e e ns a i dt h a t t h ee l e c t i o no fK e n n e d ya s p r e s i d e n t o f t h e U . S . w a s d u e m a i n l y t o h i s t e l e v i s i o nc a m p a i g n ) . D u r i n gt h ec o l dw a r , eV o i c eo fA m e r i c a ,Mo s c o wR a d i oa n dR a d i o H a v a n a C u b a w e r e v e r y e 1 e c t i v e w a y s t o s w a y a g l o b a l a u d i e n c e . Mo r e r e c e n t e x a m p l e s i n c l u d e t h e i n W u e n c e o f C N Na n dA l J a z e e r a i nt h e p u b l i ci n t e r p r e t a t i o no ft h eA r a bS p r i n g . S p e c t r u mu s e df o rt w ow a y c o m m u n i c a t i o n sh a sa l s ob e e ns u b j e c tt og o v e r n m e n ti n t e r v e n t i o n s , e s p e c i a l l yi nc a s e so fp o l i t i c a lu n r e s t .O nt h eo t h e rh a n d ,e c o n o m i c i n t e r e s t s a l s op l a yav i t a l r o l e i nb r o a d c a s t i n g ; t h e c o n s u m e r s o c i e t yr e l i e s h e a v i l yo nr a d i oa n dt e l e v i s i o nt oc r e a t ea r t i 0 c i a l n e e d so rt ov e e rt h e c o n s u m e rt o w a r d sa p a r t i c u l a rb r a n d .We c a nc o n c l u d et h a tt h e e l e c t r o m a g n e t i c s p e c t r u mi s a n a t u r a l r e s o u r c e w h o s e u s e f u l n e s s i s h e a v i l y c o n d i t i o n e db y t e c h n o l o g i c a l , e c o n o m i c a n dp o l i t i c a l f a c t o r s .

Explosion in spectrum demand


A s t h e n u m b e r o f t a b l e t s a n ds m a r t p h o n e s g r o w s , t e l e c o mo p e r a t o r s a r e t r y i n gt og e t a c c e s s t on e wf r e q u e n c yb a n d s , b u t t h et r a d i t i o n a l w a yo f a d j u d i c a t i n g t h e s p e c t r u mi s f a c i n g a d e a de n d .

4. RADIO SPECTRUM

47

K e e pi nm i n dt h a tt h es p e c t r u m i su s e df o rr a d i oa n dt e l e v i s i o n b r o a d c a s t s , f o rs a t e l l i t ec o m m u n i c a t i o n s , f o ra i r p l a n et r a N cc o n t r o l , f o r g e o l o c a l i s a t i o n( G l o b a l P o s t i o n i n gS y s t e m s G P S ) , a s w e l l a s f o r m i l i t a r y , p o l i c ea n do t h e rg o v e r n m e n t a l p u r p o s e s . T r a d i t i o n a l l y , t h ed e m a n df o r a d d i t i o n a l s p e c t r u mh a s b e e nm e t t h a n k s t ot h ea d v a n c e s o f e l e c t r o n i c s t h a t h a v ep e r m i t t e dt h eu s eo f h i g h e r f r e q u e n c i e s a t a na 1 o r d a b l e c o s t . H i g h e r f r e q u e n c i e s a r e w e l l s u i t e df o r h i g hs p e e dt r a n s m i s s i o n s , b u t t h e y h a v e a l i m i t e dr a n g e a n da r e h i g h l y a t t e n u a t e db y w a l l s a n d o t h e r o b s t a c l e s a s w e l l a s b y r a i n . $i si se x e m p l i 0 e db yc o m p a r i n gt h ec o v e r a g eo fa nA M r a d i o b r o a d c a s t i n gs t a t i o nt ot h a t o f a nF Mo n e : t h e g r e a t e s t r a n g e o f t h e A M s t a t i o ni s d u et oi t su s eo f l o w e rf r e q u e n c i e s . O nt h eo t h e r h a n d , F M s t a t i o n s c a nm a k e u s e o f h i g h e r b a n d w i d t h s a n da s c o n s e q u e n c e c a no 1 e r g r e a t e r a u d i o q u a l i t y a t t h e e x p e n s e o f a m o r e l i m i t e dr a n g e . C u r r e n t c e l l u l a r o p e r a t o r s u s e e v e nh i g h e r f r e q u e n c i e s , u s u a l l ya b o v e8 0 0 MHz . A c c o r d i n g l y , t h eT Vb r o a d c a s t i n gf r e q u e n c i e s a r ec o v e t e db yt h e c e l l u l a r t e l e p h o n ep r o v i d e r s , b e c a u s e b y u s i n gl o w e r f r e q u e n c i e s t h e yw i l l n e e dl e s s b a s es t a t i o n s , w i t hh u g es a v i n g s i nd e p l o y m e n t , o p e r a t i o na n d m a i n t e n a n c e c o s t s . $i s i s w h y t h e s e f r e q u e n c i e s a r e c o m m o n l y r e f e r r e dt o a s b e a c hf r o n t p r o p e r t y . T e c h n i q u e sf o rm o r ee N c i e n ts p e c t r u mu s a g eb ym e a n so fa d v a n c e d m o d u l a t i o na n dc o d i n g m e t h o d s h a v e h a dt h e g r e a t e s t i m p a c t i na l l o w i n g m o r eb i t s / sp e rHzo fb a n d w i d t ha v a i l a b i l i t y .$i s , i nt u r n , w a sm a d e p o s s i b l eb yt h eg r e a t s t r i d e s i ne l e c t r o n i c s ( f a b r i c a t i o no f e v e ra d v a n c e d i n t e g r a t e dc i r c u i t s ) t h a t n o wm a k e i t e c o n o m i c a l l yf e a s i b l e t oi m p l e m e n t t h e r e q u i r e ds o p h i s t i c a t e dm o d u l a t i o na n dc o d i n g t e c h n i q u e s . A c c o r d i n g t ot h e c a l c u l a t i o n s p e r f o r m e di n1 9 4 8 b y C l a u d e S h a n n o nt h e f a t h e r o f m o d e r nt e l e c o m m u n i c a t i o n s , a t y p i c a l t e l e p h o n e l i n e c o u l dc a r r y u pt o3 0k b i t / s . B u t t h i s w a s o n l ya c h i e v e di nt h e9 0 ' s w h e ni n t e g r a t e d c i r c u i t si m p l e m e n t i n gt h er e q u i r e dt e c h n i q u e sw e r ea c t u a l l yb u i l t .I n p a r t i c u l a r , t h e t r a n s i t i o nt od i g i t a l t e r r e s t r i a l t e l e v i s i o nb r o a d c a s t i n g , w h i c h i s m o r e e N c i e n t i ns p e c t r u mu s a g e c o m p a r e dw i t ha n a l o g u e t r a n s m i s s i o n , h a s f r e e ds o m e s p e c t r u mi nt h e s oc a l l e d Wh i t e S p a c e s , t h e f r e q u e n c i e s t h a th a dt ob el e f tf a l l o wi nb e t w e e na n a l o g u et e l e v i s i o nc h a n n e l st o p r e v e n t i n t e r f e r e n c e .

48

PHYSICS

c l o s e e n o u g h t h a t t r a n s m i s s i o n s f r o mo n e c a nr e a c h t h e o t h e r . Wh i t e s p a c e s a r e k e p t f a l l o wt o m i n i m i z e i n t e r f e r e n c e . I nt r a d i t i o n a l a n a l o g u e T Vb r o a d c a s t i n g , a d j a c e n t c h a n n e l s c a n n o t b e u s e d a t t h e s a m e t i m e , b e c a u s e t h e s i g n a l f r o mo n e c h a n n e l w i l l s p i l l o v e r t o t h e t w o a d j a c e n t c h a n n e l s a n dw o u l dc a u s e i n t e r f e r e n c e . $i s i s s i m i l a r t o t h e c e n t r a l r e s e r v a t i o nu s e di nf r e e w a y s t os e p a r a t e t h e t w od i r e c t i o n s o f t r a N ci no r d e rt op r e v e n t c o l l i s i o n s . S oa Wh i t eS p a c e m u s tb el e f t b e t w e e nt w oc o n t i g u o u sa n a l o g u eT Vc h a n n e l s t op r e v e n t i n t e r f e r e n c e . D i g i t a l T Vb r o a d c a s t i n gi s m u c hm o r ee N c i e n t i ns p e c t r u mu t i l i z a t i o n , a n ds e v e r a ld i g i t a lT Vc h a n n e l sc a nb ea c c o m m o d a t e di nt h es a m e f r e q u e n c yb a n df o r m e r l yu s e db ya s i n g l ea n a l o g u ec h a n n e lw i t h o u t s p i l l o v e r i n t oa d j a c e n tc h a n n e l s .S o ,i np l a c e sw h e r eA n a l o gT Vi s r e p l a c e db y D i g i t a l T Va d i g i t a l d i v i d e n d i s b e i n g h a r v e s t e d . I nc o n c l u s i o n ,t h ec o n c e p to fw h i t es p a c e sc a nb ea p p l i e dt ot h r e e d i 1 e r e n t f r e q u e n c y c h u n k s : $e s p e c t r u mt h a t h a s b e e na s s i g n e dt oT Vb r o a d c a s t i n g b u t i t i s n o t c u r r e n t l yb e i n gu s e d . $i s a p p l i e s p a r t i c u l a r l yt od e v e l o p i n g c o u n t r i e s , i nw h i c ht h e r eh a sb e e nn oe c o n o m i ci n c e n t i v ef o r b r o a d c a s t e r t o u s e e v e r y a v a i l a b l e T Vc h a n n e l . $e s p e c t r u mt h a t m u s t b e l e f t f r e e i nb e t w e e nt w o a n a l o g o u s T V c h a n n e l s t o p r e v e n t i n t e r f e r e n c e . $ es p e c t r u mt h a t h a sb e e nr e c l a i m e da sac o n s e q u e n c eo f t h e t r a n s i t i o nt od i g i t a lt e r r e s t r i a lT V ,w h i c hi sm o r es p e c t r u m e N c i e n t . $i s c u r r e n t l ya p p l i e st od e v e l o p e dc o u n t r i e s , b u t w i l l s o o na p p l y t o d e v e l o p i n g c o u n t r i e s a s w e l l .

4. RADIO SPECTRUM

49

I nt h e l a s t 2 0y e a r s t h e r e h a s b e e nat r e m e n d o u s g r o w t hi nt h e d e m a n d f o r m o r e s p e c t r u mf o r m o b i l e c o m m u n i c a t i o ns e r v i c e s , i nw h i c hd a t a s e r v i c e s a r e c o n s u m i n g m u c hm o r e b a n d w i d t ht h a nv o i c e a n dt h e g r o w i n g u s e o f v i d e o i s p r e s e n t i n g a na d d i t i o n a l c h a l l e n g e . N o t s u r p r i s i n g l y , t e l e c o mo p e r a t o r s e v e r y w h e r e a r e t r y i n gt og e t a p o r t i o n o ft h e s e Wh i t eS p a c e s a l l o c a t e dt ot h e m t of u l 0 l lt h e i rn e e d s . B r o a d c a s t e r s ,o nt h eo t h e rh a n d ,a r ev e r yr e l u c t a n tt oc o n c e d ea n y s p e c t r u ma t a l l t o w h a t a r e n o wt h e i r d i r e c t c o m p e t i t o r s .

Spectrum scarcity or spectrum hoarding?


A l t h o u g ht h ea v a i l a b l es p e c t r u m i sc u r r e n t l yt o t a l l ya d j u d i c a t e di n d e v e l o p e dc o u n t r i e s , m a n y i n d e p e n d e n t s t u d i e s h a v e f o u n dt h a t t h e a c t u a l s i m u l t a n e o u s u s a g e o f t h e s p e c t r u mi s a t i n y f r a c t i o no f t h e t o t a l . $i s i s c a u s e db yt h ew a ys p e c t r u mw a s o r i g i n a l l ya d j u d i c a t e da n da l s ob e c a u s e o f t e ns p e c t r u mi s u s e di n t e r m i t t e n t l y ; f o r i n s t a n c e s o m e T Vb r o a d c a s t i n g s t a t i o n s d o n o t t r a n s m i t 2 4 h o u r s a d a y . A sac o n s e q u e n c e , ar a d i c a l l yn e ww a yt ou s et h es p e c t r u mh a sb e e n s u g g e s t e d ;i n s t e a do fl e a s i n gs p e c t r u mt o ag i v e no r g a n i z a t i o ni na n e x c l u s i v eb a s i s ,t h en e w d y n a m i cs p e c t r u m m a n a g e m e n tp a r a d i g m p r o p o s e st ou s ew h a t e v e rs p e c t r u mi sa v a i l a b l ei n ac e r t a i np l a c ea ta c e r t a i nt i m ea n ds w i t c ht oa n o t h e rf r e q u e n c yw h e n e v e ri n t e r f e r e n c ei s d e t e c t e di na g i v e nb a n d . A na n a l o g yc a nb em a d et oe x p l a i nt h i sc o n c e p t : t h ec u r r e n tw a yt o a l l o c a t e t h e s p e c t r u mi s s i m i l a r t oa r a i l r o a ds y s t e m ; t h e r a i l r o a d s a r e n e v e r u s e d1 0 0 %o f t h e t i m e , a m o r e e N c i e n t u s e o f t h e s a m e a m o u n t o f t e r r a i n c a nb e d o n e w i t ha h i g h w a yi nw h i c hm a n y d i 1 e r e n t u s e r s c a ns h a r e t h e s a m e p a t ha c c o r d i n g t o t h e i r c u r r e n t n e e d s . O fc o u r s et oi m p l e m e n td y n a m i cs p e c t r u m a c c e s sr e q u i r e sn e w t e c h n o l o g i e sa n dn e wl e g i s l a t i o n ;m a n yv e s t e di n t e r e s t sa r e0 g h t i n gi t a l l e g i n gt h e p o s s i b i l i t yo f i n t e r f e r e n c e . $e k e yi s s u e i s h o wt od e t e r m i n e w h e nap a r t i c u l a r c h u n ko f s p e c t r u mi s r e a l l yb e i n gu s e di na p a r t i c u l a r p l a c e a n dh o wt om o v e q u i c k l y t oa n e wf r e q u e n c y b a n dw h e na ne x i s t i n g u s e r w i t hh i g h e r p r i o r i t yi s d e t e c t e d . $et e c h n o l o g yt oa c c o m p l i s ht h i s f e a t h a s a l r e a d yb e i n gd e m o n s t r a t e da n di m p l e m e n t e di nt h en e wI E E E 8 0 2 . 2 2s t a n d a r dr e c e n t l ya p p r o v e d , a sw e l l a si no t h e r sc u r r e n t l yb e i n g c o n s i d e r e d .

50

PHYSICS

IEE 802.22
S t i m u l a t e db yt h ei m p r e s s i v es u c c e s s o f Wi F i ( d u em o s t l yt ot h eu s eo f u n l i c e n s e d , o p e ns p e c t r u m ) , t h e I E E Ec r e a t e da w o r k i n gg r o u pt o a d d r e s s t h e r e q u i r e m e n t s o f a Wi r e l e s s R e g i o n a l A r e a N e t w o r k . $e c h a l l e n g e w a s t od e v e l o pa t e c h n o l o g ys u i t a b l e f o r l o n gd i s t a n c e t r a n s m i s s i o nt h a t c o u l d b ed e p l o y e di nd i 1 e r e n tc o u n t r i e s( w i t hq u i t ed i 1 e r e n ts p e c t r u m a l l o c a t i o n s ) , s ot h e yf o c u s e do nt h es p e c t r u mc u r r e n t l ya l l o c a t e dt oT V b r o a d c a s t i n gw h i c hs p a n s a p p r o x i m a t e l yf r o m5 0t o8 0 0MHz . N o w h e r e i s t h i s s p e c t r u mb e i n g u s e di ni t s e n t i r e t y a l l t h e t i m e , s ot h e r e a r e Wh i t e S p a c e s ,f a l l o wr e g i o n st h a tc o u l db e r e f a r m e d a n dp u tt ou s ef o r b i d i r e c t i o n a lc o m m u n i c a t i o n s .I nr u r a la r e a sa l lo v e rt h ew o r l d ,b u t s p e c i a l l yi nd e v e l o p i n gc o u n t r i e st h e r ea r el a r g ep o r t i o n so fs p e c t r u m c u r r e n t l yu n d e ru t i l i s e d . I ti se x p e c t e dt h a tI E E E8 0 2 . 2 2w i l le n a b l e d y n a m i cs p e c t r u m a c c e s si n as i m i l a rw a yt oI E E E8 0 2 . 1 1( Wi F i ) , a l l o w i n ga c c e s s t oo p e ns p e c t r u m . O f c o u r s e n o t a l l t h e s p e c t r u mc a nb e l i b e r a t e d a t o n c e , a g r a d u a l p r o c e s s i s r e q u i r e da s t h e m a n y t e c h n i c a l , l e g a l , e c o n o m i c a n dp o l i t i c a l h u r d l e s a r e s o l v e d , b u t t h e r e i s n od o u b t t h a t t h i s i s t h e t r e n da n dt h a t I E E8 0 2 . 2 2p a v e s t h e w a y t ot h e f u t u r e o f s p e c t r u m a l l o c a t i o n . I no r d e r t oa s s e s s t h e a v a i l a b i l i t yo f ag i v e nf r e q u e n c y c h a n n e l a t ag i v e nt i m e t w om e t h o d s a r e b e i n gc o n s i d e r e d : c h a n n e l s e n s i n g a n da d a t a b a s e o f p r i m a r y u s e r s i na g i v e ng e o g r a p h i c l o c a t i o na t a g i v e nt i m e . C h a n n e l s e n s i n g m e a n s t h a t p r i o r t o a na t t e m p t t ou s e a c h a n n e l , t h e b a s e s t a t i o n s w i l l l i s t e nt o t h e c h a n n e l ; i f i t i s b e i n g u s e di t w i l l t r y a n o t h e r o n e , r e p e a t i n gt h ep r o c e d u r eu n t i l af r e ec h a n n e l i s f o u n d . $i s p r o c e d u r ei s r e p e a t e da tr e g u l a ri n t e r v a l st oa c c o u n tf o rt h ep o s s i b i l i t yo fs t a t i o n s c o m i n g a l i v e a t a n yt i m e . $i s m e t h o ds h o u l ds u N c e , n e v e r t h e l e s s c u r r e n t s p e c t r u mh o l d e r sh a v es u c c e s s f u l l yl o b b i e dt h er e g u l a t o r s t oe n f o r c et h e i m p l e m e n t a t i o no f t h e s e c o n dm e t h o d , w h i c hi s m u c hm o r e c o m p l i c a t e d a n di m p o s e s a d d i t i o n a l c o m p l e x i t y a n dc o s t s i nt h e c o n s u m e r e q u i p m e n t . $ es e c o n dm e t h o dc o n s i s t si nt h eb u i l d i n go fad a t a b a s eo fa l l t h e e x i s t i n gi n c u m b e n tt r a n s m i s s i o ns t a t i o n s ,w i t ht h e i rp o s i t i o na n d r e s p e c t i v e c o v e r a g e a r e a i no r d e r t oe s t a b l i s ha n o 1l i m i t z o n e i na g i v e n c h a n n e l . An e ws t a t i o nw i s h i n gt ot r a n s m i t m u s t 0 r s t d e t e r m i n e i t s e x a c t p o s i t i o n ( s oi tm u s th a v eaG P Sr e c e i v e ro ro t h e rm e a n st od e t e r m i n ei t s g e o g r a p h i c l o c a t i o n ) a n dt h e ni n t e r r o g a t e t h e d a t a b a s e t o a s c e r t a i nt h a t i t s p r e s e n tl o c a t i o ni sn o ti nt h ef o r b i d d e nz o n eo ft h ec h a n n e li ti s a t t e m p t i n g t o u s e .

4. RADIO SPECTRUM

51

T oi n t e r r o g a t et h ed a t a b a s e , i t m u s t h a v e I n t e r n e t a c c e s s b ys o m eo t h e r m e a n s ( A D S L A s y m m e t r i c a l D i g i t a l S u b s c r i b e r L o o p , C a b l e , S a t e l l i t e , o r C e l l u l a r ) ,b e s i d e st h e8 0 2 . 2 2r a d i o( w h i c hc a n n o tb eu s e du n t i lt h e c h a n n e l i sc o n 0 r m e da su s a b l e ) , s ot h i sa d d sac o n s i d e r a b l ea d d i t i o n a l b u r d e nt ot h es t a t i o nh a r d w a r ew h i c ht r a n s l a t e si n t oa d d i t i o n a lc o s t , b e s i d e t h e c o s t o f b u i l d i n g a n dm a i n t a i n i n g t h e d a t a b a s e . I nt h e U St h e F C C( F e d e r a l C o m m u n i c a t i o n s C o m m i s s i o n , t h e s p e c t r u m r e g u l a t o r ya g e n c y ) h a sb e e np r o m o t i n gt h eb u i l d i n go f t h ed a t a b a s eo f r e g i s t e r e du s e r sa n dh a v ea u t h o r i s e d1 0d i 1 e r e n tp r i v a t ee n t e r p r i s e st o b u i l d , o p e r a t e a n dm a i n t a i ns u c hr e p o s i t o r i e s . F u r t h e r m o r e , 0 e l dt r i a l s o f t h e s t a n d a r da r e b e e nc o n d u c t e d . I nt h e U K , O F C O M( t h es p e c t r u mr e g u l a t o r )i s a l s oc o n d u c t i n gI E E8 0 2 . 2 2t r i a l s a n dc o n c e n t r a t i n go nt h e d a t a b a s e m e t h o dh a v i n g r u l e do u t t h e s p e c t r u m s e n s i n g m e t h o df o r i n t e r f e r e n c e m i t i g a t i o n . A l t h o u g hI E E E8 0 2 . 2 2i s t h e f o r m a l l ya p p r o v e ds t a n d a r dt h a t h a s r e c e i v e dt h e m o s t p u b l i c i t y , t h e r e a r e s e v e r a l c o m p e t i n gc a n d i d a t e s t h a t a r e b e i n ge x p l o r e dt ol e v e r a g et h eT V Wh i t e S p a c e s t o p r o v i d e t w o w a y c o m m u n i c a t i o ns e r v i c e s , a m o n g t h e m : I E E E8 0 2 . 1 1 a f $i s a m e n d m e n t t a k e s a d v a n t a g e o f t h e e n o r m o u s s u c c e s s o f I E E E8 0 2 . 1 1 b y a d a p t i n gt h e s a m e t e c h n o l o g y t ow o r k i nt h e f r e q u e n c y b a n d s a l l o c a t e d t oT Vt r a n s m i s s i o n , t h u s r e l i e v i n g t h e s p e c t r u mc r o w d i n g o f t h e 2 . 4 G Hz b a n da n do 1 e r i n gg r e a t e rr a n g ed u et ot h eu s eo fl o w e rt r a n s m i s s i o n f r e q u e n c i e s . I t s d e t a i l s a r e s t i l l b e i n g d i s c u s s e db y t h e c o r r e s p o n d i n g I E E E 8 0 2 . 1 1 w o r k i n g g r o u p . I E E E8 0 2 . 1 6 h $i sa m e n d m e n to ft h e8 0 2 . 1 6s t a n d a r dw a sr a t i 0 e di n2 0 1 0a n d d e s c r i b e s t h e m e c h a n i s mf o r i m p l e m e n t i n g t h e p r o t o c o l i nu n c o o r d i n a t e d o p e r a t i o n ,l i c e n s e do rl i c e n s ee x e m p ta p p l i c a t i o n s .A l t h o u g hm o s t d e p l o y m e n t s h a v e b e e ni nt h e 5G Hz b a n d , i t c a na l s ob e a p p l i e dt ot h e T Vb a n df r e q u e n c i e s a n dc a np r o 0 t f r o mt h e s i g n i 0 c a n t d e p l o y m e n t s o f Wi MA X( Wi r e l e s s Mi c r o w a v e A c c e s s ) s y s t e m s i nm a n y c o u n t r i e s .

Developing countries advantage


I t i s n o t e w o r t h yt h a t i nd e v e l o p i n gc o u n t r i e s t h es p e c t r u ma l l o c a t e dt o b r o a d c a s tt e l e v i s i o ni so n l yp a r t i a l l yu s e d . $i sp r e s e n t sam a g n i 0 c e n t o p p o r t u n i t y t oi n t r o d u c e w i r e l e s s d a t a n e t w o r k i n g s e r v i c e s i nt h e c h a n n e l s

52

PHYSICS

t h a t a r e n o t c u r r e n t l y a l l o c a t e d , a n dt os t a r t r e a p i n g t h e b e n e 0 t s o f 8 0 2 . 2 2 i n am o r eb e n i g ne n v i r o n m e n t , w h e r et h es p e c t r u ms e n s i n ga n da g i l e f r e q u e n c y c h a n g i n gr e q u i r e dt os h a r e t h e c r o w d e ds p e c t r u mi nd e v e l o p e d c o u n t r i e s c a nb ed i s p e n s e dw i t h . $e u s e f u l n e s s o f t h el o w e r f r e q u e n c i e s f o r t w o w a yd a t ac o m m u n i c a t i o n s h a s b e e np r o v e db yt h et h e s u c c e s s f u l d e p l o y m e n to fC D MA ( C o d eD i v i s i o n Mo d u l a t i o nA c c e s s )c e l l u l a r s y s t e m s i nt h e 4 5 0MHz b a n d , r i g h t i nt h em i d d l eo f t h eT Va l l o c a t e d f r e q u e n c i e s , i nr u r a l a r e a s l i k e t h e A r g e n t i n i a nP a t a g o n i a n , c u r r e n t l y s e r v e d b y C o o p e r a t i v aT e l e f o n i c ad eC a l a f a t e C O T E C A L . C O T E C A Lo 1 e r v o i c ea n dd a t a s e r v i c e s t oc u s t o m e r s a t d i s t a n c e s u pt o5 0k mf r o mt h e B a s e S t a t i o n , i nt h e b e a u t i f u l a r e a s h o w ni nt h e 0 g u r e b e l o w :

F i g u r e R S 5 : R e g i o ns e r v e d w i t h v o i c e a n d d a t a s e r v i c e s b y C O T E C A L , i n C a l a f a t e a n d E l C h a l t e n , A r g e n t i n a . S ot h e r e i s a no p p o r t u n i t yf o r s t a k e h o l d e r s t ol o b b yf o r t h e i n t r o d u c t i o n o f T VB a n dD e v i c eb a s e ds o l u t i o n s a t a ne a r l ys t a g e , w h i l e t h e i s s u e s o f t h ed i g i t a lt r a n s i t i o na r eb e i n gc o n s i d e r e d .$ i sw i l l h e l pe n s u r et h a t c o m m e r c i a l i n t e r e s t s o f a f e wd o n o t p r e v a i l o v e r t h e i n t e r e s t s o f s o c i e t y a t l a r g e . A c t i v i s t s / l o b b y i s t s s h o u l de m p h a s i z e t h e n e e df o r t r a n s p a r e n c y i nt h e

4. RADIO SPECTRUM

53

f r e q u e n c ya l l o c a t i o np r o c e s s a n df o r a c c o u n t a b i l i t yo f t h e a d m i n i s t r a t i o n o f s p e c t r u mi nt h e i r c o u n t r y o r r e g i o n . A l s oi t i si m p o r t a n tt h a t t h o s ew h ow i s ht od e p l o yn e t w o r k sg a i na n u n d e r s t a n d i n go f t h er e a l s p e c t r u mu s a g eb ys p e c t r u mh o l d e r si ne a c h r e g i o no f t h e i r c o u n t r y . $e m o n i t o r i n g o f t h e s p e c t r u mr e q u i r e s e x p e n s i v e i n s t r u m e n t sw i t h as t e e pl e a r n i n gc u r v et ou s et h e m , b u tr e c e n t l ya n a 1 o r d a b l e a n de a s y t o u s e d e v i c e h a s b e c o m e a v a i l a b l e t h a t p e r m i t s a n a l y s i s o ft h ef r e q u e n c yb a n db e t w e e n2 4 0 MHz a n d9 6 0 MHz ,w h i c h e n c o m p a s s e s t h e h i g h e r p a r t o f t h e T Vb a n d . D e t a i l s o f t h i s o p e nh a r d w a r e b a s e dR FE x p l o r e r S p e c t r u mA n a l y z e r f o r t h e u p p e r T Vb a n da r e a t :
h t t p : / / w w w . s e e e d s t u d i o . c o m/ d e p o t / r f e x p l o r e r mo d e l w s u b 1 g p 9 2 2 . h t ml

F i g u r e R S6s h o w s t h e R FE x p l o r e r f o r t h e 2 . 4G Hz b a n db e i n gu s e dt o t e s t a na n t e n n a b u i l t b y p a r t i c i p a n t s o f t h e 2 0 1 2I C T PWi r e l e s s t r a i n i n g w o r k s h o pi nT r i e s t e , I t a l y .

F i g u r e R S 6 : P a r t i c i p a n t s f r o mA l b a n i a , N e p a l , Ma l a w i a n d I t a l y t e s t i n g a n a n t e n n a w i t h t h e R FE x p l o r e r S p e c t r u mA n a l y z e r i nT r i e s t e , F e b r u a r y 2 0 1 2 . $i s l o wc o s t i n s t r u m e n t p a v e s t h e w a y f o r a w i d e i n v o l v e m e n t o f p e o p l e i nt h em e a s u r e m e n to ft h er e a l s p e c t r u mu s a g eo nt h e i ro w nc o u n t r y w h i c hh o p e f u l l y c a nl e a dt oa b e t t e r s p e c t r u mm a n a g e m e n t . F o r a d d i t i o n a l i n f o r m a t i o ns e e : h t t p : / / w w w . a p c . o r g / e n / f a q / c i t i z e n s g u i d e a i r w a v e s

54

PHYSICS

5. ANTENNAS / TRANSMISSION LINES


$ et r a n s m i t t e rt h a tg e n e r a t e st h eR Fp o w e rt od r i v et h ea n t e n n ai s u s u a l l yl o c a t e da ts o m ed i s t a n c ef r o m t h ea n t e n n at e r m i n a l s .$ e c o n n e c t i n gl i n kb e t w e e nt h e t w o i s t h e R Ft r a n s m i s s i o nl i n e . I t s p u r p o s e i s t oc a r r y R Fp o w e r f r o mo n e p l a c e t oa n o t h e r , a n dt od ot h i s a s e N c i e n t l y a s p o s s i b l e . F r o mt h e r e c e i v e r s i d e , t h e a n t e n n a i s r e s p o n s i b l e f o r p i c k i n g u pa n yr a d i os i g n a l s i nt h e a i r a n dp a s s i n gt h e mt ot h e r e c e i v e r w i t ht h e m i n i m u ma m o u n t o f d i s t o r t i o na n dm a x i m u me N c i e n c y , s ot h a t t h e r a d i o h a s i t s b e s t c h a n c et od e c o d et h e s i g n a l . F o r t h e s e r e a s o n s , t h e R Fc a b l e h a s a v e r yi m p o r t a n t r o l e i nr a d i os y s t e m s : i t m u s t m a i n t a i nt h e i n t e g r i t y o f t h e s i g n a l s i nb o t hd i r e c t i o n s .

F i g u r e A T L1 : R a d i o , t r a n s m i s s i o n l i n e a n d a n t e n n a $e s i m p l e s t t r a n s m i s s i o nl i n e o n e c a ne n v i s a g e i s t h e b i 0 l a r o r t w i nl e a d , c o n s i s t i n go f t w oc o n d u c t o r ss e p a r a t e db yad i e l e c t r i co ri n s u l a t o r . $e d i e l e c t r i c c a nb e a i r o r a p l a s t i c l i k e t h e o n e u s e df o r W a t t r a n s m i s s i o n l i n e s u s e di nT Va n t e n n a s . Ab i 0 l a r t r a n s m i s s i o nl i n e o p e na t o n e e n dw i l l n o t r a d i a t e b e c a u s e t h e c u r r e n t i ne a c hw i r e h a s t h e s a m e v a l u e b u t o p p o s i t e d i r e c t i o n , s ot h a t t h e 0 e l d s c r e a t e do na g i v e np o i n t a t s o m e d i s t a n c e f r o m t h e l i n e c a n c e l .

5. ANTENNAS / TRANSMISSION LINES

55

I f w e b e n dt h e o p e ne n d s o f t h e t r a n s m i s s i o nl i n e i no p p o s i t e d i r e c t i o n s , t h e c u r r e n t s w i l l n o wg e n e r a t e e l e c t r i c 0 e l d s t h a t a r e i np h a s e a n d r e i n f o r c e e a c ho t h e r a n dw i l l t h e r e f o r e r a d i a t e a n dp r o p a g a t e a t a d i s t a n c e . We n o w h a v e a na n t e n n a a t t h e e n do f t h e t r a n s m i s s i o n l i n e .

$ el e n g t ho f t h eb e n t p o r t i o no f t h et r a n s m i s s i o nl i n ew i l l d e t e r m i n et h e a n t e n n af e a t u r e . I f t h i s l e n g t hc o r r e s p o n d s t oaq u a r t e r o f a w a v e l e n g t hw e w i l l h a v e a h a l f w a v e d i p o l e a n t e n n a w i t ha g a i no f 2 . 1 5 d B i . $ ef u n c t i o n i n go ft h eb i 0 l a rt r a n s m i s s i o nl i n ej u s td e s c r i b e di ss t r o n g l y a 1 e c t e db ya n ym e t a l i ni t s p r o x i m i t y , s oab e t t e r s o l u t i o ni s t oc o n 0 n e t h e e l e c t r i c a l 0 e l d s b ym e a n s o f a ne x t e r n a l c o n d u c t o r t h a t s h i e l d s t h ei n t e r n a l o n e . $i s c o n s t i t u t e s ac o a x i a l c a b l e . A l t e r n a t i v e l y , ah o l l o wm e t a l l i cp i p e o f t h e p r o p e r d i m e n s i o n s w i l l a l s oe 1 e c t i v e l yc a r r y R Fe n e r g y i nw h a t i s k n o w n a s a w a v e g u i d e .

56

PHYSICS

Cables
F o rf r e q u e n c i e sh i g h e rt h a n HF t h ec o a x i a lc a b l e s( o rc o a xf o rs h o r t , d e r i v e df r o mt h ew o r d s o f c o m m o na x i s )a r eu s e da l m o s t e x c l u s i v e l y . C o a xc a b l e s h a v eac o r e c o n d u c t o r w i r e s u r r o u n d e db y an o n c o n d u c t i v e m a t e r i a l c a l l e dd i e l e c t r i c , o r s i m p l y i n s u l a t i o n . $e d i e l e c t r i ci s t h e ns u r r o u n d e db ya ne n c o m p a s s i n gs h i e l d i n gw h i c hi s o f t e nm a d eo fb r a i d e dw i r e s .$ e d i e l e c t r i cp r e v e n t sa ne l e c t r i c a l c o n n e c t i o nb e t w e e nt h ec o r ea n dt h es h i e l d i n g .F i n a l l y ,t h ec o a xi s p r o t e c t e db ya no u t e rc a s i n gw h i c hi sg e n e r a l l ym a d ef r o m aP V C m a t e r i a l . $e i n n e r c o n d u c t o r c a r r i e s t h eR Fs i g n a l , a n dt h eo u t e r s h i e l dp r e v e n t s t h e R Fs i g n a l f r o mr a d i a t i n g t ot h e a t m o s p h e r e , a n da l s op r e v e n t s o u t s i d e s i g n a l sf r o m i n t e r f e r i n gw i t ht h es i g n a lc a r r i e db yt h ec o r e .A n o t h e r i n t e r e s t i n gf a c t i s t h a t h i g hf r e q u e n c ye l e c t r i c a l s i g n a l t r a v e l s o n l ya l o n g t h e o u t e r l a y e r o f ac o n d u c t o r , t h e i n s i d e m a t e r i a l d o e s n o t c o n t r i b u t e t o t h ec o n d u c t i o n , h e n c et h el a r g e rt h ec e n t r a l c o n d u c t o r , t h eb e t t e rt h e s i g n a l w i l l W o w . $i s i s c a l l e dt h e s k i ne 1 e c t .

F i g u r e A T L4 : C o a x i a l c a b l e w i t h j a c k e t , s h i e l d , d i e l e c t r i c , a n d c o r e c o n d u c t o r .

E v e nt h o u g ht h ec o a x i a l c o n s t r u c t i o ni s g o o da t t r a n s p o r t i n gt h es i g n a l , t h e r e i s a l w a y s r e s i s t a n c e t ot h e e l e c t r i c a l W o w : a s t h e s i g n a l t r a v e l s a l o n g , i t w i l l f a d e a w a y . $i sf a d i n gi sk n o w na sa t t e n u a t i o n ,a n df o rt r a n s m i s s i o nl i n e si ti s m e a s u r e di nd e c i b e l s p e r m e t r e ( d B / m ) . $ er a t eo fa t t e n u a t i o ni saf u n c t i o no ft h es i g n a l f r e q u e n c ya n dt h e p h y s i c a l c o n s t r u c t i o no f t h e c a b l e i t s e l f . A s t h e s i g n a l f r e q u e n c y i n c r e a s e s , s o d o e s i t s a t t e n u a t i o n .

5. ANTENNAS / TRANSMISSION LINES

57

O b v i o u s l y , w e n e e dt om i n i m i s e t h e c a b l e a t t e n u a t i o na s m u c ha s p o s s i b l e b y k e e p i n g t h e c a b l e v e r y s h o r t a n du s i n g h i g hq u a l i t y c a b l e s . H e r ea r es o m ep o i n t st oc o n s i d e rw h e nc h o o s i n gac a b l ef o ru s ew i t h m i c r o w a v e d e v i c e s : 1 . $ es h o r t e r t h eb e t t e r ! $e0 r s t r u l ew h e ny o ui n s t a l l ap i e c eo f c a b l ei s t ot r yt ok e e pi t a s s h o r t a s p o s s i b l e . $ ep o w e r l o s s i s n o t l i n e a r , s od o u b l i n gt h e c a b l e l e n g t hm e a n s t h a t y o ua r eg o i n gt ol o s e m u c hm o r e t h a nt w i c e t h e p o w e r . I nt h e s a m e w a y , r e d u c i n g t h e c a b l e l e n g t hb yh a l f g i v e s y o um o r et h a nt w i c et h ep o w e r a t t h ea n t e n n a . $e b e s t s o l u t i o ni s t op l a c e t h e t r a n s m i t t e r a s c l o s e a s p o s s i b l e t ot h e a n t e n n a , e v e nw h e nt h i s m e a n s p l a c i n g i t o n a t o w e r . 2 . $e c h e a p e r t h e w o r s e ! $e s e c o n dg o l d e nr u l e i s t h a t a n ym o n e y y o ui n v e s t i nb u y i n gag o o dq u a l i t yc a b l ei s ab a r g a i n . C h e a pc a b l e s c a nb e u s e da t l o wf r e q u e n c i e s , s u c ha s V HF . Mi c r o w a v e s r e q u i r e t h e h i g h e s t q u a l i t y c a b l e s a v a i l a b l e . 3 . A v o i dR G 5 8 . I t i s i n t e n d e df o r t h i nE t h e r n e t n e t w o r k i n g , C Bo r V HFr a d i o , n o t f o r m i c r o w a v e . 4 . A v o i d R G 2 1 3 o r R G 8 . $e y a r e i n t e n d e df o r C Ba n dHFr a d i o . I n t h i s c a s e e v e ni f t h e d i a m e t e r i s l a r g e t h e a t t e n u a t i o ni s s i g n i 0 c a n t d u e t o t h e c h e a pi n s u l a t o r u s e d . 5 . Wh e n e v e r p o s s i b l e , u s e t h e b e s t r a t e dL MRc a b l e o r e q u i v a l e n t y o u c a n0 n d . L MRi s a b r a n do f c o a xc a b l e a v a i l a b l e i nv a r i o u s d i a m e t e r s t h a t w o r k s w e l l a t m i c r o w a v ef r e q u e n c i e s . $e m o s t c o m m o n l yu s e d a r eL MR 4 0 0a n dL MR 6 0 0 . H e l i a xc a b l e s a r ea l s ov e r yg o o d , b u t e x p e n s i v e a n dd i N c u l t t o u s e . 6 . Wh e n e v e r p o s s i b l e , u s ec a b l e s t h a t a r ep r e c r i m p e da n dt e s t e di na p r o p e r l a b . I n s t a l l i n gc o n n e c t o r s t oc a b l ei s at r i c k yb u s i n e s s , a n di s d i N c u l t t od op r o p e r l ye v e nw i t ht h e s p e c i 0 c t o o l s . N e v e r s t e po v e r a c a b l e , b e n di t t o om u c h , o r t r y t ou n p l u gac o n n e c t o r b y p u l l i n gt h e c a b l ed i r e c t l y . A l lo ft h e s eb e h a v i o u r sm a yc h a n g et h em e c h a n i c a l c h a r a c t e r i s t i c o f t h e c a b l e a n dt h e r e f o r e i t s i m p e d a n c e , s h o r t t h e i n n e r c o n d u c t o r t o t h e s h i e l d , o r e v e nb r e a k t h e l i n e . 7 . $o s ep r o b l e m s a r e d i N c u l t t ot r a c ka n dr e c o g n i s ea n dc a nl e a dt o u n p r e d i c t a b l e b e h a v i o u r o nt h e r a d i o l i n k . 8 . F o r v e r y s h o r t d i s t a n c e s , a t h i nc a b l e o f g o o d q u a l i t y m a y b e a d e q u a t e s i n c e i t w i l l n o t i n t r o d u c e t o o m u c ha t t e n u a t i o n .

58

PHYSICS

Waveguides
A b o v e 2G Hz , t h e w a v e l e n g t hi s s h o r t e n o u g ht oa l l o wp r a c t i c a l , e N c i e n t e n e r g yt r a n s f e rb yd i 1 e r e n tm e a n s . Aw a v e g u i d ei sac o n d u c t i n gt u b e t h r o u g hw h i c he n e r g y i s t r a n s m i t t e d i nt h e f o r mo f e l e c t r o m a g n e t i c w a v e s . $e t u b e a c t s a s a b o u n d a r y t h a t c o n 0 n e s t h e w a v e s i nt h e e n c l o s e ds p a c e . $ eF a r a d a yc a g ep h e n o m e n o np r e v e n t se l e c t r o m a g n e t i ce 1 e c t sf r o m b e i n g e v i d e n t o u t s i d e t h e g u i d e . $e e l e c t r o m a g n e t i c 0 e l d s a r e p r o p a g a t e d t h r o u g ht h ew a v e g u i d eb ym e a n so fr e W e c t i o n sa g a i n s ti t si n n e rw a l l s , w h i c ha r ec o n s i d e r e dp e r f e c tc o n d u c t o r s . $ ei n t e n s i t yo ft h e0 e l d si s g r e a t e s t a t t h e c e n t e r a l o n g t h e Xd i m e n s i o n , a n dm u s t d i m i n i s ht o z e r o a t t h e e n dw a l l s b e c a u s e t h e e x i s t e n c e o f a n y 0 e l dp a r a l l e l t ot h e w a l l s a t t h e s u r f a c e w o u l d c a u s e a ni n 0 n i t e c u r r e n t t o W o wi na p e r f e c t c o n d u c t o r . $ eX , Ya n dZ a x i so far e c t a n g u l a rw a v e g u i d ec a nb es e e ni nt h e f o l l o w i n g 0 g u r e :

F i g u r e A T L5 : e X , Y , a n d Za x i s o f a r e c t a n g u l a r w a v e g u i d e . $e r e a r e a ni n 0 n i t e n u m b e r o f w a y s i nw h i c ht h e e l e c t r i ca n dm a g n e t i c 0 e l d s c a na r r a n g e t h e m s e l v e s i na w a v e g u i d e f o r f r e q u e n c i e s a b o v e t h e l o w c u t o 1 . E a c ho f t h e s e 0 e l dc o n 0 g u r a t i o n s i s c a l l e da m o d e . $e m o d e s m a y b es e p a r a t e di n t ot w og e n e r a lg r o u p s .O n eg r o u p ,d e s i g n a t e dT M ( T r a n s v e r s eMa g n e t i c ) , h a st h em a g n e t i c0 e l de n t i r e l yt r a n s v e r s et ot h e d i r e c t i o no f p r o p a g a t i o n , b u t h a s ac o m p o n e n t o f t h e e l e c t r i c0 e l di nt h e d i r e c t i o no fp r o p a g a t i o n .$ eo t h e rt y p e ,d e s i g n a t e dT E( T r a n s v e r s e E l e c t r i c ) h a s t h e e l e c t r i c 0 e l de n t i r e l y t r a n s v e r s e , b u t h a s ac o m p o n e n t o f m a g n e t i c 0 e l di nt h e d i r e c t i o no f p r o p a g a t i o n . $e m o d e o f p r o p a g a t i o ni s i d e n t i 0 e db y t h e g r o u pl e t t e r s f o l l o w e d b y t w o s u b s c r i p t n u m e r a l s . F o r e x a m p l e , T E1 0 , T M1 1 , e t c .

5. ANTENNAS / TRANSMISSION LINES

59

$ en u m b e r o f p o s s i b l em o d e s i n c r e a s e s w i t ht h ef r e q u e n c yf o r ag i v e n s i z eo f g u i d e , a n dt h e r ei s o n l yo n ep o s s i b l em o d e , c a l l e dt h ed o m i n a n t m o d e , f o r t h el o w e s t f r e q u e n c yt h a t c a nb et r a n s m i t t e d . I nar e c t a n g u l a r g u i d e , t h e c r i t i c a l d i m e n s i o ni s X . $i s d i m e n s i o nm u s t b e m o r e t h a n0 . 5 a t t h e l o w e s t f r e q u e n c y t ob e t r a n s m i t t e d . I np r a c t i c e , t h e Yd i m e n s i o n i s u s u a l l ya b o u t 0 . 5Xt oa v o i dt h e p o s s i b i l i t yo f o p e r a t i o ni no t h e r t h a n t h ed o m i n a n t m o d e . C r o s s s e c t i o n a l s h a p e s o t h e r t h a nt h er e c t a n g l ec a n b eu s e d , t h em o s ti m p o r t a n tb e i n gt h ec i r c u l a rp i p e . Mu c ht h es a m e c o n s i d e r a t i o n s a p p l y a s i nt h e r e c t a n g u l a r c a s e . Wa v e l e n g t hd i m e n s i o n s f o r r e c t a n g u l a r a n dc i r c u l a r g u i d e s a r e g i v e ni nt h e f o l l o w i n g t a b l e , w h e r e Xi s t h e w i d t ho f a r e c t a n g u l a r g u i d e a n dr i s t h e r a d i u s o f a c i r c u l a r g u i d e . A l l 0 g u r e s a p p l y t o t h e d o m i n a n t m o d e .
Type of guide Cutoff wavelength Longest wavelength transmitted with little attenuation Shortest wavelength before next mode becomes possible Rectangular 2X 1.6X 1.1X Circular 3.41r 3.2r 2.8r

E n e r g ym a yb e i n t r o d u c e di n t oo r e x t r a c t e df r o m aw a v e g u i d e b y m e a n s o fe i t h e rt h ee l e c t r i co rm a g n e t i c0 e l d .$ ee n e r g yt r a n s f e rt y p i c a l l y h a p p e n s t h r o u g hac o a x i a l l i n e . T w op o s s i b l em e t h o d s f o r c o u p l i n gt oa c o a x i a l l i n e a r e u s i n g t h e i n n e r c o n d u c t o r o f t h e c o a x i a l l i n e , o r t h r o u g ha l o o p . Ap r o b e w h i c hi s s i m p l y a s h o r t e x t e n s i o no f t h e i n n e r c o n d u c t o r o f t h e c o a x i a l l i n e c a nb e o r i e n t e ds ot h a t i t i s p a r a l l e l t ot h e e l e c t r i c l i n e s o f f o r c e . Al o o pc a nb ea r r a n g e ds ot h a t i t e n c l o s e s s o m eo f t h em a g n e t i c l i n e s o f f o r c e . $e p o i n t a t w h i c hm a x i m u mc o u p l i n g i s o b t a i n e dd e p e n d s u p o nt h em o d eo fp r o p a g a t i o ni nt h eg u i d eo rc a v i t y .C o u p l i n gi s m a x i m u mw h e nt h e c o u p l i n g d e v i c e i s i nt h e m o s t i n t e n s e 0 e l d . I f a w a v e g u i d e i s l e f t o p e na t o n e e n d , i t w i l l r a d i a t e e n e r g y ( t h a t i s , i t c a n b e u s e da s a na n t e n n a r a t h e r t h a na t r a n s m i s s i o n l i n e ) . $i sr a d i a t i o nc a nb ee n h a n c e db yW a r i n gt h ew a v e g u i d et of o r m a p y r a m i d a l h o r na n t e n n a . T h e r ea r ee x a m p l e so fp r a c t i c a lw a v e g u i d ea n t e n n a s f o rWi F i s h o w ni n A p p e n d i x Ac a l l e dA n t e n n a C o n s t r u c t i o n .

60

PHYSICS

Connectors and adapters


C o n n e c t o r sa l l o w ac a b l et ob ec o n n e c t e dt oa n o t h e rc a b l eo rt oa c o m p o n e n ti nt h eR Fc h a i n . $e r ea r eaw i d ev a r i e t yo f0 t t i n g sa n d c o n n e c t o r s d e s i g n e d t o g o w i t hv a r i o u s s i z e s a n dt y p e s o f c o a x i a l l i n e s . We w i l l d e s c r i b e s o m e o f t h e m o s t p o p u l a r o n e s . B N Cc o n n e c t o r s w e r ed e v e l o p e di nt h e l a t e4 0 s . B N Cs t a n d s f o r B a y o n e t N e i l l C o n c e l m a n , n a m e da f t e r t h em e nw h oi n v e n t e di t : P a u l N e i l l a n d C a r lC o n c e l m a n . $e B N C p r o d u c tl i n ei sa m i n i a t u r eq u i c k c o n n e c t / d i s c o n n e c t c o n n e c t o r . I t f e a t u r e s t w ob a y o n e t l u g s o nt h e f e m a l e c o n n e c t o r ,a n dm a t i n gi sa c h i e v e dw i t ho n l y aq u a r t e rt u r no ft h e c o u p l i n g n u t . B N C s a r e i d e a l l ys u i t e df o r c a b l e t e r m i n a t i o nf o r m i n i a t u r e t o s u b m i n i a t u r e c o a x i a l c a b l e ( R G 5 8 t oR G 1 7 9 , R G 3 1 6 , e t c . ) . $e y a r e m o s t c o m m o n l yf o u n do nt e s t e q u i p m e n t a n d1 0 b a s e 2c o a x i a l E t h e r n e t c a b l e s . T N Cc o n n e c t o r s w e r ea l s oi n v e n t e db yN e i l l a n dC o n c e l m a n , a n da r ea t h r e a d e dv a r i a t i o no f t h eB N C . D u et ot h eb e t t e r i n t e r c o n n e c t p r o v i d e d b y t h e t h r e a d e dc o n n e c t o r , T N Cc o n n e c t o r s w o r kw e l l t h r o u g ha b o u t 1 2 G Hz . T N Cs t a n d s f o r $r e a d e dN e i l l C o n c e l m a n . T y p eN ( a g a i nf o rN e i l l ,a l t h o u g hs o m e t i m e sa t t r i b u t e dt o N a v y ) c o n n e c t o r s w e r e o r i g i n a l l yd e v e l o p e dd u r i n g t h e S e c o n dWo r l dWa r . $e y a r eu s a b l eu pt o1 8G Hz ,a n dv e r yc o m m o n l yu s e df o rm i c r o w a v e a p p l i c a t i o n s . $e y a r e a v a i l a b l e f o r a l m o s t a l l t y p e s o f c a b l e . B o t ht h e p l u g / c a b l ea n dp l u g/ s o c k e t j o i n t s a r es u p p o s e d l yw a t e r p r o o f , p r o v i d i n ga n e 1 e c t i v ec a b l ec l a m p .N e v e r t h e l e s sf o ro u t d o o ru s et h e ys h o u l db e w r a p p e di ns e l f a g g l o m e r a t i n g t a p e t o p r e v e n t w a t e r f r o ms e e p i n g i n . S MAi s a na c r o n y mf o r S u bMi n i a t u r ev e r s i o nA , a n dw a s d e v e l o p e di n t h e6 0 s . S MA c o n n e c t o r s a r ep r e c i s i o n , s u b m i n i a t u r eu n i t st h a t p r o v i d e e x c e l l e n te l e c t r i c a lp e r f o r m a n c eu pt o1 8G Hz .$ e s et h r e a d e dh i g h p e r f o r m a n c ec o n n e c t o r sa r ec o m p a c ti ns i z ea n dm e c h a n i c a l l yh a v e o u t s t a n d i n g d u r a b i l i t y . $ eS MB n a m ed e r i v e sf r o mS u bMi n i a t u r eB , a n di ti st h es e c o n d s u b m i n i a t u r e d e s i g n . $e S MBi s a s m a l l e r v e r s i o no f t h e S MAw i t h s n a p o nc o u p l i n g . I tp r o v i d e sb r o a d b a n dc a p a b i l i t yt h r o u g h 4G Hzw i t ha s n a p o n c o n n e c t o r d e s i g n .

5. ANTENNAS / TRANSMISSION LINES

61

MC Xc o n n e c t o r s w e r e i n t r o d u c e di nt h e 8 0 s . Wh i l et h e MC Xu s e s i d e n t i c a l i n n e r c o n t a c t a n di n s u l a t o r d i m e n s i o n s a s t h e S MB , t h e o u t e r d i a m e t e r o f t h e p l u gi s 3 0 %s m a l l e r t h a nt h e S MB . $i ss e r i e sp r o v i d e sd e s i g n e r sw i t ho p t i o n sw h e r ew e i g h ta n dp h y s i c a l s p a c ea r el i m i t e d . MC Xp r o v i d e sb r o a d b a n dc a p a b i l i t yt h o u g h 6G Hz w i t ha s n a p o n c o n n e c t o r d e s i g n . I na d d i t i o nt ot h e s e s t a n d a r dc o n n e c t o r s , m o s t Wi F i d e v i c e s u s e a v a r i e t y o fp r o p r i e t a r yc o n n e c t o r s . O f t e n ,t h e s ea r es i m p l ys t a n d a r dm i c r o w a v e c o n n e c t o r s w i t ht h e c e n t r e c o n d u c t o r p a r t s r e v e r s e d , o r t h e t h r e a dc u t i n t h e o p p o s i t ed i r e c t i o n . $e s ep a r t s a r eo f t e ni n t e g r a t e di n t oam i c r o w a v e s y s t e mu s i n g a s h o r t , W e x i b l e j u m p e r c a l l e da p i g t a i l t h a t c o n v e r t s t h e n o n s t a n d a r dc o n n e c t o r i n t os o m e t h i n gm o r e r o b u s t a n dc o m m o n l ya v a i l a b l e . S o m e o f t h e s e c o n n e c t o r s i n c l u d e : R P T N C . $i s i s a T N Cc o n n e c t o r w i t ht h e g e n d e r s r e v e r s e d . U . F L( a l s ok n o w na sMH F ) .$i si sp o s s i b l yt h es m a l l e s tm i c r o w a v e c o n n e c t o rc u r r e n t l yi nw i d eu s e .$eU . F L / MHF i st y p i c a l l yu s e dt o c o n n e c t a m i n i P C I r a d i o c a r dt oa na n t e n n a o r l a r g e r c o n n e c t o r ( s u c ha s a nN o r T N C ) u s i n g a t h i nc a b l e i nw a h t i s k n o w na s a p i g t a i l . $e MMC Xs e r i e s , w h i c hi s a l s o c a l l e da Mi c r o Ma t e , i s o n e o f t h e s m a l l e s t R Fc o n n e c t o rl i n ea n dw a s d e v e l o p e di nt h e9 0 s . MMC Xi sam i c r o m i n i a t u r ec o n n e c t o r s e r i e s w i t hal o c k s n a pm e c h a n i s ma l l o w i n gf o r 3 6 0 d e g r e e s r o t a t i o ne n a b l i n g W e x i b i l i t y . MC C a r dc o n n e c t o r sa r ee v e ns m a l l e ra n dm o r ef r a g i l et h a n MMC X . $e yh a v eas p l i to u t e rc o n n e c t o rt h a tb r e a k se a s i l ya f t e rj u s taf e w i n t e r c o n n e c t s . A d a p t e r s a r es h o r t , t w o s i d e dd e v i c e s w h i c ha r eu s e dt oj o i nt w oc a b l e s o r c o m p o n e n t s w h i c hc a n n o t b e c o n n e c t e dd i r e c t l y . F o r e x a m p l e , a n a d a p t e r c a n b e u s e dt o c o n n e c t a nS MAc o n n e c t o r t o a B N C . A d a p t e r s m a y a l s ob e u s e dt o0 t t o g e t h e r c o n n e c t o r s o f t h e s a m e t y p e , b u t o f d i 1 e r e n t g e n d e r .

F i g u r e A T L6 : A n Nf e m a l e b a r r e l a d a p t e r .

62

PHYSICS

F o r e x a m p l e a v e r y u s e f u l a d a p t e r i s t h e o n e w h i c he n a b l e s t oj o i nt w oT y p e Nc o n n e c t o r s , h a v i n g s o c k e t ( f e m a l e ) c o n n e c t o r s o n b o t hs i d e s .

C h o o s i n gt h e p r o p e r c o n n e c t o r $e g e n d e r q u e s t i o n . Mo s t c o n n e c t o r s h a v e a w e l l d e 0 n e dg e n d e r . Ma l e c o n n e c t o r s h a v ea ne x t e r n a l h o u s i n go r s l e e v e ( f r e q u e n t l yw i t ha ni n n e r t h r e a d ) t h a t i s m e a n t t os u r r o u n dt h e b o d y o f t h e f e m a l e c o n n e c t o r . $e y n o r m a l l y h a v e a p i nt h a t i n s e r t s i nt h e c o r r e s p o n d i n g s o c k e t o f t h e f e m a l e c o n n e c t o r , w h i c hh a sah o u s i n gt h r e a d e do nt h eo u t e rs u r f a c eo rt w o b a y o n e ts t r u d sp r o t r u d i n gf r o m ac y l i n d e r . B e w a r eo fr e v e r s ep o l a r i t y c o n n e c t o r s , i nw h i c ht h em a l eh a sa ni n n e rs o c k e t a n dt h ef e m a l ea n i n n e r p i n . U s u a l l yc a b l e s h a v em a l ec o n n e c t o r s o nb o t he n d s , w h i l eR F d e v i c e s ( i . e . t r a n s m i t t e r s a n da n t e n n a s ) h a v e f e m a l e c o n n e c t o r s . L i g h t n i n g a r r e s t o r s ,d i r e c t i o n a lc o u p l e r sa n dl i n e t h r o u g hm e a s u r i n gd e v i c e sm a y h a v e b o t hm a l e a n df e m a l e c o n n e c t o r s . B e s u r e t h a t e v e r y m a l e c o n n e c t o r i ny o u r s y s t e mm a t e s w i t ha f e m a l e c o n n e c t o r . L e s s i s b e s t ! T r yt om i n i m i s e t h e n u m b e r o f c o n n e c t o r s a n da d a p t e r s i n t h e R Fc h a i n . E a c hc o n n e c t o r i n t r o d u c e s s o m e a d d i t i o n a l l o s s ( u p t oa d B f o r e a c hc o n n e c t i o n , d e p e n d i n g o n t h e c o n n e c t o r ! ) B u y ,d o n tb u i l d ! A sm e n t i o n e de a r l i e r ,b u yc a b l e st h a ta r ea l r e a d y t e r m i n a t e dw i t ht h ec o n n e c t o r sy o un e e dw h e n e v e rp o s s i b l e . S o l d e r i n g c o n n e c t o r si sn o ta ne a s yt a s k , a n dt od ot h i sj o bp r o p e r l yi sa l m o s t i m p o s s i b l ef o r s m a l l c o n n e c t o r s a s U . F La n dMMC X . E v e nt e r m i n a t i n g F o a m c a b l e s i s n o t a ne a s y t a s k . D o n t u s e B N Cf o r 2 . 4G Hz o r h i g h e r . U s e Nt y p e c o n n e c t o r s ( o r S MA , S MB , T N C , e t c . ) Mi c r o w a v ec o n n e c t o r sa r ep r e c i s i o n m a d ep a r t s ,a n dc a nb ee a s i l y d a m a g e db y m i s t r e a t m e n t . A s ag e n e r a l r u l e , y o us h o u l dr o t a t et h e o u t e r s l e e v et ot i g h t e nt h ec o n n e c t o r , l e a v i n gt h er e s to f t h ec o n n e c t o r( a n d c a b l e )s t a t i o n a r y .I fo t h e rp a r t so ft h ec o n n e c t o ra r et w i s t e dw h i l e t i g h t e n i n g o r l o o s e n i n g , d a m a g e c a ne a s i l y o c c u r . N e v e rs t e po v e rc o n n e c t o r s ,o rd r o pc o n n e c t o r so nt h eW o o rw h e n d i s c o n n e c t i n gc a b l e s( t h i sh a p p e n sm o r eo f t e nt h a ny o um a yi m a g i n e , e s p e c i a l l y w h e nw o r k i n g o n a m a s t o v e r a r o o f ) . N e v e r u s e t o o l s l i k e p l i e r s t ot i g h t e nc o n n e c t o r s . A l w a y s u s e y o u r h a n d s . Wh e n w o r k i n g o u t s i d e ,r e m e m b e rt h a tm e t a l se x p a n d a th i g h t e m p e r a t u r e s a n dc o n t r a c t a t l o wt e m p e r a t u r e s : c o n n e c t o r t o ot i g h t i nt h e s u m m e r c a nb i n do r e v e nb r e a k i nw i n t e r .

5. ANTENNAS / TRANSMISSION LINES

63

A n t e n n a s r a d i a t i o np a t t e r n s A n t e n n a s a r e a v e r y i m p o r t a n t c o m p o n e n t o f c o m m u n i c a t i o ns y s t e m s . B y d e 0 n i t i o n , a na n t e n n a i s a d e v i c e u s e dt ot r a n s f o r ma nR Fs i g n a l t r a v e l i n g o n at r a n s m i s s i o nl i n ei n t oa ne l e c t r o m a g n e t i cw a v ei nf r e es p a c e . A n t e n n a sh a v eap r o p e r t yk n o w na sr e c i p r o c i t y ,w h i c hm e a n st h a t a n a n t e n n aw i l l m a i n t a i nt h es a m ec h a r a c t e r i s t i c s r e g a r d l e s s i f w h e t h e r i t i s t r a n s m i t t i n go r r e c e i v i n g . A l l a n t e n n a s o p e r a t ee N c i e n t l yo v e r a r e l a t i v e l y n a r r o wf r e q u e n c y b a n d . A na n t e n n a m u s t b e t u n e dt ot h e s a m e f r e q u e n c y b a n do f t h e r a d i o s y s t e mt ow h i c hi t i s c o n n e c t e d , o t h e r w i s e t h e r e c e p t i o n a n dt h e t r a n s m i s s i o nw i l l b ei m p a i r e d . I nb r o a d c a s t i n g , w e c a nm a k e d o w i t hi n e N c i e n tr e c e i v i n ga n t e n n a s ,b e c a u s et h et r a n s m i t t e r sa r ev e r y p o w e r f u l , b u t i nt w o w a yc o m m u n i c a t i o n s w em u s t h a v ep r o p e r l ys i z e d a n t e n n a s . Wh e nas i g n a l i s f e di n t oa na n t e n n a , t h ea n t e n n aw i l l e m i t r a d i a t i o nd i s t r i b u t e di ns p a c e i na c e r t a i nw a y . Ag r a p h i c a l r e p r e s e n t a t i o n o ft h er e l a t i v ed i s t r i b u t i o no ft h er a d i a t e dp o w e ri ns p a c ei sc a l l e da r a d i a t i o np a t t e r n .

Antenna term glossary


B e f o r e w e t a l k a b o u t s p e c i 0 c a n t e n n a s , t h e r e a r e a f e wc o m m o nt e r m s t h a t m u s t b e d e 0 n e d a n de x p l a i n e d : I n p u t I m p e d a n c e F o r a ne N c i e n t t r a n s f e r o f e n e r g y , t h ei m p e d a n c eo f t h er a d i o , a n t e n n a , a n dt r a n s m i s s i o nc a b l ec o n n e c t i n gt h e mm u s t b et h es a m e . T r a n s c e i v e r s a n dt h e i r t r a n s m i s s i o nl i n e s a r e t y p i c a l l y d e s i g n e df o r 5 0b i m p e d a n c e . I f t h ea n t e n n ah a sa ni m p e d a n c ed i 1 e r e n tf r o m 5 0b t h e r ew i l lb ea m i s m a t c ha n dr e W e c t i o n s w i l l o c c u r u n l e s s a ni m p e d a n c e m a t c h i n g c i r c u i t i s i n s e r t e d . Wh e na n yo f t h e s e c o m p o n e n t s a r e m i s m a t c h e d , t r a n s m i s s i o n e N c i e n c y s u 1 e r s . R e t u r nl o s s R e t u r nl o s s i s a n o t h e r w a y o f e x p r e s s i n g m i s m a t c h . I t i s a l o g a r i t h m i c r a t i o m e a s u r e di nd Bt h a t c o m p a r e s t h ep o w e r r e W e c t e db yt h ea n t e n n a P r t ot h e p o w e r t h a t i s f e di n t o t h e a n t e n n a f r o mt h e t r a n s m i s s i o nl i n e P i : R e t u r nL o s s ( i n d B ) =2 0 l o g P i / P r 1 0

64

PHYSICS

Wh i l es o m e e n e r g yw i l l a l w a y s b er e W e c t e db a c ki n t ot h e s y s t e m , ah i g h r e t u r nl o s s w i l l y i e l d u n a c c e p t a b l e a n t e n n a p e r f o r m a n c e . $e i n t e r a c t i o nb e t w e e nt h ew a v et r a v e l l i n gf r o mt h et r a n s m i t t e r t ot h e a n t e n n aa n dt h ew a v er e W e c t e db yt h ea n t e n n at o w a r d st h et r a n s m i t t e r c r e a t e s w h a t i s k n o w na s a s t a t i o n a r yw a v e , t h e r e f o r e a na l t e r n a t i v e w a y t o m e a s u r et h ei m p e d a n c em i s m a t c hi sb ym e a n so ft h eV o l t a g eS t a n d i n g W a v e R a t i o ( V S WR ) : R e t u r nL o s s ( i n d B ) =2 0 l o g V S W R + 1 / V S WR 1 ) 1 0( I na p e r f e c t l y m a t c h e dt r a n s m i s s i o nl i n e , V S WR=1 . I np r a c t i c e , w e s t r i v e t o m a i n t a i na V S WRb e l o w2 . B a n d w i d t h $e b a n d w i d t ho f a na n t e n n a r e f e r s t ot h er a n g eo f f r e q u e n c i e s F F H L o v e r w h i c ht h e a n t e n n a c a no p e r a t e c o r r e c t l y . $e a n t e n n a ' s b a n d w i d t hi s t h en u m b e r o f Hzf o rw h i c ht h ea n t e n n am e e t sc e r t a i nr e q u i r e m e n t s , l i k e e x h i b i t i n g a g a i nw i t h i n3 d Bo f t h e m a x i m u mg a i no r a V S WRl e s s t h a n1 . 5 . $e b a n d w i d t hc a na l s ob e d e s c r i b e di nt e r m s o f p e r c e n t a g e o f t h e c e n t r e f r e q u e n c y o f t h e b a n d . B a n d w i d t h=1 0 0 ( F / F H F L) C . . . w h e r eF st h eh i g h e s tf r e q u e n c yi nt h eb a n d ,F st h el o w e s t H i L i f r e q u e n c y i nt h e b a n d , a n dF s t h e c e n t r e f r e q u e n c y i nt h e b a n d . Ci I nt h i s w a y , b a n d w i d t hi s c o n s t a n t r e l a t i v e t of r e q u e n c y . I f b a n d w i d t h w a s e x p r e s s e di na b s o l u t eu n i t s o f f r e q u e n c y , i t w o u l db ed i 1 e r e n t d e p e n d i n g u p o nt h e c e n t e r f r e q u e n c y . D i 1 e r e n t t y p e s o f a n t e n n a s h a v e d i 1 e r e n t b a n d w i d t hl i m i t a t i o n s . D i r e c t i v i t y a n dG a i n D i r e c t i v i t yi st h ea b i l i t yo f a na n t e n n at of o c u se n e r g yi nap a r t i c u l a r d i r e c t i o nw h e nt r a n s m i t t i n g ,o rt or e c e i v ee n e r g yf r o m ap a r t i c u l a r d i r e c t i o nw h e nr e c e i v i n g . I f aw i r e l e s s l i n ku s e s 0 x e dl o c a t i o n s f o r b o t he n d s , i t i s p o s s i b l et ou s e a n t e n n ad i r e c t i v i t yt oc o n c e n t r a t et h er a d i a t i o nb e a m i nt h ew a n t e d d i r e c t i o n .

5. ANTENNAS / TRANSMISSION LINES

65

I n am o b i l ea p p l i c a t i o nw h e r et h et r a n s c e i v e ri sn o t0 x e d , i tm a yb e i m p o s s i b l et op r e d i c t w h e r et h e t r a n s c e i v e rw i l l b e , a n ds ot h ea n t e n n a s h o u l di d e a l l yr a d i a t ea sw e l la sp o s s i b l ei na l ld i r e c t i o n s .A n o m n i d i r e c t i o n a la n t e n n ai su s e di nt h e s ea p p l i c a t i o n s . G a i nc a n n o tb e d e 0 n e d i nt e r m s o f a p h y s i c a l q u a n t i t y s u c ha s t h e w a t t o r t h e o h m , b u t i t i s a d i m e n s i o n l e s s r a t i o . G a i ni s g i v e ni nr e f e r e n c e t o a s t a n d a r da n t e n n a . $e t w om o s t c o m m o nr e f e r e n c ea n t e n n a s a r et h e i s o t r o p i c a n t e n n a a n d t h e h a l f w a v e d i p o l e a n t e n n a . D i r e c t i v i t y a n dG a i n D i r e c t i v i t yi st h ea b i l i t yo f a na n t e n n at of o c u se n e r g yi nap a r t i c u l a r d i r e c t i o nw h e nt r a n s m i t t i n g ,o rt or e c e i v ee n e r g yf r o m ap a r t i c u l a r d i r e c t i o nw h e nr e c e i v i n g . I f aw i r e l e s s l i n ku s e s 0 x e dl o c a t i o n s f o r b o t h e n d s , i t i s p o s s i b l e t ou s e a n t e n n a d i r e c t i v i t yt oc o n c e n t r a t e t h e r a d i a t i o n b e a m i nt h ew a n t e dd i r e c t i o n .I n am o b i l ea p p l i c a t i o nw h e r et h e t r a n s c e i v e ri sn o t0 x e d ,i tm a yb ei m p o s s i b l et op r e d i c tw h e r et h e t r a n s c e i v e r w i l l b e , a n ds ot h ea n t e n n as h o u l di d e a l l yr a d i a t ea s w e l l a s p o s s i b l ei na l l d i r e c t i o n s . A no m n i d i r e c t i o n a la n t e n n ai su s e di nt h e s e a p p l i c a t i o n s . G a i nc a n n o t b e d e 0 n e di nt e r m s o f a p h y s i c a l q u a n t i t y s u c h a s t h e w a t t o r t h e o h m , b u t i t i s ad i m e n s i o n l e s s r a t i o . G a i ni s g i v e ni n r e f e r e n c e t o a s t a n d a r da n t e n n a . $e t w om o s t c o m m o nr e f e r e n c ea n t e n n a s a r et h e i s o t r o p i c a n t e n n a a n d t h eh a l f w a v e d i p o l e a n t e n n a . $e i s o t r o p i c a n t e n n ar a d i a t e s e q u a l l yw e l l i na l l d i r e c t i o n s . R e a l i s o t r o p i ca n t e n n a s d on o t e x i s t , b u t t h e yp r o v i d e u s e f u l a n ds i m p l e t h e o r e t i c a l a n t e n n a p a t t e r n s w i t hw h i c ht oc o m p a r e r e a l a n t e n n a s . A n yr e a l a n t e n n aw i l l r a d i a t em o r ee n e r g yi ns o m ed i r e c t i o n s t h a ni no t h e r s .S i n c ea n t e n n a sc a n n o tc r e a t ee n e r g y ,t h et o t a lp o w e r r a d i a t e di st h es a m ea sa ni s o t r o p i ca n t e n n a .A n ya d d i t i o n a le n e r g y r a d i a t e di nt h e d i r e c t i o ni t f a v o u r s i s o 1 s e t b y e q u a l l yl e s s e n e r g y r a d i a t e d i ns o m e o t h e r d i r e c t i o n . $e g a i no f a na n t e n n a i na g i v e nd i r e c t i o ni s t h e a m o u n t o f e n e r g yr a d i a t e di nt h a t d i r e c t i o nc o m p a r e dt ot h ee n e r g ya n i s o t r o p i ca n t e n n a w o u l dr a d i a t ei nt h es a m ed i r e c t i o nw h e nd r i v e nw i t h t h es a m ei n p u t p o w e r . U s u a l l yw ea r eo n l yi n t e r e s t e di nt h em a x i m u m g a i n , w h i c hi s t h e g a i ni nt h e d i r e c t i o ni nw h i c ht h e a n t e n n a i s r a d i a t i n g m o s to ft h ep o w e r , t h es oc a l l e db o r e s i g h t . A na n t e n n ag a i no f3d B c o m p a r e dt oa ni s o t r o p i ca n t e n n aw o u l db ew r i t t e na s 3d B i . $ eh a l f w a v e d i p o l e c a nb eau s e f u l s t a n d a r df o r c o m p a r i n gt oo t h e r a n t e n n a s a t o n e f r e q u e n c y o r o v e r a v e r y n a r r o wb a n do f f r e q u e n c i e s . U n l i k et h ei s o t r o p i c , i s v e r ye a s yt ob u i l da n ds o m e t i m e s m a n u f a c t u r e r s

66

PHYSICS

w i l l e x p r e s s t h e g a i nw i t hr e f e r e n c e t ot h e h a l f w a v e d i p o l e i n s t e a do f t h e i s o t r o p i c . A na n t e n n a g a i no f 3d Bc o m p a r e dt oad i p o l e a n t e n n a w o u l d b e w r i t t e na s 3d B d . S i n c e ah a l f w a v e d i p o l e h a s ag a i no f 2 . 1 5d B i , w e c a n0 n d t h e d B i g a i no f a n y a n t e n n a b y a d d i n g 2 . 1 5 t o i t s d B d g a i n . $ em e t h o do fm e a s u r i n gg a i nb yc o m p a r i n gt h ea n t e n n au n d e rt e s t a g a i n s ta k n o w ns t a n d a r da n t e n n a ,w h i c hh a sa c a l i b r a t e dg a i n ,i s t e c h n i c a l l y k n o w na s a g a i nt r a n s f e r t e c h n i q u e . R a d i a t i o nP a t t e r n $e r a d i a t i o np a t t e r no r a n t e n n a p a t t e r nd e s c r i b e s t h e r e l a t i v e s t r e n g t ho f t h er a d i a t e d0 e l di nv a r i o u sd i r e c t i o n sf r o mt h ea n t e n n a , a t ac o n s t a n t d i s t a n c e . $e r a d i a t i o np a t t e r ni s ar e c e p t i o np a t t e r na s w e l l , s i n c e i t a l s o d e s c r i b e st h er e c e i v i n gp r o p e r t i e so ft h ea n t e n n a , a sac o n s e q u e n c eo f r e c i p r o c i t y .$ er a d i a t i o np a t t e r ni st h r e e d i m e n s i o n a l ,b u tu s u a l l yt h e p u b l i s h e dr a d i a t i o np a t t e r n sa r eat w o d i m e n s i o n a l s l i c eo ft h et h r e e d i m e n s i o n a l p a t t e r n , i nt h e h o r i z o n t a l a n dv e r t i c a l p l a n e s . $e s ep a t t e r nm e a s u r e m e n t sa r ep r e s e n t e di ne i t h e rar e c t a n g u l a r o ra p o l a r f o r m a t . $ ef o l l o w i n g0 g u r es h o w sar e c t a n g u l a rp l o t p r e s e n t a t i o no f at y p i c a l t e n e l e m e n t Y a g i a n t e n n a r a d i a t i o np a t t e r n . $e d e t a i l i s g o o db u t i t i s d i N c u l t t ov i s u a l i z e t h e a n t e n n a b e h a v i o u r i n d i 1 e r e n t d i r e c t i o n s .

F i g u r e A T L7 : Ar e c t a n g u l a r p l o t o f t h e r a d i a t i o n p a t t e r no f a Y a g i a n t e n n a . P o l a r c o o r d i n a t e s y s t e m s a r e u s e da l m o s t u n i v e r s a l l y .

5. ANTENNAS / TRANSMISSION LINES

67

I nt h ep o l a r c o o r d i n a t eg r a p h , p o i n t sa r el o c a t e db yp r o j e c t i o na l o n ga r o t a t i n ga x i s ( r a d i u s )t oa ni n t e r s e c t i o nw i t ho n eo fs e v e r a l c o n c e n t r i c c i r c l e s t h a t r e p r e s e n t t h e c o r r e s p o n gg a i ni nd B , r e f e r e n c e dt o0d Ba t t h e o u t e r e d g e o f t h e p l o t . $i s r e p r e s e n t a t i o nm a k e s i t e a s i e r t og r a s pt h er a d i a l d i s t r i b u t i o no f t h e a n t e n n a p o w e r . F i g u r e A T L8 i s a p o l a r p l o t o f t h e s a m e 1 0 e l e m e n t Y a g i a n t e n n a .

F i g u r e A T L8 : e p o l a r r a d i a t i o n p a t t e r np l o t o f t h e s a m e a n t e n n a $e 0 e l dp a t t e r nt h a t e x i s t s c l o s e t ot h e a n t e n n a i s d i 1 e r e n t f r o mt h e o n e a t ad i s t a n c e , w h i c hi s t h e o n eo f i n t e r e s t . $e f a r 0 e l di s a l s oc a l l e dt h e r a d i a t i o n0 e l d .F o rr a d i a t i o np a t t e r nm e a s u r e m e n ti ti si m p o r t a n tt o c h o o s e a d i s t a n c e s u N c i e n t l y l a r g e . $ em i n i m u mp e r m i s s i b l ed i s t a n c ed e p e n d so nt h ed i m e n s i o n so ft h e a n t e n n a i nr e l a t i o nt o t h e w a v e l e n g t h .

68

PHYSICS

$e a c c e p t e d f o r m u l a f o r t h i s d i s t a n c e i s :
2 r 2 d / m i n=

w h e r er s t h em i n i m u md i s t a n c ef r o mt h ea n t e n n a , di s t h el a r g e s t m i n i d i m e n s i o no f t h e a n t e n n a , a n d i s t h e w a v e l e n g t h . B e a m w i d t h A na n t e n n a ' s b e a m w i d t hi s u s u a l l yu n d e r s t o o dt om e a nt h eh a l f p o w e r b e a m w i d t h . $e p e a kr a d i a t i o ni n t e n s i t y i s f o u n d , a n dt h e nt h e p o i n t s o n e i t h e r s i d e o f t h e p e a ka t w h i c ht h e p o w e r h a s r e d u c e db y h a l f a r e l o c a t e d . $ ea n g u l a rd i s t a n c eb e t w e e nt h eh a l fp o w e rp o i n t si sd e 0 n e da st h e b e a m w i d t h . H a l f t h ep o w e r e x p r e s s e di nd e c i b e l si s 3d B , s ot h eh a l f p o w e r b e a m w i d t hi s s o m e t i m e s r e f e r r e dt oa s t h e 3d Bb e a m w i d t h . B o t h h o r i z o n t a l a n dv e r t i c a l b e a m w i d t ha r e u s u a l l y c o n s i d e r e d . A s s u m i n gt h a t m o s t o f t h er a d i a t e dp o w e r i s n o t d i v i d e di n t os i d e l o b e s , t h ed i r e c t i v ea n dh e n c et h eg a i ni si n v e r s e l yp r o p o r t i o n a lt ot h e b e a m w i d t h : a s t h e b e a m w i d t hd e c r e a s e s , t h e g a i ni n c r e a s e s . Av e r y h i g hg a i na n t e n n a c a nh a v e a b e a m w i d t ho f a f e wd e g r e e s a n dw i l l h a v et ob ep o i n t e dv e r yc a r e f u l l yi no r d e rn o tt om i s st h et a r g e t . $e b e a m w i d t hi s d e 0 n e db y t h e h a l f p o w e r p o i n t s a n di nt u r nd e t e r m i n e s t h e c o v e r a g e a r e a . C o v e r a g ea r e ar e f e r s t og e o g r a p h i c a l s p a c e i l l u m i n a t e d b yt h ea n t e n n a a n di t i s r o u g h l yd e 0 n e db yt h ei n t e r s e c t i o no f t h eb e a m w i d t hw i t ht h e e a r t hs u r f a c e . O nab a s es t a t i o n , i t i s n o r m a l l yd e s i r e dt om a x i m i s et h e c o v e r a g ea r e a ,b u ts o m e t i m e so n em u s tr e s o r tt o d o w n t i l t i n g t h e a n t e n n a , e i t h e r m e c h a n i c a l l yo r e l e c t r i c a l l y , i no r d e r t op r o v i d e s e r v i c e s t o c u s t o m e r sv e r yc l o s et ot h eb a s es t a t i o na n dt h e r e f o r eb e l o w t h e b e a m w i d t ho f a n o nt i l t e da n t e n n a . $i s d o w nt i l t i n gc o u l db ea c h i e v e d b y m e c h a n i c a l l yi n c l i n i n g t h e a n t e n n a , b u t o f t e nt h e b e a mc a nb e s t e e r e d b yc h a n g i n gt h ep h a s eo f t h es i g n a l a p p l i e dt ot h ed i 1 e r e n t e l e m e n t s o f t h e a n t e n n a i nw h a t i s k n o w na s e l e c t r i c a l l y d o w n t i l t i n g . S i d e l o b e s N oa n t e n n ai s a b l et or a d i a t ea l l t h ee n e r g yi no n ep r e f e r r e dd i r e c t i o n . S o m ei si n e v i t a b l yr a d i a t e di no t h e rd i r e c t i o n s . T h e s es m a l l e rp e a k s a r e r e f e r r e dt oa s s i d e l o b e s , c o m m o n l y s p e c i 0 e di nd Bd o w nf r o mt h e m a i nl o b e . I na n t e n n a d e s i g n , a b a l a n c e m u s t b e s t r u c kb e t w e e ng a i na n ds i d e l o b e s .

5. ANTENNAS / TRANSMISSION LINES

69

N u l l s I na na n t e n n ar a d i a t i o np a t t e r n , an u l l i s az o n ei nw h i c ht h ee 1 e c t i v e r a d i a t e dp o w e r i s a t a m i n i m u m . An u l l o f t e nh a s a n a r r o wd i r e c t i v i t y a n g l e c o m p a r e dt ot h a to ft h em a i nb e a m . $u s , t h en u l l i su s e f u lf o rs e v e r a l p u r p o s e s , s u c ha s s u p p r e s s i o no f i n t e r f e r i n g s i g n a l s i na g i v e n d i r e c t i o n P o l a r i z a t i o n P o l a r i z a t i o ni sd e 0 n e da st h eo r i e n t a t i o no ft h ee l e c t r i c0 e l do fa n e l e c t r o m a g n e t i c w a v e . $e i n i t i a l p o l a r i z a t i o n o f a r a d i o w a v e i s d e t e r m i n e d b y t h e a n t e n n a . Mo s t a n t e n n a s a r e e i t h e r v e r t i c a l l y o r h o r i z o n t a l l y p o l a r i z e d .

F i g u r e A T L9 : e e l e c t r i c C e l di s p e r p e n d i c u l a r t o m a g n e t i c C e l d , b o t ho f w h i c ha r e p e r p e n d i c u l a r t o t h e d i r e c t i o no f p r o p a g a t i o n .

$ ep o l a r i z a t i o no ft h et r a n s m i t t i n ga n dt h er e c e i v i n ga n t e n n am u s t m a t c h , o r a v e r y b i g l o s s w i l l b e i n c u r r e d .

70

PHYSICS

S o m em o d e r ns y s t e m st a k ea d v a n t a g eo fp o l a r i z a t i o nb ys e n d i n gt w o i n d e p e n d e n t s i g n a l s a t t h e s a m e f r e q u e n c y , s e p a r a t e db yt h e p o l a r i z a t i o n . P o l a r i z a t i o ni si ng e n e r a l d e s c r i b e db ya ne l l i p s e . T w os p e c i a l c a s e s o f e l l i p t i c a l p o l a r i z a t i o na r e l i n e a r p o l a r i z a t i o na n dc i r c u l a r p o l a r i z a t i o n . Wi t h l i n e a r p o l a r i z a t i o n , t h e e l e c t r i c 0 e l dv e c t o r s t a y s i nt h e s a m e p l a n e a l l t h e t i m e . $ ee l e c t r i c0 e l dm a yl e a v et h ea n t e n n ai n av e r t i c a lo r i e n t a t i o n ,a h o r i z o n t a l o r i e n t a t i o n , o r a t s o m e a n g l e b e t w e e nt h e t w o . V e r t i c a l l yp o l a r i z e dr a d i a t i o ni s s o m e w h a t l e s s a 1 e c t e db yr e W e c t i o n s o v e r t h e t r a n s m i s s i o np a t h . O m n i d i r e c t i o n a l a n t e n n a s n o r m a l l y h a v e v e r t i c a l p o l a r i z a t i o n . H o r i z o n t a l a n t e n n a s a r el e s s l i k e l yt op i c ku pm a n m a d ei n t e r f e r e n c e , w h i c ho r d i n a r i l y i s v e r t i c a l l y p o l a r i z e d . I nc i r c u l a r p o l a r i z a t i o nt h e e l e c t r i c 0 e l dv e c t o r a p p e a r s t ob e r o t a t i n g w i t h c i r c u l a r m o t i o na b o u t t h e d i r e c t i o no f p r o p a g a t i o n , m a k i n go n ef u l l t u r n f o r e a c hR Fc y c l e . $i s r o t a t i o nm a y b e r i g h t h a n do r l e f t h a n d . C h o i c eo f p o l a r i z a t i o ni s o n eo f t h ed e s i g nc h o i c e s a v a i l a b l et ot h eR F s y s t e md e s i g n e r . P o l a r i z a t i o nMi s m a t c h I no r d e r t ot r a n s f e r m a x i m u mp o w e r b e t w e e nat r a n s m i t a n dar e c e i v e a n t e n n a , b o t ha n t e n n a s m u s t h a v et h es a m es p a t i a l o r i e n t a t i o n , a n dt h e s a m e p o l a r i z a t i o ns e n s e . Wh e nt h e a n t e n n a s a r e n o t a l i g n e do r d on o t h a v e t h e s a m e p o l a r i z a t i o n , t h e r e w i l l b e a r e d u c t i o ni np o w e r t r a n s f e r b e t w e e nt h e t w o a n t e n n a s . $i s r e d u c t i o ni np o w e r t r a n s f e r w i l l r e d u c et h eo v e r a l l s y s t e me N c i e n c ya n d p e r f o r m a n c e . Wh e nt h et r a n s m i ta n dr e c e i v ea n t e n n a sa r eb o t hl i n e a r l yp o l a r i z e d , p h y s i c a l a n t e n n a m i s a l i g n m e n t w i l l r e s u l t i na p o l a r i z a t i o nm i s m a t c hl o s s , w h i c hc a nb e d e t e r m i n e d u s i n g t h e f o l l o w i n g f o r m u l a : L o s s ( d B ) =2 0 l o g ( c o s ) 1 0 . . . w h e r e i st h ed i 1 e r e n c ei nt h ep o l a r i z a t i o na n g l eb e t w e e nt h et w o a n t e n n a s .

5. ANTENNAS / TRANSMISSION LINES

71

F o r 1 5 t h e l o s s i s a p p r o x i m a t e l y 0 . 3 d B , f o r 3 0 w e l o s e 1 . 2 5 d B , f o r 4 5 w e l o s e 3 d Ba n df o r 9 0 w e h a v e a ni n 0 n i t e l o s s . I ns h o r t , t h e g r e a t e r t h e m i s m a t c hi np o l a r i z a t i o nb e t w e e na t r a n s m i t t i n g a n dr e c e i v i n g a n t e n n a , t h e g r e a t e r t h e l o s s . I nt h er e a l w o r l d , a9 0 m i s m a t c hi np o l a r i z a t i o ni s q u i t el a r g eb u t n o t i n 0 n i t e . S o m ea n t e n n a s , s u c ha sY a g i so rc a na n t e n n a s , c a nb es i m p l y r o t a t e d9 0 t o m a t c h t h e p o l a r i z a t i o no f t h e o t h e r e n do f t h e l i n k . Y o uc a nu s e t h e p o l a r i z a t i o ne 1 e c t t oy o u r a d v a n t a g e o na p o i n t t o p o i n t l i n k . U s e a m o n i t o r i n g t o o l t o o b s e r v e i n t e r f e r e n c e f r o ma d j a c e n t n e t w o r k s , a n d r o t a t eo n ea n t e n n au n t i l y o us e et h el o w e s t r e c e i v e ds i g n a l . $e nb r i n g y o u r l i n k o n l i n e a n do r i e n t a t e t h e o t h e r e n dt o m a t c hp o l a r i z a t i o n . $i s t e c h n i q u e c a ns o m e t i m e s b e u s e dt ob u i l ds t a b l e l i n k s , e v e ni nn o i s y r a d i oe n v i r o n m e n t s . P o l a r i z a t i o nm i s m a t c hc a nb ee x p l o i t e dt os e n dt w od i 1 e r e n t s i g n a l s o n t h e s a m e f r e q u e n c y a t t h e s a m e t i m e , t h u s d o u b l i n g t h e t h r o u g h p u t o f t h e l i n k . S p e c i a l a n t e n n a s t h a t h a v ed u a l f e e d s c a nb eu s e df o r t h i s p u r p o s e . $e y h a v e t w oR Fc o n n e c t o r s t h a t a t t a c ht ot w oi n d e p e n d e n t r a d i o s . $e r e a l l i f et h r o u g h p u ti ss o m e w h a tl o w e rt h a nt w i c et h es i n g l ea n t e n n a t h r o u g h p u t b e c a u s e o f t h e i n e v i t a b l e c r o s s p o l a r i z a t i o n i n t e r f e r e n c e . F r o n t t o b a c kr a t i o I ti so f t e nu s e f u lt oc o m p a r et h ef r o n t t o b a c kr a t i oo fd i r e c t i o n a l a n t e n n a s . $i s i s t h e r a t i oo f t h e m a x i m u md i r e c t i v i t y o f a na n t e n n a t oi t s d i r e c t i v i t y i nt h e o p p o s i t e d i r e c t i o n . F o r e x a m p l e , w h e nt h e r a d i a t i o np a t t e r ni s p l o t t e do na r e l a t i v e d Bs c a l e , t h ef r o n t t o b a c kr a t i oi s t h ed i 1 e r e n c ei nd Bb e t w e e nt h el e v e l o f t h e m a x i m u mr a d i a t i o ni nt h e f o r w a r dd i r e c t i o na n dt h e l e v e l o f r a d i a t i o na t 1 8 0 d e g r e e s f r o mi t . $i s n u m b e r i s m e a n i n g l e s s f o r a no m n i d i r e c t i o n a l a n t e n n a , b u t i t i s q u i t e r e l e v a n t w h e nb u i l d i n gas y s t e mw i t hr e p e a t e r s , i nw h i c ht h e s i g n a l s e n t b a c k w a r dw i l l i n t e r f e r e w i t ht h e u s e f u l s i g n a l a n dm u s t b e m i n i m i s e d . A n t e n n a A p e r t u r e $ ee l e c t r i c a l a p e r t u r e o far e c e i v i n ga n t e n n ai sd e 0 n e da st h ec r o s s s e c t i o no f ap a r a b o l i ca n t e n n at h a t w o u l dd e l i v e rt h es a m ep o w e r t oa m a t c h e dl o a d .

72

PHYSICS

I t i s e a s y t o s e e t h a t a p a r a b o l i c g r i dh a s a na p e r t u r e v e r y s i m i l a r t oa s o l i d p a r a b o l o i d . $e a p e r t u r e o f a na n t e n n a i s p r o p o r t i o n a l t o t h e g a i n . B y r e c i p r o c i t y , t h e a p e r t u r e i s t h e s a m e f o r a t r a n s m i t t i n g a n t e n n a . N o t i c e t h a t t h e c o n c e p t o f a p e r t u r e i s n o t e a s i l y v i s u a l i s e di nt h e c a s e o f a w i r ea n t e n n ai nw h i c ht h ep h y s i c a l a r e ai sn e g l i g i b l e . I nt h i sc a s et h e a n t e n n a a p e r t u r e m u s t b e d e r i v e d f r o mt h e f o r m u l a o f t h e g a i n .

Types of antennas
Ac l a s s i 0 c a t i o no f a n t e n n a s c a nb e b a s e do n : F r e q u e n c y a n d s i z e .
A n t e n n a s u s e df o r HFa r ed i 1 e r e n t f r o ma n t e n n a s u s e df o r V HF , w h i c hi n t u r na r e d i 1 e r e n t f r o ma n t e n n a s f o r m i c r o w a v e . $e w a v e l e n g t hi s d i 1 e r e n t a t d i 1 e r e n tf r e q u e n c i e s , s ot h ea n t e n n a sm u s tb ed i 1 e r e n ti ns i z et or a d i a t e s i g n a l s a t t h e c o r r e c t w a v e l e n g t h . Wea r e p a r t i c u l a r l yi n t e r e s t e di na n t e n n a s w o r k i n gi nt h em i c r o w a v er a n g e , e s p e c i a l l y i nt h e 2 . 4 G Hz a n d5 G Hz f r e q u e n c i e s . A t 2 . 4 G Hz t h e w a v e l e n g t hi s 1 2 . 5 c m , w h i l e a t 5 G Hz i t i s 6 c m .

D i r e c t i v i t y . A n t e n n a s c a nb eo m n i d i r e c t i o n a l , s e c t o r i a l o r d i r e c t i v e . O m n i d i r e c t i o n a l a n t e n n a sr a d i a t er o u g h l yt h es a m es i g n a la l l a r o u n dt h ea n t e n n ai na c o m p l e t e 3 6 0 p a t t e r n . $ em o s t p o p u l a r t y p e s o f o m n i d i r e c t i o n a l a n t e n n a s a r et h ed i p o l ea n d t h eg r o u n dp l a n e . S e c t o r i a l a n t e n n a s r a d i a t ep r i m a r i l yi nas p e c i 0 ca r e a . $e b e a mc a nb e a s w i d e a s 1 8 0 d e g r e e s , o r a s n a r r o wa s 6 0 d e g r e e s . D i r e c t i o n a l o r d i r e c t i v e a n t e n n a s a r e a n t e n n a s i nw h i c ht h e b e a m w i d t hi s m u c hn a r r o w e r t h a ni ns e c t o r i a l a n t e n n a s . $e y h a v e t h e h i g h e s t g a i na n d a r e t h e r e f o r e u s e df o r l o n g d i s t a n c e l i n k s . T y p e so fd i r e c t i v ea n t e n n a sa r et h eY a g i ,t h eb i q u a d ,t h eh o r n ,t h e h e l i c o i d a l , t h e p a t c ha n t e n n a , t h e p a r a b o l i c d i s h , a n dm a n y o t h e r s .

5. ANTENNAS / TRANSMISSION LINES

73

F i g u r e A T L1 0 : A n t e n n a t y p e s P h y s i c a l c o n s t r u c t i o n . A n t e n n a s c a nb e c o n s t r u c t e di nm a n y d i 1 e r e n t w a y s , r a n g i n g f r o ms i m p l e w i r e s , t o p a r a b o l i c d i s h e s , t o c o 1 e e c a n s . Wh e nc o n s i d e r i n ga n t e n n a s s u i t a b l ef o r2 . 4G HzWL A Nu s e , a n o t h e r c l a s s i 0 c a t i o nc a nb e u s e d : A p p l i c a t i o n . A c c e s s p o i n t s t e n dt om a k ep o i n t t o m u l t i p o i n t n e t w o r k s , w h i l er e m o t e l i n k so rb a c k b o n e sa r ep o i n t t o p o i n t . E a c ho f t h e s es u g g e s td i 1 e r e n t t y p e s o f a n t e n n a s f o r t h e i r p u r p o s e . N o d e s t h a t a r eu s e df o r m u l t i p o i n t a c c e s s w i l l l i k e l y u s e o m n i a n t e n n a s w h i c hr a d i a t e e q u a l l y i na l l d i r e c t i o n s , o r s e v e r a l s e c t o r i a l a n t e n n a s e a c hf o c u s i n gi n t oa s m a l l a r e a . I nt h e p o i n t t o p o i n t c a s e , a n t e n n a s a r e u s e dt o c o n n e c t t w o s i n g l e l o c a t i o n s t o g e t h e r . D i r e c t i v e a n t e n n a s a r e t h e p r i m a r y c h o i c e f o r t h i s a p p l i c a t i o n . Ab r i e f l i s t o f c o m m o nt y p eo f a n t e n n a s f o r t h e2 . 4G Hzf r e q u e n c yi s p r e s e n t e dn o w , w i t ha s h o r t d e s c r i p t i o na n db a s i c i n f o r m a t i o na b o u t t h e i r c h a r a c t e r i s t i c s .

74

PHYSICS

1 / 4w a v e l e n g t h g r o u n dp l a n e . $e 1 4w a v e l e n g t hg r o u n dp l a n ea n t e n n ai sv e r ys i m p l ei ni t s c o n s t r u c t i o na n di s u s e f u l f o r c o m m u n i c a t i o n s w h e ns i z e , c o s t a n de a s e o f c o n s t r u c t i o na r ei m p o r t a n t .$ i sa n t e n n ai sd e s i g n e dt ot r a n s m i ta v e r t i c a l l yp o l a r i z e ds i g n a l . I t c o n s i s t s o f a 1 4w a v e l e n g t he l e m e n t a s a c t i v e e l e m e n t a n dt h r e e o r f o u r 1 4w a v e l e n g t hg r o u n de l e m e n t s b e n t 3 0t o4 5 d e g r e e s d o w n . $i s s e t o f e l e m e n t s , c a l l e dr a d i a l s , i s k n o w na s ag r o u n d p l a n e .

F i g u r e A T L1 1 : Q u a r t e r w a v e l e n g t h g r o u n dp l a n e a n t e n n a . $i s i s as i m p l ea n de 1 e c t i v ea n t e n n at h a t c a nc a p t u r eas i g n a l e q u a l l y f r o ma l l d i r e c t i o n s . $e g a i no f t h i s a n t e n n a i s i nt h e o r d e r o f 2 4 d B i . Y a g i U d a a n t e n n a Ab a s i cY a g i o rm o r ep r o p e r l yY a g i U d aa n t e n n ac o n s i s t so fac e r t a i n n u m b e ro fs t r a i g h te l e m e n t s ,e a c h m e a s u r i n ga p p r o x i m a t e l yh a l f w a v e l e n g t h . $e d r i v e no r a c t i v ee l e m e n t o f aY a g i i s t h e e q u i v a l e n t o f a c e n t r e f e d , h a l f w a v e d i p o l e a n t e n n a . P a r a l l e l t o t h e d r i v e ne l e m e n t , a n da p p r o x i m a t e l y 0 . 2 t o 0 . 5 w a v e l e n g t h o n e i t h e r s i d e o f i t , a r e s t r a i g h t r o d s o r w i r e s c a l l e dr e W e c t o r s a n dd i r e c t o r s , o r s i m p l y p a s s i v e e l e m e n t s .

5. ANTENNAS / TRANSMISSION LINES

75

Ar e W e c t o r i s p l a c e db e h i n dt h e d r i v e ne l e m e n t a n di s s l i g h t l yl o n g e r t h a n h a l f w a v e l e n g t h ; d i r e c t o r s a r e p l a c e di nf r o n t o f t h e d r i v e n e l e m e n t a n da r e s l i g h t l ys h o r t e r t h a nh a l f w a v e l e n g t h . At y p i c a l Y a g i h a s o n e r e W e c t o r a n d o n e o r m o r e d i r e c t o r s . $ ea n t e n n ap r o p a g a t e se l e c t r o m a g n e t i c0 e l de n e r g yi nt h ed i r e c t i o n r u n n i n gf r o m t h ed r i v e ne l e m e n tt o w a r dt h ed i r e c t o r s ,a n di sm o s t s e n s i t i v e t oi n c o m i n ge l e c t r o m a g n e t i c0 e l de n e r g yi nt h i s s a m e d i r e c t i o n . $e m o r e d i r e c t o r s a Y a g i h a s , t h e g r e a t e r t h e g a i n . F o l l o w i n gi st h ep h o t oo faY a g ia n t e n n aw i t h 5d i r e c t o r sa n do n e r e W e c t o r . Y a g i a n t e n n a s a r e o f t e ne n c l o s e d i na c y l i n d r i c a l r a d o m e t o a 1 o r d p r o t e c t i o nf r o mt h e w e a t h e r .

F i g u r e A T L1 2 : Y a g i U d a Y a g ia n t e n n a sa r eu s e dp r i m a r i l yf o rP o i n t t o P o i n tl i n k s , h a v eag a i n f r o m1 0 t o 2 0 d B i a n da h o r i z o n t a l b e a m w i d t ho f 1 0 t o 2 0 d e g r e e s . H o r n $e h o r na n t e n n ad e r i v e si t sn a m ef r o m t h ec h a r a c t e r i s t i cW a r e d a p p e a r a n c e . $e W a r e dp o r t i o nc a nb e s q u a r e , r e c t a n g u l a r , c y l i n d r i c a l o r c o n i c a l . $ ed i r e c t i o no fm a x i m u mr a d i a t i o nc o r r e s p o n d sw i t ht h ea x i so ft h e h o r n . I t i s e a s i l y f e dw i t ha w a v e g u i d e , b u t c a nb e f e dw i t ha c o a x i a l c a b l e a n da p r o p e r t r a n s i t i o n . Wh i l ei t i s c u m b e r s o m e t om a k eah o r na n t e n n aa t h o m e , ac y l i n d r i c a l c a nw i t hp r o p e r d i m e n s i o n s w i l l h a v e s i m i l a r c h a r a c t e r i s t i c s .

76

PHYSICS

F i g u r e A T L1 3 : F e e d h o r nm a d e f r o ma f o o d c a n . H o r na n t e n n a sa r ec o m m o n l yu s e da st h ea c t i v ee l e m e n ti n ad i s h a n t e n n a . $e h o r ni s p o i n t e d t o w a r dt h e c e n t r e o f t h e d i s hr e W e c t o r . $ eu s eo f ah o r n , r a t h e rt h a nad i p o l ea n t e n n ao ra n yo t h e r t y p eo f a n t e n n a , a t t h e f o c a l p o i n t o f t h e d i s hm i n i m i z e s l o s s o f e n e r g y a r o u n dt h e e d g e s o f t h e d i s hr e W e c t o r . A t 2 . 4 G Hz , a s i m p l e h o r na n t e n n a m a d e w i t ha t i nc a nh a s a g a i ni nt h e o r d e r o f 1 0 d B i . P a r a b o l i c D i s h A n t e n n a sb a s e do np a r a b o l i cr e W e c t o r sa r et h em o s tc o m m o nt y p eo f d i r e c t i v e a n t e n n a s w h e na h i g hg a i ni s r e q u i r e d . $e m a i na d v a n t a g e i s t h a t t h e y c a nb e m a d e t oh a v e g a i na n dd i r e c t i v i t y a s l a r g e a s r e q u i r e d . $e m a i nd i s a d v a n t a g e i s t h a t b i gd i s h e s a r e d i N c u l t t o m o u n t a n da r e l i k e l y t o h a v e a l a r g e w i n d l o a d . R a n d o m e s c a nb e u s e dt or e d u c e t h e w i n dl o a do r w i n d a g e , a s w e l l a s f o r w e a t h e r p r o t e c t i o n .

5. ANTENNAS / TRANSMISSION LINES

77

F i g u r e A T L1 4 : As o l i dd i s h a n t e n n a . D i s h e s u p t o o n e m e t r e a r e u s u a l l y m a d e f r o ms o l i dm a t e r i a l . A l u m i n u mi s f r e q u e n t l yu s e df o r i t s w e i g h t a d v a n t a g e , i t s d u r a b i l i t ya n d g o o d e l e c t r i c a l c h a r a c t e r i s t i c s . Wi n d a g ei n c r e a s e sr a p i d l yw i t hd i s hs i z ea n ds o o nb e c o m e sas e v e r e p r o b l e m . D i s h e s w h i c hh a v ear e W e c t i n g s u r f a c et h a t u s e s a no p e nm e s h a r e f r e q u e n t l y u s e d . $e s e h a v e a p o o r e r f r o n t t o b a c kr a t i o , b u t a r e s a f e r t ou s e a n de a s i e r t o b u i l d . C o p p e r , a l u m i n u m , b r a s s , g a l v a n i z e ds t e e la n ds t e e la r es u i t a b l em e s h m a t e r i a l s .

78

PHYSICS

B i Q u a d $ eB i Q u a da n t e n n ai s s i m p l et ob u i l da n do 1 e r sg o o dd i r e c t i v i t ya n d g a i nf o r P o i n t t o P o i n t c o m m u n i c a t i o n s . I t c o n s i s t s o f a t w o s q u a r e s o f t h e s a m e s i z e o f 1 4w a v e l e n g t ha s a r a d i a t i n g e l e m e n t a n do f a m e t a l l i c p l a t e o r g r i d a s r e W e c t o r . $i s a n t e n n a h a s a b e a m w i d t ho f a b o u t 7 0 d e g r e e s a n d a g a i ni nt h e o r d e r o f 1 0 1 2 d B i . I t c a nb e u s e da s s t a n d a l o n e a n t e n n a o r a s f e e d e r f o r a P a r a b o l i c D i s h . $e p o l a r i z a t i o ni s s u c ht h a t l o o k i n g a t t h e a n t e n n a f r o mt h e f r o n t , i f t h e s q u a r e s a r e p l a c e ds i d e b y s i d e t h e p o l a r i z a t i o ni s v e r t i c a l .

F i g u r e A T L1 5 : e B i Q u a d . L o g P e r i o d i c A n t e n n a s L o gp e r i o d i ca n t e n n a s h a v em o d e r a t eg a i no v e r aw i d ef r e q u e n c yb a n d , $e y a r e o f t e nu s e di ns p e c t r u ma n a l y s e r s f o r t e s t i n g p u r p o s e s a n d a r e a l s o p o p u l a ra sT Vr e c e i v i n ga n t e n n a s s i n c et h e yc a ne N c i e n t l yc o v e rf r o m c h a n n e l 2u pt oc h a n n e l 1 4 . $e s ea n t e n n a sa r eu s e di n Wh i t es p a c e d e v i c e s t h a t r e q u i r e t h e a b i l i t y t o w o r k i nw i d e l y d i 1 e r e n t c h a n n e l s .

5. ANTENNAS / TRANSMISSION LINES

79

F i g u r e A T L1 6 : L o g p e r i o d i c a n t e n n a O t h e r A n t e n n a s Ma n yo t h e r t y p e s o f a n t e n n a s e x i s t a n dn e wo n e s a r ec r e a t e df o l l o w i n g a d v a n c e s i nt e c h n o l o g y . S e c t o r o rS e c t o r i a l a n t e n n a s : t h e ya r ew i d e l yu s e di nc e l l u l a r t e l e p h o n y i n f r a s t r u c t u r ea n da r eu s u a l l yb u i l ta d d i n gar e W e c t i v ep l a t et oo n eo r m o r e p h a s e dd i p o l e s . $e i r h o r i z o n t a l b e a m w i d t hc a nb e a s w i d e a s 1 8 0 d e g r e e s , o r a s n a r r o wa s 6 0 d e g r e e s , w h i l e t h e v e r t i c a l i s u s u a l l y m u c hn a r r o w e r . C o m p o s i t ea n t e n n a s c a nb eb u i l tw i t hm a n yS e c t o r st oc o v e raw i d e r h o r i z o n t a l r a n g e ( m u l t i s e c t o r i a l a n t e n n a ) . P a n e lo rP a t c ha n t e n n a s :t h e ya r es o l i dW a tp a n e l su s e df o ri n d o o r c o v e r a g e , w i t ha g a i nu p t o 2 3 d B i .

80

PHYSICS

Re'ector theory
$ eb a s i cp r o p e r t yo f ap e r f e c t p a r a b o l i cr e W e c t o ri st h a t i t c o n v e r t sa s p h e r i c a l w a v e i r r a d i a t i n gf r o m ap o i n t s o u r c e p l a c e da t t h e f o c u s i n t oa p l a n e w a v e . C o n v e r s e l y , a l l t h e e n e r g y r e c e i v e db y t h e d i s hf r o ma d i s t a n t s o u r c e i s r e W e c t e d t o a s i n g l e p o i n t a t t h e f o c u s o f t h e d i s h . $e p o s i t i o no f t h e f o c u s , o r f o c a l l e n g t h , i s g i v e nb y :
2 f =D / 1 6 c

. . . w h e r e Di s t h e d i s hd i a m e t e r a n dci s t h e d e p t ho f t h e p a r a b o l aa t i t s c e n t r e . $e s i z e o f t h e d i s hi s t h e m o s t i m p o r t a n t f a c t o r s i n c e i t d e t e r m i n e s t h e m a x i m u mg a i nt h a tc a nb ea c h i e v e da tt h eg i v e nf r e q u e n c ya n dt h e r e s u l t i n g b e a m w i d t h . $e g a i na n db e a m w i d t ho b t a i n e da r e g i v e nb y :
2 G a i n =( ( 3 . 1 4 D ) / 2 )

B e a m w i d t h =7 0 / D . . . w h e r eD i s t h ed i s hd i a m e t e r a n d i s t h ee N c i e n c y . $e e N c i e n c yi s d e t e r m i n e dm a i n l yb y t h e e 1 e c t i v e n e s s o f i l l u m i n a t i o no f t h e d i s hb y t h e f e e d ,b u ta l s ob yo t h e rf a c t o r s .E a c ht i m et h ed i a m e t e ro fad i s hi s d o u b l e d , t h e g a i ni s f o u r t i m e s o r 6 d Bg r e a t e r . I f b o t hs t a t i o n s d o u b l e t h e s i z eo f t h e i rd i s h e s , s i g n a l s t r e n g t hc a nb ei n c r e a s e db y1 2d B , av e r y s u b s t a n t i a lg a i n .A ne N c i e n c yo f5 0 % c a nb ea s s u m e dw h e nh a n d b u i l d i n ga n t e n n a s . $ er a t i of /D ( f o c a l l e n g t h / d i a m e t e ro f t h ed i s h ) i s t h ef u n d a m e n t a l f a c t o rg o v e r n i n gt h ed e s i g no f t h ef e e df o r ad i s h . $ er a t i oi s d i r e c t l y r e l a t e dt ot h eb e a m w i d t ho ft h ef e e dn e c e s s a r yt oi l l u m i n a t et h ed i s h e 1 e c t i v e l y . T w od i s h e s o f t h es a m ed i a m e t e r b u td i 1 e r e n tf o c a l l e n g t h s r e q u i r ed i 1 e r e n t d e s i g no f f e e di f b o t ha r et ob ei l l u m i n a t e de N c i e n t l y . $e v a l u e o f 0 . 2 5c o r r e s p o n d s t ot h e c o m m o nf o c a l p l a n e d i s hi nw h i c h t h e f o c u s i s i nt h e s a m e p l a n e a s t h e r i mo f t h e d i s h . $e o p t i m u mi l l u m i n a t i o no f a d i s hi s a c o m p r o m i s e b e t w e e nm a x i m i s i n g t h e g a i na n dm i n i m i s i n g t h e s i d e l o b e s .

5. ANTENNAS / TRANSMISSION LINES

81

Ampli2ers
A s m e n t i o n e de a r l i e r , a n t e n n a s d on o t a c t u a l l yc r e a t ep o w e r . $e ys i m p l y d i r e c ta l l a v a i l a b l ep o w e ri n t oap a r t i c u l a rp a t t e r n . B yu s i n gap o w e r a m p l i 0 e r , y o uc a nu s eD Cp o w e r t oa u g m e n t y o u ra v a i l a b l es i g n a l . A n a m p l i 0 e r c o n n e c t s b e t w e e nt h e r a d i o t r a n s m i t t e r a n dt h e a n t e n n a , a n dh a s a na d d i t i o n a l c a b l e t h a t c o n n e c t s t o a p o w e r s o u r c e . A m p l i 0 e r s a r e a v a i l a b l e t h a t w o r ka t 2 . 4G Hz , a n dc a na d ds e v e r a l Wa t t s o f p o w e r t oy o u r t r a n s m i s s i o n . $e s e d e v i c e s s e n s e w h e na na t t a c h e dr a d i o i s t r a n s m i t t i n g , a n dq u i c k l yp o w e r u pa n da m p l i f yt h e s i g n a l . $e yt h e n s w i t c ho 1a g a i nw h e nt r a n s m i s s i o ne n d s . Wh e nr e c e i v i n g , t h e ya l s oa d d a m p l i 0 c a t i o nt o t h e s i g n a l b e f o r e s e n d i n g i t t o t h e r a d i o . U n f o r t u n a t e l y , s i m p l y a d d i n g a m p l i 0 e r s w i l l n o t m a g i c a l l y s o l v e a l l o f y o u r n e t w o r k i n g p r o b l e m s . Wed on o t d i s c u s s p o w e r a m p l i 0 e r s a t l e n g t hi nt h i s b o o kb e c a u s e t h e r e a r e a n u m b e r o f s i g n i 0 c a n t d r a w b a c k s t o u s i n g t h e m : $e ya r ee x p e n s i v e . A m p l i 0 e r sm u s tw o r ka tr e l a t i v e l y w i d eb a n d w i d t h s a t 2 . 4G Hz , a n dm u s t s w i t c hq u i c k l y e n o u g ht o w o r k f o r Wi F i a p p l i c a t i o n s . $e yp r o v i d en oa d d i t i o n a ld i r e c t i o n a l i t y .H i g hg a i n a n t e n n a s n o t o n l y i m p r o v e t h e a v a i l a b l e a m o u n t o f s i g n a l , b u t t e n dt or e j e c t n o i s e f r o mo t h e r d i r e c t i o n s . A m p l i 0 e r s b l i n d l ya m p l i f yb o t hd e s i r e da n di n t e r f e r i n gs i g n a l s , a n d c a nm a k e i n t e r f e r e n c e p r o b l e m s w o r s e . A m p l i 0 e r s g e n e r a t e n o i s e f o r o t h e r u s e r s o f t h e b a n d . B y i n c r e a s i n gy o u r o u t p u t p o w e r , y o ua r ec r e a t i n gal o u d e r s o u r c eo f n o i s ef o r o t h e r u s e r s o f t h eu n l i c e n s e db a n d . C o n v e r s e l y , a d d i n ga n t e n n ag a i nw i l l i m p r o v ey o u rl i n k a n dc a na c t u a l l yd e c r e a s et h en o i s el e v e lf o ry o u r n e i g h b o u r s . U s i n ga m p l i 0 e r si so f t e ni l l e g a l . E v e r yc o u n t r yi m p o s e s p o w e r l i m i t s o nu s eo f u n l i c e n s e ds p e c t r u m . A d d i n ga n a n t e n n a t oah i g h l y a m p l i 0 e ds i g n a l w i l l l i k e l yc a u s e t h e l i n k t o e x c e e dl e g a l l i m i t s .

A n t e n n a sc o s tf a rl e s st h a na m p s , a n dc a ni m p r o v eal i n ks i m p l yb y c h a n g i n g t h e a n t e n n a o n o n e e n d .

82

PHYSICS

U s i n gm o r e s e n s i t i v e r a d i o s a n dg o o dq u a l i t yc a b l e a l s oh e l p s s i g n i 0 c a n t l y o n l o n g d i s t a n c e w i r e l e s s l i n k s . $e s et e c h n i q u e sa r eu n l i k e l yt oc a u s ep r o b l e m sf o ro t h e r u s e r s o f t h e b a n d , a n ds ow e r e c o m m e n dp u r s u i n g t h e mb e f o r e a d d i n g a m p l i 0 e r s . Ma n ym a n u f a c t u r e r so 1 e rh i g hp o w e rv e r s i o n so f t h e i rWi F i r a d i o sa t b o t h2 a n d5 G Hz , w h i c hh a v e a b u i l t i na m p l i 0 e r s . $e s ea r eb e t t e r t h a ne x t e r n a l a m p l i 0 e r s , b u td on o ta s s u m et h a t i t i s a l w a y ss m a r tt ou s et h eh i g hp o w e rv e r s i o n , f o rm a n ya p p l i c a t i o nt h e s t a n d a r dp o w e r c o u p l e d w i t ha h i g hg a i na n t e n n a i s a c t u a l l y b e t t e r .

Practical antenna designs


$e c o s t o f 2 . 4G Hza n t e n n a s h a s f a l l e nd r a m a t i c a l l yw i t ht h e i n c r e a s e d p o p u l a r i t yo fWi F i .I n n o v a t i v ed e s i g n su s es i m p l e rp a r t sa n df e w e r m a t e r i a l st oa c h i e v ei m p r e s s i v eg a i nw i t hr e l a t i v e l yl i t t l em a c h i n i n g . U n f o r t u n a t e l y , a v a i l a b i l i t y o f g o o da n t e n n a s i s s t i l l l i m i t e di ns o m e a r e a s o f t h e w o r l d , a n di m p o r t i n g t h e mc a nb e e x p e n s i v e . Wh i l ea c t u a l l yd e s i g n i n ga na n t e n n ac a nb eac o m p l e xa n de r r o r p r o n e p r o c e s s , c o n s t r u c t i n ga n t e n n a s f r o ml o c a l l ya v a i l a b l ec o m p o n e n t s i s v e r y s t r a i g h t f o r w a r d , a n dc a nb e a l o t o f f u n . I nA p p e n d i xA c a l l e dA n t e n n aC o n s t r u c t i o nw ep r e s e n ts o m ep r a c t i c a l a n t e n n a d e s i g n s t h a t c a nb e b u i l t f o r v e r y l i t t l e m o n e y .

Antenna measurements
P r e c i s e a n t e n n a i n s t r u m e n t s r e q u i r e e x p e n s i v e i n s t r u m e n t s a n d i n s t a l l a t i o n s . I ti st h e r e f o r ea d v i s a b l et oo b t a i nt h ea n t e n n ap a r a m e t e r s v a l u e s d i r e c t l y f r o ma r e p u t a b l e m a n u f a c t u r e r . A n a n e c h o i cc h a m b e ri sn e e d e d t o p e r f o r m a c c u r a t e a n t e n n a m e a s u r e m e n t s , o t h e r w i s e t h e r e W e c t i o n s w i l l c a u s e f a l s e r e a d i n g s . I c ea 1 e c t st h ep e r f o r m a n c eo fa l la n t e n n a st os o m ed e g r e ea n dt h e p r o b l e mg e t s m o r es e r i o u s a t h i g h e r f r e q u e n c i e s . $ei m p e d a n c eo f f r e e s p a c e i s 3 7 7 o h m s . I f t h e a i r i m m e d i a t e l y s u r r o u n d i n g t h e d i p o l e e l e m e n t s i sr e p l a c e db yi c ew h i c hh a sa l o w e ri m p e d a n c et h a na i r ,t h e nt h e i m p e d a n c e m a t c ha n dr a d i a t i o np a t t e r n s o f t h e a n t e n n a w i l l c h a n g e . $e s e c h a n g e s b e c o m e p r o g r e s s i v e l y w o r s e a s t h e i c e l o a d i n g i n c r e a s e s .

5. ANTENNAS / TRANSMISSION LINES

83

A n t e n n ae l e m e n t sa r eu s u a l l ye n c a s e di n ap l a s t i cp r o t e c t i v eh o u s i n g ( r a d o m e ) . $i s p r o v i d e s a na i r s p a c e b e t w e e nt h e e l e m e n t s a n di c e c a s i n g s ot h a t t h e l o w e r i m p e d a n c e o f t h e i c e l a y e r h a s o n l y a s m a l l e 1 e c t o nt h e r a d i a t o r s . D e t u n i n gi s g r e a t l yr e d u c e db u t r a d i a t i o np a t t e r nd i s t o r t i o nm a ys t i l l b e e n c o u n t e r e d( d e t u n i n g r e d u c e s u s a b l e a n t e n n a b a n d w i d t h ) . F o r a g i v e ni c e t h i c k n e s s , d e v i a t i o nf r o mn o m i n a l p e r f o r m a n c ev a l u e s b e c o m ew o r s ea s f r e q u e n c y i n c r e a s e s . I na r e a s w h e r es e v e r ei c i n ga n dw e t s n o wa r ec o m m o n , i t i s p r u d e n t t o i n s t a l l af u l l r a d o m e o v e r s o l i dp a r a b o l i c a n t e n n a s , t ou s e p a n e l a n t e n n a s i n s t e a do f c o r n e r r e W e c t o r s , a n dt o s t a y a w a y f r o mg r i d p a r a b o l i c s .

F i g u r e A T L1 7 : E > e c t o f i c e o n a p a r a b o l i c g r i d a n t e n n a

NETWORKING

6. NETWORKING 85

6. NETWORKING
B e f o r ep u r c h a s i n ge q u i p m e n t o rd e c i d i n go nah a r d w a r ep l a t f o r m , y o u s h o u l dh a v eac l e a r i d e a o f t h e n a t u r e o f y o u r c o m m u n i c a t i o n s p r o b l e m . Mo s tl i k e l y ,y o ua r er e a d i n gt h i sb o o kb e c a u s ey o un e e dt oc o n n e c t c o m p u t e rn e t w o r k st o g e t h e ri no r d e rt os h a r er e s o u r c e sa n du l t i m a t e l y r e a c ht h e l a r g e r g l o b a l I n t e r n e t . $e n e t w o r k d e s i g n y o u c h o o s et o i m p l e m e n ts h o u l d 0 tt h e c o m m u n i c a t i o n s p r o b l e my o u a r e t r y i n g t o s o l v e . D oy o un e e dt oc o n n e c t ar e m o t es i t et oa nI n t e r n e t c o n n e c t i o ni nt h e c e n t r eo f y o u r c a m p u s ? Wi l l y o u r n e t w o r kl i k e l yg r o wt oi n c l u d es e v e r a l r e m o t e s i t e s ? Wi l l m o s t o f y o u r n e t w o r kc o m p o n e n t s b e i n s t a l l e di n0 x e d l o c a t i o n s , o r w i l l y o u r n e t w o r ke x p a n dt oi n c l u d eh u n d r e d s o f r o a m i n g l a p t o p s a n do t h e r d e v i c e s ? I nt h i sc h a p t e r ,w ew i l lr e v i e wt h en e t w o r k i n gc o n c e p t st h a td e 0 n e T C P / I P , t h e p r i m a r y f a m i l y o f n e t w o r k i n g p r o t o c o l s c u r r e n t l y u s e do nt h e I n t e r n e t . Wew i l l a l s ol o o ka tt h eh a r d w a r eo p t i o n st h a t a r el i k e l yt of o r mt h e u n d e r l y i n gp h y s i c a l l a y e r o f y o u rT C P / I Pn e t w o r ka n de n dw i t hs o m e e x a m p l e s o f w i r e l e s s c o n 0 g u r a t i o n s . $i s w i l l p r e p a r e y o uv e r y w e l l f o r t h e c h a p t e r c a l l e dD e p l o y m e n t P l a n n i n g l a t e r i nt h i s b o o k . T C P / I Pr e f e r s t ot h e s u i t e o f p r o t o c o l s t h a t a l l o wc o n v e r s a t i o n s t oh a p p e n o n t h e g l o b a l I n t e r n e t . B yu n d e r s t a n d i n gT C P / I P ,y o uc a nb u i l dn e t w o r k st h a tw i l ls c a l et o v i r t u a l l y a n y s i z e , a n dw i l l u l t i m a t e l y b e c o m e p a r t o f t h e g l o b a l I n t e r n e t . $i s e d i t i o no f t h e b o o kn o wi n c l u d e s a ni n t r o d u c t i o nt oI P v 6w h i c hi s t h e n e wn u m b e r i n g s y s t e mo f t h e I n t e r n e t . A s i t i s v e r y l i k e l yy o uw i l l b e d e p l o y i n g n e t w o r k s u s i n g I P v 6 , i t i s h i g h l y r e c o m m e n d e dy o ub e c o m e f a m i l i a r w i t hh o wt h i s w o r k s a n da l s oh o wi t c a nw o r ka l o n g s i d e t h e o l d e r I P v 4n e t w o r k s t h a t w i l l c o n t i n u e t oo p e r a t e o n t h e I n t e r n e t f o r s o m e w h i l e y e t .

86

NETWORKING

Introduction
V e n i c e , I t a l y i s a f a n t a s t i c c i t y t og e t l o s t i n . $e r o a d s a r e m e r e f o o t p a t h s t h a t c r o s s w a t e r i nh u n d r e d s o f p l a c e s , a n dn e v e r g oi nas i m p l e s t r a i g h t l i n e . P o s t a l c a r r i e r s i nV e n i c ea r es o m e o f t h e m o s t h i g h l yt r a i n e di nt h e w o r l d ,s p e c i a l i s i n gi nd e l i v e r yt oo n l yo n eo rt w oo ft h es i xs e s t i e r i ( d i s t r i c t s ) o f V e n i c e . $i s i s n e c e s s a r yd u et ot h ei n t r i c a t el a y o u t o f t h a t a n c i e n t c i t y . Ma n y p e o p l e 0 n dt h a t k n o w i n g t h e l o c a t i o no f t h e w a t e r a n d t h e s u ni s f a r m o r e u s e f u l t h a nt r y i n g t o 0 n d a s t r e e t n a m e o n a m a p . I m a g i n e at o u r i s t w h oh a p p e n s t o0 n dp a p i e r m c h m a s ka s as o u v e n i r , a n dw a n t s t oh a v e i t s h i p p e df r o mt h e s t u d i oi nS . P o l o , V e n e z i a t o t h e i r h o m e i nL o n d o n , U n i t e dK i n g d o m . $i s m a y s o u n dl i k e a no r d i n a r y( o r e v e nt r i v i a l ) t a s k , b u t l e t ' s l o o k a t w h a t a c t u a l l y h a p p e n s .

F i g u r e N G1 : A n o t h e r k i n d o f n e t w o r k m a s k .

6. NETWORKING 87

$e a r t i s t 0 r s t p a c k s t h e m a s ki n t oa s h i p p i n gb o x a n da d d r e s s e s i t t ot h e h o m e o f t h e t o u r i s t . $e yt h e nh a n dt h i s t oap o s t a l e m p l o y e ei nV e n i c e , w h oa t t a c h e s s o m e o N c i a lf o r m sa n ds e n d si tt o ac e n t r a lp a c k a g ep r o c e s s i n gh u bf o r i n t e r n a t i o n a l d e s t i n a t i o n s . A f t e r s e v e r a l d a y s , t h ep a c k a g ec l e a r sI t a l i a nc u s t o m sa n d0 n d s i t sw a y o n t oaW i g h t t ot h e U K , a r r i v i n ga t ac e n t r a l i m p o r t p r o c e s s i n gd e p o t a t H e a t h r o wa i r p o r t . O n c e i t c l e a r s t h r o u g hc u s t o m s , t h e p a c k a g e i s s e n t t oa d i s t r i b u t i o np o i n t i nt h ec i t yo fL o n d o n , t h e no nt ot h el o c a l d i s t r i c t p o s t a l p r o c e s s i n g c e n t r e o f C a m d e nw h e r e t h e t o u r i s t l i v e s . $ ep a c k a g ee v e n t u a l l ym a k e s i t sw a yo n t oad e l i v e r yv a nw h i c hh a s a r o u t e t h a t b r i n g s i t t ot h e c o r r e c t h o u s e o nt h e c o r r e c t s t r e e t i nC a m d e n . Am e m b e ro ft h ef a m i l ya c c e p t sa n ds i g n sf o rt h ep a c k a g ef r o mt h e d e l i v e r yv a nd r i v e ra n dt h e nl e a v e s i t i nt h eh o m es t u d i oo f t h et o u r i s t w h o e n j o y s u n p a c k i n g i t s o m e t i m e l a t e r . $e s o r t i n gc l e r ka t t h e o N c ei nC a m d e nn e i t h e r k n o w s n o r c a r e s a b o u t h o wt o g e t t o t h e s e s t i e r e o f S . P o l o , V e n e z i a . H i s j o bi s s i m p l y t o a c c e p t p a c k a g e s a s t h e y a r r i v e , a n dd e l i v e r t h e mt o t h e c o r r e c t p e r s o ni nC a m d e n . S i m i l a r l y , t h e p o s t a l e m p l o y e e i nV e n i c e h a s n on e e dt o w o r r ya b o u t h o w t o g e t t o t h e c o r r e c t a d d r e s s i nL o n d o n . H i s j o bi s t o a c c e p t p a c k a g e s f r o m h i s l o c a l n e i g h b o r h o o da n df o r w a r dt h e mt ot h e n e x t c l o s e s t h u bi nt h e d e l i v e r y c h a i n . $i s i s v e r ys i m i l a r t oh o wI n t e r n e t r o u t i n gw o r k s . Am e s s a g e i s s p l i t u p i n t om a n yi n d i v i d u a lp a c k e t s , a n da r el a b e l l e dw i t ht h e i rs o u r c ea n d d e s t i n a t i o n . $e c o m p u t e r t h e ns e n d s t h e s e p a c k e t s t oar o u t e r , w h i c hd e c i d e s w h e r e t o s e n dt h e mn e x t . $e r o u t e r n e e d s o n l yt ok e e pt r a c ko f ah a n d f u l o f r o u t e s ( f o r e x a m p l e , h o wt og e tt ot h el o c a ln e t w o r k , t h eb e s tr o u t et oaf e wo t h e rl o c a l n e t w o r k s , a n do n e r o u t e t oa g a t e w a y t ot h e r e s t o f t h e I n t e r n e t ) . $i s l i s t o f p o s s i b l e r o u t e s i s c a l l e dt h e r o u t i n g t a b l e . A s p a c k e t s a r r i v ea t t h er o u t e r , t h ed e s t i n a t i o na d d r e s s i s e x a m i n e da n d c o m p a r e da g a i n s t i t s i n t e r n a l r o u t i n g t a b l e .

88

NETWORKING

I f t h e r o u t e r h a s n oe x p l i c i t r o u t e t ot h e d e s t i n a t i o ni nq u e s t i o n , i t s e n d s t h e p a c k e t t ot h e c l o s e s t m a t c hi t c a n0 n d , w h i c hi s o f t e ni t s o w nI n t e r n e t g a t e w a y ( v i a t h e d e f a u l t r o u t e ) . A n dt h en e x tr o u t e rd o e st h es a m e ,a n ds of o r t h ,u n t i lt h ep a c k e t e v e n t u a l l y a r r i v e s a t i t s d e s t i n a t i o n . P a c k a g e s c a no n l y m a k e t h e i r w a y t h r o u g ht h e i n t e r n a t i o n a l p o s t a l s y s t e m b e c a u s ew eh a v ee s t a b l i s h e d as t a n d a r d i s e da d d r e s s i n gs c h e m ef o r p a c k a g e s . F o r e x a m p l e , t h e d e s t i n a t i o na d d r e s s m u s t b e w r i t t e nl e g i b l yo nt h e f r o n t o f t h e p a c k a g e , a n di n c l u d e a l l c r i t i c a l i n f o r m a t i o n( s u c h a s t h e r e c i p i e n t ' s n a m e ,s t r e e ta d d r e s s ,c i t y ,c o u n t r y ,a n dp o s t a lc o d e ) .Wi t h o u tt h i s i n f o r m a t i o n , p a c k a g e s a r e e i t h e r r e t u r n e dt ot h e s e n d e r o r a r e l o s t i nt h e s y s t e m . P a c k e t s c a no n l y W o wt h r o u g ht h e g l o b a l I n t e r n e t b e c a u s e w e h a v e a g r e e do n ac o m m o na d d r e s s i n gs c h e m ea n dp r o t o c o lf o rf o r w a r d i n g p a c k e t s . $e s es t a n d a r dc o m m u n i c a t i o np r o t o c o l sm a k ei t p o s s i b l et oe x c h a n g e i n f o r m a t i o no n a g l o b a l s c a l e .

u n t i l t h e y r e a c h t h e i r u l t i m a t e d e s t i n a t i o n .

6. NETWORKING 89

Cooperative communications
C o m m u n i c a t i o ni s o n l yp o s s i b l ew h e nt h e p a r t i c i p a n t s s p e a kac o m m o n l a n g u a g e . B u to n c et h ec o m m u n i c a t i o nb e c o m e s m o r ec o m p l e xt h a na s i m p l ec o n v e r s a t i o nb e t w e e nt w op e o p l e ,p r o t o c o lb e c o m e sj u s ta s i m p o r t a n t a s l a n g u a g e . A l l o f t h e p e o p l e i na na u d i t o r i u mm a ys p e a kE n g l i s h , b u t w i t h o u t as e t o f r u l e s i np l a c e t oe s t a b l i s hw h oh a s t h e r i g h t t ou s e t h e m i c r o p h o n e , t h e c o m m u n i c a t i o no fa ni n d i v i d u a l si d e a st ot h ee n t i r er o o mi sn e a r l y i m p o s s i b l e . N o wi m a g i n e a na u d i t o r i u ma s b i g a s t h e w o r l d , f u l l o f a l l o f t h e c o m p u t e r s t h a t e x i s t . Wi t h o u t a c o m m o ns e t o f c o m m u n i c a t i o np r o t o c o l s t or e g u l a t e w h e na n d h o we a c hc o m p u t e rc a ns p e a k , t h eI n t e r n e tw o u l db eac h a o t i cm e s s w h e r ee v e r ym a c h i n et r i e st os p e a ka to n c e . P e o p l eh a v ed e v e l o p e da n u m b e ro fc o m m u n i c a t i o n sf r a m e w o r k st oa d d r e s st h i sp r o b l e m .$ e m o s t w e l l k n o w no f t h e s e i s t h e O S I m o d e l .

The OSI model


$ ei n t e r n a t i o n a l s t a n d a r df o rO p e nS y s t e m sI n t e r c o n n e c t i o n( O S I )i s d e 0 n e db yt h ed o c u m e n t I S O / I E C7 4 9 8 1 , a s o u t l i n e db yt h e I n t e r n a t i o n a l S t a n d a r d sO r g a n i z a t i o na n dt h eI n t e r n a t i o n a l E l e c t r o t e c h n i c a l C o m m i s s i o n . $e f u l ls t a n d a r di sa v a i l a b l ea sp u b l i c a t i o n" I S O / I E C 7 4 9 8 1 : 1 9 9 4 , " a v a i l a b l e f r o mh t t p : / / s t a n d a r d s . i s o . o r g / i t t f / P u b l i c l y A v a i l a b l e S t a n d a r d s / . $e O S I m o d e l d i v i d e s n e t w o r kt r a N c i n t o a n u m b e r o f l a y e r s . E a c hl a y e r i si n d e p e n d e n to ft h el a y e r sa r o u n di t , a n de a c hb u i l d so nt h es e r v i c e s p r o v i d e db y t h e l a y e r b e l o ww h i l e p r o v i d i n gn e ws e r v i c e s t ot h e l a y e r a b o v e . $e a b s t r a c t i o nb e t w e e nl a y e r s m a k e s i t e a s yt od e s i g ne l a b o r a t ea n dh i g h l y r e l i a b l ep r o t o c o l s t a c k s ,s u c ha st h eu b i q u i t o u sT C P / I Ps t a c k . Ap r o t o c o l s t a c ki s a na c t u a l i m p l e m e n t a t i o no f al a y e r e dc o m m u n i c a t i o n s f r a m e w o r k . $ eO S Im o d e l d o e s n ' td e 0 n et h ep r o t o c o l st ob eu s e di n ap a r t i c u l a r n e t w o r k , b u t s i m p l yd e l e g a t e s e a c hc o m m u n i c a t i o n s " j o b "t oas i n g l el a y e r w i t h i na w e l l d e 0 n e d h i e r a r c h y . Wh i l et h eI S O / I E C7 4 9 8 1s p e c i 0 c a t i o nd e t a i l s h o wl a y e r ss h o u l di n t e r a c t w i t he a c ho t h e r ,i tl e a v e st h ea c t u a li m p l e m e n t a t i o nd e t a i l su pt ot h e m a n u f a c t u r e r . E a c hl a y e r c a nb e i m p l e m e n t e di nh a r d w a r e ( m o r e c o m m o nf o r l o w e r l a y e r s ) o r s o f t w a r e . A s l o n g a s t h e i n t e r f a c e b e t w e e nl a y e r s a d h e r e s t ot h e s t a n d a r d , i m p l e m e n t e r s a r e f r e e t o u s e w h a t e v e r m e a n s a r e a v a i l a b l e t o b u i l d t h e i r p r o t o c o l s t a c k .

90

NETWORKING

$i s m e a n s t h a t a n yg i v e nl a y e r f r o mm a n u f a c t u r e r Ac a no p e r a t ew i t ht h e s a m el a y e rf r o mm a n u f a c t u r e rB ( a s s u m i n gt h er e l e v a n ts p e c i 0 c a t i o n sa r e i m p l e m e n t e d a n di n t e r p r e t e dc o r r e c t l y ) . H e r e i s a b r i e f o u t l i n e o f t h e s e v e n l a y e r O S I n e t w o r k i n g m o d e l :
Layer
7

Name
Application

Description
The Application Layer is the layer that most network users are exposed to; it is the level at which human communication happens.
HTTP, FTP, and SMTP are all application layer protocols. The human sits above this layer, interacting with the application.

Presentation The Presentation Layer deals with data representation, before it reaches the application. T h i s would include HTML, MIME encoding, data
compression, formatting checks, byte ordering, etc.

5 4

Session Transport

The Session Layer manages the logical communications session between applications. RPC is an example of a layer five protocol. The Transport Layer provides a method of reaching a particular service on a given network node. Examples of protocols that operate at this layer are TCP, UDP and SCTP. Some protocols at the transport
layer (such as TCP) ensure that all of the data has arrived at the destination, and is reassembled and delivered to the next layer in the proper order. UDP is a "connectionless" protocol commonly used for video and audio streaming and doesnt check arrival of data packets.

Network

IP (the Internet Protocol) is the most common Network Layer protocol. This is the layer where routing occurs. Packets can leave the link local network and be retransmitted on other networks. Routers perform this function on a network by having at least two network interfaces, one on each of the networks to be interconnected. Nodes on the Internet are reached by their globally unique IP address. Another critical Network
Layer protocol is ICMP, which is a special protocol which provides various management messages needed for correct operation of IP. This layer is also sometimes referred to as the Internet Layer.

Data Link

Whenever two or more nodes share the same physical medium (for example, several computers plugged into a hub, or a room full of wireless devices all using the same radio channel) they use the Data Link Layer to communicate. Common examples of data link protocols are Ethernet, Token Ring, ATM, and the wireless networking protocols (IEEE 802.11A/B/G). Communication on this layer is said to be link-local,
since all nodes connected at this layer communicate with each other directly. This layer is sometimes known as the Media Access Control (MAC) layer. On Ethernet networks, nodes are referred to by their MAC address. This is a unique 48-bit number assigned to every networking device when it is manufactured.

Physical

The Physical Layer is the lowest layer in the OSI model, and refers to the actual physical medium over which communicationstake place. This can be a copper CAT5 cable, a fibre optic bundle, radio waves, or just about any other medium capable of transmitting signals. Cut wires, broken fibre, and RF interference are all physical layer problems.

6. NETWORKING 91

$e l a y e r s i nt h i s m o d e l a r e n u m b e r e do n et h r o u g hs e v e n , w i t hs e v e na t t h et o p . $i s i s m e a n t t or e i n f o r c et h e i d e at h a t e a c hl a y e r b u i l d s u p o n , a n dd e p e n d su p o n ,t h el a y e r sb e l o w .I m a g i n et h eO S Im o d e la sa b u i l d i n g , w i t ht h ef o u n d a t i o na t l a y e r o n e , t h en e x t l a y e r s a s s u c c e s s i v e W o o r s , a n dt h er o o f a t l a y e r s e v e n . I f y o ur e m o v ea n ys i n g l el a y e r , t h e b u i l d i n gw i l l n o ts t a n d . S i m i l a r l y ,i ft h ef o u r t hW o o ri so n0 r e ,t h e n n o b o d y c a np a s s t h r o u g hi t i ne i t h e r d i r e c t i o n . $e 0 r s t t h r e e l a y e r s ( P h y s i c a l , D a t aL i n k , a n dN e t w o r k ) a l l h a p p e n" o n t h en e t w o r k . "$ a ti s ,a c t i v i t ya tt h e s el a y e r si sd e t e r m i n e db yt h e c o n 0 g u r a t i o no f c a b l e s , s w i t c h e s , r o u t e r s , a n ds i m i l a r d e v i c e s . An e t w o r k s w i t c hc a no n l yd i s t r i b u t ep a c k e t s b yu s i n gMA Ca d d r e s s e s , s oi t n e e d o n l yi m p l e m e n t l a y e r s o n ea n dt w o . As i m p l er o u t e rc a nr o u t ep a c k e t s u s i n go n l yt h e i r I Pa d d r e s s e s , s oi t n e e d s t oi m p l e m e n t o n l yl a y e r s o n e t h r o u g ht h r e e . Aw e bs e r v e r o r a l a p t o pc o m p u t e r r u n s a p p l i c a t i o n s , s oi t m u s t i m p l e m e n t a l l s e v e nl a y e r s . S o m ea d v a n c e dr o u t e r s m a yi m p l e m e n t l a y e rf o u ra n da b o v e ,t oa l l o wt h e mt om a k ed e c i s i o n sb a s e do nt h e h i g h e r l e v e li n f o r m a t i o nc o n t e n ti n ap a c k e t , s u c ha st h en a m eo fa w e b s i t e , o r t h e a t t a c h m e n t s o f a ne m a i l . $e O S I m o d e l i s i n t e r n a t i o n a l l y r e c o g n i s e d , a n di s w i d e l y r e g a r d e da s t h e c o m p l e t ea n dd e 0 n i t i v en e t w o r km o d e l .I tp r o v i d e saf r a m e w o r kf o r m a n u f a c t u r e r sa n dn e t w o r kp r o t o c o l i m p l e m e n t e r st h a t c a nb eu s e dt o b u i l dn e t w o r k i n g d e v i c e s w h i c hi n t e r o p e r a t e i nj u s t a b o u t a n yp a r t o f t h e w o r l d . F r o mt h e p e r s p e c t i v e o f an e t w o r ke n g i n e e r o r t r o u b l e s h o o t e r , t h e O S I m o d e l c a ns e e mn e e d l e s s l y c o m p l e x . I np a r t i c u l a r , p e o p l e w h ob u i l d a n dt r o u b l e s h o o t T C P / I Pn e t w o r k s r a r e l yn e e dt od e a l w i t hp r o b l e m s a t t h eS e s s i o no r P r e s e n t a t i o nl a y e r s . F o r t h em a j o r i t yo f I n t e r n e t n e t w o r k i m p l e m e n t a t i o n s ,t h eO S Im o d e lc a nb es i m p l i 0 e di n t oas m a l l e r c o l l e c t i o no f 0 v e l a y e r s .

The TCP/IP model


U n l i k e t h e O S I m o d e l , t h e T C P / I Pm o d e l i s n o t a ni n t e r n a t i o n a l s t a n d a r d a n di t s d e 0 n i t i o n s v a r y . N e v e r t h e l e s s , i t i s o f t e nu s e da s a p r a g m a t i c m o d e l f o r u n d e r s t a n d i n g a n dt r o u b l e s h o o t i n g I n t e r n e t n e t w o r k s . $e v a s t m a j o r i t yo f t h e I n t e r n e t u s e s T C P / I P , a n ds ow e c a nm a k e s o m e a s s u m p t i o n s a b o u t n e t w o r k s t h a t m a k e t h e me a s i e r t o u n d e r s t a n d . $e T C P / I Pm o d e l o f n e t w o r k i n g d e s c r i b e s t h e f o l l o w i n g 0 v e l a y e r s :

92

NETWORKING

Layer 5 4 3 2 1

Name Application Transport Internet Data Link Physical

I nt e r m s o f t h e O S I m o d e l , l a y e r s 0 v e t h r o u g hs e v e na r er o l l e di n t ot h e t o p m o s t l a y e r ( t h e A p p l i c a t i o nl a y e r ) . $e 0 r s t f o u r l a y e r s i nb o t hm o d e l s a r e i d e n t i c a l . Ma n yn e t w o r ke n g i n e e r st h i n ko fe v e r y t h i n ga b o v el a y e rf o u ra s" j u s t d a t a " t h a t v a r i e s f r o ma p p l i c a t i o nt o a p p l i c a t i o n . S i n c et h e0 r s tt h r e el a y e r sa r ei n t e r o p e r a b l eb e t w e e nv i r t u a l l ya l l m a n u f a c t u r e r s ' e q u i p m e n t , a n dl a y e r f o u r w o r k s b e t w e e na l l h o s t s u s i n g T C P / I P ,a n de v e r y t h i n ga b o v el a y e rf o u rt e n d st oa p p l yt os p e c i 0 c a p p l i c a t i o n s ,t h i ss i m p l i 0 e dm o d e lw o r k sw e l lw h e nb u i l d i n ga n d t r o u b l e s h o o t i n g T C P / I Pn e t w o r k s . We w i l l u s e t h e T C P / I Pm o d e l w h e nd i s c u s s i n g n e t w o r k s i nt h i s b o o k . $e T C P / I Pm o d e l c a nb ec o m p a r e dt oap e r s o nd e l i v e r i n gal e t t e r t oa c i t y o N c e b u i l d i n g . $e p e r s o n0 r s t n e e d s t oi n t e r a c t w i t ht h e r o a di t s e l f ( t h e P h y s i c a l l a y e r ) , p a y a t t e n t i o n t o o t h e r t r a N c o n t h e r o a d( t h e D a t a L i n kl a y e r ) , t u r na t t h e c o r r e c t j u n c t i o nt oj o i na n o t h e r r o a da n d a r r i v e a t t h e c o r r e c t a d d r e s s ( t h e I n t e r n e t l a y e r ) , g ot ot h ec o r r e c t W o o r a n dr o o mn u m b e r ( t h e T r a n s p o r t l a y e r ) , a n d0 n a l l yg i v ei t t oa r e c e p t i o n i s t w h oc a nt a k et h el e t t e r f r o m t h e r e ( t h e A p p l i c a t i o nl a y e r ) . O n c et h e yh a v ed e l i v e r e dt h em e s s a g et ot h er e c e p t i o n i s t , t h ed e l i v e r y p e r s o ni s f r e e t og o o nt h e i r w a y . $e 0 v e l a y e r s c a nb e e a s i l y r e m e m b e r e d b y u s i n g t h e m n e m o n i c P l e a s e D o n t L o o k I n$ e A t t i c , w h i c ho f c o u r s e s t a n d s f o r P h y s i c a l / D a t a L i n k/ I n t e r n e t / T r a n s p o r t / A p p l i c a t i o n .

6. NETWORKING 93

The Internet Protocols


T C P / I Pi s t h e p r o t o c o l s t a c k m o s t c o m m o n l y u s e do nt h e g l o b a l I n t e r n e t . $e a c r o n y m s t a n d sf o rT r a n s m i s s i o nC o n t r o lP r o t o c o l( T C P )a n d I n t e r n e t P r o t o c o l ( I P ) , b u ta c t u a l l yr e f e r st oaw h o l ef a m i l yo fr e l a t e d c o m m u n i c a t i o n sp r o t o c o l s . T C P / I Pi sa l s oc a l l e dt h eI n t e r n e t p r o t o c o l s u i t e , a n di t o p e r a t e s a t l a y e r s t h r e e a n df o u r o f t h e T C P / I Pm o d e l . I nt h i s d i s c u s s i o n , w e w i l l f o c u s o nv e r s i o ns i x o f t h e I Pp r o t o c o l ( I P v 6 ) a s s i n c e2 0 1 2t h i si st h ev e r s i o nt od e p l o yi np a r a l l e l w i t ht h ep r e v i o u s v e r s i o nf o u r( I P v 4 ) .I n2 0 1 2 ,a b o u th a l fo ft h eI n t e r n e tc o n t e n ti s a v a i l a b l e w i t ha b e t t e r u s e r e x p e r i e n c e b y u s i n g I P v 6 . $ ep r e v i o u s v e r s i o ni s e x p l a i n e di nt h i sc h a p t e rt o ob e c a u s es o m eo l d c o n t e n t o r o l da p p l i c a t i o n s ( S k y p e i n2 0 1 2 ) s t i l l r e q u i r e I P v 4 . A n di n d e e d m a n y n e t w o r k s t h a t y o um i g h t h a v e t oi n t e r c o n n e c t t ow i l l s t i l l h a v e t h e l e g a c y I P v 4t e c h n o l o g y d e p l o y e d f o r s o m e y e a r s t o c o m e . B e s i d e s t h e l e n g t ho f t h e a d d r e s s , I P v 4a n dI P v 6a r e q u i t e s i m i l a r : t h e y a r e c o n n e c t i o n l e s sn e t w o r kp r o t o c o l sr u n n i n go nt h es a m ed a t a l i n kl a y e r ( Wi F i , E t h e r n e t . . . ) a n ds e r v i n gt h e s a m e t r a n s p o r t p r o t o c o l s ( T C P , S C T P , U D P . . . )I nt h i sb o o k , w h e nI Pi sw r i t t e nw i t h o u t a n yv e r s i o n , t h e ni t m e a n s t h a t i t a p p l i e s t ob o t hv e r s i o n s . Ad u a l s t a c kn e t w o r ki s a n e t w o r k t h a t r u n sI P v 6a n dI P v 4a n dt h es a m et i m e . I t i se x p e c t e dt h a t d u a l n e t w o r k sw i l lb et h en o r ma tl e a s tu n t i l2 0 2 0w h e nI P v 6 o n l yw i l l b e c o m e t h e n o r m . I P v 6 A d d r e s s i n g $eI P v 6a d d r e s si sa 1 2 8 b i tn u m b e ru s u a l l yw r i t t e na sm u l t i p l e h e x a d e c i m a l n u m b e r s . I no r d e r t om a k e t h i s a d d r e s s h u m a n r e a d a b l e , i t i s w r i t t e ni nc h u n k s o f 3 2b i t so r4h e x a d e c i m a l n u m b e r ss e p a r a t e db ya c o l o n' : ' . $e h e x a d e c i m a l n u m b e r s h o u l db e w r i t t e ni nl o w e r c a s e b u t c a n a l s o b e w r i t t e ni nu p p e r c a s e . A ne x a m p l e o f a nI P v 6a d d r e s s i s : 2 0 0 1 : 0 d b 8 : 1 2 3 4 : b a b e : 0 0 0 0 : 0 0 0 0 : 0 0 0 0 : 0 0 0 1 $i s a d d r e s s c o r r e s p o n d s t o : 2 0 0 1 0 d b 8 1 2 3 4 b a b e 0 0 0 1

94

NETWORKING

A s t h e s e a d d r e s s e s a r e q u i t e l o n g , i t i s c o m m o nt or e m o v e t h e l e a d i n g0 i n e a c hc h u n k , s o , t h e s a m e a d d r e s s c a na l s o b e w r i t t e na s : 2 0 0 1 : d b 8 : 1 2 3 4 : b a b e : 0 : 0 : 0 : 1 $i sa d d r e s sc a nf u r t h e rb es i m p l i 0 e db yg r o u p i n go n eb l o c ko f c o n s e c u t i v ec h u n k so f' 0 ' i n t ot h ea b b r e v i a t e df o r mo f' : : ' , t h es a m e a d d r e s s b e c o m e s t h e n : 2 0 0 1 : d b 8 : 1 2 3 4 : b a b e : : 1 $e r e a r e s o m e s p e c i 0 c I P v 6a d d r e s s e s : : : 1( o r0 0 0 0 : 0 0 0 0 0 : 0 0 0 0 : 0 0 0 0 : 0 0 0 0 : 0 0 0 0 : 0 0 0 0 : 0 0 0 1 )r e p r e s e n t s t h e l o o p b a c ka d d r e s s , t h i s i s t h e n o d e i t s e l f w h e nt h e n o d e w a n t s t o s e n dp a c k e t s t o i t s e l f ; : : ( a l l z e r o ) i s t h eu n d e t e r m i n e da d d r e s s , t ob eu s e db yan o d e w h e ni t d o e sn o t k n o wi t sg l o b a l a d d r e s s , f o r i n s t a n c ew h e ni t b o o t s .

I P v 6 P r e 0 x e s I P v 6n o d e s o n t h e s a m e l i n k o r n e t w o r k s h a r e t h e s a m e I P v 6p r e 0 x , w h i c h i sd e 0 n e da st h em o s t s i g n i 0 c a n tp a r to ft h eI P v 6a d d r e s s . $ ep r e 0 x l e n g t hi su s u a l l y6 4b i to naL A N .S o ,o u ru s u a la d d r e s so f 2 0 0 1 : d b 8 : b a b e : : 1c a nb ew r i t t e na s 2 0 0 1 : d b 8 : 1 2 3 4 : b a b e : : 1 / 6 4( t h e p r e 0 x l e n g t hi s a d d e da t t h ee n do f t h ea d d r e s s a f t e r a' / ' ) . D e 0 n i n gap r e 0 x l e n g t ho na na d d r e s s a c t u a l l ys p l i t s t h ea d d r e s s i nt w op a r t s : t h ep r e 0 x i t s e l f a n dt h e i n t e r f a c e i d e n t i 0 e r ( I I D ) .


2001 0DB8 1234 Prefix babe 0 0 0 Interface Identifier 0

O n aL A No rWL A N , t h ep r e 0 xl e n g t hm u s tb e6 4b i t se l s es o m e p r o t o c o l s w i l l n o t w o r kc o r r e c t l y . A l l n o d e s o nt h e s a m e L A No r WL A N u s u a l l ys h a r et h es a m ep r e 0 xb u tt h e i rI I Dm u s tb eu n i q u et oa v o i d c o n f u s i o n . $e a n a l o g y w i t ha p o s t a l a d d r e s s i nb i g c i t i e s i s t h a t t h e s t r e e t n a m e i s t h e p r e 0 x a n dt h e h o u s e n u m b e r i s t h e I I D .

6. NETWORKING 95

$ ep r e 0 xl e n g t hc a nb ed i 1 e r e n to nl i n k st h a ta r en e i t h e rL A No r WL A N . $e n e t w o r ki t s e l f i s i d e n t i 0 e db y t h e p r e 0 x w i t h o u t a n yI I Db u t w i t ht h e p r e 0 x l e n g t h , f o r e x a m p l e : 2 0 0 1 : d b 8 : 1 2 3 4 : b a b e : : / 6 4 I P v 4 A d d r e s s i n g I na nI P v 4n e t w o r k , t h e a d d r e s s i s a3 2 b i t n u m b e r , n o r m a l l yw r i t t e na s f o u r 8 b i t n u m b e r s e x p r e s s e di nd e c i m a l f o r ma n ds e p a r a t e db yp e r i o d s . E x a m p l e s o f I P v 4a d d r e s s e s a r e 1 0 . 0 . 1 7 . 1 , 1 9 2 . 1 6 8 . 1 . 1 , o r 1 7 2 . 1 6 . 5 . 2 3 . I f y o ue n u m e r a t e de v e r yp o s s i b l eI P v 4a d d r e s s , t h e yw o u l dr a n g ef r o m 0 . 0 . 0 . 0 t o 2 5 5 . 2 5 5 . 2 5 5 . 2 5 5 . $i s y i e l d s a t o t a l o f m o r e t h a nf o u r b i l l i o np o s s i b l e I P v 4a d d r e s s e s ( 2 5 5x 2 5 5x 2 5 5x 2 5 5=4 , 2 2 8 , 2 5 0 , 6 2 5 ) ; a l t h o u g hm a n yo f t h e s e a r e r e s e r v e d f o r s p e c i a l p u r p o s e s a n d s h o u l dn o t b e a s s i g n e dt o h o s t s . S o m e I P v 4a d d r e s s e s t h a t a r e s p e c i a l : 1 2 7 . 0 . 0 . 1 r e p r e s e n t s t h e l o o p b a c k a d d r e s s ( s i m i l a r t o : : 1 f o r I P v 6 ) ; 0 . 0 . 0 . 0r e p r e s e n t s t h e u n s p e c i 0 e d a d d r e s s ( s i m i l a r t o : : f o r I P v 6 ) .

I P v 4 S u b n e t s B ya p p l y i n ga s u b n e tm a s k( a l s oc a l l e d an e t w o r km a s k ,o rs i m p l y n e t m a s k o r e v e np r e 0 x ) t oa nI P v 4a d d r e s s , y o u c a nl o g i c a l l y d e 0 n e b o t h a h o s t a n dt h e n e t w o r k t o w h i c hi t b e l o n g s . T r a d i t i o n a l l y ,s u b n e tm a s k sa r ee x p r e s s e du s i n gd o t t e dd e c i m a lf o r m , m u c hl i k e a nI P v 4a d d r e s s . F o r e x a m p l e , 2 5 5 . 2 5 5 . 2 5 5 . 0i s o n ec o m m o n n e t m a s k . Y o uw i l l0 n dt h i sn o t a t i o nu s e dw h e nc o n 0 g u r i n gn e t w o r k i n t e r f a c e s , c r e a t i n gr o u t e s , e t c . H o w e v e r , s u b n e t m a s k s a r e m o r e s u c c i n c t l y e x p r e s s e du s i n gC I D Rn o t a t i o n , w h i c hs i m p l y e n u m e r a t e s t h e n u m b e r o f b i t s i nt h e m a s k a f t e r a f o r w a r ds l a s h ( / ) . $u s , 2 5 5 . 2 5 5 . 2 5 5 . 0 c a nb e s i m p l i 0 e da s / 2 4 . C I D Ri s s h o r t f o r C l a s s l e s s I n t e r D o m a i nR o u t i n g ,a n di sd e 0 n e di nR F C 1 5 1 8 .A s u b n e tm a s k d e t e r m i n e s t h es i z e o f ag i v e nn e t w o r k . U s i n ga/ 2 4n e t m a s k , 8b i t s a r e r e s e r v e df o r h o s t s ( 3 2b i t s t o t a l 2 4b i t s o f n e t m a s k=8b i t s f o r h o s t s ) . $i s y i e l d s u pt o2 5 6p o s s i b l e h o s t a d d r e s s e s ( 2 8=2 5 6 ) . B y c o n v e n t i o n , t h e 0 r s t v a l u e i s t a k e na s t h e n e t w o r ka d d r e s s ( . 0o r 0 0 0 0 0 0 0 0 ) , a n dt h e l a s t v a l u e i s t a k e na s t h e b r o a d c a s t a d d r e s s ( . 2 5 5o r 1 1 1 1 1 1 1 1 ) .

96

NETWORKING

$i s l e a v e s 2 5 4 a d d r e s s e s a v a i l a b l e f o r h o s t s o n t h i s n e t w o r k . S u b n e t m a s k s w o r k b y a p p l y i n g A N Dl o g i c t o t h e 3 2 b i t I P v 4n u m b e r . I nb i n a r y n o t a t i o n , t h e " 1 " b i t s i nt h e m a s ki n d i c a t e t h e n e t w o r k a d d r e s s p o r t i o n , a n d" 0 " b i t s i n d i c a t e t h e h o s t a d d r e s s p o r t i o n . Al o g i c a l A N Di s p e r f o r m e db yc o m p a r i n gt w ob i t s . $er e s u l t i s " 1 "i f b o t ho f t h eb i t s b e i n g c o m p a r e da r e a l s o " 1 " . O t h e r w i s e t h e r e s u l t i s " 0 " . H e r ea r ea l lo ft h ep o s s i b l eo u t c o m e so fab i n a r yA N Dc o m p a r i s o n b e t w e e nt w o b i t s .
Bit 1 0 0 1 1 Bit 2 0 1 0 1 Result 0 0 0 1

T ou n d e r s t a n dh o wa n e t m a s ki s a p p l i e dt oa nI P v 4a d d r e s s , 0 r s t c o n v e r t e v e r y t h i n gt ob i n a r y .$ en e t m a s k2 5 5 . 2 5 5 . 2 5 5 . 0i nb i n a r yc o n t a i n s t w e n t y f o u r " 1 " b i t s : 2 5 5 2 5 5 2 5 5 0 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 0 0 0 0 0 0 0 0 Wh e nt h i s n e t m a s ki s c o m b i n e dw i t ht h eI P v 4a d d r e s s 1 0 . 1 0 . 1 0 . 1 0 , w e c a na p p l yal o g i c a l A N Dt oe a c ho f t h eb i t s t od e t e r m i n e t h en e t w o r k a d d r e s s . 1 0 . 1 0 . 1 0 . 1 0 : 0 0 0 0 1 0 1 0 . 0 0 0 0 1 0 1 0 . 0 0 0 0 1 0 1 0 . 0 0 0 0 1 0 1 0 2 5 5 . 2 5 5 . 2 5 5 . 0 : 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 1 1 1 1 1 1 1 1 . 0 0 0 0 0 0 0 0 1 0 . 1 0 . 1 0 . 0 : 0 0 0 0 1 0 1 0 . 0 0 0 0 1 0 1 0 . 0 0 0 0 1 0 1 0 . 0 0 0 0 0 0 0 0 $i s r e s u l t s i nt h e n e t w o r k1 0 . 1 0 . 1 0 . 0 / 2 4 . $i s n e t w o r kc o n s i s t s o f t h e h o s t s 1 0 . 1 0 . 1 0 . 1 t h r o u g h1 0 . 1 0 . 1 0 . 2 5 4 , w i t h 1 0 . 1 0 . 1 0 . 0a st h en e t w o r ka d d r e s sa n d1 0 . 1 0 . 1 0 . 2 5 5a st h eb r o a d c a s t a d d r e s s . S u b n e t m a s k s a r e n o t l i m i t e dt oe n t i r e o c t e t s . O n e c a na l s os p e c i f y s u b n e t m a s k s l i k e 2 5 5 . 2 5 4 . 0 . 0( o r / 1 5C I D R ) . $i s i s al a r g e b l o c k , c o n t a i n i n g 1 3 1 , 0 7 2 a d d r e s s e s , f r o m1 0 . 0 . 0 . 0 t o 1 0 . 1 . 2 5 5 . 2 5 5 .

6. NETWORKING 97

I tc o u l db ef u r t h e rs u b d i v i d e d ,f o re x a m p l ei n t o5 1 2s u b n e t so f2 5 6 a d d r e s s e s e a c h . $e 0 r s t o n e w o u l db e 1 0 . 0 . 0 . 0 1 0 . 0 . 0 . 2 5 5 , t h e n1 0 . 0 . 1 . 0 1 0 . 0 . 1 . 2 5 5 , a n ds oo nu pt o1 0 . 1 . 2 5 5 . 0 1 0 . 1 . 2 5 5 . 2 5 5 . A l t e r n a t i v e l y , i t c o u l db e s u b d i v i d e di n t o2b l o c k s o f 6 5 , 5 3 6a d d r e s s e s , o r 8 1 9 2b l o c k s o f 1 6a d d r e s s e s , o r i nm a n yo t h e r w a y s . I t c o u l de v e nb es u b d i v i d e di n t oa m i x t u r e o f d i 1 e r e n t b l o c ks i z e s , a s l o n g a s n o n e o f t h e mo v e r l a p , a n de a c h i s a v a l i d s u b n e t w h o s e s i z e i s a p o w e r o f t w o . Wh i l e m a n y n e t m a s k s a r e p o s s i b l e , c o m m o nn e t m a s k s i n c l u d e :
CIDR /30 /29 /28 /27 /26 /25 /24 /16 /8 Decimal 255.255.255.252 255.255.255.248 255.255.255.240 255.255.255.224 255.255.255.192 255.255.255.128 255.255.255.0 255.255.0.0 255.0.0.0 # of Hosts 4 8 16 32 64 128 256 65 536 16 777 216

Wi t he a c hr e d u c t i o ni nt h eC I D Rv a l u et h eI P v 4s p a c ei sd o u b l e d . R e m e m b e rt h a tt w oI P v 4a d d r e s s e sw i t h i ne a c hn e t w o r ka r ea l w a y s r e s e r v e df o r t h e n e t w o r k a n db r o a d c a s t a d d r e s s e s . $e r e a r e t h r e e c o m m o nn e t m a s k s t h a t h a v e s p e c i a l n a m e s . A/ 8n e t w o r k ( w i t h an e t m a s ko f2 5 5 . 0 . 0 . 0 )d e 0 n e sa C l a s sA n e t w o r k .A / 1 6 ( 2 5 5 . 2 5 5 . 0 . 0 ) i s a C l a s s B , a n da / 2 4( 2 5 5 . 2 5 5 . 2 5 5 . 0 ) i s c a l l e da C l a s s C . $e s en a m e s w e r ea r o u n dl o n gb e f o r e C I D Rn o t a t i o n , b u t a r e s t i l l o f t e n u s e df o r h i s t o r i c a l r e a s o n s . I nm a n y w a y s a s y o u c a na l r e a d y s e e I P v 6i s e a s i e r t o p l a nf o r t h a nI P v 4 . G l o b a l I PA d d r e s s e s I n t e r c o n n e c t e dn e t w o r k s m u s t a g r e eo na nI Pa d d r e s s i n gp l a nf o r I P v 6 a n dI P v 4a d d r e s s e s .

98

NETWORKING

I Pa d d r e s s e sm u s t b eu n i q u ea n dg e n e r a l l yc a n n o t b eu s e di nd i 1 e r e n t p l a c e so nt h eI n t e r n e t a tt h es a m et i m e ; o t h e r w i s e , r o u t e r sw o u l dn o t k n o wh o wb e s t t o r o u t e p a c k e t s t o t h e m .

F i g u r e N G3 : Wi t h u n i q u e I Pa d d r e s s e s , a m b i g u o u s g l o b a l r o u t i n g i s i m p o s s i b l e . I f t h e P Cr e q u e s t s a w e b p a g e f r o m2 0 0 1 : d b 8 : 1 : : 2 , i t w i l l r e a c h t h e c o r r e c t s e r v e r . I no r d e rt ok e e pI Pa d d r e s s e su n i q u ea n dg l o b a l l yr o u t a b l e ,t h e ya r e a l l o c a t e db y ac e n t r a l n u m b e r i n ga u t h o r i t yt h a t p r o v i d e s ac o n s i s t e n t a n d c o h e r e n t n u m b e r i n g m e t h o d . $i s e n s u r e s t h a t d u p l i c a t e a d d r e s s e s a r e n o t u s e db y d i 1 e r e n t n e t w o r k s . $ ea u t h o r i t ya s s i g n sl a r g eb l o c k so fc o n s e c u t i v ea d d r e s s e st os m a l l e r a u t h o r i t i e s , w h oi nt u r na s s i g ns m a l l e rc o n s e c u t i v eb l o c k sw i t h i nt h e s e r a n g e s t oo t h e r a u t h o r i t i e s , o r t ot h e i r c u s t o m e r s . $e g r o u p s o f a d d r e s s e s a r e c a l l e ds u b n e t s o r p r e 0 x e s a s w e h a v e a l r e a d y m e n t i o n e d . Ag r o u po f r e l a t e da d d r e s s e s i s r e f e r r e dt o a s a na d d r e s s s p a c e . B o t hI P v 4a n dI P v 6a d d r e s s e s a r ea d m i n i s t e r e db yt h e I n t e r n e t A s s i g n e d N u m b e r s A u t h o r i t y ( I A N A , h t t p : / / w w w . i a n a . o r g / ) . I A N Ah a sd i v i d e dt h e s ea d d r e s ss p a c e si n t ol a r g es u b n e t s ,a n dt h e s e s u b n e t s a r e d e l e g a t e dt oo n e o f t h e 0 v e r e g i o n a l I n t e r n e t r e g i s t r i e s ( R I R s ) , w h o h a v e b e e ng i v e na u t h o r i t y o v e r l a r g e g e o g r a p h i c a r e a s .

6. NETWORKING 99

I Pa d d r e s s e s a r ea s s i g n e da n dd i s t r i b u t e db yR e g i o n a l I n t e r n e t R e g i s t r a r s ( R I R s ) t oI S P s . $e I S Pt h e na l l o c a t e s s m a l l e r I Pb l o c k s t ot h e i r c l i e n t s a s r e q u i r e d . V i r t u a l l y a l l I n t e r n e t u s e r s o b t a i nt h e i r I Pa d d r e s s e s f r o ma nI S P .

C v e R e g i o n a l I n t e r n e t R e g i s t r a r s . $e 0 v e R I R s a r e : 1 )A f r i c a nN e t w o r k I n f o r m a t i o nC e n t r e ( A f r i N I C , h t t p : / / w w w . a f r i n i c . n e t ) 2 )A s i a P a c i 0 c N e t w o r k I n f o r m a t i o nC e n t r e ( A P N I C , h t t p : / / w w w . a p n i c . n e t ) 3 )A m e r i c a nR e g i s t r y f o r I n t e r n e t N u m b e r s ( A R I N , h t t p : / / w w w . a r i n . n e t ) 4 )R e g i o n a lL a t i n A m e r i c a na n dC a r i b b e a nI PA d d r e s sR e g i s t r y ( L A C N I C , h t t p : / / w w w . l a c n i c . n e t ) 5 )R s e a u x I PE u r o p e n s ( R I P EN C C , h t t p : / / w w w . r i p e . n e t ) Y o u r I S Pw i l l a s s i g ng l o b a l l yr o u t a b l eI Pa d d r e s s s p a c et oy o uf r o mt h e p o o l a l l o c a t e dt o i t b y y o u r R I R .

100

NETWORKING

$e r e g i s t r y s y s t e ma s s u r e s t h a t I Pa d d r e s s e s a r e n o t r e u s e di na n yp a r t o f t h e n e t w o r k a n y w h e r e i nt h e w o r l d . O n c e I Pa d d r e s s a s s i g n m e n t s h a v e b e e na g r e e du p o n , i t i s p o s s i b l e t op a s s p a c k e t s b e t w e e nn e t w o r k s a n dp a r t i c i p a t e i nt h e g l o b a l I n t e r n e t . $e p r o c e s s o f m o v i n g p a c k e t s b e t w e e nn e t w o r k s i s c a l l e dr o u t i n g .

S t a t i c I PA d d r e s s e s As t a t i c I Pa d d r e s s i s a na d d r e s s a s s i g n m e n t t h a t n e v e r c h a n g e s . S t a t i c I Pa d d r e s s e s a r e i m p o r t a n t b e c a u s e s e r v e r s u s i n g t h e s e a d d r e s s e s m a y h a v eD N Sm a p p i n g sp o i n t i n gt o w a r d st h e m ,a n dt y p i c a l l ys e r v e i n f o r m a t i o nt o o t h e r m a c h i n e s ( s u c ha s e m a i l s e r v i c e s , w e b s e r v e r s , e t c . ) . B l o c k so fs t a t i cI Pa d d r e s s e sm a yb ea s s i g n e db yy o u rI S P ,e i t h e rb y r e q u e s t o r a u t o m a t i c a l l yd e p e n d i n go ny o u r m e a n s o f c o n n e c t i o nt ot h e I n t e r n e t . D y n a m i c I PA d d r e s s e s D y n a m i cI Pa d d r e s s e s a r ea s s i g n e db ya nI S Pf o r n o n p e r m a n e n t n o d e s c o n n e c t i n gt ot h e I n t e r n e t , s u c ha s ah o m e c o m p u t e r w h i c hi s o na d i a l u p c o n n e c t i o no r a l a p t o p c o n n e c t i n g t o a w i r e l e s s h o t s p o t . D y n a m i cI Pa d d r e s s e s c a nb ea s s i g n e da u t o m a t i c a l l yu s i n gt h eD y n a m i c H o s tC o n 0 g u r a t i o nP r o t o c o l( D HC P ) ,o rt h eP o i n t t o P o i n tP r o t o c o l ( P P P ) , d e p e n d i n g o n t h e t y p e o f I n t e r n e t c o n n e c t i o n . An o d eu s i n gD HC P0 r s t r e q u e s t sa nI Pa d d r e s s a s s i g n m e n t f r o mt h e n e t w o r k , a n da u t o m a t i c a l l yc o n 0 g u r e s i t s n e t w o r ki n t e r f a c e . I Pa d d r e s s e s c a nb e a s s i g n e dr a n d o m l yf r o ma p o o l b y y o u r I S P , o r m i g h t b e a s s i g n e d a c c o r d i n gt oap o l i c y . I Pa d d r e s s e sa s s i g n e db yD HC Pa r ev a l i df o ra s p e c i 0 e d t i m e ( c a l l e dt h e l e a s e t i m e ) . $e n o d e m u s t r e n e wt h e D HC P l e a s e b e f o r e t h e l e a s e t i m e e x p i r e s . U p o n r e n e w a l , t h e n o d e m a y r e c e i v e t h e s a m e I Pa d d r e s s o r a d i 1 e r e n t o n e f r o m t h e p o o l o f a v a i l a b l e a d d r e s s e s . Wh i l eD HC Pw o r k sf o rI P v 6a n dI P v 4 ,I P v 6h a sa n o t h e rp r i m a r y m e c h a n i s mw h i c hi s m o r e c o m m o n l yu s e df o r a d d r e s s a s s i g n m e n t i t i s c a l l e dS t a t e l e s s A d d r e s s A u t o C o n 0 g u r a t i o n( S L A A C ) w h i c hi s t h e d e f a u l t o n r o u t e r s a n dh o s t s r u n n i n g I P v 6 .

6. NETWORKING 101

I t d o e s n o t r e q u i r eaD HC Ps e r v e r ; t h e r o u t e r s e n d s p e r i o d i c a l l yR o u t e r A d v e r t i s e m e n t ( R A ) m e s s a g e s o na l l c o n n e c t e d( W) L A N ' s w h i c hc o n t a i n t h e6 4 b i t p r e 0 xt ob e u s e do nt h a t ( W) L A N ; h o s t s t h e ng e n e r a t et h e i r 6 4 b i t i n t e r f a c ei d e n t i 0 e r ( u s u a l l yar a n d o mn u m b e r o r an u m b e r b a s e d o nt h e i r MA Ca d d r e s s s e ef u r t h e r ) a n db u i l dt h e i r 1 2 8 b i t a d d r e s s b y c o n c a t e n a t i n g t h e 6 4 b i t p r e 0 x f r o mt h e R Aa n dt h e n e w l y c r e a t e d6 4 b i t I I D . D y n a m i c a d d r e s s e s a r e p o p u l a r w i t hI n t e r n e t S e r v i c e P r o v i d e r s , b e c a u s e i t e n a b l e st h e mt ou s ef e w e rI Pa d d r e s s e st h a nt h e i rt o t a ln u m b e ro f c u s t o m e r s . $e yo n l yn e e da na d d r e s s f o r e a c hc u s t o m e r w h oi s a c t i v ea t a n yo n e t i m e . G l o b a l l y r o u t a b l e I Pa d d r e s s e s c o s t m o n e y , a n dt h e r e i s n o wa s h o r t a g e o f I P v 4a d d r e s s e s . A s s i g n i n g a d d r e s s e s d y n a m i c a l l ya l l o w s I S P s t os a v e m o n e y , a n dt h e y w i l l o f t e nc h a r g e e x t r a t o p r o v i d e a s t a t i c I Pa d d r e s s t o t h e i r c u s t o m e r s . P r i v a t e I P v 4 a d d r e s s e s A r o u n d2 0 0 0 , i tb e c a m ec l e a rt h a tt h e r ew o u l dn o tb ee n o u g hI P v 4 a d d r e s s e sf o re v e r y o n e ;t h i si st h er e a s o nt h a tI P v 6w a ss p e c i 0 e da n d d e v e l o p e d . B u tt h e r ew a s a l s oat e m p o r a r yt r i c ka sm o s tp r i v a t en e t w o r k s d on o t r e q u i r e t h e a l l o c a t i o no f g l o b a l l yr o u t a b l e , p u b l i c I P v 4a d d r e s s e s f o r e v e r y c o m p u t e r i nt h e o r g a n i s a t i o n . I np a r t i c u l a r , c o m p u t e r s w h i c ha r en o t p u b l i c s e r v e r s d on o t n e e dt ob e a d d r e s s a b l e f r o mt h e p u b l i c I n t e r n e t . O r g a n i s a t i o n s t y p i c a l l yu s eI P v 4a d d r e s s e s f r o mt h e p r i v a t e a d d r e s s s p a c e f o r m a c h i n e s o nt h e i n t e r n a l n e t w o r k . $e r ea r ec u r r e n t l yt h r e eb l o c k so fp r i v a t ea d d r e s ss p a c er e s e r v e db y I A N A : 1 0 . 0 . 0 . 0 / 8 , 1 7 2 . 1 6 . 0 . 0 / 1 2 , a n d1 9 2 . 1 6 8 . 0 . 0 / 1 6 . $e s ea r ed e 0 n e di nR F C 1 9 1 8 . $e s ea d d r e s s e s a r en o t i n t e n d e dt ob e r o u t e do nt h eI n t e r n e t ,a n da r et y p i c a l l yu n i q u eo n l yw i t h i na n o r g a n i s a t i o no rg r o u po f o r g a n i s a t i o n st h a tc h o o s et of o l l o wt h es a m e n u m b e r i n g s c h e m e . $i s m e a n s t h a t s e v e r a l d i s t i n c t o r g a n i s a t i o n s c a nu s et h e s a m e a d d r e s s e s a s l o n g a s t h e y n e v e r i n t e r c o n n e c t t h e i r n e t w o r k s d i r e c t l y .

102

NETWORKING

F i g u r e N G5 : R F C 1 9 1 8p r i v a t e a d d r e s s e s m a y b e u s e d w i t h i na n o r g a n i s a t i o n , a n d a r e n o t r o u t e d o n t h e g l o b a l I n t e r n e t . I f y o ue v e r i n t e n dt ol i n kt o g e t h e r p r i v a t en e t w o r k s t h a t u s eR F C 1 9 1 8 a d d r e s ss p a c e ,b es u r et ou s eu n i q u ea d d r e s s e st h r o u g h o u ta l lo ft h e n e t w o r k s . F o r e x a m p l e , y o um i g h t b r e a kt h e 1 0 . 0 . 0 . 0 / 8a d d r e s s s p a c e i n t om u l t i p l e C l a s s Bn e t w o r k s ( 1 0 . 1 . 0 . 0 / 1 6 , 1 0 . 2 . 0 . 0 / 1 6 , e t c . ) . O n e b l o c kc o u l db ea s s i g n e dt oe a c hn e t w o r ka c c o r d i n gt oi t sp h y s i c a l l o c a t i o n( t h ec a m p u sm a i nb r a n c h ,0 e l do N c eo n e ,0 e l do N c et w o , d o r m i t o r i e s , a n ds of o r t h ) . $e n e t w o r ka d m i n i s t r a t o r s a t e a c hl o c a t i o nc a nt h e nb r e a kt h e n e t w o r k d o w nf u r t h e r i n t om u l t i p l eC l a s s Cn e t w o r k s ( 1 0 . 1 . 1 . 0 / 2 4 , 1 0 . 1 . 2 . 0 / 2 4 , e t c . ) o r i n t o b l o c k s o f a n y o t h e r l o g i c a l s i z e .

6. NETWORKING 103

I nt h ef u t u r e , s h o u l dt h en e t w o r k s e v e r b el i n k e d( e i t h e r b yap h y s i c a l c o n n e c t i o n ,w i r e l e s sl i n k , o rV P N ) ,t h e na l l o ft h em a c h i n e sw i l l b e r e a c h a b l ef r o ma n yp o i n t i nt h en e t w o r kw i t h o u t h a v i n gt or e n u m b e r n e t w o r kd e v i c e s . S o m e I n t e r n e t p r o v i d e r s m a y a l l o c a t e p r i v a t e a d d r e s s e s l i k e t h e s e i n s t e a do f p u b l i ca d d r e s s e st o t h e i rc u s t o m e r s ,a l t h o u g h t h i sh a ss e r i o u s d i s a d v a n t a g e s . S i n c e t h e s e a d d r e s s e s c a n n o t b e r o u t e do v e r t h e I n t e r n e t , c o m p u t e r s w h i c h u s et h e ma r en o tr e a l l y" p a r t "o ft h eI n t e r n e t ,a n da r en o td i r e c t l y r e a c h a b l ef r o mi t . I no r d e rt oa l l o wt h e mt oc o m m u n i c a t ew i t ht h e I n t e r n e t , t h e i r p r i v a t e a d d r e s s e s m u s t b e t r a n s l a t e dt o p u b l i c a d d r e s s e s . $i s t r a n s l a t i o np r o c e s s i s k n o w na s N e t w o r kA d d r e s s T r a n s l a t i o n( N A T ) , a n di s n o r m a l l yp e r f o r m e da t t h eg a t e w a yb e t w e e nt h ep r i v a t en e t w o r k a n dt h e I n t e r n e t . We w i l l l o o k a t N A Ti nm o r e d e t a i l l a t e r o n i nt h i s c h a p t e r . A s t h e r e a r e h u g e n u m b e r s o f I P v 6a d d r e s s e s , t h e r e i s n on e e df o r p r i v a t e I P v 6a d d r e s s e s , a l t h o u g ht h e r e a r e U n i q u e L o c a l A d d r e s s e s ( U L A ) t h a t a r e s u i t a b l e f o r n o nc o n n e c t e d n e t w o r k s s u c ha s l a b s . D i s c o v e r i n g N e i g h b o u r s I m a g i n ean e t w o r kw i t ht h r e eh o s t s :HA, HB , a n d HC. $e yu s et h e c o r r e s p o n d i n g I Pa d d r e s s e s A , Ba n dC . $e s e h o s t s a r e p a r t o f t h e s a m e s u b n e t / p r e 0 x . F o r t w oh o s t s t oc o m m u n i c a t eo nal o c a l n e t w o r k , t h e ym u s t d e t e r m i n e e a c ho t h e r s ' MA Ca d d r e s s e s . I t i s p o s s i b l e t om a n u a l l y c o n 0 g u r e e a c hh o s t w i t ha m a p p i n g t a b l e f r o mI Pa d d r e s s t oMA Ca d d r e s s , b u t i t i s e a s i e r t o d y n a m i c a l l yd i s c o v e rt h en e i g h b o u r ' sMA Ca d d r e s st h r o u g hN e i g h b o r D i s c o v e r yP r o t o c o l( N D P )i nI P v 6a n dA d d r e s sR e s o l u t i o nP r o t o c o l ( A R P ) i nI P v 4 . N D Pa n dA R Pw o r k i na v e r y s i m i l a r w a y .

104

NETWORKING

F i g u r e N G6 : I P v 6n o d e A , 2 0 0 1 : d b 8 : : 1 n e e d s t o s e n d d a t a t o 2 0 0 1 : d b 8 : : 3 i nt h e s a m e n e t w o r k ( 2 0 0 1 : d b 8 : : / 6 4 p r e C x ) . B u t i t m u s t C r s t a s k f o r t h e MA Ca d d r e s s t h a t c o r r e s p o n d s t o 2 0 0 1 : d b 8 : : 3 . Wh e nu s i n g N D P , n o d e Am u l t i c a s t s t o s o m e h o s t s t h e q u e s t i o n , " Wh o h a s t h e MA Ca d d r e s s f o r t h e I P v 62 0 0 1 : d b 8 : : 3 ? " Wh e nn o d e Cs e e s a N e i g h b o r S o l i c i t a t i o n( N S ) f o r a nI P v 6a d d r e s s o f i t s o w n , i tr e p l i e sw i t hi t sMA Ca d d r e s sw i t h aN e i g h b o rA d v e r t i s e m e n t ( N A ) m e s s a g e .

6. NETWORKING 105

F i g u r e N G7 : I P v 4n o d e A , 1 9 2 . 1 6 8 . 1 . 1 , n e e d s t o s e n d d a t a t o 1 9 2 . 1 6 8 . 1 . 3 i nt h e s a m e s u b n e t ( 1 9 2 . 1 6 8 . 1 . 0 / 2 4 ) . B u t i t m u s t C r s t a s k t h e w h o l e n e t w o r k f o r t h e MA Ca d d r e s s t h a t c o r r e s p o n d s t o 1 9 2 . 1 6 8 . 1 . 3 . Wh e nu s i n g A R P , n o d e Ab r o a d c a s t s t o a l l h o s t s t h e q u e s t i o n , " Wh o h a s t h e MA Ca d d r e s s f o r t h e I P v 41 9 2 . 1 6 8 . 1 . 3 ? " Wh e nn o d eC s e e s a nA R Pr e q u e s t f o r i t s o w nI P v 4a d d r e s s , i t r e p l i e s w i t hi t s MA Ca d d r e s s . N o d e Bw i l l a l s os e e t h e A R Pr e q u e s t b u t w i l l n o t r e p l ya s 1 9 2 . 1 6 8 . 1 . 3i s n o t a na d d r e s s o f i t . $i s i s v e r ys i m i l a r t oN D P f o r I P v 6e x c e p t t h a t a nI P v 4n o d e h a s o n l y a s i n g l e I P v 4a d d r e s s . A l s oA R Pb r o a d c a s t s t h e r e q u e s t , t h i s m e a n s t h a t i t i s r e c e i v e db y a l l I P v 4 n o d e s i nt h e n e t w o r kc a u s i n g m o r e h o s t C P Uu t i l i s a t i o nt h a nI P v 6N D P w h i c ho n l y m u l t i c a s t s t o s o m e h o s t s .

106

NETWORKING

I PR o u t i n g t o n o n N e i g h b o u r s

F i g u r e N G8 : T w o s e p a r a t e I P v 6n e t w o r k s . C o n s i d e rn o wa n o t h e rn e t w o r kw i t h 3n o d e s , D , E , a n dF , w i t ht h e c o r r e s p o n d i n g I P v 6 a d d r e s s e s 2 0 0 1 : d b 8 : 2 : : 1 ,2 0 0 1 : d b 8 : 2 : : 2 ,a n d 2 0 0 1 : d b 8 : 2 : : 3 . $i s i s a n o t h e r / 6 4n e t w o r k , b u t i t i s n o t i nt h e s a m e r a n g e a s t h e n e t w o r k o n t h e l e f t h a n ds i d e . A l l t h r e e h o s t s c a nr e a c he a c ho t h e r d i r e c t l y( 0 r s t u s i n gN D Pt or e s o l v e t h eI P v 6a d d r e s s i n t oaMA Ca d d r e s s , a n dt h e ns e n d i n gp a c k e t s t ot h a t MA Ca d d r e s s ) . N o ww e w i l l a d dn o d eG . $i s n o d eh a s t w on e t w o r kc a r d s ( a l s oc a l l e d i n t e r f a c e s ) , w i t ho n ep l u g g e di n t oe a c hn e t w o r k . $ e0 r s t n e t w o r kc a r d u s e s t h e I P v 6a d d r e s s 2 0 0 1 : d b 8 : 1 : : 4 , o n i n t e r f a c e e t h 0 a n dt h e o t h e r , e t h 1 , u s e s 2 0 0 1 : d b 8 : 2 : : 4 . N o d eG i sn o wl i n k l o c a l t ob o t hn e t w o r k s , a n dc a nf o r w a r dp a c k e t s b e t w e e nt h e m : n o d e Gc a nr o u t e p a c k e t s b e t w e e nt h e t w on e t w o r k s , i t i s t h e r e f o r e c a l l e da r o u t e r o r s o m e t i m e s a g a t e w a y . B u t w h a t i f h o s t s A , B , a n dCw a n t t o r e a c hh o s t s D , E , a n dF ? $e y n e e d t o k n o wt h a t t h e y s h o u l du s e n o d e Ga n ds ot h e y w i l l n e e dt o a d d a r o u t e t ot h eo t h e r n e t w o r kv i ah o s t G . F o r e x a m p l e , h o s t s A Cw o u l da d da s t a t i c r o u t e v i a 2 0 0 1 : d b 8 : 1 : : 4 . I nL i n u x , t h i s c a nb e a c c o m p l i s h e d w i t ht h e f o l l o w i n g c o m m a n d : # i p 6 r o u t e a d d2 0 0 1 : d b 8 : 2 : : / 6 4v i a 2 0 0 1 : d b 8 : 1 : : 4

6. NETWORKING 107

. . . a n dh o s t s DFw o u l d a d dt h e f o l l o w i n g : # i p 6 r o u t e a d d2 0 0 1 : d b 8 : 1 : : / 6 4v i a 2 0 0 1 : d b 8 : 2 : : 4

F i g u r e N G9 : N o d e Ga c t s a s a r o u t e r b e t w e e nt h e t w o n e t w o r k s , o t h e r h o s t s u s e s t a t i c r o u t e s . $e r e s u l t f o r n o d e Ai s s h o w n i nF i g u r e N G9 . N o t i c e t h a t t h e r o u t e i s a d d e dv i a t h e I P v 6a d d r e s s o nh o s t Gt h a t i s l i n k l o c a l t o t h e r e s p e c t i v e n e t w o r k . H o s t Ac o u l dn o t a d dar o u t ev i a2 0 0 1 : d b 8 : 2 : : 4 , e v e nt h o u g hi t i s t h e s a m e p h y s i c a l m a c h i n e a s 2 0 0 1 : d b 8 : 1 : : 4( n o d e G ) , s i n c e t h a t I P v 6i s n o t l i n k l o c a l . $ ea d d r e s s o f t h en e x t h o pc a nb ee n t e r e de i t h e ra sag l o b a l a d d r e s s ( 2 0 0 1 : d b 8 : 2 : : 4 ) o r a s al i n k l o c a l a d d r e s s ( f e 8 0 : : . . . ) ; i t i s u s u a l l ye a s i e r t o c o n 0 g u r e a s t a t i c r o u t e w i t ha g l o b a l a d d r e s s . I nI P v 6 , t h er o u t e rG a l s os e n d sas o l i c i t a t i o na n dp e r i o d i c a l l yr o u t e r a d v e r t i s e m e n t s t h a t c o n t a i ni t so w nl i n k l o c a l a d d r e s s , h e n c e , a l l n o d e s u s i n gs t a t e l e s s a u t o c o n 0 g u r a t i o no r D HC Pa u t o m a t i c a l l ya d dad e f a u l t r o u t e v i a t h e r o u t e r l i n k l o c a l a d d r e s s a s s h o w n i nF i g u r e N G1 0 .

108

NETWORKING

F i g u r e N G1 0 : N o d e Ga c t s a s a r o u t e r b e t w e e nt h e t w o n e t w o r k s , h o s t s u s e s t a t e l e s s a d d r e s s a u t o c o n C g u r a t i o n . $i s i s av e r ys i m p l er o u t i n ge x a m p l e , w h e r et h ed e s t i n a t i o ni s o n l ya s i n g l eh o pa w a yf r o mt h es o u r c e . A s n e t w o r k s g e t m o r ec o m p l e x , m a n y h o p s m a yn e e dt ob e t r a v e r s e dt or e a c ht h e u l t i m a t e d e s t i n a t i o n . S i n c e i t i s n ' t p r a c t i c a l f o re v e r ym a c h i n eo nt h eI n t e r n e t t ok n o wt h er o u t et o e v e r yo t h e r , w e m a k eu s eo f ar o u t i n ge n t r yk n o w na s t h ed e f a u l t r o u t e ( a l s ok n o w na s t h e d e f a u l t g a t e w a y ) . Wh e nar o u t e r r e c e i v e s ap a c k e t d e s t i n e df o r an e t w o r kf o r w h i c hi t h a s n o e x p l i c i t r o u t e , t h e p a c k e t i s f o r w a r d e dt o i t s d e f a u l t g a t e w a y . $e d e f a u l t g a t e w a y i s t y p i c a l l y t h e b e s t r o u t e o u t o f y o u r n e t w o r k , u s u a l l y i nt h e d i r e c t i o no f y o u r I S P . A ne x a m p l e o f a r o u t e r t h a t u s e s a d e f a u l t g a t e w a y i s s h o w ni nF i g u r e N G 1 1 . F i g u r e N G1 1s h o w s t h e r o u t i n gt a b l e ( w h i c hi s t h e s e t o f a l l r o u t e s ) o nt h ei n t e r n a lr o u t e rG w h i c hi n c l u d e st h et w od i r e c t l yc o n n e c t e d n e t w o r k s 2 0 0 1 : d b 8 : 1 : : / 6 4a n d2 0 0 1 : d b 8 : 2 : : / 6 4a s w e l l a s ar o u t et oa l l o t h e r h o s t s o n t h e I n t e r n e t : : / 0 . An o d ea l w a y su s e s t h em o s ts p e c i 0 cr o u t e ; t h a t i s t h er o u t ew i t ht h e l o n g e s t m a t c ht ot h e d e s t i n a t i o n , i nF i g u r e N G1 1e t h 0w i l l b eu s e df o r d e s t i n a t i o n2 0 0 1 : d b 8 : 1 : : 1( m a t c hl e n g t h/ 6 4 ) r a t h e r t h a nt h e l e s s s p e c i 0 c : : / 0( m a t c hl e n g t h o f 0 ) .

6. NETWORKING 109

Ar o u t e t e l l s t h e O St h a t t h e d e s i r e dn e t w o r k d o e s n ' t l i e o nt h e i m m e d i a t e l i n k l o c a l n e t w o r k , a n di t m u s t f o r w a r dt h et r a N ct h r o u g ht h e s p e c i 0 e d r o u t e r . I f h o s t Aw a n t s t os e n da p a c k e t t oh o s t F , i t w o u l d0 r s t s e n di t t on o d e G . N o d e Gw o u l dt h e nl o o ku ph o s t Fi ni t s r o u t i n g t a b l e , a n ds e e t h a t i t h a s a d i r e c t c o n n e c t i o nt o h o s t F ' s n e t w o r k . F i n a l l y , h o s t Gw o u l dr e s o l v e t h e h a r d w a r e ( MA C ) a d d r e s s o f h o s t Fa n d f o r w a r dt h e p a c k e t t o i t . R o u t e sc a nb eu p d a t e dm a n u a l l y , o rc a nd y n a m i c a l l yr e a c tt on e t w o r k o u t a g e s a n do t h e r e v e n t s . S o m e e x a m p l e s o f p o p u l a r d y n a m i c r o u t i n g p r o t o c o l s a r e R I P , O S P F , B G P . C o n 0 g u r i n gd y n a m i cr o u t i n gi s b e y o n dt h es c o p eo f t h i s b o o k , b u t f o r f u r t h e r r e a d i n g o n t h e s u b j e c t , s e e t h e r e s o u r c e s i nA p p e n d i x F . I P v 4b e h a v e s e x a c t l y t h e s a m e w a y a s d e p i c t e di n0 g u r e N G1 2 .

110

NETWORKING

A s n o t e db e f o r e , m o s t n e t w o r k s a n dt h eI n t e r n e t a r ed u a l s t a c ka n da l l h o s t s a n dr o u t e r s h a v e b o t hI P v 4a n dI P v 6a d d r e s s e s , t h i s a l s o m e a n s t h a t t h e n o d e s w i l l h a v e r o u t e s f o r I P v 4a n dr o u t e s f o r I P v 6 . F o r i n s t a n c e , t h e s e t o f a l l r o u t e s o n n o d e Go f t h e p r e v i o u s 0 g u r e s w i l l b e : # n e t s t a t r n Ai n e t 6 D e s t i n a t i o n N e x t H o p 2 0 0 1 : d b 8 : 1 : / 6 4 : : 2 0 0 1 : d b 8 : 2 : / 6 4 : : : : / 0 2 0 0 1 : d b 8 : 2 : : 1 # n e t s t a t r n Ai n e t 4 D e s t i n a t i o n G a t e w a y 1 9 2 . 1 6 8 . 1 . 0 0 . 0 . 0 . 0 1 9 2 . 1 6 8 . 2 . 0 0 . 0 . 0 . 0 0 . 0 . 0 . 0 1 9 2 . 1 6 8 . 2 . 1 G e n m a s k 2 5 5 . 2 5 5 . 2 5 5 . 0 2 5 5 . 2 5 5 . 2 5 5 . 0 0 . 0 . 0 . 0 I f e t h 0 e t h 1 e t h 1 I f a c e e t h 0 e t h 1 e t h 1

6. NETWORKING 111

N e t w o r k A d d r e s s T r a n s l a t i o n( N A T ) f o r I P v 4 I no r d e rt or e a c hh o s t so nt h eI n t e r n e t ,p r i v a t ea d d r e s s e sm u s tb e c o n v e r t e dt o g l o b a l , p u b l i c l y r o u t a b l e I P v 4a d d r e s s e s . $i s i s a c h i e v e du s i n g a t e c h n i q u e k n o w na s N e t w o r k A d d r e s s T r a n s l a t i o n , o r N A T . AN A Td e v i c e i s a r o u t e r t h a t m a n i p u l a t e s t h e a d d r e s s e s o f p a c k e t s i n s t e a d o f s i m p l y f o r w a r d i n g t h e m . O naN A Tr o u t e r , t h eI n t e r n e t c o n n e c t i o nu s e s o n e( o r m o r e ) g l o b a l l y r o u t e dI P v 4a d d r e s s e s , w h i l et h ep r i v a t en e t w o r ku s e sa nI P v 4a d d r e s s f r o mt h e R F C 1 9 1 8p r i v a t e a d d r e s s r a n g e . $e N A Tr o u t e r a l l o w s t h e g l o b a l a d d r e s s ( e s ) t ob e s h a r e dw i t ha l l o f t h e i n s i d e u s e r s , w h o a l l u s e p r i v a t e a d d r e s s e s . I t c o n v e r t s t h ep a c k e t s f r o mo n ef o r mo f a d d r e s s i n gt ot h eo t h e r a s t h e p a c k e t sp a s st h r o u g hi t . A sf a ra st h en e t w o r ku s e r sc a nt e l l , t h e ya r e d i r e c t l yc o n n e c t e dt ot h eI n t e r n e ta n dr e q u i r en os p e c i a ls o f t w a r eo r d r i v e r s . $e ys i m p l yu s et h eN A Tr o u t e ra st h e i rd e f a u l tg a t e w a y , a n da d d r e s s p a c k e t s a s t h e y n o r m a l l y w o u l d . $ eN A Tr o u t e rt r a n s l a t e so u t b o u n dp a c k e t st ou s et h eg l o b a lI P v 4 a d d r e s s a s t h e y l e a v e t h e n e t w o r k , a n dt r a n s l a t e s t h e mb a c ka g a i na s t h e y a r e r e c e i v e df r o mt h e I n t e r n e t . $e m a j o r c o n s e q u e n c e o f u s i n gN A Ti s t h a t m a c h i n e s f r o mt h e I n t e r n e t c a n n o te a s i l yr e a c hs e r v e r sw i t h i nt h eo r g a n i s a t i o nw i t h o u ts e t t i n gu p e x p l i c i t f o r w a r d i n g r u l e s o nt h e r o u t e r . C o n n e c t i o n s i n i t i a t e df r o mw i t h i nt h e p r i v a t e a d d r e s s s p a c e g e n e r a l l y h a v e n o t r o u b l e , a l t h o u g h s o m e a p p l i c a t i o n s ( s u c ha s V o i c e o v e r I P v 4a n ds o m e V P Ns o f t w a r e ) c a nh a v e d i N c u l t y d e a l i n g w i t hN A T .

112

NETWORKING

a d d r e s s w i t h m a n y i n t e r n a l h o s t s , b u t c a nm a k e i t d i M c u l t f o r s o m e s e r v i c e s t o w o r k p r o p e r l y . D e p e n d i n go ny o u r p o i n t o f v i e w , t h i s c a nb e c o n s i d e r e dab u g ( s i n c e i t m a k e s i t h a r d e r t os e t u p t w o w a y c o m m u n i c a t i o n ) o r a f e a t u r e . R F C 1 9 1 8 a d d r e s s e ss h o u l db e0 l t e r e do nt h ee d g eo fy o u rn e t w o r kt op r e v e n t a c c i d e n t a l o r m a l i c i o u s R F C 1 9 1 8t r a N c e n t e r i n g o r l e a v i n g y o u r n e t w o r k .
Wh i l e N A Tp e r f o r m s s o m e 0 r e w a l l l i k e f u n c t i o n s , i t i s n o t a r e p l a c e m e n t f o r a r e a l 0 r e w a l l a s m o s t o f t h e a t t a c k s h a p p e nn o ww h e na ni n t e r n a l u s e r v i s i t s s o m e w e b s i t e s w i t hh o s t i l e c o n t e n t ( c a l l e dm a l w a r e f o r m a l e v o l e n t s o f t w a r e ) .

Internet Protocol Suite


Ma c h i n e s o nt h e I n t e r n e t u s e t h e I n t e r n e t P r o t o c o l ( I P ) t or e a c he a c ho t h e r , e v e nw h e ns e p a r a t e db y m a n y i n t e r m e d i a r y m a c h i n e s . $e r ea r ean u m b e r o f p r o t o c o l s t h a t a r er u ni nc o n j u n c t i o nw i t hI Pt h a t p r o v i d e f e a t u r e s w h i c ha r e a s c r i t i c a l t on o r m a l o p e r a t i o n s a s I Pi t s e l f . E v e r y p a c k e t s p e c i 0 e s ap r o t o c o l n u m b e r t h a t i d e n t i 0 e s t h e p a c k e t a s o n eo f t h e s e p r o t o c o l s .

6. NETWORKING 113

$e m o s t c o m m o n l y u s e dp r o t o c o l s a r e t h e T r a n s m i s s i o nC o n t r o l P r o t o c o l ( T C P , n u m b e r 6 ) , U s e r D a t a g r a mP r o t o c o l ( U D P , n u m b e r 1 7 ) , a n dt h e I n t e r n e tC o n t r o lMe s s a g eP r o t o c o l( I C MP ,n u m b e r1 f o rI P v 4a n d n u m b e r 5 8f o r I P v 6 ) . T a k e na s ag r o u p , t h e s e p r o t o c o l s ( a n do t h e r s ) a r e k n o w na s t h e I n t e r n e t P r o t o c o l S u i t e , o r s i m p l y T C P / I Pf o r s h o r t . $ eT C Pa n dU D Pp r o t o c o l si n t r o d u c et h ec o n c e p t o f p o r t n u m b e r s . P o r t n u m b e r s a l l o wm u l t i p l es e r v i c e s t ob er u no nt h es a m e I Pa d d r e s s , a n ds t i l l b e d i s t i n g u i s h e df r o me a c ho t h e r . E v e r yp a c k e t h a s a s o u r c e a n d d e s t i n a t i o np o r t n u m b e r . S o m ep o r t n u m b e r s a r ew e l l d e 0 n e ds t a n d a r d s , u s e dt or e a c hw e l l k n o w ns e r v i c e ss u c ha se m a i l a n dw e bs e r v e r s . F o r e x a m p l e , w e bs e r v e r s n o r m a l l yl i s t e no nT C Pp o r t 8 0f o r i n s e c u r et r a N c a n do n T C Pp o r t 4 4 3 f o r e n c r y p t e d / s e c u r e t r a N c , N T Pt i m e s e r v e r s l i s t e n o nU D Pp o r t 1 2 3 , D N Sd o m a i nn a m es e r v e r s l i s t e no nU D Pp o r t 5 3 , a n dS MT Pe m a i l s e r v e r s l i s t e no n T C Pp o r t 2 5 . Wh e nw e s a y t h a t a s e r v i c e " l i s t e n s " o na p o r t ( s u c ha s p o r t 8 0 ) , w e m e a n t h a t i t w i l l a c c e p t p a c k e t s t h a t u s e i t s I Pa s t h e d e s t i n a t i o nI Pa d d r e s s , a n d 8 0 a s t h e d e s t i n a t i o np o r t . S e r v e r s u s u a l l yd o n o t c a r e a b o u t t h e s o u r c e I P o rs o u r c ep o r t , a l t h o u g hs o m e t i m e s t h e yw i l l u s et h e mt oe s t a b l i s ht h e i d e n t i t y o f t h e o t h e r s i d e . Wh e ns e n d i n g a r e s p o n s e t os u c h p a c k e t s , t h e s e r v e r w i l l u s e i t s o w nI Pa s t h e s o u r c e I P , a n d8 0 a s t h e s o u r c e p o r t . Wh e nac l i e n t c o n n e c t s t oas e r v i c e , i t m a yu s e a n ys o u r c e p o r t n u m b e r o ni t s s i d e t h a t i s n o t a l r e a d yi nu s e , b u t i t m u s t c o n n e c t t ot h e p r o p e r p o r t o n t h e s e r v e r ( e . g . 8 0 f o r w e b , 2 5 f o r e m a i l ) . T C Pi s as e s s i o n o r i e n t e dp r o t o c o l w i t hg u a r a n t e e da n do r d e r e dd e l i v e r y a n dt r a n s m i s s i o nc o n t r o l f e a t u r e s( s u c ha sd e t e c t i o na n dm i t i g a t i o no f n e t w o r k c o n g e s t i o n , r e t r i e s , p a c k e t r e o r d e r i n g a n dr e a s s e m b l y , e t c . ) . U D Pi s d e s i g n e df o r c o n n e c t i o n l e s s s t r e a m s o f i n f o r m a t i o n , a n dd o e s n o t g u a r a n t e e d e l i v e r y a t a l l , o r i na n yp a r t i c u l a r o r d e r b u t c a nb e f a s t e r s oi t i s o f t e nu s e d f o r r e a l t i m e p r o t o c o l s s u c ha s f o r t i m i n g , v o i c e o r v i d e o . $ eI C MPp r o t o c o l i s d e s i g n e df o r d e b u g g i n ga n dm a i n t e n a n c eo nt h e I n t e r n e t . R a t h e r t h a np o r t n u m b e r s , i t h a s m e s s a g e t y p e s , w h i c ha r e a l s on u m b e r s . D i 1 e r e n tm e s s a g et y p e sa r eu s e dt or e q u e s ta s i m p l er e s p o n s ef r o m a n o t h e r c o m p u t e r ( e c h or e q u e s t ) , n o t i f yt h e s e n d e r o f a n o t h e r p a c k e t o f a p o s s i b l e r o u t i n gl o o p( t i m e e x c e e d e d ) , o r i n f o r mt h e s e n d e r t h a t ap a c k e t

114

NETWORKING

t h a tc o u l dn o tb ed e l i v e r e dd u et o0 r e w a l lr u l e so ro t h e rp r o b l e m s ( d e s t i n a t i o nu n r e a c h a b l e ) . B y n o wy o us h o u l dh a v e a s o l i du n d e r s t a n d i n g o f h o wc o m p u t e r s o nt h e n e t w o r ka r ea d d r e s s e d ,a n dh o wi n f o r m a t i o nW o w so nt h en e t w o r k b e t w e e nt h e m . N o wl e t ' s t a k e a b r i e f l o o ka t t h e p h y s i c a l h a r d w a r e t h a t i m p l e m e n t s t h e s e n e t w o r k p r o t o c o l s .

Physical hardware
E t h e r n e t E t h e r n e ti st h en a m eo ft h em o s tp o p u l a rs t a n d a r df o rc o n n e c t i n g t o g e t h e r c o m p u t e r s o na L o c a l A r e a N e t w o r k( L A N ) . I t i s s o m e t i m e s u s e d t oc o n n e c t i n d i v i d u a l c o m p u t e r s t ot h e I n t e r n e t , v i a a r o u t e r , A D S Lm o d e m , o r w i r e l e s s d e v i c e . H o w e v e r , i f y o uc o n n e c t as i n g l e c o m p u t e r t ot h e I n t e r n e t , y o um a yn o t u s e E t h e r n e t a t a l l . $ en a m ec o m e s f r o mt h ep h y s i c a l c o n c e p to ft h ee t h e r , t h em e d i u m w h i c hw a s o n c es u p p o s e dt oc a r r yl i g h tw a v e s t h r o u g hf r e es p a c e . $e o N c i a l s t a n d a r di s c a l l e dI E E E8 0 2 . 3 . O n e w i d e l y d e p l o y e dE t h e r n e t s t a n d a r di s c a l l e d1 0 0 b a s e Ta l s ok n o w na s F a s t E t h e r n e t . $i sd e 0 n e sad a t ar a t eo f1 0 0Me g a b i t sp e rs e c o n d( h e n c et h e1 0 0 ) , r u n n i n go v e rt w i s t e d( h e n c et h eT )p a i rw i r e s ,w i t hm o d u l a rR J 4 5 c o n n e c t o r s o n t h e e n d . $e n e t w o r k t o p o l o g y i s a s t a r , w i t hs w i t c h e s o r h u b s a t t h e c e n t r e o f e a c h s t a r , a n de n dn o d e s ( d e v i c e s a n da d d i t i o n a l s w i t c h e s ) a t t h e e d g e s . S e r v e r s a r ea l s oc o n n e c t e du s i n gG i g a b i t E t h e r n e t w i t har a t eo f 1G i g a b i t p e r s e c o n d . I n c r e a s i n g l yG i g a b i t E t h e r n e t i s r e p l a c i n g F a s t E t h e r n e t i nm a n y n e t w o r k s t h e s ed a y sa sd e m a n df o rh i g hv o l u m ev i d e oa n do t h e r h i g hd a t ar a t e a p p l i c a t i o n s b e c o m e m o r e p r e v a l e n t . Me d i u mA c c e s s C o n t r o l ( MA C ) a d d r e s s e s E v e r yd e v i c ec o n n e c t e dt oa nE t h e r n e to rWi F i n e t w o r kh a sau n i q u e

6. NETWORKING 115

MA Ca d d r e s s , a s s i g n e db y t h e m a n u f a c t u r e r o f t h e n e t w o r kc a r d . I t s e r v e s a s au n i q u e i d e n t i 0 e r t h a t e n a b l e s d e v i c e s t ot a l kt oe a c ho t h e r . H o w e v e r , t h es c o p eo f aMA Ca d d r e s s i s l i m i t e dt oab r o a d c a s t d o m a i n , w h i c hi s d e 0 n e da s a l l t h e c o m p u t e r s c o n n e c t e dt o g e t h e r b y w i r e s , h u b s , s w i t c h e s , a n db r i d g e s , b u t n o t c r o s s i n g r o u t e r s o r I n t e r n e t g a t e w a y s . MA Ca d d r e s s e sa r en e v e ru s e dd i r e c t l yo nt h eI n t e r n e t , a n da r en o t t r a n s m i t t e d a c r o s s r o u t e r s . MA Ca d d r e s s e s f o r E t h e r n e t a n dI E E E8 0 2 . 1 1Wi F i n e t w o r k s a r e 4 8b i t s l o n ga n dl o o kl i k e t h i s 0 0 : 1 c : c 0 : 1 7 : 7 8 : 8 c o r 4 0 : 6 c : 8 f : 5 2 : 5 9 : 4 1 ; f o r t h e l a t t e r MA Ca d d r e s s , t h e 0 r s t 2 4 b i t s 4 0 : 6 c : 8 f i n d i c a t e s t h a t A p p l e a s s i g n e d t h i s a d d r e s s . H u b s E t h e r n e th u b sc o n n e c tm u l t i p l et w i s t e d p a i rE t h e r n e td e v i c e st o g e t h e r . $e y w o r ka t t h e p h y s i c a l l a y e r ( t h e l o w e s t o r 0 r s t l a y e r ) . $e y r e p e a t t h e s i g n a l sr e c e i v e db ye a c hp o r to u tt oa l l o ft h eo t h e rp o r t s . H u b sc a n t h e r e f o r e b e c o n s i d e r e dt o b e s i m p l e r e p e a t e r s . D u e t ot h i s d e s i g n , o n l yo n ep o r t c a ns u c c e s s f u l l yt r a n s m i t a t at i m e . I f t w od e v i c e st r a n s m i ta tt h es a m et i m e ,t h e yc o r r u p te a c ho t h e r ' s t r a n s m i s s i o n s , a n db o t hm u s t b a c ko 1a n dr e t r a n s m i t t h e i r p a c k e t s l a t e r . $i si sk n o w na sac o l l i s i o n ,a n de a c hh o s tr e m a i n sr e s p o n s i b l ef o r d e t e c t i n ga n da v o i d i n gc o l l i s i o n sb e f o r et r a n s m i t t i n g , a n dr e t r a n s m i t t i n g i t s o w np a c k e t s w h e nn e e d e d . Wh e np r o b l e m s s u c ha s e x c e s s i v e c o l l i s i o n s a r e d e t e c t e do nap o r t , s o m e h u b s c a nd i s c o n n e c t ( p a r t i t i o n ) t h a t p o r t f o r a w h i l e t ol i m i t i t s i m p a c t o n t h e r e s t o f t h e n e t w o r k . Wh i l eap o r t i s p a r t i t i o n e d , d e v i c e s a t t a c h e dt oi t c a n n o t c o m m u n i c a t e w i t ht h e r e s t o f t h e n e t w o r k . H u b s a r el i m i t e di nt h e i r u s e f u l n e s s , s i n c e t h e yc a ne a s i l yb e c o m e p o i n t s o f c o n g e s t i o no nb u s yn e t w o r k s s ot h e ya r e n ol o n g e r n o r m a l l yd e p l o y e d i nn e t w o r k s n o w a d a y s . I t s o n l y i m p o r t a n t t on o t e t h a t a Wi F i a c c e s s p o i n t a c t s a s a h u b o n t h e r a d i o s i d e . S w i t c h e s As w i t c hi sad e v i c ew h i c ho p e r a t e sm u c hl i k eah u b , b u tp r o v i d e sa d e d i c a t e d( o r s w i t c h e d ) c o n n e c t i o nb e t w e e np o r t s .

116

NETWORKING

R a t h e rt h a nr e p e a t i n ga l l t r a N co ne v e r yp o r t , t h es w i t c hd e t e r m i n e s w h i c hp o r t s a r ec o m m u n i c a t i n gd i r e c t l ya n dt e m p o r a r i l yc o n n e c t s t h e m t o g e t h e r . $e r ec a nb es e v e r a l s u c ht e m p o r a r yp o r tc o n n e c t i o n sa tt h e s a m e t i m e . S w i t c h e s g e n e r a l l yp r o v i d e m u c hb e t t e r p e r f o r m a n c e t h a nh u b s , e s p e c i a l l y o nb u s yn e t w o r k sw i t hm a n yc o m p u t e r s .$ e ya r en o tm u c hm o r e e x p e n s i v e t h a nh u b s , a n da r e r e p l a c i n g t h e mi nm o s t s i t u a t i o n s . S w i t c h e s w o r ka t t h ed a t al i n kl a y e r ( t h es e c o n dl a y e r ) , s i n c et h e yi n t e r p r e t a n da c t u p o nt h eMA Ca d d r e s s i nt h ep a c k e t s t h e yr e c e i v e . Wh e nap a c k e t a r r i v e s a t ap o r t o nas w i t c h , i t m a k e s an o t eo f t h es o u r c eMA Ca d d r e s s , w h i c hi t a s s o c i a t e s w i t ht h a t p o r t . I t s t o r e s t h i si n f o r m a t i o ni na ni n t e r n a l MA Ct a b l e o f t e nk n o w na s C o n t e n t A d d r e s s a b l e Me m o r y( C A M) t a b l e . $e s w i t c ht h e nl o o k s u pt h ed e s t i n a t i o nMA Ca d d r e s s i ni t sMA Ct a b l e , a n d t r a n s m i t st h ep a c k e to n l yo nt h em a t c h i n gp o r t . I f t h ed e s t i n a t i o n MA C a d d r e s s i s n o t f o u n di nt h e MA Ct a b l e , t h e p a c k e t i s t h e ns e n t t oa l l o f t h e c o n n e c t e d i n t e r f a c e s h o p i n g t o r e a c ht h e r i g h t MA C . H u b s v s . S w i t c h e s H u b sa r ec o n s i d e r e dt ob ef a i r l yu n s o p h i s t i c a t e dd e v i c e s ,s i n c et h e y i n e N c i e n t l y r e b r o a d c a s t a l l t r a N c o ne v e r y p o r t . $i s s i m p l i c i t y i n t r o d u c e s b o t hap e r f o r m a n c ep e n a l t ya n das e c u r i t yi s s u e . O v e r a l l p e r f o r m a n c e i s s l o w e r , s i n c et h ea v a i l a b l eb a n d w i d t hm u s t b es h a r e db e t w e e na l l p o r t s . S i n c ea l l t r a N ci s s e e nb ya l l p o r t s , a n yh o s t o nt h en e t w o r kc a ne a s i l y m o n i t o r a l l o f t h e n e t w o r k t r a N c . S w i t c h e sc r e a t et e m p o r a r yv i r t u a lc o n n e c t i o n sb e t w e e nr e c e i v i n ga n d t r a n s m i t t i n gp o r t s . $i sy i e l d sb e t t e rp e r f o r m a n c eb e c a u s em a n yv i r t u a l c o n n e c t i o n sc a nb em a d es i m u l t a n e o u s l y . Mo r ee x p e n s i v es w i t c h e sc a n s w i t c ht r a N cb yi n s p e c t i n gp a c k e t s a t h i g h e r l e v e l s( a t t h et r a n s p o r t o r a p p l i c a t i o nl a y e r ) , a l l o w i n gt h ec r e a t i o no fV L A N s , a n di m p l e m e n t i n g o t h e r a d v a n c e df e a t u r e s . Ah u bc a nb e u s e dw h e nr e p e t i t i o no f t r a N co na l l p o r t s i s d e s i r a b l e ; f o r e x a m p l e , w h e ny o uw a n t t oe x p l i c i t l ya l l o w am o n i t o r i n gm a c h i n e t os e e a l l o ft h et r a N co nt h en e t w o r k . Mo s t s w i t c h e sp r o v i d em o n i t o rp o r t f u n c t i o n a l i t y t h a t e n a b l e s r e p e a t i n g o na na s s i g n e dp o r t s p e c i 0 c a l l y f o r t h i s p u r p o s e . H u b s w e r e o n c e c h e a p e r t h a ns w i t c h e s . H o w e v e r , t h e p r i c e o f s w i t c h e s h a s r e d u c e dd r a m a t i c a l l yo v e r t h ey e a r s . $e r e f o r e , o l dn e t w o r kh u b s s h o u l d b e r e p l a c e dw h e n e v e r p o s s i b l e w i t hn e ws w i t c h e s .

6. NETWORKING 117

F i g u r e N G1 4 : Ah u b s i m p l y r e p e a t s a l l t r a M c o n e v e r y p o r t , w h i l e a s w i t c h m a k e s a t e m p o r a r y , d e d i c a t e dc o n n e c t i o nb e t w e e nt h e p o r t s t h a t n e e dt o c o m m u n i c a t e . B o t hh u b s a n ds w i t c h e s m a y o 1 e r m a n a g e ds e r v i c e s . S o m eo f t h e s e s e r v i c e s i n c l u d et h e a b i l i t yt os e t t h e l i n ks p e e d( 1 0 b a s e T , 1 0 0 b a s e T , 1 0 0 0 b a s e T ,f u l lo rh a l f d u p l e x )p e rp o r t , e n a b l et r i g g e r st o w a t c hf o r n e t w o r ke v e n t s ( s u c ha s c h a n g e s i nMA Ca d d r e s s o r m a l f o r m e d p a c k e t s ) ,a n d u s u a l l yi n c l u d ep o r tc o u n t e r sf o re a s yb a n d w i d t h a c c o u n t i n g . Am a n a g e ds w i t c ht h a t p r o v i d e su p l o a da n dd o w n l o a db y t ec o u n t s f o r e v e r y p h y s i c a l p o r t c a ng r e a t l y s i m p l i f y n e t w o r k m o n i t o r i n g . $e s es e r v i c e s a r et y p i c a l l ya v a i l a b l ev i aS N MP , o r t h e ym a yb e a c c e s s e d v i a t e l n e t , s s h , a w e b i n t e r f a c e , o r a c u s t o mc o n 0 g u r a t i o nt o o l . R o u t e r s a n dF i r e w a l l s Wh i l eh u b sa n ds w i t c h e sp r o v i d ec o n n e c t i v i t yo n al o c a ln e t w o r k s e g m e n t , ar o u t e r ' s j o bi s t of o r w a r dp a c k e t s b e t w e e nd i 1 e r e n t n e t w o r k s e g m e n t s . Ar o u t e r t y p i c a l l y h a s t w o o r m o r e p h y s i c a l n e t w o r k i n t e r f a c e s . I tm a yi n c l u d es u p p o r tf o rd i 1 e r e n tt y p e so fn e t w o r km e d i a ,s u c ha s E t h e r n e t , Wi F i , o p t i c a l 0 b r e , D S L , o r d i a l u p . R o u t e r s c a nb ed e d i c a t e dh a r d w a r ed e v i c e s o r t h e yc a nb em a d ef r o ma s t a n d a r dP Cw i t h m u l t i p l e n e t w o r kc a r d s a n da p p r o p r i a t e s o f t w a r e .

118

NETWORKING

R o u t e r s s i t a t t h e e d g e o f t w oo r m o r e n e t w o r k s . B y d e 0 n i t i o n , t h e y h a v e o n ec o n n e c t i o nt oe a c hn e t w o r k , a n da s b o r d e r m a c h i n e s t h e ym a y t a k e o no t h e rr e s p o n s i b i l i t i e s a sw e l l a sr o u t i n g . Ma n yr o u t e r sh a v e0 r e w a l l c a p a b i l i t i e s t h a t p r o v i d e am e c h a n i s mt o0 l t e r o r r e d i r e c t p a c k e t s t h a t d o n o t 0 t s e c u r i t y o r a c c e s s p o l i c y r e q u i r e m e n t s . $e ym a ya l s op r o v i d eN e t w o r kA d d r e s s T r a n s l a t i o n( N A T ) s e r v i c e s f o r I P v 4 . R o u t e r s v a r y w i d e l y i nc o s t a n dc a p a b i l i t i e s . $e l o w e s t c o s t a n dl e a s t W e x i b l e a r es i m p l e , d e d i c a t e dh a r d w a r ed e v i c e s , o f t e nw i t hN A Tf u n c t i o n a l i t y ,u s e dt os h a r ea nI n t e r n e tc o n n e c t i o n b e t w e e naf e wc o m p u t e r s ; w e l l k n o w nb r a n d s i n c l u d eL i n k s y s , DL i n k , N e t g e a r . $ en e x t s t e pu pi sas o f t w a r er o u t e r , w h i c hc o n s i s t so fa no p e r a t i n g s y s t e mr u n n i n go n as t a n d a r dP Cw i t hm u l t i p l en e t w o r ki n t e r f a c e s . S t a n d a r do p e r a t i n gs y s t e m s s u c ha s Mi c r o s o f t Wi n d o w s , L i n u x , a n dB S D a r ea l l c a p a b l e o f r o u t i n g , a n da r em u c hm o r e W e x i b l e t h a nt h el o w c o s t h a r d w a r e d e v i c e s ; i t i s o f t e nc a l l e dI n t e r n e t C o n n e c t i o nS h a r i n g . H o w e v e r , t h e ys u 1 e r f r o mt h e s a m e p r o b l e m s a s c o n v e n t i o n a l P C s , w i t h h i g hp o w e rc o n s u m p t i o n , al a r g en u m b e ro fc o m p l e xa n dp o t e n t i a l l y u n r e l i a b l e p a r t s , a n dm o r e i n v o l v e d c o n 0 g u r a t i o n . $ em o s te x p e n s i v ed e v i c e sa r eh i g h e n dd e d i c a t e dh a r d w a r er o u t e r s , m a d e b y c o m p a n i e s l i k e C i s c o a n dJ u n i p e r . $e yt e n dt oh a v em u c hb e t t e r p e r f o r m a n c e , m o r ef e a t u r e s , a n dh i g h e r r e l i a b i l i t y t h a ns o f t w a r e r o u t e r s o n P C s . I t i s a l s op o s s i b l e t op u r c h a s e t e c h n i c a l s u p p o r t a n d m a i n t e n a n c e c o n t r a c t s f o r t h e m . Mo s tm o d e r n r o u t e r so 1 e rm e c h a n i s m st om o n i t o ra n d r e c o r d p e r f o r m a n c er e m o t e l y ,u s u a l l yv i at h eS i m p l eN e t w o r k Ma n a g e m e n t P r o t o c o l ( S N MP ) , a l t h o u g ht h el e a s te x p e n s i v ed e v i c e so f t e no m i tt h i s f e a t u r e .

6. NETWORKING 119

O t h e r e q u i p m e n t

F i g u r e N G1 5 : Ma n y D S Lm o d e m s , c a b l e m o d e m s , w i r e l e s s a c c e s s p o i n t s , a n d V S A Tt e r m i n a l s t e r m i n a t e a t a n E t h e r n e t j a c k . E a c hp h y s i c a l n e t w o r kh a s a na s s o c i a t e dp i e c e o f t e r m i n a l e q u i p m e n t . F o r e x a m p l e ,V S A Tc o n n e c t i o n sc o n s i s to fas a t e l l i t ed i s hc o n n e c t e dt oa t e r m i n a l t h a t e i t h e r p l u g s i n t oac a r di n s i d eaP C , o r e n d s a t as t a n d a r d E t h e r n e tc o n n e c t i o n .D S Ll i n e su s eaD S Lm o d e mt h a tb r i d g e st h e t e l e p h o n el i n et oal o c a l d e v i c e , e i t h e r a nE t h e r n e t n e t w o r ko r as i n g l e c o m p u t e r v i a U S B . C a b l e m o d e m s b r i d g e t h e t e l e v i s i o nc a b l e t o E t h e r n e t , o r t o a ni n t e r n a l P Cc a r db u s . S t a n d a r dd i a l u pl i n e su s em o d e m st oc o n n e c ta c o m p u t e rt ot h e t e l e p h o n e , u s u a l l yv i aap l u g i nc a r do r s e r i a l p o r t . A n dt h e r e a r em a n y d i 1 e r e n t k i n d s o f w i r e l e s s n e t w o r k i n g e q u i p m e n t t h a t c o n n e c t t oa v a r i e t y o f r a d i o sa n da n t e n n a s , b u t n e a r l ya l w a y s e n da t a nE t h e r n e t j a c k . $e f u n c t i o n a l i t y o f t h e s e d e v i c e s c a n v a r y s i g n i 0 c a n t l y b e t w e e n m a n u f a c t u r e r s . S o m ep r o v i d em e c h a n i s m sf o rm o n i t o r i n gp e r f o r m a n c e , w h i l e o t h e r s m a y n o t .

120

NETWORKING

S i n c ey o u rI n t e r n e tc o n n e c t i o nu l t i m a t e l yc o m e sf r o m y o u rI S P ,y o u s h o u l df o l l o wt h e i rr e c o m m e n d a t i o n sw h e nc h o o s i n ge q u i p m e n tt h a t b r i d g e s t h e i r n e t w o r k t oy o u r E t h e r n e t n e t w o r k .

Putting it all together

F i g u r e N G1 6 : I n t e r n e t n e t w o r k i n g . E a c h n e t w o r k s e g m e n t h a s a r o u t e r w i t h t w o I Pa d d r e s s e s , m a k i n g i t l i n k l o c a l t o t w o d i > e r e n t n e t w o r k s . P a c k e t s a r e f o r w a r d e d b e t w e e nr o u t e r s u n t i l t h e y r e a c h t h e i r u l t i m a t e d e s t i n a t i o n . O n c e a l l n e t w o r kn o d e s h a v e a nI Pa d d r e s s , t h e y c a ns e n dd a t a p a c k e t s t o t h eI Pa d d r e s so fa n yo t h e rn o d e .$ r o u g ht h eu s eo fr o u t i n ga n d f o r w a r d i n g ,t h e s ep a c k e t sc a nr e a c hn o d e so nn e t w o r k st h a ta r en o t p h y s i c a l l y c o n n e c t e dt ot h e o r i g i n a t i n gn o d e . $i s p r o c e s s d e s c r i b e s m u c h o f w h a t h a p p e n s o nt h e I n t e r n e t . I nt h i s e x a m p l e , y o uc a ns e e t h e p a t ht h a t t h e p a c k e t s t a k e a s A l i c e c h a t s w i t hB o b u s i n g a ni n s t a n t m e s s a g i n g s e r v i c e . E a c hd o t t e dl i n e r e p r e s e n t s a nE t h e r n e t c a b l e , a w i r e l e s s l i n k , o r a n y o t h e r k i n do f p h y s i c a l n e t w o r k . $e c l o u ds y m b o l i s c o m m o n l yu s e dt os t a n di nf o r $e I n t e r n e t , a n d r e p r e s e n t s a n y n u m b e r o f i n t e r v e n i n g I Pn e t w o r k s .

6. NETWORKING 121

N e i t h e r A l i c en o rB o bn e e dt ob ec o n c e r n e dw i t hh o wt h o s en e t w o r k s o p e r a t e , a sl o n ga st h er o u t e r sf o r w a r dI Pt r a N ct o w a r d st h eu l t i m a t e d e s t i n a t i o n . I f i t w e r e n t f o r I n t e r n e t p r o t o c o l s a n dt h e c o o p e r a t i o no f e v e r y o n e o nt h e n e t , t h i s k i n do f c o m m u n i c a t i o nw o u l d b e i m p o s s i b l e . I nF i g u r eN G1 6 , A l i c ei s d u a l s t a c ka n dh a s I P v 4a n dI P v 6a d d r e s s e s , a n da s B o bh a s o n l y I P v 6a d d r e s s e s , t h e y w i l l c o m m u n i c a t e b y u s i n g I P v 6 w h i c hi s t h e c o m m o nI Pv e r s i o nb e t w e e nt h e m .

Designing the physical network


I tm a ys e e mo d dt ot a l ka b o u tt h e p h y s i c a l n e t w o r kw h e nb u i l d i n g w i r e l e s s n e t w o r k s . A f t e r a l l , w h e r e i s t h e p h y s i c a l p a r t o f t h e n e t w o r k ? I nw i r e l e s s n e t w o r k s , t h ep h y s i c a lm e d i u m w eu s e f o rc o m m u n i c a t i o n i so b v i o u s l y e l e c t r o m a g n e t i c e n e r g y . B u ti nt h ec o n t e x to ft h i sc h a p t e r , t h ep h y s i c a l n e t w o r kr e f e r st ot h e m u n d a n et o p i co fw h e r et op u tt h i n g s .H o wd oy o ua r r a n g et h e e q u i p m e n t s o t h a t y o u c a nr e a c hy o u r w i r e l e s s c l i e n t s ? Wh e t h e r t h e y 0 l l a no N c e b u i l d i n go r s t r e t c ha c r o s s m a n y m i l e s , w i r e l e s s n e t w o r k sa r en a t u r a l l ya r r a n g e di nt h e s et h r e el o g i c a lc o n 0 g u r a t i o n s : p o i n t t o p o i n tl i n k s ,p o i n t t o m u l t i p o i n tl i n k s ,a n d m u l t i p o i n t t o m u l t i p o i n tc l o u d s .Wh i l ed i 1 e r e n tp a r t so fy o u rn e t w o r kc a nt a k e a d v a n t a g e o f a l l t h r e e o f t h e s e c o n 0 g u r a t i o n s , a n yi n d i v i d u a l l i n kw i l l f a l l i n t o o n e o f t h e s e t o p o l o g i e s . P o i n t t o p o i n t P o i n t t o p o i n t l i n k s t y p i c a l l yp r o v i d e a nI n t e r n e t c o n n e c t i o nw h e r es u c h a c c e s s i s n t o t h e r w i s e a v a i l a b l e . O n e s i d e o f a p o i n t t o p o i n t l i n k w i l l h a v e a nI n t e r n e t c o n n e c t i o n , w h i l e t h e o t h e r u s e s t h e l i n k t o r e a c ht h e I n t e r n e t . F o r e x a m p l e , a u n i v e r s i t y m a y h a v e a f a s t f r a m e r e l a y o r V S A Tc o n n e c t i o n i nt h em i d d l eo f c a m p u s , b u tc a n n o t a 1 o r ds u c hac o n n e c t i o nf o ra n i m p o r t a n tb u i l d i n gj u s to 1c a m p u s .I ft h em a i nb u i l d i n gh a sa n u n o b s t r u c t e dv i e wo f t h e r e m o t e s i t e , a p o i n t t o p o i n t c o n n e c t i o nc a nb e u s e dt ol i n kt h e t w ot o g e t h e r . $i s c a na u g m e n t o r e v e nr e p l a c ee x i s t i n g d i a l u pl i n k s . Wi t hp r o p e r a n t e n n a s a n dc l e a r l i n e o f s i g h t , r e l i a b l e p o i n t t o p o i n t l i n k s i ne x c e s s o f t h i r t y k i l o m e t r e s a r e p o s s i b l e .

122

NETWORKING

F i g u r e N G1 7 : Ap o i n t t o p o i n t l i n k a l l o w s a r e m o t e s i t e t o s h a r e a c e n t r a l I n t e r n e t c o n n e c t i o n . O f c o u r s e , o n c e as i n g l e p o i n t t o p o i n t c o n n e c t i o nh a s b e e nm a d e , m o r e c a nb e u s e dt oe x t e n dt h e n e t w o r ke v e nf u r t h e r . I f t h e r e m o t e b u i l d i n g i n o u re x a m p l ei sa tt h et o po fat a l l h i l l , i tm a yb ea b l et os e eo t h e r i m p o r t a n t l o c a t i o n s t h a t c a n t b e s e e nd i r e c t l y f r o mt h e c e n t r a l c a m p u s . B y i n s t a l l i n g a n o t h e r p o i n t t o p o i n t l i n k a t t h e r e m o t e s i t e , a n o t h e r n o d e c a n j o i nt h e n e t w o r k a n dm a k e u s e o f t h e c e n t r a l I n t e r n e t c o n n e c t i o n . P o i n t t o p o i n tl i n k sd o n tn e c e s s a r i l yh a v et oi n v o l v eI n t e r n e ta c c e s s . S u p p o s ey o uh a v et op h y s i c a l l yd r i v et oar e m o t ew e a t h e rm o n i t o r i n g s t a t i o n , h i g hi nt h e h i l l s , i no r d e r t oc o l l e c t t h e d a t a w h i c hi t r e c o r d s o v e r t i m e . Y o uc o u l dc o n n e c t t h e s i t e w i t ha p o i n t t o p o i n t l i n k , a l l o w i n g d a t a c o l l e c t i o na n dm o n i t o r i n gt oh a p p e ni nr e a l t i m e , w i t h o u t t h en e e dt o a c t u a l l y t r a v e l t o t h e s i t e . Wi r e l e s s n e t w o r k s c a np r o v i d e e n o u g hb a n d w i d t ht oc a r r yl a r g e a m o u n t s o f d a t a ( i n c l u d i n ga u d i oa n dv i d e o ) b e t w e e na n yt w op o i n t s t h a t h a v ea c o n n e c t i o nt oe a c ho t h e r , e v e ni f t h e r ei sn od i r e c tc o n n e c t i o nt ot h e I n t e r n e t . P o i n t t o m u l t i p o i n t $en e x tm o s tc o m m o n l ye n c o u n t e r e dn e t w o r kl a y o u ti sp o i n t t o m u l t i p o i n t .Wh e n e v e rs e v e r a ln o d e sa r et a l k i n gt o ac e n t r a lp o i n to f a c c e s s , t h i s i s a p o i n t t o m u l t i p o i n t a p p l i c a t i o n . $e t y p i c a l e x a m p l e o f a p o i n t t o m u l t i p o i n tl a y o u ti st h eu s eo fa w i r e l e s sa c c e s sp o i n tt h a t p r o v i d e s a c o n n e c t i o nt os e v e r a l l a p t o p s . $e l a p t o p s d o n o t c o m m u n i c a t e w i t he a c ho t h e r d i r e c t l y , b u t m u s t b e i nr a n g e o f t h e a c c e s s p o i n t i no r d e r t o u s e t h e n e t w o r k .

6. NETWORKING 123

F i g u r e N G1 8 : e c e n t r a l V S A Ti s n o ws h a r e d b y m u l t i p l e r e m o t e s i t e s . A l l t h r e e s i t e s c a na l s o c o m m u n i c a t e d i r e c t l y a t s p e e d s m u c h f a s t e r t h a nV S A T . P o i n t t o m u l t i p o i n t n e t w o r k i n gc a na l s oa p p l yt oo u r e a r l i e r e x a m p l ea t t h e u n i v e r s i t y . S u p p o s e t h e r e m o t e b u i l d i n g o nt o po f t h e h i l l i s c o n n e c t e d t o t h e c e n t r a l c a m p u s w i t ha p o i n t t o p o i n t l i n k . R a t h e rt h a ns e t t i n gu ps e v e r a lp o i n t t o p o i n tl i n k st od i s t r i b u t et h e I n t e r n e t c o n n e c t i o n , as i n g l ea n t e n n ac o u l db eu s e dt h a t i s v i s i b l ef r o m s e v e r a l r e m o t eb u i l d i n g s . $i s i s ac l a s s i ce x a m p l eo f aw i d ea r e ap o i n t ( r e m o t es i t eo nt h eh i l l )t om u l t i p o i n t( m a n yb u i l d i n g si nt h ev a l l e y b e l o w ) c o n n e c t i o n . N o t et h a t t h e r e a r e an u m b e r o f p e r f o r m a n c e i s s u e s w i t hu s i n gp o i n t t o m u l t i p o i n t o v e r v e r y l o n g d i s t a n c e , w h i c hw i l l b e a d d r e s s e di nt h e c h a p t e r c a l l e dD e p l o y m e n t P l a n n i n g . S u c hl i n k s a r e p o s s i b l e a n du s e f u l i nm a n y c i r c u m s t a n c e s , b u td o n t m a k et h ec l a s s i cm i s t a k eo f i n s t a l l i n gas i n g l e h i g hp o w e r e dr a d i o t o w e r i nt h e m i d d l e o f t o w na n de x p e c t i n g t ob e a b l e t os e r v e t h o u s a n d s o f c l i e n t s , a s y o uw o u l dw i t ha nF Mr a d i os t a t i o n . A s w e w i l l s e e , t w o w a y d a t a n e t w o r k s b e h a v e v e r y d i 1 e r e n t l y t h a nb r o a d c a s t r a d i o . Mu l t i p o i n t t o m u l t i p o i n t $ et h i r dt y p eo f n e t w o r kl a y o u t i s m u l t i p o i n t t o m u l t i p o i n t , w h i c hi s a l s or e f e r r e dt oa sa na d h o co rm e s hn e t w o r k .I n am u l t i p o i n t t o m u l t i p o i n tn e t w o r k ,t h e r ei sn oc e n t r a la u t h o r i t y .E v e r yn o d eo nt h e n e t w o r kc a r r i e st h et r a N co fe v e r yo t h e ra sn e e d e d ,a n da l ln o d e s c o m m u n i c a t e w i t he a c ho t h e r d i r e c t l y .

124

NETWORKING

o t h e r a t v e r y h i g h s p e e d , o r a n y o f t h e mc a nu s e t h e c e n t r a l a c c e s s p o i n t f o r a V S A Tc o n n e c t i o nt o t h e I n t e r n e t . $e b e n e 0 t o f t h i s n e t w o r kl a y o u t i s t h a t e v e ni f n o n e o f t h e n o d e s a r e i n r a n g eo fac e n t r a l a c c e s sp o i n t , t h e yc a ns t i l lc o m m u n i c a t ew i t he a c h o t h e r . G o o dm e s hn e t w o r ki m p l e m e n t a t i o n s a r es e l f h e a l i n g , w h i c hm e a n s t h a t t h e ya u t o m a t i c a l l yd e t e c tr o u t i n gp r o b l e m sa n d0 xt h e ma sn e e d e d . E x t e n d i n g a m e s h n e t w o r k i s a s s i m p l e a s a d d i n g m o r e n o d e s . I f o n eo f t h en o d e s i nt h e" c l o u d "h a p p e n s t ob ea nI n t e r n e t g a t e w a y , t h e nt h a t c o n n e c t i o nc a nb e s h a r e d a m o n g a l l o f t h e c l i e n t s . S e v e r a l d i s a d v a n t a g e s o f t h i st o p o l o g yi n c l u d ei n c r e a s e dc o m p l e x i t ya n d l o w e r p e r f o r m a n c e . S e c u r i t yi ns u c h an e t w o r ki sa l s o ac o n c e r n , s i n c ee v e r yp a r t i c i p a n t p o t e n t i a l l y c a r r i e s t h e t r a N c o f e v e r y o t h e r . Mu l t i p o i n t t o m u l t i p o i n t n e t w o r k s t e n dt ob ed i N c u l tt ot r o u b l e s h o o t , d u e t ot h e l a r g e n u m b e r o f c h a n g i n g v a r i a b l e s a s n o d e s j o i na n dl e a v e t h e n e t w o r k . Mu l t i p o i n t t o m u l t i p o i n t c l o u d s t y p i c a l l y h a v e r e d u c e d c a p a c i t y c o m p a r e d t op o i n t t o p o i n t o r p o i n t t o m u l t i p o i n t n e t w o r k s , d u et ot h e a d d i t i o n a l o v e r h e a do f m a n a g i n gt h en e t w o r kr o u t i n ga n di n c r e a s e dc o n t e n t i o ni n t h e r a d i o s p e c t r u m . N e v e r t h e l e s s , m e s h n e t w o r k s a r e u s e f u l i nm a n y c i r c u m s t a n c e s . F o rm o r ei n f o r m a t i o na b o u t t h e mp l e a s er e a dt h ec h a p t e rc a l l e dMe s h N e t w o r k i n g .

6. NETWORKING 125

U s e t h e t e c h n o l o g y t h a t 0 t s A l l o f t h e s e n e t w o r kd e s i g n s c a nb eu s e dt oc o m p l e m e n t e a c ho t h e r i na l a r g en e t w o r k , a n da d d i t i o n a l l yt h e yc a nm a k eu s eo f t r a d i t i o n a l w i r e d n e t w o r k i n g t e c h n i q u e s w h e n e v e r p o s s i b l e . Wi r e dn e t w o r k s s t i l l o f t e nh a v e h i g h e rb a n d w i d t hc a p a c i t yt h a nw i r e l e s ss os h o u l db eu s e dw h e n e v e r a p p r o p r i a t e o r a 1 o r d a b l e . B u t l o o k i n g a t t h e w i r e l e s s , i t i s a c o m m o np r a c t i c e , f o r e x a m p l e , t ou s e a l o n gd i s t a n c e w i r e l e s s l i n kt op r o v i d e I n t e r n e t a c c e s s t oa r e m o t e l o c a t i o n , a n dt h e ns e tu pa na c c e s sp o i n to nt h er e m o t es i d et op r o v i d el o c a l w i r e l e s s a c c e s s . O n eo f t h ec l i e n t s o f t h i s a c c e s s p o i n t m a ya l s oa c t a s a m e s hn o d e , a l l o w i n gt h en e t w o r kt os p r e a do r g a n i c a l l yb e t w e e nl a p t o p u s e r s w h oa l l u l t i m a t e l yu s e t h e o r i g i n a l p o i n t t o p o i n t l i n kt oa c c e s s t h e I n t e r n e t . $i si sj u s to n ec o m m o ns c e n a r i of o rw i r e l e s sd e p l o y m e n t s , t h e r ea r e m a n y o t h e r s . N o wt h a t w eh a v eac l e a ri d e ao fh o ww i r e l e s sn e t w o r k sa r et y p i c a l l y a r r a n g e d , w e c a nb e g i nt ou n d e r s t a n dh o wc o m m u n i c a t i o ni s p o s s i b l e o v e r s u c hn e t w o r k s .

126

NETWORKING

7. WIFI FAMILY
IEEE 802: What is it, and why should I care?
$ ee a r l yd a y so f n e t w o r k i n go n l ys a ww i r e l i n en e t w o r k s ( i f y o ud o n ' t c o u n t t h eo l dA T &T L o n gl i n e s m i c r o w a v eb a c k b o n et h a t a t o n et i m e c r o s s e dt h eU n i t e dS t a t e s )N o wm a n yn e t w o r k sa r eb u i l tu s i n gb o t h w i r e l i n e a n dw i r e l e s s s o l u t i o n s . T y p i c a l l y n e t w o r k s b a s e do nw i r e s o r m o r e u s u a l l y t h e s e d a y s , 0 b r e s h a v e g r e a t e r c a p a c i t y t h a nw i r e l e s s . B u t l a y i n g 0 b r e i s m u c hm o r e e x p e n s i v e a n dt a k e s t i m e . S o o f t e nn e t w o r k s b e g i na s w i r e l e s s n e t w o r k s a n da s t h e yg r o wi nu s e , 0 b r eb a s e dn e t w o r k s s t a r t t ob e d e p l o y e d . I na c c e s s n e t w o r k s ( t h o s e n e a r t h e c o n s u m e r s ) o r i n d e n s eu r b a ne n v i r o n m e n t s , o f t e nw i r e l e s s i s m o r ep r a c t i c a l t o o . S ov e r y i m p o r t a n t l ya s y o ub e g i nt ot h i n ka b o u t d e p l o y i n gw i r e l e s s n e t w o r k s i n y o u r l o c a l a r e a o r c o m m u n i t y , y o u r n e t w o r kc o u l df o r mt h e b a s i s o f t h e f u t u r e g r o w t ho f n e t w o r k i n g i ny o u r r e g i o n . A na s p e c t o f w i r e da n dw i r e l e s s n e t w o r k s i m p o r t a n t t ou n d e r s t a n di s t h e v a r i o u s s t a n d a r d s t h a t e x i s t t o d a ya s w e l l a s t h o s e n e ws t a n d a r d s t h a t a r e b e i n gd e v e l o p e d .Wi r e l e s ss t a n d a r d sa r et h eb a s i sf o rm a n yw i r e l e s s p r o d u c t s , e n s u r i n gi n t e r o p e r a b i l i t ya n du s e a b i l i t yb yt h o s ew h od e s i g n , d e p l o y a n dm a n a g e w i r e l e s s n e t w o r k s . We t o u c h e do nt h i s s u b j e c t a l r e a d y i nt h ec h a p t e rc a l l e dR a d i oS p e c t r u m. $eS t a n d a r d su s e di nt h ev a s t m a j o r i t yo ft h en e t w o r k sc o m ef r o mt h eI E E ES t a n d a r dA s s o c i a t i o n ' s I E E E8 0 2 Wo r k i n g G r o u p . I E E E8 0 2 r e f e r s t oa f a m i l y o f I E E Es t a n d a r d s d e a l i n g w i t hl o c a l a r e a n e t w o r k s a n dm e t r o p o l i t a na r e a n e t w o r k s . Mo r es p e c i 0 c a l l y ,t h eI E E E8 0 2s t a n d a r d sa r er e s t r i c t e dt on e t w o r k s c a r r y i n gv a r i a b l e s i z e p a c k e t s . ( B yc o n t r a s t , i nc e l l r e l a yn e t w o r k s d a t a i s t r a n s m i t t e di ns h o r t , u n i f o r m l ys i z e du n i t s c a l l e dc e l l s ) . $e n u m b e r 8 0 2 w a ss i m p l yt h en e x tf r e en u m b e rI E E Ec o u l da s s i g n , t h o u g h 8 0 2 i s s o m e t i m e s a s s o c i a t e dw i t ht h e d a t e t h e 0 r s t m e e t i n g w a s h e l d F e b r u a r y 1 9 8 0 . $e s e r v i c e s a n dp r o t o c o l s s p e c i 0 e di nI E E E8 0 2m a pt ot h e l o w e r t w ol a y e r s ( D a t aL i n ka n dP h y s i c a l ) o f t h es e v e n l a y e r O S I n e t w o r k i n g r e f e r e n c em o d e l . I nf a c t , I E E E8 0 2s p l i t s t h eO S I D a t aL i n kL a y e r i n t o t w os u b l a y e r sn a m e dL o g i c a l L i n kC o n t r o l ( L L C )a n d Me d i aA c c e s s C o n t r o l ( MA C ) .

7. WIFI FAMILY

127

$ eI E E E8 0 2f a m i l yo fs t a n d a r d si sm a i n t a i n e db yt h eI E E E8 0 2 L A N / MA NS t a n d a r d s C o mm i t t e e ( L MS C ) . $ emo s tw i d e l yu s e ds t a n d a r d sa r ef o rt h eE t h e r n e tf a mi l y , T o k e n R i n g , Wi r e l e s s L A N, B r i d g i n g a n dV i r t u a l B r i d g e dL A Ns . A ni n d i v i d u a l Wo r k i n g g r o u pp r o v i d e s t h e f o c u s f o r e a c ha r e a a n dt h e y a r e l i s t e di nt h e t a b l e b e l o w .
Name IEEE 802.1 IEEE 802.3 IEEE 802.11 a/b/g/n IEEE 802.15 IEEE 802.15.1 IEEE 802.15.2 IEEE 802.15.3 IEEE 802.15.4 IEEE 802.15.5 IEEE 802.15.6 IEEE 802.16 IEEE 802.16.1 IEEE 802.18 IEEE 802.19 IEEE 802.20 IEEE 802.21 IEEE 802.22 IEEE 802.23 IEEE 802.24 IEEE 802.25 Description Bridging and Network Management Ethernet Wireless LAN (WLAN) Wireless PAN Bluetooth certi5cation IEEE 802.15 and IEEE 802.11 coexistence High-Rate wireless PAN Low-Rate wireless PAN eg. Zigbee Mesh networking for WPAN Body Area Network Broadband Wireless Access (basis of WiMAX ) Local Multipoint Distribution Service Radio Regulatory TAG Coexistence TAG Mobile Broadband Wireless Access Media Independent Handoff Wireless Regional Area Network Emergency Services Working Group Smart Grid TAG Omni-Range Area Network

128

NETWORKING

The 802.11 standard


$e s t a n d a r dw e a r e m o s t i n t e r e s t e di ni s 8 0 2 . 1 1 a s i t d e 0 n e s t h e p r o t o c o l f o r Wi r e l e s s L A N . $e 8 0 2 . 1 1A m e n d m e n t s a r e s on u m e r o u s t h e y h a v e i nt h e l a s t f e wy e a r s s t a r t e du s i n g 2 l e t t e r s i n s t e a do f 1 . ( 8 0 2 . 1 1 z t h e D L Sa m e n d m e n t g a v e w a y t o 8 0 2 . 1 1 a a , a b , a c . . . , e t c ) B e l o wi sa t a b l eo ft h ev a r i a n t so f8 0 2 . 1 1 ,t h e i rf r e q u e n c i e sa n d a p p r o x i m a t e r a n g e s .
802.11 protocol a b g n Oct 2009 2.4/5 40 ac Nov.2011 5 20 40 80 160 Release Freq. Bandwi Data Rate dth stream (Mbit/s) 1, 2 20 20 20 20 20 per Approximate indoor range (m) 20 (ft) 66 115 115 125 230 Approximate outdoor range (m) 100 120 140 140 250 (ft) 330 390 460 460 820

(GHz) (MHz) Jun 1997 2.4

Sep 1999 5 Sep 1999 2.4 Jun 2003 2.4

6,9,12, 18, 24, 35 36, 48, 54 1, 2, 5.5, 11 35 6,9,12, 18, 24, 38 36, 48, 54 7.2, 14.4, 21.7, 70 28.9, 43.3, 57.8, 65, 72.2 15, 30, 45, 60 , 90, 120, 135, 150 Up to 87.6 Up to 200 Up to 433.3 Up to 866.7

I n2 0 1 2I E E Ei s s u e dt h e 8 0 2 . 1 1 2 0 1 2S t a n d a r dt h a t c o n s o l i d a t e s a l l t h e p r e v i o u s a m e n d m e n t s . $e d o c u m e n t i s f r e e l y d o w n l o a d a b l e f r o m : h t t p : / / s t a n d a r d s . i e e e . o r g / 0 n d s t d s / s t a n d a r d / 8 0 2 . 1 1 2 0 1 2 . h t m l

7. WIFI FAMILY

129

Deployment planning for 802.11 wireless networks


B e f o r ep a c k e t s c a nb ef o r w a r d e da n dr o u t e dt ot h eI n t e r n e t , l a y e r s o n e ( t h e p h y s i c a l ) a n dt w o ( t h e d a t a l i n k ) n e e dt ob e c o n n e c t e d . Wi t h o u t l i n k l o c a l c o n n e c t i v i t y , n e t w o r kn o d e sc a n n o tt a l kt oe a c ho t h e ra n dr o u t e p a c k e t s . T op r o v i d e p h y s i c a l c o n n e c t i v i t y , w i r e l e s s n e t w o r kd e v i c e s m u s t o p e r a t e i n t h e s a m e p a r t o f t h e r a d i o s p e c t r u m . $i s m e a n s t h a t 8 0 2 . 1 1 a r a d i o s w i l l t a l kt o8 0 2 . 1 1 ar a d i o s a t a r o u n d5 G Hz , a n d8 0 2 . 1 1 b / g r a d i o s w i l l t a l kt oo t h e r 8 0 2 . 1 1 b / g r a d i o s a t a r o u n d 2 . 4 G Hz . B u ta n8 0 2 . 1 1 ad e v i c ec a n n o ti n t e r o p e r a t ew i t ha n8 0 2 . 1 1 b / gd e v i c e , s i n c e t h e y u s e c o m p l e t e l y d i 1 e r e n t p a r t s o f t h e e l e c t r o m a g n e t i c s p e c t r u m . Mo r e s p e c i 0 c a l l y , w i r e l e s s i n t e r f a c e s m u s t a g r e e o nac o m m o nc h a n n e l . I f o n e 8 0 2 . 1 1 br a d i oc a r di s s e t t oc h a n n e l 2w h i l e a n o t h e r i s s e t t o c h a n n e l 1 1 , t h e nt h e r a d i o s c a n n o t c o m m u n i c a t e w i t he a c ho t h e r . $e c e n t r e f r e q u e n c i e s o f e a c hc h a n n e l f o r 8 0 2 . 1 1 a a n d8 0 2 b / ga r e g i v e n i nA p p e n d i x B : C h a n n e l A l l o c a t i o n s . Wh e nt w ow i r e l e s s i n t e r f a c e s a r e c o n 0 g u r e dt ou s e t h e s a m e p r o t o c o l o n t h es a m er a d i oc h a n n e l , t h e nt h e ya r er e a d yt on e g o t i a t ed a t al i n kl a y e r c o n n e c t i v i t y . E a c h8 0 2 . 1 1 a / b / g d e v i c e c a no p e r a t e i no n e o f f o u r p o s s i b l e m o d e s : 1 . Ma s t e rm o d e( a l s oc a l l e dA Po ri n f r a s t r u c t u r em o d e )i su s e dt o c r e a t e a s e r v i c e t h a t l o o k s l i k e a t r a d i t i o n a l a c c e s s p o i n t . $e w i r e l e s s i n t e r f a c e c r e a t e s an e t w o r kw i t has p e c i 0 e dn a m e ( c a l l e dt h e S S I D ) a n dc h a n n e l , a n do 1 e r sn e t w o r ks e r v i c e so ni t . Wh i l ei nm a s t e r m o d e , w i r e l e s s i n t e r f a c e s m a n a g e a l l c o m m u n i c a t i o n s r e l a t e dt ot h e n e t w o r k ( a u t h e n t i c a t i n g w i r e l e s s c l i e n t s , h a n d l i n g c h a n n e l c o n t e n t i o n ,r e p e a t i n gp a c k e t s ,e t c . )Wi r e l e s si n t e r f a c e si nm a s t e r m o d e c a no n l y c o m m u n i c a t e w i t hi n t e r f a c e s t h a t a r e a s s o c i a t e dw i t h t h e mi nm a n a g e dm o d e . 2 . Ma n a g e dm o d ei ss o m e t i m e sa l s or e f e r r e dt oa sc l i e n tm o d e . Wi r e l e s s i n t e r f a c e s i nm a n a g e dm o d e w i l l j o i na n e t w o r kc r e a t e db y a m a s t e r , a n dw i l l a u t o m a t i c a l l yc h a n g et h e i r c h a n n e l t om a t c hi t . $e yt h e np r e s e n t a n yn e c e s s a r yc r e d e n t i a l st ot h em a s t e r , a n di f t h o s e c r e d e n t i a l s a r e a c c e p t e d , t h e y a r e s a i dt ob e a s s o c i a t e dw i t ht h e m a s t e r . Ma n a g e dm o d ei n t e r f a c e sd on o t c o m m u n i c a t ew i t he a c h o t h e r d i r e c t l y , a n dw i l l o n l y c o m m u n i c a t e w i t ha na s s o c i a t e dm a s t e r .

130

NETWORKING

3 .A d h o cm o d ec r e a t e sam u l t i p o i n t t o m u l t i p o i n tn e t w o r kw h e r e t h e r e i s n os i n g l e m a s t e r n o d e o r A P . I na d h o c m o d e , e a c hw i r e l e s s i n t e r f a c e c o m m u n i c a t e s d i r e c t l y w i t hi t s n e i g h b o u r s . N o d e s m u s t b ei nr a n g eo f e a c ho t h e r t oc o m m u n i c a t e , a n dm u s t a g r e eo na n e t w o r kn a m ea n dc h a n n e l . A d h o cm o d ei s o f t e na l s o c a l l e dMe s hN e t w o r k i n ga n dy o uc a n0 n dd e t a i l s o f t h i st y p eo f n e t w o r k i n g i n t h e c h a p t e r c a l l e d Me s hN e t w o r k i n g . 4 . Mo n i t o r m o d ei s u s e db ys o m e t o o l s ( s u c ha s K i s m e t ) t op a s s i v e l y l i s t e nt o a l l r a d i o t r a N c o na g i v e nc h a n n e l . Wh e ni nm o n i t o r m o d e , w i r e l e s si n t e r f a c e st r a n s m i tn od a t a .$i si su s e f u lf o ra n a l y s i n g p r o b l e m s o na w i r e l e s s l i n k o r o b s e r v i n g s p e c t r u mu s a g e i nt h e l o c a l a r e a . Mo n i t o r m o d e i s n o t u s e df o r n o r m a l c o m m u n i c a t i o n s .

F i g u r e WF1 : A P s , C l i e n t s , a n d A d H o c n o d e s . Wh e ni m p l e m e n t i n gap o i n t t o p o i n to rp o i n t t o m u l t i p o i n tl i n k , o n e r a d i ow i l l t y p i c a l l yo p e r a t ei nm a s t e r m o d e , w h i l e t h e o t h e r ( s ) o p e r a t e i n m a n a g e dm o d e .I n am u l t i p o i n t t o m u l t i p o i n tm e s h ,t h er a d i o sa l l o p e r a t ei na d h o cm o d es ot h a t t h e yc a nc o m m u n i c a t ew i t he a c ho t h e r d i r e c t l y . I ti si m p o r t a n tt ok e e pt h e s em o d e si nm i n dw h e nd e s i g n i n gy o u r n e t w o r k l a y o u t .

7. WIFI FAMILY

131

R e m e m b e rt h a t m a n a g e dm o d ec l i e n t sc a n n o t c o m m u n i c a t ew i t he a c h o t h e r d i r e c t l y , s oi t i s l i k e l yt h a t y o uw i l l w a n t t or u na h i g hr e p e a t e r s i t e i nm a s t e r o r a d h o c m o d e . A d h o ci sm o r eW e x i b l eb u th a san u m b e ro fp e r f o r m a n c ei s s u e sa s c o m p a r e dt o u s i n g t h e m a s t e r / m a n a g e d m o d e s .

The 802.22 Standard


D i dy o ue v e r w o n d e r w h y o n e o f t h e b i g g e s t u s e r s o f w i r e l e s s s p e c t r u mi n a l m o s t a n yc o u n t r yo ne a r t h , n e v e r g o t i n t ot h e2w a yc o m m u n i c a t i o n s b u s i n e s s ? N o ? We l l , y o ua s k , w h yd i dt h eT e l e v i s i o nB r o a d c a s t I n d u s t r y n e v e r w a n t t o d o t w o w a y c o m m u n i c a t i o n s . $e s i m p l e a n s w e r i s t h a t t h i s w a s n o t t h e b u s i n e s s t h e y w e r e i n . Wh a t t h e y d i di n s t e a dw a s g e t a c c e s s t oa n du s e o f t h e b e s t " b e a c hf r o n t " s p e c t r u mb e t w e e nD Ca n dd a y l i g h t . . a n da l m o s t f o r f r e e t o b o o t . A s a n a l o g u eT Vg e t s r e p l a c e db yd i g i t a l T V , s o m eo f t h a t b e a c hf r o n t s p e c t r u mi s b e i n g m a d e a v a i l a b l e f o r w i r e l e s s n e t w o r k i n g . A n di np a r t s o f t h e w o r l dw h e r eT Vh a s b e e nd e p l o y e dl e s s e x t e n s i v e l y , t h e s e s a m e p a r t s o f t h e r a d i o s p e c t r u ma r e a v a i l a b l e f o r w i r e l e s s n e t w o r k i n g a s w e l l . $ en e ww i r e l e s st e c h n o l o g yi sc o m m o n l yc a l l e dT V WS ( T V Wh i t e S p a c e s ) a n da l t h o u g hr e l a t i v e l y n e wa t t h e t i m e o f w r i t i n g , t h i s t e c h n o l o g y i s i nm a n y t r i a l s f o r r u r a l b r o a d b a n dw i r e l e s s . F r o mw i k i p e d i a I E E E8 0 2 . 2 2 , k n o w ni n f o r m a l l y a s S u p e r Wi F i , i s a s t a n d a r df o r Wi r e l e s s R e g i o n a l A r e a N e t w o r k s ( WR A N ) u s i n g w h i t e s p a c e s i nt h e T Vf r e q u e n c y s p e c t r u m . $e d e v e l o p m e n t o f t h e I E E E8 0 2 . 2 2WR A Ns t a n d a r di s a i m e da t u s i n g c o g n i t i v e r a d i o( C R ) t e c h n i q u e s t oa l l o ws h a r i n go f g e o g r a p h i c a l l yu n u s e d s p e c t r u m a l l o c a t e dt ot h eT e l e v i s i o nB r o a d c a s tS e r v i c e ,o n an o n i n t e r f e r i n gb a s i s ,t ob r i n gb r o a d b a n da c c e s st oh a r d t o r e a c h ,l o w p o p u l a t i o nd e n s i t ya r e a s , t y p i c a l o f r u r a l e n v i r o n m e n t s , a n di s t h e r e f o r e t i m e l y a n dh a s t h e p o t e n t i a l f o r a w i d e a p p l i c a b i l i t y w o r l d w i d e . I E E E8 0 2 . 2 2WR A N s a r e d e s i g n e dt oo p e r a t e i nt h e T Vb r o a d c a s t b a n d s w h i l ea s s u r i n gt h a t n oh a r m f u l i n t e r f e r e n c ei s c a u s e dt ot h ei n c u m b e n t o p e r a t i o n , i . e . , d i g i t a l T Va n da n a l o gT Vb r o a d c a s t i n g , a n dl o wp o w e r l i c e n s e dd e v i c e s s u c ha sw i r e l e s sm i c r o p h o n e s . $ es t a n d a r dw a s0 n a l l y p u b l i s h e di nJ u l y 2 0 1 1 .

132

NETWORKING

T e c h n o l o g y o f 8 0 2 . 2 2o r T V WS $e i n i t i a l d r a f t s o f t h e 8 0 2 . 2 2s t a n d a r ds p e c i f yt h a t t h e n e t w o r ks h o u l d o p e r a t ei n ap o i n tt om u l t i p o i n tt o p o l o g y( p 2 m ) .$ es y s t e mw i l l b e f o r m e db yB a s eS t a t i o n s ( B S ) a n dC u s t o m e r P r e m i s e E q u i p m e n t ( C P E ) . $e C P E s w i l l b e a t t a c h e dt o a B S v i a a w i r e l e s s l i n k . O n e k e yf e a t u r eo f t h e 8 0 2 . 2 2WR A NB a s eS t a t i o n s i s t h a t t h e yw i l l b e c a p a b l e o f p e r f o r m i n g s e n s i n g o f a v a i l a b l e s p e c t r u m . $e I n s t i t u t e o f E l e c t r i c a l a n dE l e c t r o n i c E n g i n e e r s ( I E E E ) , t o g e t h e r w i t h t h e F C C , i nt h e U S , p u r s u e d a c e n t r a l i s e da p p r o a c hf o r a v a i l a b l e s p e c t r u m d i s c o v e r y . S p e c i 0 c a l l ye a c hB a s eS t a t i o n( B S ) w o u l db ea r m e dw i t haG P Sr e c e i v e r w h i c hw o u l d a l l o wi t s p o s i t i o nt o b e r e p o r t e d . $i s i n f o r m a t i o nw o u l db es e n t b a c kt oc e n t r a l i s e ds e r v e r s w h i c hw o u l d r e s p o n dw i t ht h e i n f o r m a t i o na b o u t a v a i l a b l e f r e e T Vc h a n n e l s a n dg u a r d b a n d s i nt h e a r e a o f t h e B a s e S t a t i o n . O t h e r p r o p o s a l s w o u l da l l o wl o c a l s p e c t r u ms e n s i n go n l y , w h e r et h eB S w o u l dd e c i d eb yi t s e l f w h i c hc h a n n e l s a r ea v a i l a b l ef o r c o m m u n i c a t i o n . $i s i s c a l l e dd i s t r i b u t e d s e n s i n g . $ eC P E s w i l l b es e n s i n gt h es p e c t r u ma n ds e n d i n gp e r i o d i cr e p o r t s t o t h e B Si n f o r m i n g i t a b o u t w h a t t h e y s e n s e . $e B S , w i t ht h e i n f o r m a t i o n g a t h e r e d , w i l l e v a l u a t e w h e t h e r a c h a n g e i s n e c e s s a r y i nt h e c h a n n e l u s e d , o r o nt h e c o n t r a r y , i f i t s h o u l ds t a y t r a n s m i t t i n g a n dr e c e i v i n g i nt h e s a m e o n e . Ac o m b i n a t i o no f t h e s e t w o a p p r o a c h e s i s a l s o e n v i s i o n e d . $e s es e n s i n gm e c h a n i s m sa r ep r i m a r i l yu s e dt oi d e n t i f yi f t h e r ei sa n i n c u m b e n t t r a n s m i t t i n g , a n di f t h e r e i s a n e e dt oa v o i di n t e r f e r i n g w i t h i t . $i sm e a n st h a t t h ep h y s i c a l l a y e rm u s tb ea b l et oa d a p tt od i 1 e r e n t c o n d i t i o n s a n db eW e x i b l ei nj u m p i n gf r o mc h a n n e l t oc h a n n e l w i t h o u t e r r o r s i nt r a n s m i s s i o no r l o s i n g c l i e n t s ( C P E s ) . $i s W e x i b i l i t yi s a l s or e q u i r e df o r d y n a m i c a l l ya d j u s t i n gt h eb a n d w i d t h , m o d u l a t i o na n d c o d i n g s c h e m e s . OF D MA( O r t h o g o n a l F r e q u e n c y D i v i s i o n Mu l t i p l eA c c e s s )i st h em o d u l a t i o ns c h e m ef o rt r a n s m i s s i o ni nu pa n d d o w n l i n k s .Wi t hO F D MA i tw i l lb ep o s s i b l et oa c h i e v et h i sf a s t a d a p t a t i o nn e e d e df o r t h e B S s a n dC P E s .

7. WIFI FAMILY

133

B y u s i n g j u s t o n e T Vc h a n n e l ( a T Vc h a n n e l h a s a b a n d w i d t ho f 6 MHz , i ns o m e c o u n t r i e s t h e y c a nb e 7 o r 8 MHz ) t h e a p p r o x i m a t e m a x i m u mb i t r a t e i s 1 9 Mb i t / s a t a 3 0 k md i s t a n c e . $e s p e e da n dd i s t a n c e a c h i e v e di s n o t e n o u g ht of u l 0 l l t h e r e q u i r e m e n t s o f t h e s t a n d a r d . $e r e i s a f e a t u r e c a l l e dC h a n n e l B o n d i n g w h i c hd e a l s w i t ht h i s p r o b l e m . C h a n n e l B o n d i n gu s e s m o r e t h a no n ec h a n n e l f o r t r a n s m i t / r e c e i v e . $i s a l l o w s t h e s y s t e mt oh a v eh i g h e r b a n d w i d t hw h i c hw i l l b er e W e c t e di na b e t t e r s y s t e mp e r f o r m a n c e .

Summary
A sw ec a ns e et h es t a n d a r d sf o rw i r e l i n ea n dw i r e l e s sa r em o s t l y i n c o r p o r a t e d i n t o t h e I E E E8 0 2 Wo r k i n g G r o u p . A t t h e m o m e n t t h e 8 0 2 . 1 1f a m i l yo f Wi F i s t a n d a r d s a n de q u i p m e n t a r e b yf a r a n da w a yt h em o s t w i d e l ym a n u f a c t u r e da n dd e p l o y e di ni n d o o r a n do u t d o o r w i r e l e s s l i n k s . $e c h a p t e rc a l l e d Ha r d w a r eS e l e c t i o na n dC o n 0 g u r a t i o nl o o k sa t e q u i p m e n t i nm u c hm o r e d e t a i l . $e n e w8 0 2 . 2 2S t a n d a r di s e x p e c t e dt op l a ya ni n c r e a s i n gr o l e i nm a n y r u r a l( a n du r b a n )w i r e l e s sn e t w o r k s .$ e f r e e i n gu po fu n l i c e n s e d s p e c t r u mc u r r e n t l yu s e db yb r o a d c a s t T Vw i l l e n a b l e t h i s t oh a p p e n . A s y e t t h e s t a n d a r d s a n dt h e v a r i o u s g r o u p s i n v o l v e di nt h i s s t a n d a r da r e i n t h e i r i n f a n c y , a s a r e t h e b o d i e s a r o u n dt h e w o r l di n v o l v e di ns p e c t r u mr e a l l o c a t i o n . A v a i l a b l ee q u i p m e n t i s s t i l l v e r yn e wa n dd e p l o y m e n t s a r e f e w a n df a rb e t w e e n . I nt h en e x t2 3y e a r si ti sa n t i c i p a t e dt h a t t h i sw i l l c h a n g e s i g n i 0 c a n t l y a n dt h e n e x t r e v i s i o no f t h i s b o o km a y w e l l h a v e c a s e s t u d i e s a n dd e p l o y m e n t i n f o r m a t i o nt os h a r e w i t hr e s p e c t t o8 0 2 . 2 2 b a s e d n e t w o r k s . Me a n w h i l e t h e r e i s a ni n t e r e s t i n g p r o j e c t u n d e r w a yi nS c o t l a n d , U n i t e dK i n g d o mw h i c hi s d e p l o y i n g T V WS8 0 2 . 2 2 n e t w o r k s . Y o uc a nr e a dm o r e a b o u t t h e p r o j e c t h e r e : h t t p : / / w w w . w i r e l e s s w h i t e s p a c e . o r g / p r o j e c t s . a s p x

134

NETWORKING

8. MESH NETWORKING
Introduction
Me s hn e t w o r k s a r e b a s e do nm u l t i p o i n t t o m u l t i p o i n t ( m 2 m ) n e t w o r k i n g . I nt h en o m e n c l a t u r eo f I E E E8 0 2 . 1 1 , m 2 mn e t w o r k i n gi s r e f e r r e dt oa s ' a d h o c ' o r ' I B S S ' m o d e . Mo s t w i r e l e s s n e t w o r k s t o d a y a r e b a s e do np o i n t t o p o i n t ( p 2 p ) o r p o i n t t o m u l t i p o i n t ( p 2 m ) c o m m u n i c a t i o n .

F i g u r e MN1 : Am e t r o p o l i t a na r e a m e s h n e t w o r k , p r o v i d i n g l o c a l c o n n e c t i v i t y a n d I n t e r n e t a c c e s s v i a m u l t i p l e I n t e r n e t g a t e w a y s At y p i c a lw i r e l e s sh o t s p o to p e r a t e si np 2 m i n f r a s t r u c t u r em o d e-i t c o n s i s t so fa na c c e s sp o i n t( w i t h ar a d i oo p e r a t i n gi nm a s t e rm o d e ) , a t t a c h e dt o a D S Ll i n e o r o t h e r l a r g e s c a l e w i r e dn e t w o r k . I nah o t s p o t t h e a c c e s s p o i n t a c t s a s am a s t e r s t a t i o nt h a t i s d i s t r i b u t i n g I n t e r n e t a c c e s s t o i t s c l i e n t s .

8. MESH NETWORKING

135

$i s h u b a n d s p o k et o p o l o g yi s a l s ot y p i c a l l yu s e df o r t h e m o b i l ep h o n e ( 2 Go r 3 G ) s e r v i c e . Mo b i l e p h o n e s c o n n e c t t oa b a s e s t a t i o np 2 mw i t h o u t t h e p r e s e n c e o f a b a s e s t a t i o nm o b i l e s c a n ' t c o m m u n i c a t e w i t he a c ho t h e r . I f y o um a k e a j o k e c a l l t oa f r i e n dt h a t i s s i t t i n go nt h e o t h e r s i d e o f t h e t a b l e , y o u r p h o n e s e n d s d a t a t ot h e b a s e s t a t i o no f y o u r p r o v i d e r t h a t m a y b eam i l ea w a yt h e b a s es t a t i o nt h e ns e n d s d a t ab a c kt ot h ep h o n eo f y o u r f r i e n d . I n ar e m o t ea r e aw i t h o u tb a s es t a t i o n saG S M p h o n ei su s e l e s sa sa c o m m u n i c a t i o nd e v i c e , s i m p l y b e c a u s e G S Mr a d i o s a r e d e s i g n e di ns u c ha w a y t h a t t h e y c a nn o t c o m m u n i c a t e d i r e c t l y w i t he a c ho t h e r . $i si s u n l i k ea n a l o gr a d i os e t s t h a t c a nc o m m u n i c a t em 2 mw i t he a c h o t h e r a s l o n g a s t h e y a r e w i t h i nr a n g e . Wi r e l e s s r a d i oi s b yd e f a u l t ab r o a d c a s t m e d i u m , a n da n ys t a t i o nw h i c h c a nt r a n s m i t a n dr e c e i v e c o u l dc o m m u n i c a t e m 2 m . Wi t hr e g a r d st ot h et e c h n o l o g i c a lc h a l l e n g e ,i m p l e m e n t i n gm 2 m n e t w o r k i n g i s m u c hm o r e d e m a n d i n g t h e np 2 ma n dp 2 p . S t r a t e g i e s t o i m p l e m e n t c h a n n e l a c c e s s c o o r d i n a t i o na r e m o r e c o m p l e x , f o r e x a m p l e , t h e r e i s n o c e n t r a l a u t h o r i t y t oa s s i g nt r a n s m i t t i m e s l o t s . B e c a u s e t h e r ei s n oc e n t r a l m a n a g e m e n t , m 2 ms t a t i o n s n e e dt om u t a l l y a g r e e o nc e l l c o o r d i n a t i o np a r a m e t e r s s u c ha s t h e MA Cl i k e c e l l i do f t h e w i r e l e s s c e l l . $e f a c t t h a t 8 0 2 . 1 1 n a m e s t h e m 2 mm o d e o f Wi F i " a d h o c " s u g g e s t s t h a t t h e I E E Eb o a r dt h o u g h t o f a m 2 mn e t w o r ka s a s p o n t a n e o u s , p r o v i s i o n a l , s u b o p t i m a l s o l u t i o n . Mu l t i p o i n t t o m u l t i p o i n tc o m m u n i c a t i o ni sa c t u a l l ym o r ev e r s a t i l ea n d c a nb em u c hm o r ee N c i e n t t h a np o i n t t o p o i n t o rp o i n t t o m u l t i p o i n t c o m m u n i c a t i o n : m 2 m c o m m u n i c a t i o n i n c l u d e s t h e a b i l i t y t o c o m m u n i c a t ep 2 pa n dp 2 m , b e c a u s ep 2 pa n dp 2 ma r ej u s ts u b s e t so f m 2 m .

136

NETWORKING

An e t w o r kc o n s i s t i n g o f j u s t t w o m u l t i p o i n t t o m u l t i p o i n t c a p a b l e d e v i c e s s i m p l y c o m m u n i c a t e s p 2 p : A--B An e t w o r k o f t h r e e m e s h c a p a b l e d e v i c e s A , B , Cc a nf o r ma t o p o l o g y l i k e t h i s , f o r e x a m p l e : A--B--C H e r e Ac a nc o m m u n i c a t e o n l y w i t hB . Cc a no n l y c o m m u n i c a t e w i t hB , w h i l eBc a nc o m m u n i c a t ew i t hA a n dC . Ba c t u a l l yd o e s c o m m u n i c a t e p 2 m . Wi t h o u t r o u t i n g , Aa n dCc a nn o t c o m m u n i c a t e w i t he a c ho t h e r i n 8 0 2 . 1 1 a d h o c m o d e . B ya d d i n gar o u t i n gp r o t o c o l Ac a na u t o m a t i c a l l yl e a r nt h a t b e h i n dB t h e r e i s Ca n dv i c e v e r s a , a n dt h a t Bc a nb e u t i l i s e da s a c o m m u n i c a t i o n r e l a y s oa l l n o d e s c a n c o m m u n i c a t e w i t he a c ho t h e r . I nt h i s c a s e Bw i l l a c t s i m i l a r l yt oa na c c e s s p o i n t i n8 0 2 . 1 1i n f r a s t r u c t u r em o d e . Wi F i c a r d s c o n 0 g u r e da s i n f r a s t r u c t u r ec l i e n t sc a n ' tc o m m u n i c a t ed i r e c t l y , s ot h e y w o u l d a l w a y s n e e dt h e a c c e s s p o i n t Ba s a r e l a y . I f t h e t h r e e d e v i c e s m o v e a r o u n d , t h e t o p o l o g y m i g h t b e c o m e a f u l l m e s h , w h e r e e v e r y n o d e c a nc o m m u n i c a t e w i t he v e r y o t h e r n o d e d i r e c t l y : A / \ B----C I nt h i sc a s er e l a y i n gt r a N ci s n o t n e c e s s a r y , g i v e nt h a t t h el i n k sa r ea l l g o o de n o u g h .I ni n f r a s t r u c t u r em o d e ,c o m m u n i c a t i n gd i r e c t l yi sn o t p o s s i b l e . A l l t h et r a N cb e t w e e nc l i e n t s h a st ob er e l a y e db yt h ea c c e s s p o i n t . I f w e n o wa d dD t ot h e l i t t l ec h a i nt o p o l o g ye x a m p l e , a l l d e v i c e s c a nc o m m u n i c a t e w i t he a c ho t h e r i f t h i s i s a m e s h . A--B--C--D O nt h eo t h e rh a n d ,t h i sw o u l dn o tb ep o s s i b l ei ft h en e t w o r ki sa n i n f r a s t r u c t u r em o d en e t w o r ka n dBi s a na c c e s s p o i n t . Ca n dD w o u l d b o t hb ei n f r a s t r u c t u r ec l i e n t s ,a n d a sa l r e a d ym e n t i o n e db e f o r e , i n f r a s t r u c t u r e c l i e n t s c a nn o t c o m m u n i c a t e d i r e c t l y w i t he a c ho t h e r .

8. MESH NETWORKING

137

S oc l i e n t Dc o u l dn o t j o i nt h e i n f r a s t r u c t u r e n e t w o r kb e c a u s e i t i s o u t o f r a n g e o f t h e a c c e s s p o i n t B , w h i l e i t w o u l db es t i l l i nt h e r a d i or a n g e o f c l i e n t C .

Bandwidth impact of multi-hop relaying routes


Me s hn e t w o r k s c o n s i s t i n g o f d e v i c e s t h a t f e a t u r e o n l y o n e r a d i oa r e a l o w c o s t w a yt oe s t a b l i s hau b i q u i t o u s w i r e l e s s n e t w o r k , b u t t h i s c o m e s a t a t r a d e o 1 . Wi t ho n l yo n ew i r e l e s s i n t e r f a c e i ne a c hd e v i c e , t h e r a d i o s h a v e t oo p e r a t eo nt h es a m e c h a n n e l . S i m p l ys e n d i n gd a t at h r o u g ha r o u t i n g p a t hg o i n gf r o mn o d eAt h r o u g hBt oC h a l v e s t h e a v a i l a b l e b a n d w i d t h . Wh i l e Ai s s e n d i n g d a t a t o B , Ba n dCh a v e t o r e m a i ns i l e n t . Wh i l e Bi s f o r w a r d i n gd a t a t oC , Ah a s t or e m a i ns i l e n t a s w e l l a n ds o o n . N o t e t h a t t h e s a m e i s t r u e i f t w oc l i e n t s c o n n e c t e dt oa na c c e s s p o i n t i ni n f r a s t r u c t u r e w a n t t o c o m m u n i c a t e w i t he a c ho t h e r . I f w e a s s u m e t h a t a l l w i r e l e s s l i n k s i nt h e A B C Dm e s hc h a i no p e r a t e a t t h e s a m e s p e e d , t h e c o m m u n i c a t i o nb e t w e e nAa n dD w o u l db e r o u g h l y 1 / 3o f t h e s p e e do f a s i n g l e l i n k , g i v e nt h a t Aa n dD c a nu s e t h e n e t w o r k c a p a c i t y e x c l u s i v e l y . $e b a n d w i d t hi m p a c t c a nb e m i t i g a t e do r a v o i d e db y u s i n gd e v i c e sw i t hm u l t i p l er a d i o s ,g i v e nt h a tt h e ya r eo p e r a t i n go n d i 1 e r e n t f r e q u e n c i e s t h a t d o n ' t i n t e r f e r e w i t he a c ho t h e r . D e s p i t e t h e b a n d w i d t ht r a d e o 1 , s i n g l er a d i om e s hd e v i c e s s t i l l h a v et h e i r m e r i t s . $e ya r ec h e a p e r , l e s s c o m p l e xa n dc o n s u m e l e s s p o w e r t h a nm u l t i r a d i od e v i c e s . $i s c a nb e i m p o r t a n t i f t h e s y s t e m s a r e s o l a r o r w i n dp o w e r e d o r r e q u i r eab a t t e r yb a c k u p . I f t h ew i r e l e s s l i n k s i nat h r e e h o pn e t w o r k( a c h a i nw i t h4n o d e s l i k e a b o v e ) o p e r a t e a t 1 2Mb i t e a c h , t h e t o t a l e n d t o e n d b a n d w i d t hw o u l ds t i l l o 1 e r p l e n t yb a n d w i d t ht os a t u r a t ea2Mb i t I n t e r n e t u p l i n k .

Summary
Me s hn e t w o r k i n ge x t e n d st h er a n g eo fw i r e l e s sd e v i c e sb ym u l t i h o p r e l a y i n g t r a N c . B y m e a n s o f d y n a m i c r o u t i n g , m e s h e s c a nb e s e l f h e a l i n g i nc a s eo f n o d ef a i l u r ea n dg r o wo r g a n i c a l l yi f m o r e n o d e s a r ea d d e d . I f t h e m e s hn o d e s h a v e o n l y o n e r a d i o , t h e b e n e 0 t i nc o v e r a g e c o m e s a t t h e t r a d e o 1o f r e d u c e db a n d w i d t h . H e r e i s a ne x a m p l e o f a c u r r e n t l y d e p l o y e d m e s hn e t w o r k . Y o uc a n0 n dm o r e i n f o r m a t i o na b o u t t h i s d e p l o y m e n t a t t h e u r l h t t p : / / c o d e . g o o g l e . c o m / p / a f r i m e s h /

138

NETWORKING

S o u t h A f r i c a

Routing protocols for mesh networks


R o u t i n gp r o t o c o l s f o r w i r e l e s s m e s hn e t w o r k s h a v et ob ed e s i g n e dw i t h t h e c h a l l e n g e s o f r a d i o c o m m u n i c a t i o ni nm i n d . Wi r e l e s s l i n k s a n d t h e t o p o l o g y o f a m e s hn e t w o r k a r e i n h e r e n t l y u n s t a b l e , d e v i c e s c a ng o u pa n dd o w n , t h e a v a i l a b l e b a n d w i d t hv a r i e s , a n dl i n k s a r e o f t e n W a w e dw i t hp a c k e t l o s s . Am e s hr o u t i n gp r o t o c o l s h o u l db e r e s i l i e n t a g a i n s t r o u t i n ge r r o r s e v e ni f r o u t i n g p r o t o c o l m e s s a g e s a r e d e l a y e d o r l o s t . A t t h e s a m e t i m e t h e a v a i l a b l e c o m m u n i c a t i o nb a n d w i d t ha n dc o m p u t i n g p e r f o r m a n c eo fm e s hn o d e si sl i m i t e da n ds h o u l d n ' tb ew a s t e do n p r o t o c o l d e c i s i o n s a n d t r a N c o v e r h e a d . I n2 0 0 5 , w h e nt h e0 r s t e d i t i o no f t h eWN D Wb o o kw a s w r i t t e n , t h e r e w e r eo n l yf e wp r a c t i c a l l yu s a b l e r o u t i n gp r o t o c o l s f o r m e s hn e t w o r k s . I n p r e v i o u s e d i t i o n s , t h i s c h a p t e r h a s b e e nf o c u s e do nO L S R . B a c k t h e n , t h e O L S Rd a e m o nw a s n ' t s h i p p e dw i t ha w o r k i n gd e f a u l t c o n 0 g u r a t i o n , s oi t w a s n e c e s s a r yt ow a d e i n t ot h e d e p t h s o f t h e o l s r d . c o n f c o n 0 g u r a t i o n0 l e t o0 n do u t w h a t t h e b e s t c o n 0 g u r a t i o no f t h e r o u t i n ga l g o r i t h mw a s . $e s i t u a t i o nh a s c h a n g e dq u i t e a b i t s i n c e 2 0 0 5 .

8. MESH NETWORKING

139

$e r e a r e n o wa n u m b e r o f m e s hp r o t o c o l s a n di m p l e m e n t a t i o n s , a n da l l t h ei m p l e m e n t a t i o n sw h i c ha r em e n t i o n e di nt h i sc h a p t e ra r er e a d i l y a v a i l a b l e a s i n s t a l l a t i o np a c k a g e s f o r O p e n WR T . Me s hp r o t o c o l d e v e l o p e r s a r e c o m p e t i n g i na c h a l l e n g e t od e l i v e r t h e b e s t m e s hr o u t i n g p r o t o c o l . $e r e i s n o wa a n n u a l c o m p e t i t i o ne v e n t f o r m e s h p r o t o c o l d e v e l o p e r s , t a k i n gp l a c eo n c eay e a r . I t i s c a l l e d" B a t t l e m e s h " , w w w . b a t t l e m e s h . o r g Mo s t m e s hr o u t i n gp r o t o c o l s ( B A B E L , B A T MA N , O L S R , B MX , B MX 6 ) t a k e c a r e o f m a i n t a i n i n g t h e I P v 4a n dI P v 6r o u t i n g t a b l e s i na m e s hn o d e b y a d d i n g , u p d a t i n ga n dd e l e t i n gr o u t e s . $e s em e s hp r o t o c o l s a r eu s i n g I P b a s e dr o u t i n g . $e y a r e l a y e r 3m e s hp r o t o c o l s , s i n c e I Pr e p r e s e n t s t h e t h i r dl a y e r o f t h e O S I n e t w o r k i n g l a y e r m o d e l . B a t m a n a d v ( a n c e d )i sa r e l a t i v e l yn e wp r o t o c o lt h a to p e r a t e so nt h e s e c o n d l a y e r o f t h e n e t w o r k i n g m o d e l , h e n c e i t i s a l a y e r 2m e s hp r o t o c o l . T ot h eh i g h e r l a y e r s ( i n c l u d i n gI P ) , B a t m a n a d vm a k e s t h ew h o l em e s h a p p e a r a s as w i t c h , w h e r ea l l c o n n e c t i o n s a r el i n k l o c a l . AB a t m a n a d v m e s h i s t r a n s p a r e n t f o r t h e h i g h e r l a y e r s o f t h e n e t w o r k i n g m o d e l . $i s s i m p l i 0 e s t h e s e t u p o f a m e s h n e t w o r k a g r e a t d e a l , s i n c e i t i s p o s s i b l e t ou s e D HC P , m D N So r MA Cb r i d g i n g w i t hB a t m a n a d v . B a t m a n a d v i s aL i n u xk e r n e l m o d u l e , w h i c hi s s h i p p e dw i t ht h eo N c i a l L i n u xk e r n e l s o u r c e s . Me s hr o u t i n gp r o t o c o l ss h o u l da l s om a n a g et h ea n n o u n c e m e n t a n ds e l e c t i o no fg a t e w a y st oe x t e r n a ln e t w o r k sl i k et h eI n t e r n e t .A c o m m o np r o b l e mw i t hg a t e w a ys e l e c t i o nm e c h a n i s m s i s t h a t t h e r o u t i n g p r o t o c o l m i g h t d e c i d e t o s w i t c h b e t w e e ng a t e w a y s t o o o f t e nf o r e x a m p l e , b e c a u s e o n e r o u t i n gp a t ht oo n e g a t e w a yj u s t g o t s l i g h t l yb e t t e r t h a nt h e o t h e r . $i s i s a n n o y i n g b e c a u s e i t c a nc a u s e g a t e w a y W a p p i n g a n d r e s u l t s i n s t a t e f u l c o n n e c t i o ns e s s i o n sb r e a k i n gd o w nf r e q u e n t l y . I f t h e r ei sm o r e t h a no n eI n t e r n e t g a t e w a yi nt h em e s h , u s i n ga na d v a n c e dm e t h o df o r g a t e w a y s e l e c t i o ni s s t r o n g l y r e c o m m e n d e d . H o wa b o u t 8 0 2 . 1 1 s ? $ er o a d m a po f8 0 2 . 1 1 si st os c a l eu pt o3 2n o d e s .A c c o r d i n gt o Wi k i p e d i a i t u s e s HWMP( H y b r i dw i r e l e s s m e s hp r o t o c o l ) a s t h e d e f a u l t r o u t i n gp r o t o c o l , w i t ht h e o p t i o nt ou s eo t h e r r o u t i n gp r o t o c o l s . Q u o t e : " HWMPi s i n s p i r e db y a c o m b i n a t i o no f A O D V( R F C3 5 6 1 [ 2 ] ) a n d t r e e b a s e dr o u t i n g " . S i n c e8 0 2 . 1 1 si sr e l a t i v e l yn e wt h e r ei sn o tm u c h p r a c t i c a l e x p e r i e n c e s of a r .

140

NETWORKING

Devices and 2rmware for embedded devices


N o t a l l Wi F i d e v i c e s o n t h e m a r k e t a r e s u i t a b l e f o r m e s h n e t w o r k i n g . I n2 0 0 5 , w h e nt h e 0 r s t e d i t i o no f t h i s b o o kw a s w r i t t e n , o n e o f t h e c l e a r h a r d w a r er e c o m m e n d a t i o n sf o rm e s hn e t w o r k i n gw a st h eL i n k s y s WR T 5 4 Gr o u t e r i nc o m b i n a t i o nw i t ht h e F r e i f u n k0 r m w a r e . Wh i l et h eWR T 5 4 G ( L )i s s t i l l o nt h em a r k e t , i t i s n ol o n g e r w o r t ha 1 r e c o m m e n d a t i o n . O p e n WR Ti sav e r yv e r s a t i l e0 r m w a r ed e v e l o p m e n te n v i r o n m e n tf o r d e v e l o p e r s a n da 0 r m w a r e f o r a d v a n c e dL i n u x u s e r s . $ eo l dF r e i f u n k0 r m w a r ei s b a s e do nt h eo u t d a t e dO p e n WR Tv e r s i o n " Wh i t e R u s s i a n " . " Wh i t e R u s s i a n " s u p p o r t e do n l y d e v i c e s w i t hB r o a d c o m c h i p s e t s w i t hap r o p r i e t a r yb i n a r yw i r e l e s s d r i v e r a n di s b a s e do nL i n u x 2 . 4 .I th a sb e e no u s t e db yt h eO p e n WR Tr e l e a s e s' K a m i k a z e 'a n d ' B a c k 0 r e ' ( l a t e s t r e l e a s e ) . Wi t h' K a m i k a z e ' a n d' B a c k 0 r e ' O p e n WR Th a s g a i n e ds u p p o r t f o r m a n y d i 1 e r e n t w i r e l e s s c h i p s e t s , C P Ua r c h i t e c t u r e s a n d d e v i c e s . $e n e x t s t a b l e r e l e a s e o f Op e n WR Tw i l l b e n a me d' A t t i t u d e A d j u s t me n t ' , w h i c h , a t t h et i meo f w r i t i n g , i sa t' r e l e a s ec a n d i d a t e ' s t a g e . $e ' A R 7 x x x 'a n d' A t h e r o s 'p l a t f o r m p o r t so f' A t t i t u d e A d j u s t me n t ' c a nb e c o n s i d e r e ds t a b l e . $e m e s hr o u t i n gp r o t o c o l sm e n t i o n e db e f o r ea r ea l la v a i l a b l ea s i n s t a l l a t i o np a c k a g e s f o r O p e n WR T . A f e w o p e n n e t w o r k i n gc o m m u n i t i e sh a v ed e v e l o p e dt h e i ro w n c u s t o m i s e d 0 r m w a r e i m a g e s w i t hO p e n WR TK a m i k a z e a n dB a c k 0 r e . H o w e v e rt h e ya r em o s t l yg e a r e dt om e e tt h e i rl o c a lp r e f e r e n c e sa n d r e q u i r e m e n t sa n ds u p p o r t al i m i t e dn u m b e ro fd e v i c e s . S i n c et h e ya r e o f t e n l o c a l i s e dt h e y m i g h t b e o f l i m i t e du s e f o r t h e g e n e r a l p u b l i c . O p e n WR Th a sa p a c k a g em a n a g e m e n ts y s t e m ,w h i c hc o m e st ot h e r e s c u e . I t i s t y p i c a l f o r O p e n WR Tt oi n s t a l l s o f t w a r ep a c k a g e s i n t ot h e r o u t e r a f t e r i t h a s b e e nW a s h e d . $e r e i s n o wa m e t a p a c k a g e n a m e d' l u c i f r e i f u n k c o m m u n i t y ' , w h i c hw i l l a u t o m a t i c a l l yc o n v e r t a s t o c k O p e n WR T i m a g e i n t o a c o m m u n i t y m e s hn e t w o r k i n g 0 r m w a r e .
1 . Wh i l et h eWR T 5 4 G Li ss t i l la v a i l a b l eo nt h em a r k e t ,a tp r i c e so f6 0U S $i ti s
o v e r p r i c e d . $e WR T 5 4 Gr e v i s i o n4 . 0w a s s o l da s WR T 5 4 G Lr e v i s i o n1 . 0b y L i n k s y s i n 2 0 0 5 ,a f t e rL i n k s y sh a di n t r o d u c e dt h eWR T 5 4 Gr e v i s i o n5 . 0 ,w h i c hw a s n ' tL i n u x c o m p a t i b l e a n y m o r e . $e WR T 5 4 Gr e v i s i o n5 . 0h a s o n l y h a l f t h e W a s hs t o r a g e a n dR A M c a p a c i t y . $e WR T 5 4 Gm o d e l i s t h e Wi F i r o u t e r w i t ht h e l o n g e s t p r o d u c t i o nl i f e t i m e . F o r t h e m o n e yy o un e e dt os p e n do na L i n k s y s WR T 5 4 G Li n2 0 1 1y o uc a nb u y t w oo r t h r e e s i m i l a r d e v i c e s f r o mo t h e r b r a n d s t h a t a r e f a s t e r i nt e r m s o f C P Ua n dd a t a r a t e .

8. MESH NETWORKING

141

$ en u m b e ro fd e v i c e st h a tc a nb ec o n v e r t e dt o am e s hr o u t e rh a s i n c r e a s e dd r a m a t i c a l l y . O nt h eo t h e rh a n dt h ep r o c e s so fc o n v e r t i n ga s t o c kO p e n WR T 0 r m w a r ei n t oam e s h0 r m w a r ev i at h ep a c k a g e m a n a g e m e n t s y s t e mi s o f t e nm o r e e r r o r p r o n e u n f o r t u n a t e l y . S o m e m a n u f a c t u r e r s o f Wi F i r o u t e r s a r e s h i p p i n gd e v i c e s t h a t c o m e w i t h O p e n WR Ta st h e i rf a c t o r y0 r m w a r e :Me s h P o t a t o ,D r a g i n o MS -1 2 , A l l n e t 0 3 0 5 .

F i g u r e MN3 : Me s h P o t a t o o u t d o o r m e s h Wi F i r o u t e r w i t h V o I P( w i t h o n e F X S p o r t t o c o n n e c t a n a l o g t e l e p h o n e h a n d s e t s ) . w w w . v i l l a g e t e l c o . o r g $ e Me s h P o t a t oi sa l o w p o w e ro u t d o o rd e v i c ed e s i g n e df o rm e s h n e t w o r k i n gw i t ha nF X S( a n a l o gt e l e p h o n e )p o r t , s oy o uc a np l u ga n a n a l o g t e l e p h o n e h a n d s e t i na n dm a k e t e l e p h o n e c a l l s v i a t h e m e s h . $e Me s h P o t a t o i s s h i p p e d w i t ha m e s h 0 r m w a r e t h a t u s e s t h e B A T MA N L a y e r 3 m e s h p r o t o c o l .

142

NETWORKING

As e c o n d0 r m w a r en a m e dS E C N( S m a l l e n t e r p r i s e / c a m p u sn e t w o r k ) i s a l s oa v a i l a b l e f o r t h e Me s h P o t a t o , w h i c hu s e s t h e B A T MA NA D VL a y e r 2 m e s h . B u t t h e s e a r e n o t t h e o n l y d e v i c e s t h a t s h o u l db e c o n s i d e r e df o r p u r c h a s e . O p e n WR Ts u p p o r t s a v e r y b r o a ds e l e c t i o no f w i r e l e s s r o u t e r s . R e p l a c i n g t h e f a c t o r y 0 r m w a r e w i t hO p e n WR Ti s o f t e nq u i t e e a s y . A g a i n , t h es e l e c t i o no fa v a i l a b l ed e v i c e s i ss od i v e r s et h a t t h e r ei s n ' t a s i n g l e u p d a t e m e t h o d t h a t w o r k s f o r t h e w h o l e v a r i e t y o f h a r d w a r e , w h i c h c o u l d b e d e s c r i b e dh e r e . $ eO p e n WR Tt a b l eo fs u p p o r t e dh a r d w a r ei sh u g ea n di tk e e p s e x p a n d i n g : h t t p : / / w i k i . o p e n w r t . o r g / t o h / s t a r t $i s s i t e s h o u l d b e t h e p l a c e t o s t a r t b e f o r e y o u g o a n db u y d e v i c e s . A t t h em o m e n t , i f y o ua r el o o k i n gf o r ar o u t e r b a s e do nac h i p s e t t h a t s u p p o r t s 8 0 2 . 1 1 ni na d h o cm o d e , m yr e c o m m e n d a t i o na r ed e v i c e s t h a t a r e s u p p o r t e db y t h e A R 7 X X Xp o r t o f O p e n WR T . N o t e t h a t h a r d w a r e m a n u f a c t u r e r s m a y c h a n g e t h e c h i p s e t s o f t h e d e v i c e s w i t h o u t e x p l i c i t l ys t a t i n gi t . N e w e r h a r d w a r e r e v i s i o n s a r e n o t g u a r a n t e e d t o w o r k u n l e s s s o m e o n e h a s t e s t e da n dr e p o r t e di t i nt h e O p e n WR Tw i k i . N o t a b l ed e v i c e s w h i c hc a nb eW a s h e dw i t hO p e n WR Ta r et h eo u t d o o r u n i t s m a d e b y U b i q u i t i a n dt h e S O HO d e v i c e s m a d e b y T P L i n k . T P L i n kp r o d u c e s s e v e r a l l o w c o s t S O HO d e v i c e s w i t hA t h e r o s a r 7 1 x x c h i p s e t s ( 8 0 2 . 1 1 n ) . $ eT P L i n kMR 3 2 2 0( 8 0 2 . 1 1 ns i n g l es t r e a m ) a n dMR 3 4 2 0( 8 0 2 . 1 1 n d u a l s t r e a m ) f e a t u r e a 4 0 0MHz Mi p s 2 4 k c C P U , o n e U S B2 . 0p o r t , a 4 p o r t 1 0 0 Mb i t s w i t c h , WA Np o r t , 4 MBW a s ha n d 3 2 MBR A M. P r i c e s s t a r t a t a r o u n d3 0 U S$ . S i n c et h eT P L i n kd e v i c e sh a v eaU S B2 . 0p o r ti t i sp o s s i b l et oa d d a n o t h e r Wi F i i n t e r f a c e v i a U S BWi F i d o n g l e . A c t u a l l yU S B2 . 0a d d s m a n y o p p o r t u n i t i e s , l i k e a d d i n g a d d i t i o n a l s t o r a g e s p a c e , a u d i o s u p p o r t , w e b c a m s a n ds oo n .

8. MESH NETWORKING

143

F i g u r e MN4 : D I Yo u t d o o r r o u t e r s b a s e d o n P C B s t a k e nf r o mS O H Or o u t e r s ( P i c t u r e s h o w i n g t w o d e v i c e s b a s e d o n T P L i n k WR 7 4 1a n d WR 9 4 1a n d o n e b a s e d o n a F o n e r a r o u t e r ) A n o t h e r 0 r m w a r ed i s t r i b u t i o nw h i c hi n i t i a l l yo r g i n a t e da s a na l t e r n a t i v e 0 r m w a r eo ft h e WR T 5 4 G i sD DWR T .D DWR Ti sa 0 r m w a r e d i s t r i b u t i o nd e s i g n e df o r e n d u s e r s . I t o n l ys u p p o r t st h eO L S Rr o u t i n g p r o t o c o l .

Frequently observed problems


$ et y p i c a lp r o b l e m so fm u l t i p o i n t t o m u l t i p o i n tc o m m u n i c a t i o na r e e i t h e ro nt h ep h y s i c a lr a d i oo rt h eMA Cl a y e r .$ e I E E E8 0 2 . 1 1 s u g g e s t i o n s a b o u t m u l t i p o i n t t o m u l t i p o i n t m o d e w e r e n o t u p t ot h e t a s k .

144

NETWORKING

$e m a i nc h a l l e n g e s a r e : C h a n n e l a c c e s s c o o r d i n a t i o n , n a m e l y t h e h i d d e n n o d e a n d e x p o s e dn o d e p r o b l e m G o i n g b a c kt o o u r l i t t l e m e s hw i t ht h e t o p o l o g y ABCi t c a nh a p p e nt h a t Aa n dC s t a r t t os e n dd a t at oB a t t h es a m et i m eb e c a u s et h e yd o n ' t r e c e i v e e a c ho t h e r , r e s u l t i n g i na c o l l i s i o na t t h e l o c a t i o no f B . 8 0 2 . 1 1h a s a m e c h a n i s mt o m i t i g a t e t h i s : R T S / C T S( r e q u e s t t o s e n d , c l e a r t o s e n d ) B e f o r e a m 2 mn o d e s e n d s d a t a i t r e q u e s t s a i r t i m e b y s e n d i n g a s h o r t R T S p a c k e t , i no r d e r t or e s e r v et h ec h a n n e l . I t w a i t s u n t i l i t r e c e i v e s aC T S s i g n a l . S oA w i l l s e n das h o r t R T Sp a c k e t , a n dB s e n d sas h o r t C T S p a c k e t . $i s w a y Cw i l l d e t e c t t h a t t h e r e w i l l b e a t r a n s m i s s i o n o f a h i d d e n n o d e t h a t i t s h o u l d n ' t i n t e r f e r e w i t h . H o w e v e r t h e c u r r e n t R T S / C T Sm e c h a n i s mo f 8 0 2 . 1 1w o r k s w e l l o n l y f o r 2h o pr o u t e s . O nl o n g e r r o u t e s i t c a nh a p p e nt h a t m u l t i p l e s t a t i o n s s e n d R T Ss i g n a l s , w h i c hr e s u l t s i na l l t h en o d e s s t o p p i n gt h e i r t r a n s m i s s i o n s a n dw a i t i n gf o r aC T Ss i g n a l . $i s i s c a l l e daR T Sb r o a d c a s t s t o r m . F o r m e s hn e t w o r k so fc o n s i d e r a b l es i z ei ti sn o tr e c o m m e n d e dt ou s et h e R T S / C T Sm e c h a n i s m . T i m e r s y n c h r o n i s a t i o n $ ep e o p l ed e s i g n i n gt h e8 0 2 . 1 1a d h o cp r o t o c o l t h o u g h t i t w o u l db e s m a r t i f t h eWi F i d e v i c e s w o u l ds y n c h r o n i s et h e i r MA Ct i m e r c l o c k s b y s e n d i n g t i m e s t a m p s i nb e a c o n s . H o w e v e r b o g u s t i m e s t a m p s c a no c c u r d u e t ob u g s , a n dt h e y o f t e nt r i g g e r r a c e c o n d i t i o n s i nt h e h a r d w a r e , d r i v e r s a n dt h e 8 0 2 . 1 1a d h o cp r o t o c o l , w h i c hh a s n o t b e e nd e s i g n e d t o c o p e w i t hs u c hi s s u e s . F a i l e da t t e m p t s t os y n c h r o n i s et i m e s t a m p s o f t e nr e s u l t s i nc e l l s p l i t t i n g ( s e eb e l o w ) .$ e r ea r es o m eh a c k sw h i c hh a v eb e e ni n t r o d u c e dt o o v e r c o m e t h e p r o b l e m . $ eb e s t s o l u t i o ni st od i s a b l et i m e rs y n c h r o n i s a t i o ne n t i r e l y . H o w e v e r t i m e r s y n c h r o n i s a t i o ni s o f t e nd o n ei nt h e w i r e l e s s i n t e r f a c e h a r d w a r eo r 0 r m w a r e o f a i n t e r f a c e .

8. MESH NETWORKING

145

O p e n WR Th a sa h a c kt od i s a b l et i m e rs y n c h r o n i s a t i o nw h e nu s i n g A t h e r o s 8 0 2 . 1 1 a b gc a r d s t h a t w o r kw i t ht h eMa d w i 0d r i v e r . I f y o ua r e u s i n g a r e c e n t L i n u x k e r n e l , c e r t a i nw i r e l e s s d r i v e r s ( n a m e l y a t h 9 k ) w h i c h a r e o f t e nu s e df o r m e s hd e v i c e s a r e q u i t e r o b u s t a g a i n s t t i m e r i s s u e s i na d h o c m o d e . H o w e v e r t h i s d o e s n ' t h e l pi f t h e Wi F i d e v i c e c o m e s w i t hac l o s e ds o u r c e b i n a r y 0 r m w a r e w h i c hi s n o t p r e p a r e dt od e a l g r a c e f u l l y w i t ht i m e r i s s u e s . $e r e i sn o tm u c h w ec a n d o a b o u ti t ,o t h e rt h a n u s i n g d r i v e r s / 0 r m w a r e s / c h i p s e t s w h i c ha r e k n o w nt o w o r k r e l i a b l y . I B S Sc e l l s p l i t t i n g $i s i s at y p i c a l p r o b l e mo f t h ew a y8 0 2 . 1 1s u g g e s t s i m p l e m e n t a t i o no f t h em 2 mm o d e . A d h o cd e v i c e s m a yf a i l t oa g r e eo nac e r t a i nc e l l i d ( I B S S I D ) . I f t h e yd o n ' t m a n a g et oa g r e eo nu s i n go n ec e r t a i nc e l l i d , t h e y a r e l o g i c a l l y s e p a r a t e dw i r e l e s s c e l l s . $i s i s ar e a l s h o ws t o p p e r , b e c a u s ew i r e l e s s d e v i c e s w i l l n o t b ea b l et o c o m m u n i c a t e w i t he a c ho t h e r . $e p r o b l e mi s r e l a t e dt oi s s u e s w i t ht i m e r s y n c h r o n i s a t i o n .S i n c eL i n u x2 . 6 . 3 1i ti sp o s s i b l et om a n u a l l y0 xt h e I B S S I D . $i s f e a t u r e i s a l s o a v a i l a b l e i nO p e n WR T .

146

NETWORKING

9. SECURITY FOR WIRELESS NETWORKS


Introduction
Wh i l e u n l i c e n s e ds p e c t r u mp r o v i d e s a h u g e c o s t s a v i n g s t ot h e u s e r , i t h a s t h e u n f o r t u n a t e s i d e e 1 e c t t h a t D e n i a l o f S e r v i c e ( D o S ) a t t a c k s a r e t r i v i a l l y s i m p l e . B y s i m p l y t u r n i n g o na h i g hp o w e r e da c c e s s p o i n t , c o r d l e s s p h o n e , v i d e ot r a n s m i t t e r , o r o t h e r 2 . 4 G Hz d e v i c e , a m a l i c i o u s p e r s o nc o u l dc a u s e s i g n i 0 c a n t p r o b l e m s o n t h e n e t w o r k . Ma n y n e t w o r k d e v i c e s a r e v u l n e r a b l e t oo t h e r f o r m s o f d e n i a l o f s e r v i c e a t t a c k s a s w e l l , s u c ha s d i s a s s o c i a t i o nW o o d i n g a n d A R Pt a b l e o v e r W o w s . $e r ea r es e v e r a l c a t e g o r i e s o f i n d i v i d u a l s w h om a yc a u s ep r o b l e m s o na w i r e l e s s n e t w o r k : U n i n t e n t i o n a l u s e r s . D e n s e l yp o p u l a t e da r e a s s u c ha s c i t y c e n t r e s a n du n i v e r s i t y c a m p u s e s c a n l e a dt oad e n s i t yo f w i r e l e s s a c c e s s p o i n t s . I nt h e s e p o p u l a t e da r e a s , i t i s c o m m o nf o r l a p t o pu s e r s t oa c c i d e n t a l l ya s s o c i a t e t ot h e w r o n gn e t w o r k . Mo s t w i r e l e s sc l i e n t s w i l l s i m p l yc h o o s ea n ya v a i l a b l ew i r e l e s sn e t w o r k , o f t e nt h eo n ew i t ht h es t r o n g e s t s i g n a l , w h e nt h e i r p r e f e r r e dn e t w o r ki s u n a v a i l a b l e . $e u s e r m a y t h e nm a k e u s e o f t h i s n e t w o r ka s u s u a l , c o m p l e t e l y u n a w a r e t h a t t h e y m a y b e t r a n s m i t t i n g s e n s i t i v e d a t a o n s o m e o n e e l s e s n e t w o r k . Ma l i c i o u s p e o p l em a ye v e nt a k ea d v a n t a g eo f t h i sb ys e t t i n gu pa c c e s s p o i n t s i ns t r a t e g i c l o c a t i o n s , t ot r yt oa t t r a c t u n w i t t i n gu s e r s a n dc a p t u r e t h e i r d a t a . $ e0 r s ts t e pi na v o i d i n gt h i sp r o b l e mi se d u c a t i n gy o u ru s e r s ,a n d s t r e s s i n gt h ei m p o r t a n c eo fc o n n e c t i n go n l yt ok n o w na n dt r u s t e d n e t w o r k s . Ma n yw i r e l e s sc l i e n t sc a nb ec o n 0 g u r e dt oo n l yc o n n e c tt ot r u s t e d n e t w o r k s , o r t o a s k p e r m i s s i o nb e f o r e j o i n i n g a n e wn e t w o r k . A s w e w i l l s e e l a t e r i nt h i s c h a p t e r , u s e r s c a ns a f e l y c o n n e c t t oo p e np u b l i c n e t w o r k s b y u s i n g s t r o n g e n c r y p t i o n . Wa r d r i v e r s . $ e w a r d r i v i n g p h e n o m e n o nd r a w s i t s n a m ef r o mt h ep o p u l a r 1 9 8 3 h a c k e r 0 l m , Wa r G a m e s .

9. SECURITY FOR WIRELESS NETWORKS

147

Wa rd r i v e r sa r ei n t e r e s t e di n0 n d i n gt h ep h y s i c a ll o c a t i o no fw i r e l e s s n e t w o r k s . $e yt y p i c a l l yd r i v ea r o u n dw i t h al a p t o p , G P S ,a n do m n i d i r e c t i o n a l a n t e n n a , l o g g i n gt h e n a m e a n dl o c a t i o no f a n yn e t w o r k s t h e y 0 n d . $e s e l o g s a r e t h e nc o m b i n e dw i t hl o g s f r o mo t h e r w a r d r i v e r s , a n da r e t u r n e d i n t o g r a p h i c a l m a p s d e p i c t i n g t h e w i r e l e s s f o o t p r i n t o f a p a r t i c u l a r c i t y . $e v a s t m a j o r i t yo f w a r d r i v e r s l i k e l yp o s e n od i r e c t t h r e a t t on e t w o r k s , b u t t h ed a t at h e yc o l l e c t m i g h t b eo f i n t e r e s t t oan e t w o r kc r a c k e r . F o r e x a m p l e , i t m i g h t b e o b v i o u s t h a t a nu n p r o t e c t e da c c e s s p o i n t d e t e c t e db y a w a r d r i v e r i s l o c a t e di n s i d e a s e n s i t i v e b u i l d i n g , s u c ha s a g o v e r n m e n t o r c o r p o r a t e o N c e . Am a l i c i o u sp e r s o nc o u l du s et h i si n f o r m a t i o nt oi l l e g a l l ya c c e s st h e n e t w o r kt h e r e . A r g u a b l y , s u c ha nA Ps h o u l dn e v e r h a v e b e e ns e t u pi nt h e 0 r s t p l a c e , b u t w a r d r i v i n gm a k e s t h e p r o b l e ma l l t h e m o r e u r g e n t . A s w e w i l l s e el a t e ri nt h i sc h a p t e r , w a r d r i v e r s w h ou s et h ep o p u l a r p r o g r a m N e t S t u m b l e r c a nb e d e t e c t e dw i t hp r o g r a m s s u c ha s K i s m e t . F o r m o r e i n f o r m a t i o na b o u t w a r d r i v i n g , s e e s i t e s s u c ha s : h t t p : / / w i g l e . n e t / , h t t p : / / w w w . n o d e d b . c o m / , o r h t t p : / / w w w . s t u m b l e r . n e t / . R o g u e a c c e s s p o i n t s . $e r e a r e t w o g e n e r a l c l a s s e s o f r o g u e a c c e s s p o i n t s : $o s ei n c o r r e c t l yi n s t a l l e db yl e g i t i m a t eu s e r s , a n dt h o s ei n s t a l l e db y m a l i c i o u s p e o p l e w h o i n t e n d t oc o l l e c t d a t a o r d o h a r mt o t h e n e t w o r k . I n t h es i m p l e s tc a s e ,al e g i t i m a t en e t w o r ku s e rm a yw a n tb e t t e rw i r e l e s s c o v e r a g ei nt h e i ro N c e , o rt h e ym i g h t0 n ds e c u r i t yr e s t r i c t i o n so nt h e c o r p o r a t e w i r e l e s s n e t w o r k t o o d i N c u l t t o c o m p l y w i t h . B yi n s t a l l i n ga ni n e x p e n s i v ec o n s u m e ra c c e s s p o i n t w i t h o u t p e r m i s s i o n , t h e u s e r o p e n s t h e e n t i r e n e t w o r ku pt op o t e n t i a l a t t a c k s f r o mt h e i n s i d e . Wh i l ei t i s p o s s i b l e t os c a nf o r u n a u t h o r i s e da c c e s s p o i n t s o ny o u r w i r e d n e t w o r k , s e t t i n g a c l e a r p o l i c y t h a t p r o h i b i t s t h e mi s a v e r y i m p o r t a n t 0 r s t s t e p . $e s e c o n dc l a s s o f r o g u e a c c e s s p o i n t c a nb ev e r yd i N c u l t t od e a l w i t h . B y i n s t a l l i n ga h i g hp o w e r e dA Pt h a t u s e s t h e s a m e E S S I Da s a ne x i s t i n g n e t w o r k , a m a l i c i o u s p e r s o nc a nt r i c kp e o p l e i n t ou s i n gt h e i r e q u i p m e n t , a n dl o g o r e v e nm a n i p u l a t e a l l d a t a t h a t p a s s e s t h r o u g hi t .

148

NETWORKING

A g a i n , i f y o u r u s e r s a r e t r a i n e dt ou s e s t r o n g e n c r y p t i o n , t h i s p r o b l e mi s s i g n i 0 c a n t l y r e d u c e d . E a v e s d r o p p e r s . A s m e n t i o n e de a r l i e r , e a v e s d r o p p i n gi sav e r yd i N c u l tp r o b l e mt od e a l w i t ho nw i r e l e s s n e t w o r k s . B yu s i n gap a s s i v em o n i t o r i n gt o o l ( s u c ha s K i s m e t ) , a ne a v e s d r o p p e r c a nl o ga l l n e t w o r kd a t af r o m ag r e a t d i s t a n c e a w a y , w i t h o u t e v e r m a k i n g t h e i r p r e s e n c e k n o w n . P o o r l ye n c r y p t e dd a t ac a ns i m p l yb el o g g e da n dc r a c k e dl a t e r ,w h i l e u n e n c r y p t e dd a t a c a nb e e a s i l y r e a di nr e a l t i m e . I f y o uh a v e d i N c u l t yc o n v i n c i n go t h e r s o f t h i s p r o b l e m , y o um i g h t w a n t t o d e m o n s t r a t e t o o l s s u c ha s D r i f t n e t ( h t t p : / / w w w . e x p a r r o t . c o m/ ~ c h r i s / d r i f t n e t / ) . D r i f t n e t w a t c h e s aw i r e l e s s n e t w o r kf o r g r a p h i c a l d a t a , s u c ha s G I Fa n d J P E G0 l e s . Wh i l e o t h e r u s e r s a r e b r o w s i n g t h e I n t e r n e t , t h e s e t o o l s s i m p l y d i s p l a y a l l g r a p h i c s f o u n di na g r a p h i c a l c o l l a g e . Wh i l e y o uc a nt e l l a u s e r t h a tt h e i re m a i li sv u l n e r a b l ew i t h o u te n c r y p t i o n ,n o t h i n gd r i v e st h e m e s s a g e h o m e l i k e s h o w i n gt h e mt h e p i c t u r e s t h e y a r e l o o k i n g a t i nt h e i r w e bb r o w s e r . A g a i n ,w h i l ei tc a n n o tb ec o m p l e t e l yp r e v e n t e d ,p r o p e r a p p l i c a t i o no f s t r o n g e n c r y p t i o nw i l l d i s c o u r a g e e a v e s d r o p p i n g .

Protecting the wireless network


I na t r a d i t i o n a l w i r e dn e t w o r k , a c c e s s c o n t r o l i s r e l a t i v e l ys t r a i g h t f o r w a r d : I f a p e r s o nh a s p h y s i c a l a c c e s s t o a c o m p u t e r o r n e t w o r k h u b , t h e y c a nu s e ( o ra b u s e )t h en e t w o r kr e s o u r c e s .Wh i l es o f t w a r em e c h a n i s m sa r ea n i m p o r t a n t c o m p o n e n t o f n e t w o r ks e c u r i t y , l i m i t i n gp h y s i c a l a c c e s s t ot h e n e t w o r kd e v i c e s i s t h e u l t i m a t ea c c e s s c o n t r o l m e c h a n i s m . S i m p l yp u t , i f a l l t e r m i n a l sa n dn e t w o r kc o m p o n e n t sa r ep h y s i c a l l yo n l ya c c e s s i b l et o t r u s t e di n d i v i d u a l s , t h en e t w o r kc a nl i k e l yb et r u s t e d . $ er u l e sc h a n g e s i g n i 0 c a n t l yw i t hw i r e l e s sn e t w o r k s . Wh i l et h ea p p a r e n tr a n g eo fy o u r a c c e s s p o i n t m a y s e e mt ob e j u s t a f e wh u n d r e dm e t r e s , a u s e r w i t ha h i g h g a i na n t e n n a m a y b e a b l e t om a k e u s e o f t h e n e t w o r kf r o ms e v e r a l b l o c k s a w a y . S h o u l da nu n a u t h o r i s e du s e r b ed e t e c t e d , i s i m p o s s i b l et os i m p l y t r a c e t h e c a b l e b a c kt o t h e u s e r s l o c a t i o n . Wi t h o u t t r a n s m i t t i n g a s i n g l e p a c k e t , a s u N c i e n t l y t a l e n t e dn e f a r i o u s u s e r c a nc a p t u r e a n dl o g t r a N c o n a w i r e l e s s n e t w o r k t o d i s k .

9. SECURITY FOR WIRELESS NETWORKS

149

$i s d a t a c a nl a t e r b e u s e dt ol a u n c ham o r e s o p h i s t i c a t e da t t a c ka g a i n s t t h e n e t w o r k . N e v e r a s s u m et h a t r a d i ow a v e s s i m p l y s t o p a t t h e e d g eo f y o u r p r o p e r t yl i n e , o r i n s i d ey o u r b u i l d i n g . P h y s i c a l s e c u r i t yi nw i r e l e s s n e t w o r k s i s l i m i t e dt op r e v e n t i n gc o m p r o m i s eo f t h e a c t i v e c o m p o n e n t s , c a b l e s a n dp o w e r s u p p l y . Wh e r e p h y s i c a l a c c e s s t ot h e n e t w o r kc a n n o t b e p r e v e n t e dw e h a v e t or e l y o ne l e c t r o n i c m e a n s f o r c o n t r o l l i n ga c c e s s t ot h e w i r e l e s s i n f r a s t r u c t u r e i n o r d e rt oo n l ya l l o wa u t h o r i s e dp e r s o n s a n ds y s t e m s t ou s et h ew i r e l e s s n e t w o r k . B u tr e m e m b e r , w h i l eac e r t a i na m o u n t o fa c c e s sc o n t r o l a n d a u t h e n t i c a t i o ni s n e c e s s a r yi na n yn e t w o r k , y o uh a v e f a i l e di ny o u r j o bi f l e g i t i m a t e u s e r s 0 n di t d i N c u l t t ou s e t h e n e t w o r kt oc o m m u n i c a t e . L a s t l y , i t i s u s u a l l yu n r e a s o n a b l e t oc o m p l e t e l y t r u s t a l l u s e r s o f t h e n e t w o r k , a l s o o nw i r e dn e t w o r k s . D i s g r u n t l e de m p l o y e e s , u n e d u c a t e d n e t w o r k u s e r s , a n d s i m p l e m i s t a k e s o nt h e p a r t o f h o n e s t u s e r s c a nc a u s e s i g n i 0 c a n t h a r mt o n e t w o r ko p e r a t i o n s . A st h en e t w o r ka r c h i t e c t , y o u rg o a l i st of a c i l i t a t e p r i v a t ec o m m u n i c a t i o nb e t w e e nl e g i t i m a t eu s e r so ft h en e t w o r ka n d b e t w e e nl e g i t i m a t e u s e r s a n ds e r v i c e s . $e r e ' s a no l ds a y i n g t h a t t h e o n l y w a y t o c o m p l e t e l y s e c u r e a c o m p u t e r i s t o u n p l u g i t , l o c k i t i na s a f e , d e s t r o y t h e k e y , a n db u r y t h e w h o l e t h i n g i n c o n c r e t e . Wh i l e s u c has y s t e mm i g h t b e c o m p l e t e l y s e c u r e , i t i s u s e l e s s f o r c o m m u n i c a t i o n . Wh e ny o um a k e s e c u r i t y d e c i s i o n s f o r y o u r n e t w o r k , r e m e m b e rt h a ta b o v ea l l e l s e , t h en e t w o r ke x i s t ss ot h a ti t su s e r sc a n c o m m u n i c a t ew i t he a c ho t h e r . S e c u r i t y c o n s i d e r a t i o n s a r e i m p o r t a n t , b u t s h o u l dn o t g e t i nt h e w a y o f t h e n e t w o r k ' s u s e r s . As i m p l e r u l e o f t h u m b a s t ow h e t h e r o r n o t t h e n e t w o r k i s g e t t i n g i nt h e w a y o f i t s u s e r s i s t ol o o ka t h o wm u c ht i m e y o uo r o t h e r s t a 1s p e n do n h e l p i n g p e o p l e g e t o n t h e n e t w o r k . I f r e g u l a r u s e r s a r e r e p e a t e d l y h a v i n g p r o b l e m s s i m p l y g a i n i n g a c c e s s t ot h e n e t w o r k , e v e na f t e r t h e yh a v eb e e np r o v i d e di n s t r u c t i o na n dt r a i n i n go n h o wt o d os o , i t ' s p o s s i b l e t h a t t h e a c c e s s p r o c e d u r e s a r e t o oc u m b e r s o m e a n da r e v i e wo f t h e mi s i no r d e r . T a k i n ga l l o f t h i s i n t oa c c o u n t , o u r g o a l i s t op r o v i d e a d e q u a t ep h y s i c a l s e c u r i t y , c o n t r o l a c c e s s p r o t e c t t h e c o m m u n i c a t i o nw i t h o u t s a c r i 0 c i n g e a s e o f u s e .

150

NETWORKING

Physical security for wireless networks


Wh e ni n s t a l l i n g a n e t w o r k , y o ua r e b u i l d i n ga ni n f r a s t r u c t u r e t h a t p e o p l e d e p e n do n . S e c u r i t ym e a s u r e s e x i s t t oe n s u r e t h a t t h e n e t w o r ki s r e l i a b l e . Wi r e l e s s n e t w o r k sh a v ep h y s i c a l c o m p o n e n t s , s u c ha sw i r e sa n db o x e s , w h i c ha r ee a s i l yd i s t u r b e d .I nm a n yi n s t a l l a t i o n s ,p e o p l ew i l ln o t u n d e r s t a n dt h e p u r p o s e o f t h e i n s t a l l e de q u i p m e n t , o r c u r i o s i t y m a yl e a d t h e mt o e x p e r i m e n t . $e ym a yn o tr e a l i s et h ei m p o r t a n c eo fac a b l ec o n n e c t e dt oap o r t . S o m e o n em a yu n p l u ga nE t h e r n e t c a b l es ot h a t t h e yc a nc o n n e c t t h e i r l a p t o pf o r 5m i n u t e s , o r m o v e as w i t c hb e c a u s e i t i s i nt h e i r w a y . Ap l u g m i g h tb er e m o v e df r o m ap o w e rb a rb e c a u s es o m e o n en e e d st h a t r e c e p t a c l e . A s s u r i n gt h e p h y s i c a l s e c u r i t y o f a ni n s t a l l a t i o ni s p a r a m o u n t . S i g n s a n dl a b e l s w i l l o n l y b e u s e f u l t ot h o s e w h oc a nr e a dy o u r l a n g u a g e . P u t t i n gt h i n g so u t o f t h ew a ya n dl i m i t i n ga c c e s s i s t h eb e s t m e a n s t o a s s u r e t h a t a c c i d e n t s a n dt i n k e r i n gd on o t o c c u r . I ny o u r l o c a l i t y , p r o p e r f a s t e n e r s , t i e s , o r b o x e s m a y n o t b e e a s y t o 0 n d . Y o us h o u l db ea b l e t o0 n de l e c t r i c a l s u p p l i e s t h a t w i l l w o r kj u s t a s w e l l . C u s t o me n c l o s u r e s a r e a l s oe a s y t om a n u f a c t u r e a n ds h o u l db e c o n s i d e r e d e s s e n t i a l t oa n yi n s t a l l a t i o n . I t i so f t e ne c o n o m i c a l t op a yam a s o nt o m a k e h o l e s a n di n s t a l l c o n d u i t . P V Cc a nb e e m b e d d e d i nc e m e n t w a l l s f o r p a s s i n gc a b l ef r o mr o o mt or o o m . $i sa v o i d s t h en e e dt os m a s hn e w h o l e s e v e r yt i m eac a b l en e e d s t ob e p a s s e d . P l a s t i cb a g s c a nb es t u 1 e d i n t o t h e c o n d u i t a r o u n dt h e c a b l e s f o r i n s u l a t i o n . S m a l l e q u i p m e n t s h o u l d b e m o u n t e d o nt h e w a l l a n d l a r g e r e q u i p m e n t s h o u l db e p u t i na c l o s e t o r i na c a b i n e t . S w i t c h e s S w i t c h e s , h u b s o r i n t e r i o r a c c e s s p o i n t s c a nb e s c r e w e dd i r e c t l y o n t o a w a l l w i t haw a l l p l u g . I t i s b e s t t op u t t h i s e q u i p m e n t a s h i g ha s p o s s i b l et o r e d u c et h ec h a n c et h a t s o m e o n ew i l l b ea b l et ot o u c ht h ed e v i c eo r i t s c a b l e s w i t h o u t s i g n i 0 c a n t e 1 o r t . C a b l e s A t t h ev e r yl e a s t , c a b l e s s h o u l db eh i d d e na n df a s t e n e d . I t i s p o s s i b l et o 0 n dp l a s t i c c a b l e c o n d u i t t h a t c a nb e u s e di nb u i l d i n g s . I f y o uc a n n o t 0 n d i t , s i m p l e c a b l e a t t a c h m e n t s c a nb e n a i l e di n t o t h e w a l l t o s e c u r e t h e c a b l e . $i s w i l l m a k e s u r e t h a t t h e c a b l e d o e s n ' t h a n gw h e r ei t c a nb es n a g g e d , p i n c h e d o r c u t .

9. SECURITY FOR WIRELESS NETWORKS

151

Wh e nf a s t e n i n g c a b l e t ot h e w a l l , i t i s i m p o r t a n t t on o t n a i l o r s c r e wi n t o t h e c a b l e i t s e l f . $e c a b l e c o n t a i n s m a n yt i n y w i r e s t h a t t h e n e t w o r kd a t a t r a v e l s o v e r . N a i l i n gt h r o u g ht h e c a b l e w i l l d a m a g e i t a n dm a k e i t u s e l e s s f o r t r a n s m i t t i n gd a t a . T a k e c a r e a l s ot on o t o v e r l y b e n do r t w i s t t h e c a b l e a s t h i s w i l l d a m a g e i t a s w e l l . I t i s p r e f e r a b l e t ob u r yc a b l e s , r a t h e r t h a nt ol e a v e t h e mh a n g i n ga c r o s s a y a r d . H a n g i n gw i r e s m i g h t b e u s e df o r d r y i n g c l o t h e s , o r b e s n a g g e db y a l a d d e r , e t c . T oa v o i dv e r m i na n di n s e c t s , u s e p l a s t i c e l e c t r i c a l c o n d u i t . $e m a r g i n a l e x p e n s ew i l l b ew e l l w o r t ht h et r o u b l e . $ec o n d u i t s h o u l db e b u r i e da b o u t 3 0c md e e p , o r b e l o wt h e f r o s t l e v e l i nc o l dc l i m a t e s . I t i s w o r t ht h ee x t r ai n v e s t m e n to fb u y i n gl a r g e rc o n d u i tt h a ni sp r e s e n t l y r e q u i r e d ,s ot h a tf u t u r ec a b l e sc a nb er u nt h r o u g ht h es a m et u b i n g . C o n s i d e r l a b e l i n gb u r i e dc a b l e w i t ha" c a l l b e f o r e y o ud i g " s i g nt oa v o i d f u t u r e a c c i d e n t a l o u t a g e s . P o w e r I t i s b e s t t oh a v ep o w e r b a r s l o c k e di nac a b i n e t . I f t h a t i s n o t p o s s i b l e , m o u n t t h e p o w e r b a r u n d e r ad e s k , o r o nt h e w a l l a n du s e d u c t t a p e ( o r g a 1 e r t a p e , a s t r o n g a d h e s i v e t a p e ) t os e c u r e t h e p l u gi n t ot h e r e c e p t a c l e . O nt h eU P Sa n dp o w e r b a r , d on o t l e a v ea n ye m p t yr e c e p t a c l e s . T a p e t h e mi fn e c e s s a r y .P e o p l ew i l lh a v et h et e n d e n c yt ou s et h ee a s i e s t r e c e p t a c l e , s om a k e t h e s e c r i t i c a l o n e s d i N c u l t t ou s e . I f y o ud on o t , y o u m i g h t 0 n da f a no r l i g h t p l u g g e di n t o y o u r U P S ; t h o u g hi t i s n i c e t oh a v e l i g h t , i t i s n i c e r t o k e e py o u r s e r v e r r u n n i n g ! Wa t e r P r o t e c t y o u r e q u i p m e n t f r o mw a t e r a n dm o i s t u r e . I na l l c a s e s m a k e s u r e t h a t y o u re q u i p m e n t , i n c l u d i n gy o u rU P Si sa tl e a s t3 0c mf r o mt h e g r o u n d , t oa v o i dd a m a g e f r o m Wo o d i n g . A l s ot r y t oh a v e a r o o f o v e r y o u r e q u i p m e n t , s ot h a t w a t e ra n dm o i s t u r ew i l l n o tf a l l o n t oi t . I nm o i s t c l i m a t e s , i ti si m p o r t a n tt h a tt h ee q u i p m e n th a sp r o p e rv e n t i l a t i o nt o a s s u r et h a tm o i s t u r ec a nb ee x h a u s t e d .S m a l lc l o s e t sn e e dt oh a v e v e n t i l a t i o n , o r m o i s t u r e a n dh e a t c a nd e g r a d e o r d e s t r o y y o u r g e a r . Ma s t s E q u i p m e n t i n s t a l l e do na m a s t i s o f t e ns a f e f r o mt h i e v e s . N e v e r t h e l e s s , t o d e t e r t h i e v e s a n dt ok e e py o u r e q u i p m e n t s a f e f r o mw i n d s , i t i s g o o dt o o v e r e n g i n e e r m o u n t s .

152

NETWORKING

P a i n t i n g e q u i p m e n t a d u l l w h i t e o r g r e y c o l o u r r e W e c t s t h e s u na n dm a k e s i t l o o kp l a i na n du n i n t e r e s t i n g . P a n e l a n t e n n a s a r e o f t e np r e f e r r e db e c a u s e t h e ya r em u c hm o r es u b t l ea n dl e s si n t e r e s t i n gt h a nd i s h e s .A n y i n s t a l l a t i o no nw a l l s s h o u l db e h i g he n o u g ht or e q u i r eal a d d e r t or e a c h . T r yc h o o s i n gw e l l l i t b u t n o t p r o m i n e n t p l a c e s t op u t e q u i p m e n t . A l s o a v o i da n t e n n a e t h a t r e s e m b l e t e l e v i s i o na n t e n n a e , a s t h o s e a r ei t e m s t h a t w i l l a t t r a c t i n t e r e s t b y t h i e v e s , w h e r e a s a w i 0a n t e n n a w i l l b e u s e l e s s t ot h e a v e r a g e t h i e f .

Authentication and access control


T a l k i n ga b o u ta u t h e n t i c a t i o n an u m b e ro fr e l a t e dt e r m sl i k e( d i g i t a l ) i d e n t i t y ,a u t h o r i s a t i o n ,p r i v a c ye t c .p o pu p .S ob e f o r ew eg e ti n t o a u t h e n t i c a t i o np r o p e r w en e e dt oi n t r o d u c es o m et e r m i n o l o g y , w i t h o u t t r y i n g t ob e e x h a u s t i v e . D i g i t a li d e n t i t yi st h ee l e c t r o n i ce n t i t yt h a ti sa r e p r e s e n t a t i o no fa p h y s i c a l e n t i t y , l i k e a p e r s o no r ad e v i c e . A u t h e n t i c a t i o ni s t h e p r o c e s s o f v e r i f y i n g t h e c l a i mt h a t a n( e l e c t r o n i c ) e n t i t y i s a l l o w e dt oa c t o nb e h a l f o f ag i v e nk n o w n( p h y s i c a l )e n t i t y . I no t h e rw o r d s , a u t h e n t i c a t i o ni st h e p r o c e s so fp r o v i n gt h a tt h ep h y s i c a le n t i t yc o r r e s p o n d st o ac e r t a i n e l e c t r o n i co n e . A u t h o r i s a t i o ni nt u r ni st h ep r o c e s so fe s t a b l i s h i n gt h e r i g h t so ft h ei d e n t i t yt oa c c e s sc e r t a i nr e s o u r c e so rt op e r f o r mc e r t a i n t a s k s . P r i v a c y , 0 n a l l y , i s a c o m p l e xi s s u e b u t h a s t od ow i t ht h e r i g h t o f a p e r s o nn o t t oh a v e t h e i r p e r s o n a l d a t a a n db e h a v i o u r b e k n o w nt op a r t i e s t h a t d on o t s t r i c t l y n e e di t t op r o v i d e t h e s e r v i c e t h e u s e r s r e q u e s t . S of o r e x a m p l e , i t i s r e a s o n a b l ef o r al i q u o rs h o pt ok n o wt h a t ac u s t o m e r i s a b o v eac e r t a i na g eb e f o r es e l l i n ga l o c h o l i cd r i n k s , b u t n o t t ok n o wt h e n a m e o f t h e c u s t o m e r , a n dt h i r dp a r t i e s s h o u l dn o t h a v e a n y k n o w l e d g e o f t h e t r a n s a c t i o na t a l l . P r i v a c y i s o f p a r t i c u l a r c o n c e r ni na w o r l di nw h i c h u s e r si n c r e a s i n g l yu s en e t w o r k sa n d s e r v i c e so u t s i d et h e i rh o m e e n v i r o n m e n t . Wi t h o u t p r o p e r a t t e n t i o nt op r i v a c y a s p e c t s i t i s t o oe a s y t o t r a c e a u s e r s b e h a v i o u r a n dm o v e m e n t . I t i s w o r t hm e n t i o n i n g t h a t t h e r e i s a t r a d e o 1b e t w e e na u t h e n t i c a t i o na n d p r i v a c y . V e r i f y i n gt h e i d e n t i t y o f a u s e r i ni t s e l f i n v a d e s t h e u s e r ' s p r i v a c y , t h e a u t h e n t i c a t i n g p a r t y k n o w s w h oi s u s i n g w h a t r e s o u r c e a t a p a r t i c u l a r t i m ea n dl o c a t i o n ,b u tt h ec h a l l e n g ei st om i n i m i s et h ea m o u n to f i n f o r m a t i o na b o u t a u s e r a n dt h e n u m b e r o f p a r t i e s t h a t a r e p r i v v y t ot h a t i n f o r m a t i o n .

9. SECURITY FOR WIRELESS NETWORKS

153

I nt h ec o n t e x t o f t h i sb o o kw ea r em a i n l yi n t e r e s t e di nt e c h n i q u e s f o r c o n t r o l l i n ga c c e s s t ot h e n e t w o r k . I no t h e r w o r d s , w e w a n t t ob ea b l e t o d e c i d ew h o( a u t h e n t i c a t e di d e n t i t y )g e t st oa c c e s sw h a t( a u t h o r i s a t i o n ) w i t h o u t s a c r i 0 c i n g p r i v a c y . A u t h e n t i c a t i o ni st y p i c a l l yd o n eb yp r o o fo fk n o w l e d g eo fas e c r e t( a p a s s w o r d , a s i g n a t u r e ) , p o s s e s s i o no f a t o k e no r c h a r a c t e r i s t i c ( a c e r t i 0 c a t e , a0 n g e r p r i n t ) o r b o t h . A c c e s s c o n t r o l i s o f t e nn e e d e dt om a k es u r et h a t o n l y a u t h o r i s e du s e r s c a nu s e t h e n e t w o r k , t o p r e v e n t e x h a u s t i o no f s c a r c e r e s o u r c e sa n d / o rc o m p l i a n c ew i t hr u l e sa n dr e g u l a t i o n s . I na d d i t i o nt o a c c e s s c o n t r o l l e dn e t w o r k s t h e r e m a ya l s ob eo p e nn e t w o r k s w i t hl i m i t e d a c c e s s o rf o ral i m i t e dt i m e , b u td u et ot h en e e df o ro r g a n i s a t i o n st o c o n t r o l a c c e s s t ot h e i rs c a r c er e s o u r c e s a n da l s oa n t i t e r r o r i s t l a w st h e y b e c o m e l e s s u b i q u i t o u s . O v e r t h e y e a r s a n u m b e r o f t e c h n i q u e s h a v e b e e n e m p l o y e dt oc o n t r o l a c c e s s t ow i r e l e s s n e t w o r k s . S u b s e q u e n t l yt h e yh a v e b e e nm o s t l ya b a n d o n e dd u et os e c u r i t yo rs c a l a b i l i t yi s s u e sa sWi F i b e c a m e i n c r e a s i n g l y p o p u l a r . Ma c 0 l t e r i n g A c c e s s t oaWi F i n e t w o r kc a nb e b a s e do nt h e MA Ca d d r e s s . $i s i s t h e 4 8 b i tn u m b e ra s s i g n e db yt h em a n u f a c t u r e rt oe v e r yw i r e l e s sa n d E t h e r n e td e v i c e , a n dt h a t i s s u p p o s e dt ob eu n i q u ea n dp e r s i s t e n t . B y e m p l o y i n gm a c0 l t e r i n go no u r a c c e s s p o i n t s , w ec a na u t h e n t i c a t e u s e r s b a s e do n t h e i r MA Ca d d r e s s . Wi t ht h i sf e a t u r e , t h ea c c e s s p o i n t k e e p sa ni n t e r n a l t a b l eo f a p p r o v e d MA Ca d d r e s s e s . Wh e n aw i r e l e s su s e rt r i e st oa s s o c i a t et ot h ea c c e s sp o i n t , t h eMA C a d d r e s s o f t h e c l i e n t m u s t b e o nt h e a p p r o v e dl i s t , o r t h e a s s o c i a t i o nw i l l b e d e n i e d . A l t e r n a t i v e l y , t h e A Pm a yk e e pat a b l eo f k n o w n b a d MA C a d d r e s s e s , a n dp e r m i t a l l d e v i c e s t h a t a r en o t o nt h el i s t . U n f o r t u n a t e l y , t h i s i s n o t a ni d e a l s e c u r i t y m e c h a n i s m . Ma i n t a i n i n g MA Ct a b l e s o ne v e r y d e v i c e c a nb e c u m b e r s o m e , r e q u i r i n g a l l c l i e n t d e v i c e s t oh a v e t h e i r MA C a d d r e s s e s r e c o r d e da n du p l o a d e dt ot h e A P s . E v e nw o r s e , MA Ca d d r e s s e s c a no f t e nb e c h a n g e di ns o f t w a r e . B y o b s e r v i n gMA Ca d d r e s s e s i nu s e o n aw i r e l e s sn e t w o r k , ad e t e r m i n e da t t a c k e rc a ns p o o f( i m p e r s o n a t e )a n a p p r o v e dMA Ca d d r e s s a n ds u c c e s s f u l l y a s s o c i a t e t o t h e A P . Wh i l eMA C0 l t e r i n gw i l lp r e v e n tu n i n t e n t i o n a lu s e r sa n de v e nm o s t c u r i o u si n d i v i d u a l sf r o m a c c e s s i n gt h en e t w o r k ,MA C0 l t e r i n ga l o n e c a n n o t p r e v e n t a t t a c k s f r o md e t e r m i n e d a t t a c k e r s .

154

NETWORKING

MA C0 l t e r s a r eu s e f u l f o r t e m p o r a r i l yl i m i t i n ga c c e s s f r o mm i s b e h a v i n g c l i e n t s . F o r e x a m p l e , i f al a p t o ph a s av i r u s t h a t s e n d s l a r g e a m o u n t s o f s p a mo r o t h e r t r a N c , i t s MA Ca d d r e s s c a nb e a d d e dt ot h e 0 l t e r t a b l e t o s t o pt h e t r a N c i m m e d i a t e l y . $i s w i l l b u y y o u t i m e t ot r a c k d o w nt h e u s e r a n d0 x t h e p r o b l e m . C l o s e d n e t w o r k s A n o t h e r a t o n e t i m e p o p u l a r " a u t h e n t i c a t i o nf e a t u r e " o f Wi F i n e t w o r k s i s t h es o c a l l e dc l o s e dn e t w o r km o d e .I n at y p i c a ln e t w o r k ,A P sw i l l b r o a d c a s t t h e i r E S S I Dm a n y t i m e s p e r s e c o n d , a l l o w i n g w i r e l e s s c l i e n t s ( a s w e l l a s t o o l ss u c ha sN e t S t u m b l e r )t o0 n dt h en e t w o r ka n dd i s p l a yi t s p r e s e n c et ot h eu s e r . I nac l o s e dn e t w o r k , t h eA Pd o e s n o t b e a c o nt h e E S S I D( " h i d d e nE S S I D " ) , a n du s e r s m u s tk n o wt h ef u l l n a m eo ft h e n e t w o r kb e f o r et h eA Pw i l l a l l o wa s s o c i a t i o n . $i s p r e v e n t s c a s u a l u s e r s f r o md i s c o v e r i n g t h e n e t w o r k a n ds e l e c t i n g i t i nt h e i r w i r e l e s s c l i e n t . $e r e a r e a n u m b e r o f d r a w b a c k s t o t h i s f e a t u r e . F o r c i n g u s e r s t o t y p e i nt h e f u l l E S S I Db e f o r e c o n n e c t i n gt ot h e n e t w o r ki s e r r o r p r o n e a n do f t e nl e a d s t o s u p p o r t c a l l s a n dc o m p l a i n t s . S i n c e t h e n e t w o r ki s n t o b v i o u s l yp r e s e n t i n s i t es u r v e yt o o l sl i k eN e t S t u m b l e r , t h i sc a np r e v e n t y o u r n e t w o r k s f r o m s h o w i n gu po nw a r d r i v i n gm a p s . B u t i t a l s om e a n s t h a t o t h e r n e t w o r k b u i l d e r sc a n n o te a s i l y0 n dy o u rn e t w o r ke i t h e r ,a n ds p e c i 0 c a l l yw o n t k n o wt h a t y o u a r e a l r e a d y u s i n g a g i v e nc h a n n e l . Ac o n s c i e n t i o u sn e i g h b o u rm a yp e r f o r m as i t es u r v e y ,s e en on e a r b y n e t w o r k s , a n di n s t a l l t h e i ro w nn e t w o r ko nt h es a m ec h a n n e l y o ua r e u s i n g .$ i sw i l lc a u s ei n t e r f e r e n c ep r o b l e m sf o rb o t hy o ua n dy o u r n e i g h b o u r . F i n a l l y ,u s i n gc l o s e dn e t w o r k su l t i m a t e l ya d d sl i t t l et oy o u ro v e r a l l n e t w o r ks e c u r i t y . B yu s i n gp a s s i v em o n i t o r i n gt o o l s( s u c ha s K i s m e t ) , a m a l i c i o u s u s e r c a nd e t e c t f r a m e s s e n t f r o my o u r l e g i t i m a t e c l i e n t s t ot h e A P . $e s ef r a m e sn e c e s s a r i l yc o n t a i nt h en e t w o r kn a m e . $ em a l i c i o u s u s e r c a nt h e nu s et h i s n a m et oa s s o c i a t et ot h ea c c e s s p o i n t , j u s t l i k ea n o r m a l u s e rw o u l d . E n c r y p t i o ni sp r o b a b l yt h eb e s tt o o l w eh a v ef o r a u t h e n t i c a t i n g w i r e l e s s u s e r s . $r o u g hs t r o n g e n c r y p t i o n , w e c a nu n i q u e l y i d e n t i f yau s e r i nam a n n e r t h a t i s v e r yd i N c u l t t os p o o f , a n du s et h a t i d e n t i t yt od e t e r m i n ef u r t h e rn e t w o r ka c c e s s . E n c r y p t i o na l s oh a st h e b e n e 0 to fa d d i n gal a y e ro fp r i v a c yb yp r e v e n t i n ge a v e s d r o p p e r sf r o m e a s i l yw a t c h i n gn e t w o r kt r a N c . E n c r y p t i o ni s t h et e c h n i q u et h a t i s u s e d f o r a u t h e n t i c a t i n g u s e r s i nm o s t c u r r e n t d e p l o y m e n t s .

9. SECURITY FOR WIRELESS NETWORKS

155

WE P $e 0 r s t w i d e l y e m p l o y e de n c r y p t i o nm e t h o d o n Wi F i n e t w o r k s w a s WE P e n c r y p t i o n . WE Ps t a n d s f o r Wi r e dE q u i v a l e n t P r i v a c y , a n di s s u p p o r t e d b yv i r t u a l l ya l l 8 0 2 . 1 1 a / b / ge q u i p m e n t . I n c i d e n t a l l y , t h i si sac o m p l e t e m i s n o m e r a s t h ep r i v a c yt h a t WE Pp r o v i d e s i s i nn ow a ye q u i v a l e n t t o t h a t o f w i r e dc o n n e c t i o n s . WE Pu s e s a s h a r e d4 0 b i t k e yt oe n c r y p t d a t a b e t w e e nt h e a c c e s s p o i n t a n dc l i e n t . $e k e ym u s t b e e n t e r e do nt h e A P s a s w e l l a s o n e a c ho f t h e c l i e n t s . Wi t hWE Pe n a b l e d , w i r e l e s sc l i e n t s c a n n o t a s s o c i a t ew i t ht h eA Pu n t i l t h e yu s et h ec o r r e c tk e y . A ne a v e s d r o p p e rl i s t e n i n gt oaWE P e n a b l e d n e t w o r kw i l l s t i l l s e e t r a N ca n dMA Ca d d r e s s e s , b u t t h e d a t a p a y l o a do f e a c h p a c k e t i s e n c r y p t e d . $i sp r o v i d e da na u t h e n t i c a t i o nm e c h a n i s mw h i l ea l s oa d d i n gab i t o f p r i v a c yt ot h en e t w o r k . WE Pi s d e 0 n i t e l yn o t t h es t r o n g e s t e n c r y p t i o n s o l u t i o na v a i l a b l e . F o ro n et h i n g , t h eWE Pk e yi s s h a r e db e t w e e na l l u s e r s . I f t h ek e yi s c o m p r o m i s e d( s a y , i f o n e u s e r t e l l s a f r i e n dw h a t t h e p a s s w o r di s , o r i f a n e m p l o y e ei sl e tg o )t h e nc h a n g i n gt h ep a s s w o r dc a nb ep r o h i b i t i v e l y d i N c u l t , s i n c e a l l A P s a n d c l i e n t d e v i c e s n e e dt o b e c h a n g e d . $i s a l s om e a n s t h a t l e g i t i m a t e u s e r s o f t h e n e t w o r kc a ns t i l l e a v e s d r o po n e a c ho t h e r s t r a N c , s i n c e t h e y a l l k n o wt h e s h a r e d k e y . $ ek e yi t s e l f i so f t e np o o r l yc h o s e n , m a k i n go k i n ec r a c k i n ga t t e m p t s f e a s i b l e . B u t m o s t i m p o r t a n t l y , WE Pi t s e l f i s b r o k e n , m a k i n g i t v e r ye a s y t o g a i ni l l e g a l a c c e s s t h e n e t w o r k . S o WE Ps h o u l dn o t b e u s e da n y m o r e . F o r m o r e d e t a i l s a b o u t t h e s t a t e o f WE Pe n c r y p t i o n , s e e t h e s e p a p e r s : h t t p : / / w w w . i s a a c . c s . b e r k e l e y . e d u / i s a a c / w e p f a q . h t m l h t t p : / / w w w . c s . u m d . e d u / ~ w a a / w i r e l e s s . p d f " S w i t c h e d " w i r e l e s s n e t w o r k s O n ec r i t i c a l d i 1 e r e n c eb e t w e e nm o d e r ns w i t c h e dE t h e r n e t n e t w o r k s a n d w i r e l e s s i s t h a t w i r e l e s s n e t w o r k s a r e b u i l t o n a s h a r e dm e d i u m . $e ym o r e c l o s e l yr e s e m b l e t h e o l dn e t w o r kh u b s t h a nm o d e r ns w i t c h e s , i nt h a t e v e r yc o m p u t e r c o n n e c t e dt ot h e n e t w o r kc a n s e e t h e t r a N co f e v e r y o t h e r u s e r .

156

NETWORKING

T om o n i t o r a l l n e t w o r kt r a N c o na na c c e s s p o i n t , o n e c a ns i m p l y t u n e t o t h e c h a n n e l b e i n g u s e d , p u t t h e n e t w o r kc a r di n t o m o n i t o r m o d e , a n dl o g e v e r y f r a m e . $i s d a t am i g h t b ed i r e c t l yv a l u a b l et oa ne a v e s d r o p p e r ( i n c l u d i n gd a t a s u c ha se m a i l ,v o i c ed a t a ,o ro n l i n ec h a tl o g s ) .I tm a ya l s op r o v i d e p a s s w o r d s a n do t h e r s e n s i t i v e d a t a , m a k i n g i t p o s s i b l e t oc o m p r o m i s e t h e n e t w o r ke v e nf u r t h e r . WP Aa n d8 0 2 . 1 Xa r e d e s i g n e dt om a k e t h e w i r e l e s s n e t w o r k b e h a v e l i k e a s w i t c h e d r a t h e r t h a na s h a r e d n e t w o r k . WP A A n o t h e r d a t a l i n kl a y e r a u t h e n t i c a t i o np r o t o c o l i s Wi F i P r o t e c t e dA c c e s s , o r WP A . WP Aw a s c r e a t e ds p e c i 0 c a l l yt od e a l w i t ht h e k n o w np r o b l e m s w i t h WE Pm e n t i o n e de a r l i e r .WP Aw a si n t e n d e dt ob eab a c k w a r d s c o m p a t i b l ei n t e r i ms o l u t i o nw h i l e t h e f u l l s t a n d a r d8 0 2 . 1 1 i ( WP A 2 ) w a s d e v e l o p e d . WP Aa n dWP A 2c a no p e r a t ei nc o m b i n a t i o nw i t ht h e 8 0 2 . 1 Xu m b r e l l a s t a n d a r df o r w i r e l e s s a u t h e n t i c a t i o n ( s e e b e l o w ) b u t a l s o m u c hi nt h e s a m e m o d e a s WE P , w i t ha s h a r e ds e c r e t b e t w e e na l l c l i e n t s a n dt h e A P , t h e s o c a l l e dP r eS h a r e dK e y( P S K )m o d e( t h eWi F i A l l i a n c ec a l l sWP A P S K " WP AP e r s o n a l " ,a so p p o s e dt o" WP AE n t e r p r i s e "t h a ti su s e di n c o m b i n a t i o nw i t h 8 0 2 . 1 X ) . O v e r a l l , WP Ap r o v i d e s s i g n i 0 c a n t l y b e t t e r a u t h e n t i c a t i o na n dp r i v a c y t h a n s t a n d a r dWE P , m a i n l y b y l e v e r a g i n g t h e T e m p o r a r y K e y I n t e g r i t y P r o t o c o l ( T K I P ) t h a t c o n t i n u o u s l ya n da u t o m a t i c a l l yc h a n g e s t h ek e y i n gm a t e r i a l b e t w e e nc l i e n t s a n da c c e s s p o i n t s . U n f o r t u n a t e l yp r e c i s e l yt h eb a c k w a r d sc o m p a t i b i l i t yo f T K I Ph a sg i v e n r i s e t os o m e a t t a c kv e c t o r s a g a i n s t T K I Pt h a t a l l o wf o r d e c r y p t i n gc e r t a i n e n c r y p t e dp a c k e t s , t h a t i nt u r nc a nb e m a n i p u l a t e df o r f u r t h e r a t t a c k s . Mo r e i n f o r m a t i o nc a nb e f o u n di nt h e f o l l o w i n g a r t i c l e s : h t t p : / / d l . a i r c r a c k n g . o r g / b r e a k i n g w e p a n d w p a . p d f h t t p : / / d o w n l o a d . a i r c r a c k n g . o r g / w i k i 0 l e s / d o c / e n h a n c e d _ t k i p _ m i c h a e l . p d f $e c o n s e q u e n c e o f t h e s e d i s c o v e r i e s i s t h a t i t i s w i s e t om o v e t ot h e n e x t g e n e r a t i o no f s e c u r e Wi F i a c c e s s p r o t o c o l s : WP A 2 .

9. SECURITY FOR WIRELESS NETWORKS

157

WP A 2 P S K WP A 2 i s t h e f u l l I E E E8 0 2 . 1 1 i s t a n d a r d . $ em a i nd i 1 e r e n c ew i t hWP Ai s t h eu s eo f t h eA d v a n c e dE n c r y p t i o n S y s t e m( A E S ) i n s t e a do f T K I Pa ( s o f a r ) n o t b r o k e ne n c r y p t i o ns t a n d a r d . S o t h e u s e o f WP A 2 w i t hA E Sc a nb e c o n s i d e r e ds e c u r e f o r n o w !

Summary
$e m a j o r d o w n s i d e o f a n yo f t h e s e l a s t t h r e e a u t h e n t i c a t i o nm e t h o d s i s t h a t , r e g a r d l e s s o f t h e s t r e n g t ho f t h e e n c r y p t i o n , t h e y a r e s t i l l b u i l t u p o n t h e n o t i o no f ac o m m o ns h a r e ds e c r e t b e t w e e na l l c l i e n t s a n dt h e a c c e s s p o i n t . $e yd o n ' ta l l o wf o ri d e n t i f y i n gi n d i v i d u a l u s e r sa n df r a n k l y , as e c r e t s h a r e db yp o t e n t i a l l yt e n s o f t h o u s a n d s o f u s e r s c a nh a r d l yb ec a l l e da s e c r e t . A n o t h e rs e r i o u sp r o b l e m w i t hw i r e l e s sn e t w o r k st ow h i c ha c c e s si s c o n t r o l l e db y a n y o f t h e m e t h o d s m e n t i o n e d , i s t h a t i t s u s e r s a r e r e l a t i v e l y a n o n y m o u s . Wh i l e i t i s t r u e t h a t e v e r y w i r e l e s s d e v i c e i n c l u d e s a u n i q u e MA Ca d d r e s s t h a t i s s u p p l i e db yt h em a n u f a c t u r e r , a sm e n t i o n e dt h e s ea d d r e s s e sc a n o f t e n b e c h a n g e dw i t hs o f t w a r e . A n de v e nw h e nt h eMA Ca d d r e s s i s k n o w n , i t c a nb ev e r yd i N c u l t t o j u d g e w h e r e a w i r e l e s s u s e r i s p h y s i c a l l y l o c a t e d . Mu l t i p a t h e 1 e c t s ,h i g h g a i n a n t e n n a s ,a n d w i d e l yv a r y i n gr a d i o t r a n s m i t t e r c h a r a c t e r i s t i c s c a nm a k e i t i m p o s s i b l e t o d e t e r m i n e i f a w i r e l e s s u s e r i s s i t t i n g i nt h e n e x t r o o mo r i s i na na p a r t m e n t b u i l d i n g a m i l e a w a y . $e c o n c e r n s a b o u t s e c u r i t y , a c c o u n t a b i l i t ya n ds c a l a b i l i t yh a v e l e dt ot h e r i s e o f w h a t i s c o m m o n l y c a l l e di d e n t i t y b a s e dn e t w o r k i n g . I d e n t i t y b a s e dn e t w o r k i n g I ni d e n t i t yb a s e dn e t w o r k i n gi n d i v i d u a lu s e r sa r eb e i n ga u t h e n t i c a t e d

158

NETWORKING

r a t h e r t h a ns e c r e t s s h a r e db e t w e e nm a n y u s e r s . T y p i c a l l yt h ea u t h e n t i c a t i o ns y s t e mv e r i 0 e s u s e r c r e d e n t i a l s a g a i n s t s o m e s o r t o f e n t e r p r i s e d a t a b a s e o r d i r e c t o r y . C o m m o n l y b y u s i n g t h e R A D I U S p r o t o c o l , a p r o t o c o l o r i g i n a l l y d e s i g n e d f o r c o n t r o l l i n ga c c e s s t od i a l i nm o d e mp o o l s b u t s u N c i e n t l yv e r s a t i l et o s e r v e a s g e n e r i c a c c e s s c o n t r o l p r o t o c o l f o r n e t w o r k a c c e s s . C a p t i v e p o r t a l s O n e c o m m o na u t h e n t i c a t i o nt o o l u s e do nw i r e l e s s n e t w o r k s i s t h e c a p t i v e p o r t a l . Ac a p t i v e p o r t a l u s e s a s t a n d a r dw e bb r o w s e r t og i v e a w i r e l e s s u s e r t h e o p p o r t u n i t y t o p r e s e n t l o g i nc r e d e n t i a l s . I t c a na l s ob eu s e dt op r e s e n t i n f o r m a t i o n( s u c ha sa nA c c e p t a b l eU s e P o l i c y ) t o t h e u s e r b e f o r e g r a n t i n g f u r t h e r a c c e s s . B yu s i n gaw e bb r o w s e r i n s t e a do f ac u s t o mp r o g r a mf o r a u t h e n t i c a t i o n , c a p t i v ep o r t a l sw o r kw i t hv i r t u a l l ya l ll a p t o p sa n do p e r a t i n gs y s t e m s . C a p t i v ep o r t a l sa r et y p i c a l l yu s e do no p e nn e t w o r k sw i t hn oo t h e r a u t h e n t i c a t i o nm e t h o d s ( s u c ha s WE Po r MA C0 l t e r s ) . T ob e g i n , a w i r e l e s s u s e r o p e n s t h e i r l a p t o pb r o w s e r a n di s d i r e c t e dt ot h e p o r t a l . $e y w i l l t h e nb e a s k e dt oa c c e p t t h e u s e p o l i c y o r a n s w e r o t h e r q u e s t i o n s s u c ha s e n t e r i n g a u s e r n a m e a n dp a s s w o r d , a n dc l i c ko na l o g i n b u t t o n , o r p e r h a p s t y p e i nn u m b e r s f r o ma p r e p a i dt i c k e t . $e u s e r e n t e r s t h e i r c r e d e n t i a l s , w h i c ha r e c h e c k e db y t h e a c c e s s p o i n t o r a n o t h e r s e r v e r o n t h e n e t w o r k . A l l o t h e r n e t w o r k a c c e s s i s b l o c k e du n t i l t h e s e c r e d e n t i a l s a r e v e r i 0 e d . A f t e r v e r i 0 c a t i o nt h e i r c o m p u t e r w i l l r e c e i v e a D HC Pl e a s e . $e y c a nt h e nu s e t h e i r w e b b r o w s e r t o g o t o a n y s i t e o n t h e I n t e r n e t .

9. SECURITY FOR WIRELESS NETWORKS

159

F i g u r e S WN1 : e u s e r r e q u e s t s a w e b p a g e a n d i s r e d i r e c t e d .

F i g u r e S WN2 : e u s e r s c r e d e n t i a l s a r e v e r i C e d b e f o r e f u r t h e r n e t w o r k a c c e s s i s g r a n t e d . e a u t h e n t i c a t i o ns e r v e r c a nb e t h e a c c e s s p o i n t i t s e l f , a n o t h e r m a c h i n e o n t h e l o c a l n e t w o r k , o r a s e r v e r a n y w h e r e o n t h e I n t e r n e t .

160

NETWORKING

F i g u r e S WN3 : A f t e r a u t h e n t i c a t i n g , t h e u s e r i s p e r m i t t e dt o a c c e s s t h e r e s t o f t h e n e t w o r k a n d i s t y p i c a l l y r e d i r e c t e d t o t h e o r i g i n a l s i t e r e q u e s t e di nt h i s c a s e G o o g l e . C a p t i v ep o r t a l sp r o v i d en oe n c r y p t i o nf o rt h ew i r e l e s su s e r s ,i n s t e a d r e l y i n go nt h eMA Ca n dI Pa d d r e s s o f t h ec l i e n t a s au n i q u ei d e n t i 0 e r , w h i c hc a nb e s p o o f e de a s i l y , m a n yi m p l e m e n t a t i o n s w i l l t h e r e f o r e r e q u i r e t h e u s e r t ok e e pac o n n e c t i o nw i n d o wo p e n . S i n c e t h e y , j u s t l i k e MA C o r WE P b a s e d , d on o t p r o v i d e p r o t e c t i o na g a i n s t e a v e s d r o p p i n g( t h e y u s e as h a r e dm e d i u m ) a n da r e v u l n e r a b l e t os e s s i o nh i j a c k i n g , c a p t i v e p o r t a l s a r e n o t av e r yg o o dc h o i c e f o r n e t w o r k s t h a t n e e dt ob el o c k e dd o w nt o o n l y a l l o wa c c e s s f r o mt r u s t e du s e r s . $e ya r em u c hm o r es u i t e dt oc a f e s ,h o t e l s ,a n do t h e rp u b l i ca c c e s s l o c a t i o n s w h e r ec a s u a l n e t w o r ku s e r s a r ee x p e c t e d . A n o t h e r d o w n s i d eo f c a p t i v e p o r t a l s i s t h a t t h e y r e l y o nt h e u s e o f a b r o w s e r f o r a u t h e n t i c a t i o n , w h i c hc a nb e v e r y c o u n t e r i n t u i t i v e f o r u s e r s t h a t j u s t t r y t oc h e c k t h e i r e m a i l o rs e n da ni n s t a n tm e s s a g e , n o tt om e n t i o nt h ef a c tt h a tm a n y w i r e l e s sd e v i c e sl i k es e n s o r s , p r i n t e r s a n dc a m e r a sd o n ' th a v eab u i l t i n b r o w s e r . I np u b l i c o r s e m i p u b l i c n e t w o r ks e t t i n g s , e n c r y p t i o nt e c h n i q u e s s u c ha s WE Pa n dWP Aa r e e 1 e c t i v e l y u s e l e s s . $e r e i s s i m p l y n o w a y t o d i s t r i b u t e p u b l i co rs h a r e dk e y st om e m b e r so ft h eg e n e r a lp u b l i cw i t h o u t c o m p r o m i s i n g t h e s e c u r i t y o f t h o s e k e y s .

9. SECURITY FOR WIRELESS NETWORKS

161

I nt h e s e s e t t i n g s , as i m p l e a p p l i c a t i o ns u c ha s ac a p t i v ep o r t a l p r o v i d e s a l e v e lo fs e r v i c es o m e w h e r eb e t w e e nc o m p l e t e l yo p e na n dc o m p l e t e l y c l o s e d . Ma n yv e n d o r s a n do p e ns o u r c e p r o j e c t s e x i s t t h a t p r o v i d e c a p t i v e p o r t a l c a p a b i l i t y , t o n a m e a f e w : C o o v a C h i l l i , C o o v a A P( h t t p : / / c o o v a . o r g / C o o v a C h i l l i / ) , C o o v ai s t h es u c c e s s o ro ft h en ol o n g e ra c t i v e l ym a i n t a i n e dC h i l l i s p o t p r o j e c t . C o o v aa l l o w sf o rt h eu s eo f aR A D I U Sa u t h e n t i c a t i o n b a c k e n d . Wi F i d o g( h t t p : / / w w w . w i 0 d o g . o r g / ) ,Wi F iD o gp r o v i d e sav e r y c o m p l e t e c a p t i v e p o r t a l a u t h e n t i c a t i o np a c k a g e i nv e r y l i t t l e s p a c e ( t y p i c a l l yu n d e r 3 0 k b ) . F r o m au s e r s p e r s p e c t i v e , i t r e q u i r e s n o p o p u po rj a v a s c r i p ts u p p o r t , a l l o w i n gi tt ow o r ko n aw i d e r v a r i e t y o f w i r e l e s s d e v i c e s . M0 n 0 w a l l ,p f S e n s e( h t t p : / / m 0 n 0 . c h / w a l l / ) ,m 0 n 0 w a l li sa c o m p l e t ee m b e d d e do p e r a t i n gs y s t e m b a s e do nF r e e B S D .I t i n c l u d e s a c a p t i v e p o r t a l w i t hR A D I U Ss u p p o r t , a s w e l l a s a P HP w e b s e r v e r . Ma n yg e n e r a l n e t w o r k i n gv e n d o r s o 1 e r s o m ef o r mo f i n t e g r a t e dc a p t i v e p o r t a l s , e . g . Mi c r o t i k , C i s c o , A r u b a , A p t i l o .

802.1X
I ne n t e r p r i s ea n dc a m p u sd e p l o y m e n t s ,t h em o s tc o m m o nw i r e l e s s n e t w o r ka u t h e n t i c a t i o nf r a m e w o r ki s t h a t b a s e do nI E E E8 0 2 . 1 X . 8 0 2 . 1 X i s a l a y e r 2 p r o t o c o l t h a t c a nb e u s e db o t hf o r w i r e da n dw i r e l e s s n e t w o r k a u t h e n t i c a t i o na n di nf a c t c o m p r i s e s an u m b e r o f t e c h n o l o g i e s . 8 0 2 . 1 X d e s c r i b e s t h e i n t e r a c t i o nb e t w e e nt h e c l i e n t d e v i c e ( s u p p l i c a n t i n8 0 2 . 1 X ) a n dt h e A c c e s s P o i n t o r S w i t c h( A u t h e n t i c a t o r ) a s w e l l a s t h a t b e t w e e nt h e A c c e s sP o i n t o rS w i t c ha n dab a c k e n dR A D I U Ss e r v e r( A u t h e n t i c a t i o n S e r v e r ) t h a t i nt u r nv e r i 0 e s u s e r c r e d e n t i a l s a g a i n s t a ne n t e r p r i s e d i r e c t o r y ( o r W a t 0 l ef o r t h a t m a t t e r ) . F i n a l l y , 8 0 2 . 1 Xd e s c r i b e s h o wt ot r a n s p o r t u s e rc r e d e n t i a l sf r o m t h es u p p l i c a n tt ot h ea u t h e n t i c a t i o ns e r v e r t r a n s p a r e n t l yt ot h ea u t h e n t i c a t o ro ra n yo t h e rd e v i c ei nt h ep a t hb y l e v e r a g i n g t h e E x t e n s i b l e A u t h e n t i c a t i o nP r o t o c o l ( E A P ) . $e e n c r y p t i o nb e t w e e nt h e s u p p l i c a n t a n dt h e a u t h e n t i c a t o r c a nb e d o n e u s i n gr o t a t i n gWE P k e y s , WP Aw i t hT K I Po r WP A 2w i t hA E S . F o r t h e r e a s o n s m e n t i o n e di nt h e p a r a g r a p h o nWE P , WP A P S Ka n dWP A 2 P S K , WP A 2 w i t hA E Si s h i g h l y r e c o m m e n d e d .

162

NETWORKING

P r o b a b l yt h em o s t i n t e r e s t i n gf e a t u r eo f t h e8 0 2 . 1 Xi s t h eu s eo f E A P . E A Pd e 0 n e s ag e n e r i cw a yo f e n c a p s u l a t i n gc r e d e n t i a l s a n dt r a n s p o r t i n g t h e mf r o m as u p p l i c a n t( c l i e n ts o f t w a r e )t oa na u t h e n t i c a t i o ns e r v e r ( R A D I U S s e r v e r ) .S o c a l l e d E A P m e t h o d s d e 0 n e h o w s p e c i 0 c a u t h e n t i c a t i o nm e t h o d s c a nb ee n c a p s u l a t e di n t oE A P . $e r ea r eE A P m e t h o d s f o r a l l c o m m o nt y p e s o f a u t h e n t i c a t i o nm e t h o d s l i k e c e r t i 0 c a t e s , S I Mc a r d s , u s e r n a m e / p a s s w o r d , o n e t i m e p a s s w o r d s a n dh a r d w a r e t o k e n s . D u et ok e yo r t o k e nd i s t r i b u t i o np r o b l e m s w i t hh a n d i n go u t t o k e n s o r c e r t i 0 c a t e s a n dr e v o c a t i o nt h e v a s t m a j o r i t y o f l a r g e s c a l e d e p l o y m e n t s u s e w h a ta r ec a l l e dt u n n e l l e dE A P -m e t h o d s :u s e r n a m e / p a s s w o r db a s e d a u t h e n t i c a t i o nu s i n gaT L St u n n e l t ot h ea u t h e n t i c a t i o ns e r v e rt h r o u g h w h i c ht h ea c t u a lu s e r n a m ea n dp a s s w o r da r et r a n s m i t t e d .$ e u s e r i d e n t i t y u s e d f o rt h e T L S e n v e l o p ei st y p i c a l l y o ft h e f o r m a n o n y m o u s @ d o m a i n( t h i s i s c a l l e dt h eo u t e r i d e n t i t y ) w h e r e a s t h ei n n e r i d e n t i t y( i n s i d et h eT L St u n n e l ) i s o f t h ef o r mu s e r n a m e @ d o m a i n . $i s d i s t i n c t i o ni sp a r t i c u l a r l yi n t e r e s t i n gf o rr o a m i n gt oo t h e r o r g a n i s a t i o n s n e t w o r k s . I t i s p o s s i b l e t o t r a n s p o r t t h e a u t h e n t i c a t i o nc r e d e n t i a l s o f a u s e r o v e r t h e I n t e r n e t w h i l eo n l y r e v e a l i n gt h e h o m e o r g a n i s a t i o no f t h e u s e r ( t h ed o m a i np a r t ) , b u t t h a t i s t h et o p i co f t h en e x t p a r a g r a p h . S ow h a t h a p p e n s i na t y p i c a l 8 0 2 . 1 Xa u t h e n t i c a t i o nw i t ha t u n n e l l e dE A P m e t h o d i s t h e f o l l o w i n g :

F i g u r e S WN4 : e u s e o f 8 0 2 . 1 Xw i t h t u n n e l l e d E A Pf o r n e t w o r k a c c e s s ( c o u r t e s y S U R F n e t )

9. SECURITY FOR WIRELESS NETWORKS

163

$e c l i e n t a s s o c i a t e s w i t ht h e A c c e s s P o i n t ( a u t h e n t i c a t o r ) . $e A c c e s s P o i n t r e q u e s t s t h e c l i e n t ( s u p p l i c a n t ) t o a u t h e n t i c a t e . $e c l i e n t s e n d s a nE A Pm e s s a g e c o n t a i n i n ga T L Sp a c k e t w i t ha no u t e r i d e n t i t y a n o n y m o u s @ d o m a i n a n d i n s i d e t h e T L S p a c k e t u s e r n a m e @ d o m a i na n dt h e p a s s w o r dt ot h e a c c e s s p o i n t o v e r t h e 8 0 2 . 1 1 l i n k ( E A Po v e r L A No r E A P o L ) . $ eA c c e s s p o i n t r e c e i v e s t h eE A P m e s s a g e , e n c a p s u l a t e s i t i nR A D I U S a n ds e n d s i t t o t h e o r g a n i s a t i o n a l R A D I U S s e r v e r ( a u t h e n t i c a t i o ns e r v e r ) . $ eR A D I U Ss e r v e r d e c a p s u l a t e s t h eE A P m e s s a g ea n dv e r i 0 e s t h eu s e r c r e d n t i a l s a g a i n s t s o m e s o r t o f b a c k e n dl i k e a W a t 0 l e , a nL D A Pd i r e c t o r y , A c t i v e D i r e c t o r y o r s o m e t h i n g e l s e . I f t h ec r e d e n t i a l sa r ev a l i dt h eR A D I U Ss e r v e rs e n d sb a c kaR A D I U S A c c e s sA c c e p tm e s s a g et ot h eA c c e s sP o i n t . $eA c c e s sP o i n t g i v e s t h e c l i e n t a c c e s s t o t h e w i r e l e s s L A N . $e c l i e n t p e r f o r m s a D HC Pr e q u e s t , g e t s a nI P a d d r e s s a n di s c o n n e c t e d t o t h e n e t w o r k . $e r ea r ean u m b e r o f t u n n e l l e dE A P m e t h o d s t h a t e s s e n t i a l l yw o r kt h e s a m e , t h e d i 1 e r e n c e s a r e i nt h e s u p p o r t i nc o m m o no p e r a t i n g s y s t e m s , t h e v u l n a r a b i l i t yt od i c t i o n a r ya n dm a n i n t h e m i d d l ea t t a c k sa n dw h e t h e r t h e y r e q u i r e s t o r a g e o f c l e a r t e x t p a s s w o r d s i nt h e b a c k e n d . $ em o s tw i d e l yd e p l o y e dt u n n e l l e dE A P m e t h o d sn o w a d a y s a r eE A P T T L S( E A PT u n n e l l e dT r a n s p o r tL a y e rS e c u r i t y )a n dP E A P( P r o t e c t e d E A P ) . $e r eh a v eb e e ni n c o m p a t i b l ei m p l e m e n t a t i o n so fP E A Pd u et o d i s a g r e e m e n t sb e t w e e nt h ep r o p o n e n t so fP E A P( A p p l e ,C i s c oa n d Mi c r o s o f t )r e s u l t i n gi n al a r g eu p t a k eo fT T L S .$ ef a c tt h a tt h e s e i n c o m p a t i b i l i t i e sa r el a r g e l ys o l v e da n dt h el a c ko fn a t i v es u p p o r tf o r T T L Si n an u m b e ro fc o m m o nO S e s( A p p l ei O Sa n d MS Wi n d o w s v a r i a n t s ) h a v er e s u l t e di na ni n c r e a s ei nu p t a k eo f P E A P . An e w e r E A P m e t h o dt h a ti sg a i n i n gt r a c t i o ni sE A P F A S T d u et oi t ss e c u r i t y p r o p e r t i e s . E A P F A S Th a s a l s ob e e nc h o s e na s t h e b a s i s f o r t h e n e wt ob e d e v e l o p e dt u n n e l l e dE A P m e t h o d ( T E A P ) t h a t t h e I E T Fe x p e c t s t ob e t h e s i n g l e e n d o r s e d o n e .

Inter-organisational roaming
R A D I U Sh a st h ei n t e r e s t i n gp r o p e r t yt h a tR A D I U Sm e s s a g e sc a nb e p r o x i e d t o o t h e r R A D I U S s e r v e r s .

164

NETWORKING

$a t m e a n s i t i s p o s s i b l e f o r a n o r g a n i s a t i o nt oa l l o wf o r e a c ho t h e r s u s e r s t og a i na c c e s st ot h en e t w o r kb ya u t h e n t i c a t i n gt ot h e i rh o m e o r g a n i s a t i o n ' s R A D I U S s e r v e r . Wh e nt h eR A D I U Ss e r v e ro f o r g a n i s a t i o nA r e c e i v e s a na u t h e n t i c a t i o n r e q u e s t f r o ma n o n y m o u s @ o r g a n i s a t i o n B . o r gi t c a nf o r w a r dt h e r e q u e s t t o o r g a n i s a t i o nB ' sR A D I U S s e r v e ri n s t e a do fv e r i f y i n gt h ec r e d e n t i a l s l o c a l l y . O r g a n i s a t i o nB ' s R A D I U Ss e r v e r i nt u r nc a nv e r i f y t h e c r e d e n t i a l s a n ds e n dt h e a c c e s s a c c e p t b a c kt oo r g a n i s a t i o nA ' s R A D I U Ss e r v e r , t h a t t h e nt e l l s t h e A c c e s s P o i n t t o a l l o wt h e u s e r a c c e s s . $i s s o c a l l e df e d e r a t e d a c c e s s a l l o w s f o r t h e c r e a t i o no f v e r y s c a l a b l e a n dl a r g e d e p l o y m e n t s w h i l e a t t h e s a m e t i m e a l l o w i n g t h e i n d i v i d u a l o r g a n i s a t i o n s t oa p p l yt h e i r o w n a u t h e n t i c a t i o np o l i c i e s t ot h e i r u s e r s . Wh i l eR A D I U Sp r o x y i n gi sc e r t a i n l yp o s s i b l ei n c a p t i v ep o r t a l d e p l o y m e n t s i t d e 0 n i t e l y s h i n e s i na n8 0 2 . 1 X / E A Pe n v i r o n m e n t . B y u s i n g E A Pt h e u s e r c r e d e n t i a l s c a nb e p r o t e c t e ds ot h a t o n l y t h e h o m e o r g a n i s a t i o no f t h e u s e r i s a b l e t o s e e t h e m . $i sw a yl a r g ed e p l o y m e n t sc a nb ec r e a t e dw i t h o u tt h el e a k a g eo f c r e d e n t i a l s a n dw i t h o u t t e a c h i n gu s e r s t oe n t e r t h e i r s e c r e t c r e d e n t i a l s i n e v e r yw e b s i t et h a ti st h r o w nu pi nf r o n to ft h e m .A sa ne x a m p l e , e d u r o a m , t h e r o a m i n g w i r e l e s s a c c e s s f e d e r a t i o ni ne d u c a t i o n , t h a t e x t e n d s t h ea b o v ec o n c e p ts l i g h t l yb yi n s t e a do fh a v i n gd i r e c tR A D I U S c o n n e c t i o n sb e t w e e no r g a n i s a t i o n s ,i tb u i l d sa h i e r a r c h i c a ls y s t e m o f n a t i o n a l a n di n t e r n a t i o n a l R A D I U Ss e r v e r s , a l l o w i n gm i l l i o n s o f s t u d e n t s t og a i na c c e s s t oo v e r5 0 0 0c a m p u s n e t w o r k s i nm a n yc o u n t r i e s i na l l c o n t i n e n t s w i t ht h e e x c e p t i o no f A n t a r c t i c a .

F i g u r e S WN5 : e e d u r o a mi n f r a s t r u c t u r e f o r w o r l d w i d e r o a m i n g i n a c a d e m i a

9. SECURITY FOR WIRELESS NETWORKS

165

End to end encryption


I t s h o u l db en o t e dt h a t w h e r e a sWE P , WP A P S Ka n dWP A 2 P S Ka r e u s i n ge n c r y p t i o nt e c h n i q u e s t op r o v i d e a c c e s s c o n t r o l a n dp r o t e c t a g a i n s t e a v e s d r o p p i n g , t h e yo n l yp r o t e c t t h ew i r e l e s s t r a N cb e t w e e nc l i e n t a n d a c c e s s p o i n t , n o t o nt h e w i r e dp a r t o f t h e c o m m u n i c a t i o np a t h . I no r d e r t op r o t e c tt h ec o m m u n i c a t i o na g a i n s tu n a u t h o r i s e dt a m p e r i n go r e a v e s d r o p p i n g e n dt oe n de n c r y p t i o ni s n e e d e d . Mo s tu s e r sa r eb l i s s f u l l yu n a w a r et h a tt h e i rp r i v a t ee m a i l ,c h a t c o n v e r s a t i o n s , a n de v e np a s s w o r d s a r e o f t e ns e n t i nt h e c l e a r o v e r d o z e n s o f u n t r u s t e dn e t w o r k s b e f o r e a r r i v i n ga t t h e i r u l t i m a t e d e s t i n a t i o no nt h e I n t e r n e t . H o w e v e r m i s t a k e nt h e ym a yb e , u s e r s s t i l l t y p i c a l l yh a v e s o m e e x p e c t a t i o no fp r i v a c yw h e nu s i n gc o m p u t e rn e t w o r k s . P r i v a c yc a nb e a c h i e v e d , e v e no nu n t r u s t e dn e t w o r k s s u c ha s p u b l i c a c c e s s p o i n t s a n dt h e I n t e r n e t . $ eo n l yp r o v e ne 1 e c t i v em e t h o df o r p r o t e c t i n gp r i v a c yi s t h e u s e o f s t r o n g e n d t o e n de n c r y p t i o n . $e s e t e c h n i q u e s w o r kw e l l e v e no n u n t r u s t e dp u b l i c n e t w o r k s , w h e r e e a v e s d r o p p e r s a r e l i s t e n i n ga n dp o s s i b l y e v e nm a n i p u l a t i n g d a t a c o m i n g f r o ma na c c e s s p o i n t . T oe n s u r ed a t ap r i v a c y , g o o de n d t o e n de n c r y p t i o ns h o u l dp r o v i d et h e f o l l o w i n g f e a t u r e s : V e r i 0 e da u t h e n t i c a t i o no f t h e r e m o t e e n d . $e u s e r s h o u l db e a b l e t ok n o ww i t h o u t a d o u b t t h a t t h e r e m o t e e n di s w h oi t c l a i m s t ob e . Wi t h o u t a u t h e n t i c a t i o n , au s e r c o u l dg i v es e n s i t i v e d a t a t o a n y o n e c l a i m i n g t o b e t h e l e g i t i m a t e s e r v i c e . S t r o n g e n c r y p t i o nm e t h o d s . $e e n c r y p t i o na l g o r i t h ms h o u l ds t a n du pt op u b l i c s c r u t i n y , a n dn o t b e e a s i l yd e c r y p t e db yat h i r dp a r t y . $e r ei s n os e c u r i t yi no b s c u r i t y , a n d s t r o n ge n c r y p t i o ni s e v e ns t r o n g e r w h e nt h ea l g o r i t h mi s w i d e l yk n o w n a n ds u b j e c t t o p e e r r e v i e w . Ag o o da l g o r i t h mw i t has u i t a b l yl a r g ea n dp r o t e c t e dk e yc a np r o v i d e e n c r y p t i o nt h a t i s u n l i k e l yt ob eb r o k e nb ya n ye 1 o r t i no u rl i f e t i m e s u s i n gc u r r e n t t e c h n o l o g y . B e w a r e o f p r o d u c t v e n d o r s w h oa s s u r e y o ut h a t t h e i r p r o p r i e t a r ye n c r y p t i o nu s i n gt r a d e s e c r e t a l g o r i t h m s a r eb e t t e r t h a n o p e n , p e e r r e v i e w e do n e s .

166

NETWORKING

P u b l i c k e y c r y p t o g r a p h y . Wh i l e n o t a na b s o l u t e r e q u i r e m e n t f o r e n d t o e n de n c r y p t i o n , t h e u s e o f p u b l i ck e yc r y p t o g r a p h yi n s t e a do fas h a r e dk e yc a ne n s u r et h a ta n i n d i v i d u a l ' s d a t ar e m a i n s p r i v a t e , e v e ni f t h ek e yo f a n o t h e r u s e r o f t h e s e r v i c ei s c o m p r o m i s e d . I t a l s os o l v e s c e r t a i np r o b l e m s w i t hd i s t r i b u t i n g k e y s t ou s e r s o v e r u n t r u s t e dn e t w o r k s . D a t a e n c a p s u l a t i o n . Ag o o de n d t o e n de n c r y p t i o nm e c h a n i s mp r o t e c t sa sm u c hd a t aa s p o s s i b l e . $i sc a nr a n g ef r o me n c r y p t i n gas i n g l ee m a i l t r a n s a c t i o nt o e n c a p s u l a t i o no fa l lI Pt r a N c ,i n c l u d i n gD N Sl o o k u p sa n do t h e r s u p p o r t i n gp r o t o c o l s .S o m ee n c r y p t i o nt o o l ss i m p l yp r o v i d ea s e c u r e c h a n n e l t h a to t h e ra p p l i c a t i o n sc a nu s e . $i sa l l o w su s e r st or u na n y p r o g r a mt h e y l i k e a n ds t i l l h a v e t h e p r o t e c t i o no f s t r o n g e n c r y p t i o n , e v e n i f t h e p r o g r a m s t h e m s e l v e s d o n t s u p p o r t i t . B e a w a r e t h a t l a w s r e g a r d i n g t h e u s e o f e n c r y p t i o nv a r y w i d e l y f r o mp l a c e t o p l a c e . S o m e c o u n t r i e s t r e a t e n c r y p t i o na s m u n i t i o n s , a n dm a yr e q u i r e ap e r m i t , e s c r o wo f p r i v a t e k e y s , o r e v e np r o h i b i t i t s u s e a l t o g e t h e r . B e f o r ei m p l e m e n t i n ga n ys o l u t i o nt h a t i n v o l v e s e n c r y p t i o n , b es u r et o v e r i f y t h a t u s e o f t h i s t e c h n o l o g y i s p e r m i t t e di ny o u r l o c a l a r e a . I nt h e f o l l o w i n gs e c t i o n s , w e ' l l t a k e al o o ka t s o m e s p e c i 0 c t o o l s t h a t c a n p r o v i d e g o o d p r o t e c t i o n f o r y o u r u s e r ' s d a t a . T L S $e m o s t w i d e l y a v a i l a b l e e n d t o e n de n c r y p t i o nt e c h n o l o g yi s T r a n s p o r t L a y e rS e c u r i t y ,k n o w ns i m p l ya sT L S( o ri t sp r e d e c e s s o rS S L : S e c u r e S o c k e t s L a y e r ) . B u i l ti n t ov i r t u a l l ya l l w e bb r o w s e r s a n dm a n yo t h e r a p p l i c a t i o n s , T L S u s e s p u b l i c k e y c r y p t o g r a p h y a n da t r u s t e d p u b l i c k e y i n f r a s t r u c t u r e ( P K I ) t o s e c u r e d a t a c o m m u n i c a t i o n s o n t h e w e b . Wh e n e v e r y o u v i s i t a w e b U R Lt h a t s t a r t s w i t hh t t p s , y o u a r e u s i n g T L S . $e T L Si m p l e m e n t a t i o nb u i l t i n t ow e bb r o w s e r s i n c l u d e s a c o l l e c t i o no f c e r t i 0 c a t e s f r o mo r g a n i s a t i o n s c a l l e dC e r t i 0 c a t e A u t h o r i t i e s ( C A ) . AC Av a l i d a t e s t h e i d e n t i t y o f n e t w o r ku s e r s a n d / o r p r o v i d e r s a n de n s u r e s t h a t t h e y a r e w h o t h e y s a y t h e y a r e a n di s s u e s a c e r t i 0 c a t e s a y i n g s o .

9. SECURITY FOR WIRELESS NETWORKS

167

R a t h e r t h a nd o i n gt h i s b y as i g n e df a n c yd o c u m e n t s u i t a b l e f o r f r a m i n g , t h i s i s d o n e t h r o u g ht h e e x c h a n g e o f c r y p t o g r a p h i c k e y s . A s a ne x a m p l e , s o m e o n e w a n t i n gac e r t i 0 c a t e f o r t h e i r w e b s i t e s u b m i t s a C e r t i 0 c a t eR e q u e s t( C R ) , e n c o d e d( " s i g n e d " )w i t hac r y p t o g r a p h i ck e y c r e a t e ds p e c i 0 c a l l y f o r s i g n i n g t h e c e r t i 0 c a t e r e q u e s t . $e ys u b m i t t h i s r e q u e s t t ot h eC A , w h ot h e n" s i g n s "t h er e q u e s t w i t h t h e i r o w nk e y . $e s ea r ee n c o d e di nt h ec e r t i 0 c a t ea l o n gw i t ht h ee x a c t n a m e o f t h e w e b s i t e t h a t t h e r e q u e s t e r w a n t s t h e c e r t i 0 c a t e t o b e v a l i d f o r . F o r e x a m p l e , WWW. A I P O T U . G O V , f r o ma c e r t i 0 c a t e p e r s p e c t i v e , i s n o t t h e s a m e a s A I P O T U . G O V . E a c hs i t e w o u l dr e q u i r e i t s o w nc e r t i 0 c a t e t o p r e s e n t t o a b r o w s e r t o d o a u t h e n t i c a t e dHT T P S t r a n s a c t i o n s . I f t h e o w n e r o f A I P O T U . G O Vd o m a i no n l y h a s t h e i r c e r t i 0 c a t e i s s u e d f o r A I P O T U . G O Va n dn o t a l s oWWW. A I P O T U . G O V , au s e r a c c e s s i n gt h e " WWW" a d d r e s s w i l l s e e a w a r n i n gf o r a ni n v a l i dc e r t i 0 c a t e f o r t h a t s i t e . $i s c a nb ec o n f u s i n gt os o m eu s e r s a n d , o v e r t i m e , l e a dt h e mt oj u s t e x p e c t T L SC e r t i 0 c a t ew a r n i n g s f r o mt h e i r b r o w s e r a s n o r m a l w h e nt h e t r u t hi s c o m p l e t e l y t h e o p p o s i t e c a s e . Wh e ny o ub r o w s e t oa w e b s i t e t h a t u s e s T L S , t h e b r o w s e r a n dt h e s e r v e r 0 r s t e x c h a n g e c e r t i 0 c a t e s . $e b r o w s e r t h e nv e r i 0 e s t h a t t h e h o s t n a m e i nt h e c e r t i 0 c a t e p r o v i d e db y t h e s e r v e r m a t c h e s t h e D N Sh o s t n a m e t h a t t h e b r o w s e r k n o w s t h e s e r v e r b y , t h a t t h e c e r t i 0 c a t e h a s n o t e x p i r e d o r b e e nr e v o k e da n dt h a t i t h a s b e e n s i g n e d b y a t r u s t e dc e r t i 0 c a t e a u t h o r i t y . $e s e r v e r o p t i o n a l l y v e r i 0 e s t h e v a l i d i t y o f t h e b r o w s e r ' s c e r t i 0 c a t e . I f t h e c e r t i 0 c a t e sa r ea p p r o v e d , b o t hs i d e s t h e nn e g o t i a t eam a s t e r s e s s i o nk e y u s i n gt h ep r e v i o u s l ye x c h a n g e dc e r t i 0 c a t e st op r o t e c t t h es e s s i o nt h a t i s b e i n g e s t a b l i s h e d . $a t k e yi s t h e nu s e dt oe n c r y p t a l l c o m m u n i c a t i o n s u n t i l t h eb r o w s e r d i s c o n n e c t s . $i s k i n do f d a t a e n c a p s u l a t i o ni s k n o w na s a t u n n e l .

168

NETWORKING

o v e r a n e n c r y p t e dt u n n e l . e c o n v e r s a t i o n i n s i d e t h e t u n n e l i s i d e n t i c a l t o a n y o t h e r u n e n c r y p t e dc o n v e r s a t i o n . $ eu s eo fc e r t i 0 c a t e sw i t h aP K In o to n l yp r o t e c t sc o m m u n i c a t i o n a g a i n s t e a v e s d r o p p e r s b u t i s a l s ou s e dt op r e v e n t t h es o c a l l e dMa n i n t h e Mi d d l e ( Mi t M) a t t a c k . I na Mi t Ma t t a c k , a m a l i c i o u s u s e r i n t e r c e p t s a l l c o m m u n i c a t i o nb e t w e e na c l i e n t a n da s e r v e r . B y p r e s e n t i n g c o u n t e r f e i t c e r t i 0 c a t e s t ob o t ht h e c l i e n t a n dt h e s e r v e r , am a l i c i o u s u s e r c o u l dc a r r y o nt w os i m u l t a n e o u s e n c r y p t e ds e s s i o n s . S i n c et h i s u s e r k n o w s t h e s e c r e t o nb o t hc o n n e c t i o n s , i t i s t r i v i a l t oo b s e r v e a n dm a n i p u l a t e t h e d a t a b e i n g p a s s e d b e t w e e nt h e c l i e n t a n dt h e s e r v e r .

F i g u r e S WN7 : e m a n i n t h e m i d d l e e > e c t i v e l y c o n t r o l s e v e r y t h i n g t h e u s e r s e e s , a n d c a nr e c o r d a n d m a n i p u l a t e a l l t r a M c . Wi t h o u t a p u b l i c k e y i n f r a s t r u c t u r e t o v e r i f y t h e a u t h e n t i c i t y o f k e y s , s t r o n g e n c r y p t i o na l o n e c a n n o t p r o t e c t a g a i n s t t h i s k i n d o f a t t a c k .

9. SECURITY FOR WIRELESS NETWORKS

169

U s eo f ag o o dP K I c a ns i g n i 0 c a n t l yr e d u c et h ec h a n c e s o f t h i s k i n do f a t t a c k . I no r d e r t ob es u c c e s s f u l , t h e m a l i c i o u s u s e r w o u l dh a v et ob ei n p o s s e s s i o no f a c e r t i 0 c a t e s i g n e db y a t r u s t e dC At h a t i t c a np r e s e n t t ot h e c l i e n t t o a c c e p t a s a u t h e n t i c . $i s i s o n l yp o s s i b l e i f t h e yc a nt r i c kt h e e n d u s e r i n t oa c c e p t i n gi t o r i f t h e C Ai s c o m p r o m i s e d . C e r t i 0 c a t eA u t h o r i t i e s b e a r as p e c i a l b u r d e nt op r o t e c t t h e i r s y s t e m s a n d n e t w o r k f r o mu n a u t h o r i s e da c c e s s a n dm a l i c i o u s u s e r s . I fa C Aw e r et ob ec o m p r o m i s e d ,t h ea t t a c k e rw h op e r f o r m e dt h e c o m p r o m i s ec o u l dc o n d u c t Mi T Ma t t a c k s o na n yo f t h e u s e r s t r y i n gt o c o n n e c t t o s y s t e m s w i t ha c e r t i 0 c a t e i s s u e d b y t h a t C A . $e yc o u l da l s oi s s u ec o u n t e r f e i tc e r t i 0 c a t e si nr e s p o n s et ol e g i t i m a t e c e r t i 0 c a t er e q u e s t s , e n s u r i n gt h e i ra b i l i t yt oi n t e r c e p to ri n t e r f e r ew i t h e n c r y p t e dc o m m u n i c a t i o n s b e t w e e nb r o w s e r u s e r s a n ds e r v e r s . Wh i l e C Ac o m p r o m i s e w a s o n c e h e l dt o b e v e r y u n l i k e l y t o h a p p e n , t h e r e h a v e b e e na n u m b e r o f i n c i d e n t s a t t h e t i m e o f t h i s w r i t i n g p r o v i n g t h i s i s n o l o n g e r t h e c a s e . C o m p a n i e s w h o s e p r i m a r y a c t i v i t y w a s i na c t i n ga s a c o m m e r c i a l C Ah a v e g o n e o u t o f b u s i n e s s a s a r e s u l t o f h a v i n g t h e i r s y s t e m s c o m p r o m i s e da n d c o u n t e r f e i t c e r t i 0 c a t e s i s s u e d u n d e r t h e i r n a m e . I nS e p t e m b e r 2 0 1 1 , t h e c e r t i 0 c a t e a u t h o r i t y D i g i N o t a r w a s f o u n dt oh a v e b e e ns u b v e r t e db yc r a c k e r s , f o r c i n ga l l i t s c e r t i 0 c a t e s t ob er e v o k e da n d s e n d i n g i t i n t o b a n k r u p t c y . $e s ec o m p r o m i s e sw e r en o tt h er e s u l to fs o p h i s t i c a t e dc o m p u t e r c r i m i n a l s e m p l o y i n ge x o t i cs o p h i s t i c a t e da t t a c k s b u t s i m p l yl a p s e s i nt h e s e c u r i t y o f t h e i r o v e r a l l i n f r a s t r u c t u r e a n ds e c u r i t y p o l i c i e s a n dp r o c e d u r e s . F i n a l l y ,i ti sg o o dt op o i n to u tt h a tT L Si sn o to n l yu s e df o rw e b b r o w s i n g . I n s e c u r e e m a i l p r o t o c o l s s u c ha s I MA P , P O P , a n dS MT Pc a n b e s e c u r e d b y w r a p p i n g t h e mi na nT L S t u n n e l . Mo s t m o d e r ne m a i l c l i e n t s s u p p o r t I MA P Sa n dP O P S( s e c u r e I MA Pa n d P O P )a sw e l l a s T L Sp r o t e c t e dS MT P . I fy o u re m a i l s e r v e rd o e sn o t p r o v i d e T L Ss u p p o r t , y o uc a ns t i l l s e c u r e i t w i t hT L Su s i n g a p a c k a g e l i k e S t u n n e l ( h t t p : / / w w w . s t u n n e l . o r g / ) . T L Sc a nb eu s e dt oe 1 e c t i v e l ys e c u r e j u s t a b o u t a n y s e r v i c e t h a t r u n s o v e r T C P .

170

NETWORKING

S S H Mo s t p e o p l e t h i n ko f S S Ha s a s e c u r e r e p l a c e m e n t f o r t e l n e t , j u s t a s S C P a n dS F T Pa r e t h e s e c u r e c o u n t e r p a r t s o f R C Pa n dF T P . B u t S S Hi s m u c hm o r e t h a na ne n c r y p t e dr e m o t es h e l l . F o r e x a m p l e , i t c a na l s o a c t a s a g e n e r a l p u r p o s e e n c r y p t i n g t u n n e l , o r e v e na ne n c r y p t i n g w e b p r o x y . B y 0 r s t e s t a b l i s h i n g a nS S Hc o n n e c t i o nt o a t r u s t e dl o c a t i o nn e a r ( o r e v e n o n )a r e m o t es e r v e r ,i n s e c u r ep r o t o c o l sc a n b ep r o t e c t e df r o m e a v e s d r o p p i n g a n da t t a c k . L i k eT L S , i t u s e ss t r o n gp u b l i ck e yc r y p t o g r a p h yt ov e r i f yt h er e m o t e s e r v e r a n de n c r y p t d a t a . I n s t e a do f aP K I , i t u s e s ak e y0 n g e r p r i n t c a c h e t h a t i s c h e c k e db e f o r e a c o n n e c t i o ni s p e r m i t t e d . I t c a nu s e p a s s w o r d s a n dp u b l i c k e y s f o r u s e r a u t h e n t i c a t i o n , a n d , t h r o u g h i t ss u p p o r t f o r t h eP l u g g a b l eA u t h e n t i c a t i o nMo d u l e s ( P A M) s y s t e m , i t c a na l s o s u p p o r t o t h e r m e t h o d s o f a u t h e n t i c a t i o n . Wh i l et h i s t e c h n i q u em a yb eab i t a d v a n c e df o rm a n yu s e r s , n e t w o r k a r c h i t e c t s c a nu s eS S Ht oe n c r y p t t r a N ca c r o s s u n t r u s t e dl i n k s , s u c ha s w i r e l e s s p o i n t t o p o i n t l i n k s . S i n c e t h e t o o l s a r e f r e e l y a v a i l a b l e a n dr u no v e r s t a n d a r dT C P , a n y e d u c a t e d u s e r c a ni m p l e m e n t S S Hc o n n e c t i o n s f o r t h e m s e l v e s , p r o v i d i n g t h e i r o w ne n d t o e n de n c r y p t i o nw i t h o u t a d m i n i s t r a t o r i n t e r v e n t i o n . O p e n S S H( h t t p : / / o p e n s s h . o r g / ) i s p r o b a b l y t h e m o s t p o p u l a r i m p l e m e n t a t i o no nU n i x l i k e p l a t f o r m s . F r e ei m p l e m e n t a t i o n ss u c ha sP u t t y( h t t p : / / w w w . p u t t y . n l / ) a n d Wi n S C P ( h t t p : / / w i n s c p . n e t / ) a r e a v a i l a b l e f o r Wi n d o w s . O p e n S S H w i l la l s or u no n Wi n d o w su n d e rt h eC y g w i np a c k a g e ( h t t p : / / w w w . c y g w i n . c o m / ) $e s e e x a m p l e s w i l l a s s u m e t h a t y o u a r e u s i n g a r e c e n t v e r s i o no f O p e n S S H.

9. SECURITY FOR WIRELESS NETWORKS

171

i t s e l f . T oe s t a b l i s ha ne n c r y p t e dt u n n e l f r o m ap o r t o nt h el o c a l m a c h i n et oa p o r t o n t h e r e m o t e s i d e , u s e t h e Ls w i t c h . F o r e x a m p l e , s u p p o s e y o uw a n t t of o r w a r dw e bp r o x y t r a N c o v e r a ne n c r y p t e dl i n k t ot h e s q u i d s e r v e r a t s q u i d . e x a m p l e . n e t . F o r w a r dp o r t 3 1 2 8( t h ed e f a u l t p r o x yp o r t ) u s i n g t h i s c o m m a n d : s s hf Ng L 3 1 2 8 : s q u i d . e x a m p l e . n e t : 3 1 2 8s q u i d . e x a m p l e . n e t $e f N s w i t c h e si n s t r u c ts s ht of o r ki n t ot h eb a c k g r o u n da f t e r c o n n e c t i n g . $e g s w i t c ha l l o w s o t h e r u s e r s o ny o u r l o c a l s e g m e n t t oc o n n e c t t ot h e l o c a l m a c h i n e a n du s e i t f o r e n c r y p t i o no v e r t h e u n t r u s t e dl i n k . O p e n S S Hw i l l u s e a p u b l i c k e yf o r a u t h e n t i c a t i o ni f y o uh a v e s e t o n e u p , o r i t w i l l p r o m p t y o uf o r y o u r p a s s w o r do nt h e r e m o t e s i d e . Y o u c a nt h e n c o n 0 g u r ey o u r w e bb r o w s e r t oc o n n e c t t ol o c a l h o s t p o r t 3 1 2 8a s i t s w e b p r o x y s e r v i c e .

172

NETWORKING

A l l w e bt r a N cw i l l t h e nb ee n c r y p t e db e f o r e t r a n s m i s s i o nt ot h er e m o t e s i d e . S S Hc a na l s oa c t a s ad y n a m i cS O C K S 4o r S O C K S 5p r o x y . $i s a l l o w s y o ut oc r e a t e a ne n c r y p t i n gw e bp r o x y , w i t h o u t t h e n e e dt os e t u p s q u i d . N o t e t h a t t h i s i s n o t a c a c h i n g p r o x y ; i t s i m p l y e n c r y p t s a l l t r a N c : s s h f ND8 0 8 0 r e m o t e . e x a m p l e . n e t C o n 0 g u r e y o u r w e bb r o w s e r t ou s eS O C K S 4o r S O C K S 5o nl o c a l p o r t 8 0 8 0 , a n da w a y y o u g o . S S Hc a ne n c r y p t d a t a o na n y T C Pp o r t , i n c l u d i n g p o r t s u s e df o r e m a i l . I t c a ne v e nc o m p r e s s t h e d a t a a l o n gt h e w a y , w h i c hc a nd e c r e a s e l a t e n c yo n l o wc a p a c i t y l i n k s : s s hf N C g L 1 1 0 : l o c a l h o s t : 1 1 0L 2 5 : l o c a l h o s t : 2 5m a i l h o s t . e x a m p l e . n e t $e Cs w i t c ht u r n s o nc o m p r e s s i o n . Y o uc a na d da s m a n yp o r t f o r w a r d i n gr u l e s a s y o ul i k e b y s p e c i f y i n gt h e Ls w i t c hm u l t i p l e t i m e s . N o t e t h a t i no r d e r t ob i n dt oal o c a l p o r t l e s s t h a n1 0 2 4 , y o um u s t h a v e r o o t p r i v i l e g e s o nt h e l o c a l m a c h i n e . $e s e a r e j u s t a f e we x a m p l e s o f t h e W e x i b i l i t yo fS S H.B yi m p l e m e n t i n gp u b l i ck e y sa n du s i n gt h es s h f o r w a r d i n ga g e n t , y o uc a na u t o m a t et h ec r e a t i o no fe n c r y p t e dt u n n e l s t h r o u g h o u t y o u r w i r e l e s s n e t w o r k , a n dp r o t e c t y o u r c o m m u n i c a t i o n s w i t h s t r o n g e n c r y p t i o na n da u t h e n t i c a t i o n . O p e n V P N O p e n V P Ni s aV P Ni m p l e m e n t a t i o nb u i l t o nS S Le n c r y p t i o nw i t hb o t h a c o m m e r c i a l l y l i c e n s e da n da nO p e nS o u r c e " c o m m u n i t y " e d i t i o n . $e r e a r e O p e n V P Nc l i e n t i m p l e m e n t a t i o n s f o r a w i d e r a n g e o f o p e r a t i n g s y s t e m si n c l u d i n gL i n u x ,Wi n d o w2 0 0 0 / X Pa n dh i g h e r ,O p e n B S D , F r e e B S D ,N e t B S D ,a n d Ma cO SX .Ma n yu s e r s0 n di te a s i e rt o u n d e r s t a n da n dc o n 0 g u r et h a nI P S E CV P N s .O p e n V P N h a ss o m e d i s a d v a n t a g e s t h o u g h , s u c ha s f a i r l yh i g hl a t e n c yo f t r a N co v e r t h e V P N t u n n e l . S o m e a m o u n t o f l a t e n c y i s u n a v o i d a b l e s i n c e a l l e n c r y p t i o n / d e c r y p t i o ni sd o n ei nu s e rs p a c e ,b u tu s i n gr e l a t i v e l yn e w c o m p u t e r s o n e i t h e r e n do f t h e t u n n e l c a nm i n i m i s e t h i s .

9. SECURITY FOR WIRELESS NETWORKS

173

Wh i l ei t c a nu s et r a d i t i o n a l s h a r e dk e y sf o ra u t h e n t i c a t i o n , O p e n V P N r e a l l y s h i n e s w h e nu s e dw i t hS S Lc e r t i 0 c a t e s a n da c e r t i 0 c a t e a u t h o r i t y . O p e n V P Nh a s m a n y a d v a n t a g e s t h a t m a k e i t a g o o do p t i o nf o r p r o v i d i n g e n d t o e n ds e c u r i t y . S o m e o f t h e s e r e a s o n s i n c l u d e : i t i s b a s e do n p r o v e n , r o b u s t , e n c r y p t i o np r o t o c o l s ( S S La n dR S A ) i t i s r e l a t i v e l y e a s y t oc o n 0 g u r e . I t f u n c t i o n s a c r o s s m a n y d i 1 e r e n t p l a t f o r m s i t i s w e l l d o c u m e n t e d . A nO p e n S o u r c e " C o m m u n i t y " v e r s i o ni s m a i n t a i n e di na d d i t i o nt oa f o r p a y c o m m e r c i a l v e r s i o n . O p e n V P Nn e e d s t oc o n n e c t t oa s i n g l e T C Po r U D Pp o r t o nt h e r e m o t e s i d e . O n c e e s t a b l i s h e d , i t c a ne n c a p s u l a t e a l l d a t a d o w nt ot h e N e t w o r k i n g l a y e r , o r e v e nd o w nt ot h eD a t a L i n kl a y e r , i f y o u r s o l u t i o nr e q u i r e s i t . Y o uc a nu s ei tt oc r e a t er o b u s tV P Nc o n n e c t i o n sb e t w e e ni n d i v i d u a l m a c h i n e s , o rs i m p l yu s ei t t oc o n n e c tn e t w o r kr o u t e r so v e ru n t r u s t e d w i r e l e s s n e t w o r k s . V P Nt e c h n o l o g y i s a c o m p l e x 0 e l d , a n di s a b i t b e y o n d t h es c o p eo ft h i ss e c t i o nt og oi n t om o r ed e t a i l .I ti si m p o r t a n tt o u n d e r s t a n dh o wV P N s 0 t i n t ot h e s t r u c t u r e o f y o u r n e t w o r ki no r d e r t o p r o v i d e t h e b e s t p o s s i b l e p r o t e c t i o nw i t h o u t o p e n i n g u py o u r o r g a n i s a t i o n t o u n i n t e n t i o n a l p r o b l e m s . $e r e a r e m a n y g o o do n l i n e r e s o u r c e s t h a t d e a l w i t hi n s t a l l i n gO p e n V P N o n a s e r v e r a n dc l i e n t , w e r e c o m m e n dt h i s a r t i c l e f r o mL i n u x J o u r n a l : h t t p : / / w w w . l i n u x j o u r n a l . c o m / a r t i c l e / 7 9 4 9 a s w e l l a s t h e o N c i a l HO WT O : h t t p : / / o p e n v p n . n e t / h o w t o . h t m l

Tor & Anonymizers


$e I n t e r n e t i s b a s i c a l l y a no p e nn e t w o r k b a s e do n t r u s t . Wh e ny o uc o n n e c t t oa w e bs e r v e r a c r o s s t h e I n t e r n e t , y o u r t r a N c p a s s e s t h r o u g hm a n yd i 1 e r e n t r o u t e r s , o w n e db yag r e a t v a r i e t yo f i n s t i t u t i o n s , c o r p o r a t i o n s a n di n d i v i d u a l s . I np r i n c i p l e , a n y o n e o f t h e s e r o u t e r s h a s t h e a b i l i t y t o l o o k c l o s e l y a t y o u r d a t a , s e e i n g t h e s o u r c e a n dd e s t i n a t i o na d d r e s s e s , a n dq u i t e o f t e na l s ot h e a c t u a l c o n t e n t o f t h e d a t a . E v e ni f y o u r d a t ai s e n c r y p t e du s i n gas e c u r ep r o t o c o l , i t i s p o s s i b l ef o r y o u r I n t e r n e t p r o v i d e r t om o n i t o r t h e a m o u n t o f d a t a t r a n s f e r r e d , a s w e l l a s t h e s o u r c e a n dd e s t i n a t i o no f t h a t d a t a .

174

NETWORKING

O f t e nt h i s i s e n o u g ht op i e c e t o g e t h e r af a i r l yc o m p l e t ep i c t u r eo f y o u r a c t i v i t i e s o n l i n e . P r i v a c y a n da n o n y m i t y a r e i m p o r t a n t , a n dc l o s e l y l i n k e d t oe a c ho t h e r . $e r ea r em a n yv a l i dr e a s o n s t oc o n s i d e r p r o t e c t i n gy o u r p r i v a c y b y a n o n y m i z i n g y o u r n e t w o r k t r a N c . S u p p o s e y o uw a n t t oo 1 e r I n t e r n e t c o n n e c t i v i t yt oy o u r l o c a l c o m m u n i t y b y s e t t i n g u p a n u m b e r o f a c c e s s p o i n t s f o r p e o p l e t o c o n n e c t t o . Wh e t h e r y o uc h a r g e t h e mf o r t h e i r a c c e s s o r n o t , t h e r e i s a l w a y s t h e r i s k t h a tp e o p l eu s et h en e t w o r kf o rs o m e t h i n gt h a ti sn o tl e g a li ny o u r c o u n t r y o r r e g i o n . Y o uc o u l dp l e a dw i t ht h e l e g a l s y s t e mt h a t t h i s p a r t i c u l a r i l l e g a l a c t i o nw a s n o t p e r f o r m e db yy o u r s e l f , b u tc o u l dh a v eb e e np e r f o r m e db ya n y o n e c o n n e c t i n gt oy o u r n e t w o r k . $e p r o b l e mi s n e a t l ys i d e s t e p p e di f i t w e r e t e c h n i c a l l y i n f e a s i b l e t o d e t e r m i n e w h e r e y o u r t r a N c w a s a c t u a l l y h e a d e d . A n dw h a t a b o u t o n l i n e c e n s o r s h i p ? P u b l i s h i n gw e bp a g e sa n o n y m o u s l ym a ya l s ob en e c e s s a r yt oa v o i d g o v e r n m e n t c e n s o r s h i p . $e r e a r e t o o l s t h a t a l l o wy o ut oa n o n y m i z e y o u r t r a N c i nr e l a t i v e l y e a s y w a y s . $e c o m b i n a t i o n o fT o r( h t t p : / / w w w . t o r p r o j e c t . o r g )a n d P r i v o x y ( h t t p : / / w w w . p r i v o x y . o r g ) i s a p o w e r f u l w a y t or u na l o c a l p r o x y s e r v e r t h a t w i l l p a s s y o u r I n t e r n e t t r a N ct h r o u g han u m b e r o f s e r v e r s a l l a c r o s s t h e n e t , m a k i n g i t v e r y d i N c u l t t o f o l l o wt h e t r a i l o f i n f o r m a t i o n . T o rc a nb er u no nal o c a l P C , u n d e rMi c r o s o f tWi n d o w s , Ma cO S X , L i n u xa n d av a r i e t yo fB S D ' s ,w h e r ei ta n o n y m i z e st r a N cf r o mt h e b r o w s e r o n t h a t p a r t i c u l a r m a c h i n e . T o r a n dP r i v o x y c a na l s ob e i n s t a l l e do na g a t e w a ys e r v e r , o r e v e na s m a l l e m b e d d e da c c e s s p o i n t ( s u c ha s aL i n k s y s WR T 5 4 G ) w h e r ei t p r o v i d e s a n o n y m i t y t o a l l n e t w o r k u s e r s a u t o m a t i c a l l y . T o r w o r k s b y r e p e a t e d l y b o u n c i n g y o u r T C Pc o n n e c t i o n s a c r o s s a n u m b e r o fs e r v e r ss p r e a dt h r o u g h o u tt h eI n t e r n e t ,a n db yw r a p p i n gr o u t i n g i n f o r m a t i o ni n an u m b e ro fe n c r y p t e dl a y e r s( h e n c et h et e r mo n i o n r o u t i n g ) , t h a t g e t p e e l e d o 1a s t h e p a c k e t m o v e s a c r o s s t h e n e t w o r k . $i sm e a n st h a t , a ta n yg i v e np o i n ti nt h en e t w o r k ,t h es o u r c ea n d d e s t i n a t i o na d d r e s s e s c a n n o t b e l i n k e d t o g e t h e r . $i s m a k e s t r a N c a n a l y s i s e x t r e m e l y d i N c u l t .

9. SECURITY FOR WIRELESS NETWORKS

175

$e n e e df o r t h e P r i v o x yp r i v a c y p r o x yi nc o n n e c t i o nw i t hT o r i s d u et o t h ef a c t t h a t n a m es e r v e rq u e r i e s( D N Sq u e r i e s ) i nm o s tc a s e s a r en o t p a s s e dt h r o u g h t h e p r o x y s e r v e r , a n ds o m e o n e a n a l y s i n g y o u r t r a N c w o u l d e a s i l yb ea b l et os e et h a t y o uw e r et r y i n gt or e a c has p e c i 0 cs i t e( s a y g o o g l e . c o m )b yt h ef a c tt h a ty o us e n ta D N Sq u e r yt ot r a n s l a t e g o o g l e . c o mt o t h e a p p r o p r i a t e I Pa d d r e s s . P r i v o x y c o n n e c t s t oT o r a s a S O C K S 4 a p r o x y , w h i c hu s e s h o s t n a m e s ( n o t I Pa d d r e s s e s ) t og e t y o u rp a c k e t s t ot h ei n t e n d e dd e s t i n a t i o n . I no t h e r w o r d s , u s i n gP r i v o x yw i t hT o ri s as i m p l ea n de 1 e c t i v ew a yt op r e v e n t t r a N ca n a l y s i sf r o ml i n k i n gy o u rI Pa d d r e s sw i t ht h es e r v i c e sy o uu s e o n l i n e . C o m b i n e d w i t hs e c u r e , e n c r y p t e dp r o t o c o l s ( s u c ha s t h o s e w e h a v e s e e ni n t h i s c h a p t e r ) , T o r a n dP r i v o x yp r o v i d e ah i g hl e v e l o f a n o n y m i t yo nt h e I n t e r n e t .

PLANNING AND DEPLOYMENT

10. DEPLOYMENT PLANNING

177

10. DEPLOYMENT PLANNING

Estimating capacity
I no r d e r t oe s t i m a t e c a p a c i t y , i t i s i m p o r t a n t t ou n d e r s t a n dt h a t a w i r e l e s s d e v i c e s l i s t e ds p e e d( t h e s oc a l l e dd a t a r a t e ) r e f e r s t ot h e r a t e a t w h i c ht h e r a d i o s c a ne x c h a n g e s y m b o l s , n o t t h e u s e a b l e t h r o u g h p u t y o u w i l l o b s e r v e . $r o u g h p u t i s a l s or e f e r r e dt oa s c h a n n e l c a p a c i t y , o r s i m p l yb a n d w i d t h ( a l t h o u g ht h i s t e r mi s d i 1 e r e n t f r o mr a d i o b a n d w i d t h ! $e b a n d w i d t h t h r o u g h p u ti sm e a s u r e di n Mb p s ,w h i l et h er a d i o b a n d w i d t hi s m e a s u r e s i nMHz . ) . F o r e x a m p l e , a s i n g l e 8 0 2 . 1 1 g l i n km a y u s e5 4Mb p s r a d i o s , b u t i t w i l l o n l yp r o v i d eu pt o2 2Mb p s o f a c t u a l t h r o u g h p u t . $e r e s ti so v e r h e a dt h a tt h er a d i o sn e e di no r d e rt o c o o r d i n a t e t h e i r s i g n a l s u s i n g t h e 8 0 2 . 1 1 g p r o t o c o l . N o t e t h a t t h r o u g h p u t i s a m e a s u r e m e n t o f b i t s o v e r t i m e . 2 2 Mb p s m e a n s t h a t i na n yg i v e ns e c o n d , u pt o2 2m e g a b i t s c a nb e s e n t f r o mo n e e n do f t h el i n kt ot h eo t h e r . I f u s e r s a t t e m p t t op u s hm o r et h a n2 2m e g a b i t s t h r o u g ht h e l i n k , i t w i l l t a k e l o n g e r t h a no n e s e c o n d . S i n c et h ed a t ac a n tb es e n ti m m e d i a t e l y ,i ti sp u ti n aq u e u e ,a n d t r a n s m i t t e d a s q u i c k l y a s p o s s i b l e . $i sb a c k l o go fd a t ai n c r e a s e st h et i m en e e d e df o rt h em o s tr e c e n t l y q u e u e db i t s t o t h e t r a v e r s e t h e l i n k . $e t i m e t h a t i t t a k e s f o r d a t a t ot r a v e r s e a l i n k i s c a l l e dl a t e n c y , a n dh i g h l a t e n c y i s c o m m o n l y r e f e r r e dt o a s l a g . Y o u r l i n kw i l l e v e n t u a l l y s e n da l l o f t h e q u e u e dt r a N c , b u t y o u r u s e r s w i l l l i k e l y c o m p l a i na s t h e l a g i n c r e a s e s . H o wm u c ht h r o u g h p u t w i l l y o u r u s e r s r e a l l y n e e d ? I t d e p e n d s o nh o wm a n yu s e r s y o uh a v e , a n dh o wt h e yu s et h ew i r e l e s s l i n k . V a r i o u s I n t e r n e t a p p l i c a t i o n s r e q u i r e d i 1 e r e n t a m o u n t s o f t h r o u g h p u t .

178

PLANNING AND DEPLOYMENT

Application

Requirement/ User

Notes As traffic is infrequent and asynchronous, IM will tolerate high latency. As with IM, email is asynchronous and intermittent, so it will tolerate latency. Large attachments, viruses, and spam significantly add to bandwidth usage. Note that web email services (such as Yahoo or Hotmail) should be considered as web browsing, not as email.

Text messaging / < 1 kbps IM Email 1 to 100 kbps

Web browsing

50 - 100+ kbps Web browsers only use the network when data is requested. Communication Is asynchronous, so a fair amount of lag can be tolerated. As web browsers request more data (large images, long downloads, etc.) bandwidth usage will go up significantly. Each user of a streaming audio service will use a constant amount of relatively large bandwidth for as long as it plays. It can tolerate some transient latency by using large buffers on the client. But extended periods of lag will cause audio skips or outright session failures.

Streaming audio 96 - 160 kbps

Voice over IP 24 - 100+ kbps As with streaming audio, VoIP commits a (VoIP) constant amount of bandwidth to each user for the duration of the call. But with VoIP, the bandwidth is used roughly equally in both directions. Latency on a VoIP connection is immediate and annoying to users. Lag greater than a few milliseconds is unacceptable for VoIP. Streaming video 64 - 200+ kbps As with streaming audio, some intermittent latency is avoided by using buffers on the client. Streaming video requires high throughput and low latency to work properly. infinite While peer to peer applications will tolerate any amount of latency, they tend to use up all available throughput by transmitting data to as many clients as possible, as quickly as possible. Use of these applications will cause latency and throughput problems for all other network users unless you use careful bandwidth shaping.

Peer-to-peer file 0 sharing Mbps applications

10. DEPLOYMENT PLANNING

179

T oe s t i m a t et h en e c e s s a r yt h r o u g h p u ty o uw i l l n e e df o ry o u rn e t w o r k , m u l t i p l y t h e e x p e c t e dn u m b e r o f u s e r s b y t h e r e q u i r e m e n t s o f a p p l i c a t i o n s t h e y w i l l p r o b a b l y u s e . F o re x a m p l e ,5 0u s e r sw h oa r ec h i e W yb r o w s i n gt h ew e bw i l ll i k e l y c o n s u m e 2 . 5t o5Mb p s o r m o r eo f t h r o u g h p u t a t p e a kt i m e s , a n dw i l l t o l e r a t e s o m e l a t e n c y . O nt h e o t h e r h a n d , 5 0s i m u l t a n e o u s V o I Pu s e r s w o u l dr e q u i r e 5Mb p s o r m o r eo f t h r o u g h p u t i nb o t hd i r e c t i o n sw i t hl o wl a t e n c y . S i n c e8 0 2 . 1 1 g w i r e l e s s e q u i p m e n t i s h a l f d u p l e x( t h a t i s , i t o n l yt r a n s m i t s o rr e c e i v e s , n e v e rb o t ha to n c e )y o us h o u l da c c o r d i n g l yd o u b l et h er e q u i r e d t h r o u g h p u t , f o r a t o t a l o f 1 0 Mb p s . Y o u rw i r e l e s sl i n k sm u s tp r o v i d et h a tc a p a c i t ye v e r ys e c o n d ,o r c o n v e r s a t i o n s w i l l l a g . S i n c e a l l o f y o u r u s e r s a r e u n l i k e l yt ou s e t h e c o n n e c t i o na t p r e c i s e l y t h e s a m e m o m e n t , i t i s c o m m o np r a c t i c e t o o v e r s u b s c r i b e a v a i l a b l e t h r o u g h p u t b ys o m ef a c t o r( t h a ti s , a l l o wm o r eu s e r s t h a nt h em a x i m u ma v a i l a b l e b a n d w i d t hc a ns u p p o r t ) . O v e r s u b s c r i b i n g b y a f a c t o r o f 5 t o1 0i s q u i t e c o m m o n . I na l l l i k e l i h o o d , y o uw i l lo v e r s u b s c r i b eb ys o m ea m o u n tw h e nb u i l d i n gy o u rn e t w o r k i n f r a s t r u c t u r e . B y c a r e f u l l y m o n i t o r i n g t h r o u g h p u t t h r o u g h o u t y o u r n e t w o r k , y o uw i l l b e a b l et op l a nw h e nt ou p g r a d ev a r i o u sp a r t so ft h en e t w o r k , a n dh o w m u c h a d d i t i o n a l r e s o u r c e s w i l l b e n e e d e d .

Calculating the link budget


D e t e r m i n i n gi f al i n ki sf e a s i b l eo rn o ti sap r o c e s s c a l l e dl i n kb u d g e t c a l c u l a t i o na n dc a nb ee i t h e rp e r f o r m e dm a n u a l l yo ru s i n gs p e c i a l i s e d t o o l s . Ab a s i cc o m m u n i c a t i o ns y s t e mc o n s i s t so ft w or a d i o s ,e a c hw i t hi t s a s s o c i a t e da n t e n n a , t h e t w ob e i n gs e p a r a t e db y t h e p a t ht ob ec o v e r e da s s h o w ni n f o l l o w i n g F i g u r e D P1 .

180

PLANNING AND DEPLOYMENT

F i g u r e D P1 : C o m p o n e n t s o f a B a s i c C o m m u n i c a t i o nS y s t e m . I no r d e r t oh a v e ac o m m u n i c a t i o nb e t w e e nt h e t w o , t h e r a d i o s r e q u i r ea c e r t a i nm i n i m u ms i g n a l t ob e c o l l e c t e db y t h e a n t e n n a s a n dp r e s e n t e da t t h e i r i n p u t p o r t s . Wh e t h e r o r n o t s i g n a l s c a nb e p a s s e db e t w e e nt h e r a d i o s d e p e n d s o nt h e c h a r a c t e r i s t i c s o f t h ee q u i p m e n t a n do nt h ed i m i n i s h m e n t o f t h es i g n a l d u e t od i s t a n c e , c a l l e dp a t hl o s s . I ns u c ha s y s t e m , s o m e o f t h e p a r a m e t e r s c a nb e m o d i 0 e d( t h e e q u i p m e n t u s e d ) w h i l e o t h e r s a r e 0 x e d( t h e d i s t a n c e b e t w e e nt h e r a d i o s ) . L e t s s t a r t b ye x a m i n i n gt h e p a r a m e t e r s t h a t c a nw e c a nm o d i f y . 1 . $e c h a r a c t e r i s t i c s o f t h e e q u i p m e n t t ob e c o n s i d e r e dw h e nc a l c u l a t i n g t h e l i n k b u d g e t a r e : T r a n s m i t ( T X ) P o w e r . I t i s e x p r e s s e di nm i l l i w a t t s o r i nd B m . T Xp o w e r i s o f t e nd e p e n d e n t o n t h e t r a n s m i s s i o nr a t e . $ eT Xp o w e ro fag i v e nd e v i c es h o u l db es p e c i 0 e di nt h el i t e r a t u r e p r o v i d e d b y t h e m a n u f a c t u r e r . A ne x a m p l ei ss h o w nh e r ef o l l o w i n g ,w h e r ey o uc a ns e et h a tu s i n g 8 0 2 . 1 1 g t h e r e i s a d i 1 e r e n c e o f 5d Bi no u t p u t p o w e r w h e nu s i n g6Mb s o r 5 4 Mb s .

10. DEPLOYMENT PLANNING

181

A n t e n n a G a i n . A n t e n n a sa r ep a s s i v ed e v i c e st h a tc r e a t et h ee 1 e c to fa m p l i 0 c a t i o nb y v i r t u e o f t h e i r p h y s i c a l s h a p e . A n t e n n a s h a v et h e s a m ec h a r a c t e r i s t i c s w h e nr e c e i v i n ga n dt r a n s m i t t i n g . S o a 1 2 d B i a n t e n n a i s s i m p l y a 1 2 d B i a n t e n n a , w i t h o u t s p e c i f y i n g i f i t i s i n t r a n s m i s s i o n o r r e c e p t i o nm o d e . T y p i c a l v a l u e s a r e a s f o l l o w s : p a r a b o l i c a n t e n n a s h a v e a g a i no f 1 9 2 4d B i ; o m n i d i r e c t i o n a l a n t e n n a s h a v e 5 1 2d B i ; s e c t o r i a l a n t e n n a s h a v e r o u g h l y a 1 2 1 5 d B i g a i n . Mi n i m u mR e c e i v e dS i g n a l L e v e l ( R S L ) , o r s i m p l y , t h es e n s i t i v i t yo f t h e r e c e i v e r . $e m i n i m u mR S Li s a l w a y s e x p r e s s e da s a n e g a t i v e d B m( d B m ) a n di s t h e l o w e s t s i g n a l l e v e l t h e r a d i o c a nd i s t i n g u i s h . $ em i n i m u mR S Li sd e p e n d e n t u p o nr a t e , a n da sag e n e r a l r u l et h e l o w e s t r a t e ( 1Mb p s ) h a s t h e g r e a t e s t s e n s i t i v i t y . $e m i n i m u mw i l l b e t y p i c a l l y i nt h e r a n g e o f 7 5 t o 9 5 d B m . L i k eT Xp o w e r ,t h eR S Ls p e c i 0 c a t i o n ss h o u l db ep r o v i d e db yt h e m a n u f a c t u r e r o f t h e e q u i p m e n t .

182

PLANNING AND DEPLOYMENT

I nt h ed a t a s h e e tp r e s e n t e da b o v ey o uc a ns e et h a tt h e r ei sa2 0d B d i 1 e r e n c e i nr e c e i v e r s e n s i t i v i t y , w i t h9 2d B ma t 6 Mb s a n d7 2 d B ma t 5 4Mb s . D o n t f o r g e t t h a t ad i 1 e r e n c e o f 2 0d Bm e a n s ar a t i oo f 1 0 0i n t e r m s o f p o w e r ! C a b l eL o s s e s .S o m eo ft h es i g n a l ' se n e r g yi sl o s ti nt h ec a b l e s ,t h e c o n n e c t o r s a n do t h e r d e v i c e s , g o i n g f r o mt h e r a d i o s t o t h e a n t e n n a s . T h e l o s s d e p e n d s o n t h e t y p e o f c a b l e u s e da n do n i t s l e n g t h . S i g n a l l o s s f o r s h o r t c o a x i a l c a b l e s i n c l u d i n g c o n n e c t o r s i s q u i t e l o w , i nt h e r a n g e o f 2 3 d B . I t i s b e t t e r t oh a v e c a b l e s a s s h o r t a s p o s s i b l e . E q u i p m e n t n o wt e n d s t oh a v ee m b e d d e da n t e n n a s a n dt h u s t h e c a b l e l e n g t hi s v e r y s h o r t . 2 . Wh e nc a l c u l a t i n gt h e p a t hl o s s , s e v e r a l e 1 e c t s m u s t b e c o n s i d e r e d . O n e h a s t o t a k e i n t o a c c o u n t t h e f r e e s p a c e l o s s , a t t e n u a t i o na n ds c a t t e r i n g . F r e e S p a c e L o s s . G e o m e t r i cs p r e a d i n go f t h ew a v e f r o n t , c o m m o n l yk n o w na sf r e es p a c e l o s s , d i m i n i s h e s s i g n a l p o w e r . I g n o r i n ge v e r y t h i n ge l s e , t h ef u r t h e r a w a y t h et w or a d i o s , t h es m a l l e r t h er e c e i v e ds i g n a l i s d u et of r e es p a c el o s s . $i s i s i n d e p e n d e n t o f t h e e n v i r o n m e n t , i t d e p e n d s o n l yo nt h e d i s t a n c e . $i s l o s s h a p p e n s b e c a u s e t h e r a d i a t e ds i g n a l e n e r g y e x p a n d s a s a f u n c t i o n o f t h e d i s t a n c e f r o mt h e t r a n s m i t t e r . U s i n gd e c i b e l st oe x p r e s s t h el o s s a n du s i n gag e n e r i cf r e q u e n c yf , t h e e q u a t i o nf o r t h e F r e e S p a c e L o s s i s : L 2 . 4 + 2 0 * l o g ( D ) + 2 0 * l o g ( f ) f s l=3 1 0 1 0 w h e r e L i s e x p r e s s e di nd Ba n dD i s i nk i l o m e t r e s a n df i s i nMHz . f s l Wh e np l o t t i n g t h e f r e e s p a c e l o s s v s t h e d i s t a n c e , o n e g e t s a 0 g u r e l i k e t h e o n eb e l o w . Wh a t s h o u l db en o t e di s t h a t t h ed i 1 e r e n c eb e t w e e nu s i n g 2 4 0 0 MHz a n d5 3 0 0 MHz i s 6 d Bi nt e r m s o f f r e e s p a c e l o s s . S ot h eh i g h e r f r e q u e n c yg i v e s ah i g h e r f r e es p a c el o s s , w h i c hi s u s u a l l y b a l a n c e d b y a h i g h e r g a i ni nt h e p a r a b o l i c a n t e n n a s . Ap a r a b o l i c a n t e n n a o p e r a t i n ga t 5G Hz i s 6d Bm o r e p o w e r f u l t h a no n e o p e r a t i n g a t 2 . 4 G Hz , f o r t h e s a m e a n t e n n a d i m e n s i o n s . H a v i n gt w oa n t e n n a s o f 6d Bh i g h e r g a i no ne a c hs i d e , p r o v i d e s an e t 6 d Ba d v a n t a g e w h e nm i g r a t i n g f r o m2 . 4 t o 5 G Hz .

10. DEPLOYMENT PLANNING

183

F i g u r e D P3 : F r e e S p a c e P a t h L o s s c a l c u l a t i o n g r a p h . A t t e n u a t i o n $e s e c o n dc o n t r i b u t i o nt o t h e p a t hl o s s i s a t t e n u a t i o n . $i s t a k e s p l a c ea s s o m e o f t h e p o w e r i s a b s o r b e dw h e nt h ew a v e p a s s e s t h r o u g hs o l i d o b j e c t s s u c ha s t r e e s , w a l l s , w i n d o w s a n dW o o r s o f b u i l d i n g s . A t t e n u a t i o nc a nv a r yg r e a t l yd e p e n d i n gu p o nt h es t r u c t u r e o f t h eo b j e c t t h e s i g n a l i s p a s s i n g t h r o u g h , a n di t i s v e r y d i N c u l t t o q u a n t i f y . S c a t t e r i n g A l o n gt h el i n kp a t h , t h eR Fe n e r g yl e a v e s t h et r a n s m i t t i n ga n t e n n aa n d e n e r g ys p r e a d s o u t . S o m e o f t h e R Fe n e r g yr e a c h e s t h e r e c e i v i n g a n t e n n a d i r e c t l y , w h i l e s o m e b o u n c e s o 1t h e g r o u n d . P a r t o f t h e R Fe n e r g y w h i c h b o u n c e s o 1t h e g r o u n dr e a c h e s t h e r e c e i v i n ga n t e n n a . S i n c e t h e r e W e c t e d s i g n a l h a s al o n g e r w a yt ot r a v e l , i t a r r i v e s a t t h e r e c e i v i n ga n t e n n a l a t e r t h a nt h e d i r e c t s i g n a l . $i s e 1 e c t i s c a l l e dm u l t i p a t h , o r s i g n a l d i s p e r s i o n . I ns o m e c a s e s r e W e c t e d s i g n a l s a d dt o g e t h e r a n dc a u s e n o p r o b l e m . Wh e nt h e ya d dt o g e t h e ro u to fp h a s e ,t h er e c e i v e ds i g n a li sa l m o s t w o r t h l e s s . I ns o m e c a s e s , t h e s i g n a l a t t h e r e c e i v i n g a n t e n n a c a nb e z e r o e d b y t h e r e W e c t e d s i g n a l s . $i s i s k n o w na s e x t r e m e f a d i n g , o r n u l l i n g . $e r ei s as i m p l e t e c h n i q u e t h a t i s u s e dt o d e a l w i t hm u l t i p a t h , c a l l e da n t e n n a d i v e r s i t y . I t c o n s i s t s o f a d d i n g a s e c o n da n t e n n a t ot h e r a d i o . Mu l t i p a t hi s i nf a c t a v e r y l o c a t i o n s p e c i 0 c p h e n o m e n o n .

184

PLANNING AND DEPLOYMENT

I ft w os i g n a l sa d do u to fp h a s ea to n el o c a t i o n ,t h e yw i l ln o ta d d d e s t r u c t i v e l y a t a s e c o n d , n e a r b y l o c a t i o n . I f t h e r e a r e t w o a n t e n n a s , a t l e a s t o n e o f t h e ms h o u l db e a b l e t or e c e i v e a u s e a b l e s i g n a l , e v e ni f t h eo t h e r i s r e c e i v i n gaf a d e do n e . I nc o m m e r c i a l d e v i c e s , a n t e n n a s w i t c h i n g d i v e r s i t y i s u s e d : t h e r e a r e m u l t i p l e a n t e n n a s o n m u l t i p l e i n p u t s , w i t ha s i n g l e r e c e i v e r . $e s i g n a l i s r e c e i v e dt h r o u g ho n l y o n e a n t e n n a a t a t i m e . Wh e nt r a n s m i t t i n g , t h e r a d i o u s e s t h e a n t e n n a l a s t u s e df o r r e c e p t i o n . $e d i s t o r t i o ng i v e nb y m u l t i p a t hd e g r a d e s t h e a b i l i t y o f t h e r e c e i v e r t o r e c o v e r t h e s i g n a l i na m a n n e r m u c hl i k e s i g n a l l o s s . P u t t i n ga l l t h e s e p a r a m e t e r s t o g e t h e r l e a d s t ot h e l i n kb u d g e t c a l c u l a t i o n . I f y o ua r e u s i n gd i 1 e r e n t r a d i o s o nt h e t w os i d e s o f t h e l i n k , y o us h o u l d c a l c u l a t e t h e p a t hl o s s t w i c e , o n c e f o r e a c hd i r e c t i o n( u s i n g t h e a p p r o p r i a t e T Xp o w e r ,R Xp o w e r ,T Xa n t e n n ag a i n ,R Xa n t e n n ag a i nf o re a c h c a l c u l a t i o n ) . A d d i n g u p a l l t h e g a i n s a n ds u b t r a c t i n g a l l t h e l o s s e s g i v e s : T XP o w e r + A n t e n n a G a i n C a b l e L o s s e s + A n t e n n a G a i n C a b l e L o s s e s = T o t a l G a i n R a d i o 1 R a d i o 1 R a d i o 1 R a d i o 2 R a d i o 2

S u b t r a c t i n g t h e P a t hL o s s f r o mt h e T o t a l G a i n : T o t a l G a i n P a t h L o s s =S i g n a l L e v e l a t r e c e i v i n g s i d e o f t h e l i n k I f t h er e s u l t i n gs i g n a l l e v e l i s g r e a t e r t h a nt h em i n i m u mr e c e i v e ds i g n a l l e v e l o f t h e r e c e i v i n g r a d i o , t h e nt h e l i n k i s f e a s i b l e ! $e r e c e i v e d s i g n a l i s p o w e r f u l e n o u g hf o r t h e r a d i o t o u s e i t . R e m e m b e r t h a t t h e m i n i m u mR S Li s a l w a y s e x p r e s s e da s a n e g a t i v e d B m , s o 5 6 d B mi s g r e a t e r t h a n7 0 d B m . O nag i v e np a t h , t h e v a r i a t i o ni np a t hl o s s o v e r ap e r i o do f t i m e c a nb e l a r g e , s o a c e r t a i nm a r g i ns h o u l db e c o n s i d e r e d .

10. DEPLOYMENT PLANNING

185

$i s m a r g i ni s t h ea m o u n t o f s i g n a l a b o v et h es e n s i t i v i t yo f r a d i ot h a t s h o u l db er e c e i v e di no r d e rt oe n s u r eas t a b l e , h i g hq u a l i t yr a d i ol i n k d u r i n g b a dw e a t h e r a n do t h e r a t m o s p h e r i c d i s t u r b a n c e s . Am a r g i no f 1 0t o1 5d Bi s 0 n e . T og i v e s o m e s p a c e f o r a t t e n u a t i o na n d m u l t i p a t hi nt h er e c e i v e dr a d i os i g n a l , am a r g i no f 2 0 d Bs h o u l db es a f e e n o u g h . O n c ey o uh a v ec a l c u l a t e dt h el i n kb u d g e t i no n ed i r e c t i o n , r e p e a tt h e c a l c u l a t i o nf o r t h e o t h e r d i r e c t i o n . S u b s t i t u t et h e t r a n s m i t p o w e r f o r t h a t o f t h e s e c o n dr a d i o , a n dc o m p a r e t h e r e s u l t a g a i n s t t h e m i n i m u mr e c e i v e ds i g n a l l e v e l o f t h e 0 r s t r a d i o . E x a m p l e l i n k b u d g e t c a l c u l a t i o n A s a ne x a m p l e , w e w a n t t oe s t i m a t et h ef e a s i b i l i t yo f a5k ml i n k , w i t h o n e a c c e s s p o i n t a n do n e c l i e n t r a d i o . $e a c c e s s p o i n t i s c o n n e c t e d t o a no m n i d i r e c t i o n a l a n t e n n a w i t h a1 0 d B ig a i n ,w h i l et h ec l i e n ti sc o n n e c t e dt o ad i r e c t i o n a l a n t e n n a w i t h1 4 d B i g a i n . $e t r a n s m i t t i n g p o w e r o f t h e A Pi s 1 0 0 m W( o r 2 0 d B m ) a n di t s s e n s i t i v i t y i s 8 9 d B m . $e t r a n s m i t t i n gp o w e r o f t h e c l i e n t i s 3 0m W( o r 1 5d B m ) a n d i t s s e n s i t i v i t y i s 8 2 d B m . $ ec a b l e s a r es h o r t , s ow ec a ne s t i m a t eal o s s o f 2d Ba t e a c h s i d e .

L e t s s t a r t b yc a l c u l a t i n gt h el i n kb u d g e t f r o mt h eA Pt ot h ec l i e n t , a s s h o w ni nF i g u r e D P4 .

186

PLANNING AND DEPLOYMENT

F i g u r e D P4 : L i n k B u d g e t c a l c u l a t i o n f r o mA Pt o c l i e n t . A d d i n g u pa l l t h e g a i n s a n ds u b t r a c t i n ga l l t h e l o s s e s f o r t h e A Pt oc l i e n t l i n k g i v e s : 2 0 d B m + 1 0 d B i 2 d B + 1 4 d B i 2 d B 4 0 d B = ( T XP o w e r R a d i o 1 ) ( A n t e n n a G a i n R a d i o 1 ) ( C a b l e L o s s e s R a d i o 1 ) ( A n t e n n a G a i n R a d i o 2 ) ( C a b l e L o s s e s R a d i o 2 ) T o t a l G a i n

$e p a t hl o s s f o r a5k ml i n k , c o n s i d e r i n gt h e f r e e s p a c el o s s i s 1 1 4 d B . S u b t r a c t i n g t h e p a t hl o s s f r o mt h e t o t a l g a i n : 4 0 d B1 1 4 d B=7 4 d B S i n c e 7 4d Bi s g r e a t e r t h a nt h e m i n i m u mr e c e i v e s e n s i t i v i t y o f t h e c l i e n t r a d i o( 8 2d B m ) , t h e s i g n a l l e v e l i s j u s t e n o u g hf o r t h e c l i e n t r a d i o t ob e a b l e t oh e a r t h e a c c e s s p o i n t . $e r ei s o n l y8d Bo f m a r g i n( 8 2d B7 4 d B ) w h i c hw i l l l i k e l y w o r k 0 n e i nf a i r w e a t h e r , b u t m a y n o t b e e n o u g ht o p r o t e c t a g a i n s t e x t r e m e w e a t h e r c o n d i t i o n s . N e x t w ec a l c u l a t et h el i n kf r o mt h ec l i e n t b a c kt ot h ea c c e s s p o i n t , a s s h o w n o nt h e n e x t p a g e .

10. DEPLOYMENT PLANNING

187

F i g u r e D P5 : L i n k B u d g e t c a l c u l a t i o n f r o mc l i e n t t o A P . 1 5 d B m + 1 4 d B i 2 d B + 1 0 d B i 2 d B 3 5 d B= ( T XP o w e r R a d i o 2 ) ( A n t e n n a G a i n R a d i o 2 ) ( C a b l e L o s s e s R a d i o 2 ) ( A n t e n n a G a i n R a d i o 1 ) ( C a b l e L o s s e s R a d i o 1 ) T o t a l G a i n

O b v i o u s l y , t h ep a t hl o s s i s t h es a m e o nt h er e t u r nt r i p . S oo u r r e c e i v e d s i g n a l l e v e l o n t h e a c c e s s p o i n t s i d e i s : 3 5 d B1 1 4 d B=7 9 d B S i n c e t h e r e c e i v es e n s i t i v i t yo f t h e A Pi s 8 9 d B m , t h i s l e a v e s u s 1 0 d Bo f m a r g i n( 8 9 d B7 9 d B ) . O v e r a l l , t h i s l i n k w i l l p r o b a b l y w o r k 0 n e . B y u s i n g a 2 4 d B i d i s ho nt h e c l i e n t s i d e r a t h e r t h a na 1 4 d B i a n t e n n a , w e w i l lg e ta na d d i t i o n a l1 0 d B io fg a i no nb o t hd i r e c t i o n so ft h el i n k ( r e m e m b e r , a n t e n n a g a i ni s r e c i p r o c a l ) . Am o r ee x p e n s i v e o p t i o nw o u l db et ou s eh i g h e r p o w e r r a d i o so nb o t h e n d s o f t h e l i n k , b u t n o t e t h a t a d d i n g a na m p l i 0 e r o r h i g h e r p o w e r e dc a r d t o o n e e n dg e n e r a l l y d o e s n o t h e l p t h e o v e r a l l q u a l i t y o f t h e l i n k .

188

PLANNING AND DEPLOYMENT

T a b l e s f o r c a l c u l a t i n g l i n k b u d g e t T oc a l c u l a t e t h e l i n kb u d g e t , s i m p l ya p p r o x i m a t e y o u r l i n kd i s t a n c e , a n d t h e n0 l l i nt h e f o l l o w i n g t a b l e s : F r e e S p a c e P a t h L o s s a t 2 . 4 G Hz
Distance (m) Loss (dB) 80 94 100 110 114 120 100 500 1000 3000 5000 10000

A n t e n n a G a i n :
Radio 1 Antenna + Radio 2 Antenna = Total Antenna Gain

L o s s e s :
Radio 1 + Cable Radio 2 + Loss (dB) Loss (dB) Cable Free Space Path Loss (dB) = Total Loss (dB)

L i n k B u d g e t f o r R a d i o 1 R a d i o 2 :
Radio 1 Power TX + Antenna - Total Loss Gain = Signal > Radio Sensitivity 2

L i n k B u d g e t f o r R a d i o 2 R a d i o 1 :
Radio 2 Power TX + Antenna - Total Loss Gain = Signal > Radio Sensitivity 1

I f t h e r e c e i v e ds i g n a l i s g r e a t e r t h a nt h e m i n i m u mr e c e i v e ds i g n a l s t r e n g t h i nb o t hd i r e c t i o n s o f t h e l i n k , a s w e l l a s a n y n o i s e r e c e i v e da l o n g t h e p a t h , t h e nt h e l i n k i s p o s s i b l e .

10. DEPLOYMENT PLANNING

189

Link planning software


Wh i l ec a l c u l a t i n gal i n kb u d g e t b yh a n di s s t r a i g h t f o r w a r d , t h e r ea r ea n u m b e r o f t o o l s a v a i l a b l e t h a t w i l l h e l pa u t o m a t e t h e p r o c e s s . I na d d i t i o n t oc a l c u l a t i n gf r e es p a c el o s s , t h e s et o o l sw i l l t a k em a n yo t h e r r e l e v a n t f a c t o r si n t oa c c o u n ta sw e l l( s u c ha st r e ea b s o r p t i o n ,t e r r a i ne 1 e c t s , c l i m a t e , a n de v e ne s t i m a t i n gp a t hl o s s i nu r b a na r e a s ) . Mo s t c o m m e r c i a l t o o l s a r ev e r ye x p e n s i v e a n da r eo f t e nd e s i g n e dt ob eu s e dw i t hs p e c i 0 c h a r d w a r e . I nt h i s s e c t i o nw e w i l l d i s c u s s a f r e e t o o l c a l l e dR a d i o Mo b i l e . R a d i o Mo b i l e R a d i oMo b i l e i s a t o o l f o r t h e d e s i g na n ds i m u l a t i o no f w i r e l e s s s y s t e m s . I t p r e d i c t s t h ep e r f o r m a n c e o f ar a d i ol i n kb yu s i n gi n f o r m a t i o na b o u t t h e e q u i p m e n t a n da d i g i t a l m a po f t h e a r e a . I t i s p u b l i c d o m a i ns o f t w a r e b u t i t i s n o t o p e ns o u r c e . R a d i oMo b i l e u s e s ad i g i t a l t e r r a i ne l e v a t i o nm o d e l f o rt h ec a l c u l a t i o no fc o v e r a g e ,i n d i c a t i n gr e c e i v e ds i g n a ls t r e n g t ha t v a r i o u sp o i n t sa l o n gt h ep a t h . I t a u t o m a t i c a l l yb u i l d sap r o 0 l eb e t w e e n t w op o i n t s i nt h e d i g i t a l m a ps h o w i n gt h e c o v e r a g e a r e a a n d0 r s t F r e s n e l z o n e . A n e x a m p l e i s s h o w ni nF i g u r e D P6 b e l o w .

F i g u r e D P6 : R a d i o Mo b i l e s i m u l a t i o n s h o w i n g a d i g i t a l t e r r a i n e l e v a t i o n a n dC r s t F r e s n e l z o n e . D u r i n gt h e s i m u l a t i o n , i t c h e c k s f o r l i n e o f s i g h t a n dc a l c u l a t e s t h e P a t h L o s s , i n c l u d i n g l o s s e s d u e t o o b s t a c l e s . I ti sp o s s i b l et oc r e a t en e t w o r k so fd i 1 e r e n tt o p o l o g i e s ,i n c l u d i n gn e t m a s t e r / s l a v e ,p o i n t t o p o i n t ,a n d p o i n t t o m u l t i p o i n t . $e s o f t w a r e c a l c u l a t e s t h e c o v e r a g e a r e a f r o mt h e b a s e s t a t i o ni na p o i n t t o m u l t i p o i n t s y s t e m . I t w o r k sf o rs y s t e m s h a v i n gf r e q u e n c i e s f r o m1 0 0k Hzt o2 0 0 G Hz . D i g i t a l e l e v a t i o nm a p s ( D E M)a r ea v a i l a b l ef o rf r e ef r o ms e v e r a l s o u r c e s , a n da r e a v a i l a b l e f o r m o s t o f t h e w o r l d .

190

PLANNING AND DEPLOYMENT

D E Ms d on o t s h o wc o a s t l i n e s o r o t h e r r e a d i l yi d e n t i 0 a b l e l a n d m a r k s , b u t t h e yc a ne a s i l yb ec o m b i n e dw i t ho t h e rk i n d so fd a t a( s u c ha sa e r i a l p h o t o s o r t o p o g r a p h i c a l c h a r t s ) i ns e v e r a l l a y e r s t oo b t a i nam o r eu s e f u l a n dr e a d i l yr e c o g n i s a b l er e p r e s e n t a t i o n . Y o uc a nd i g i t i s ey o u r o w nm a p s a n dc o m b i n e t h e mw i t h D E Ms . $e d i g i t a l e l e v a t i o nm a p s c a nb e m e r g e d w i t hs c a n n e dm a p s , s a t e l l i t ep h o t o s a n dI n t e r n e t m a ps e r v i c e s ( s u c ha s G o o g l e Ma p s ) t o p r o d u c e a c c u r a t e p r e d i c t i o np l o t s . $e r ea r et w ov e r s i o n s o f R a d i o Mo b i l e : av e r s i o nr u n n i n go nWi n d o w s a n d av e r s i o nr u n n i n go n l i n ev i aaw e bi n t e r f a c e . H e r ea r et h em a i n d i 1 e r e n c e s b e t w e e nt h e t w o . We b v e r s i o n : i t c a nr u no na n y m a c h i n e ( L i n u x , Ma c , Wi n d o w s , t a b l e t , p h o n e , e t c ) i t d o e s n o t r e q u i r e b i g d o w n l o a d s . A s i t r u n s o n l i n e , d a t a i s s t o r e d o n t h e s e r v e r a n do n l y t h e n e c e s s a r y d a t a i s d o w n l o a d e d . i t s a v e ss e s s i o n s . I f y o ur u n as i m u l a t i o na n dl o g i na f t e rs o m e t i m e , y o u w i l l s t i l l 0 n d y o u r s i m u l a t i o na n dt h e r e s u l t s . i t i s e a s i e r t o u s e , e s p e c i a l l y f o r b e g i n n e r s . i t r e q u i r e s c o n n e c t i v i t y . I t i s n o t p o s s i b l et or u nas i m u l a t i o ni f y o u a r e o k i n e . a s i t h a s b e e nd e v e l o p e df o r t h e c o m m u n i t y o f r a d i oa m a t e u r s , i t c a nw o r ko n l yf o r c e r t a i nf r e q u e n c yb a n d s . A s a ne x a m p l e , i t i s n o t p o s s i b l et os i m u l a t el i n k sa t 5 . 8 G Hzb u t o n l ya t 5 . 3 G Hz . $i s i s g o o de n o u g hf r o m ap r a c t i c a l p o i n t o f v i e w , b u t o n eh a s t o k e e pi t i nm i n d . Wi n d o w s v e r s i o n : i t c a nr u no k i n e . O n c et h em a p s a r ed o w n l o a d e d , t h e r ei s n o n e e dt o b e o n l i n e t o r u nt h e s i m u l a t i o n . o n ec a nu s ea ne x t e r n a l G P St og e tt h ee x a c t p o s i t i o no ft h e s t a t i o n .Wh i l et h i si sn o to f t e nu s e d ,i tc o u l db eu s e f u l s o m e t i m e s . i t r u n s o n Wi n d o w s ( i t d o e s r u ni nL i n u x b u t n o t d i r e c t l y ) . i tr e q u i r e sb i gd o w n l o a d s .I fy o u rb a n d w i d t hi sl i m i t e d , d o w n l o a d i n g m a n y m a p s m i g h t b e a p r o b l e m . $e o n l i n e v e r s i o n r e q u i r e s s m a l l e r d o w n l o a d s . I t i s n o t u s e r f r i e n d l y , e s p e c i a l l y f o r b e g i n n e r s .

10. DEPLOYMENT PLANNING

191

$e m a i nR a d i o Mo b i l e w e b p a g e , w i t he x a m p l e s a n dt u t o r i a l s , i s a v a i l a b l e a t : h t t p : / / w w w . c p l u s . o r g / r m w / e n g l i s h 1 . h t m l F o l l o wt h e i n s t r u c t i o n s t o i n s t a l l t h e s o f t w a r e o nWi n d o w s . R a d i o Mo b i l e o n l i n e T ou s et h eo n l i n ev e r s i o no fR a d i o Mo b i l ey o um u s t0 r s tc r e a t ea n a c c o u n t .G ot o : h t t p : / / w w w . c p l u s . o r g / r m w / r m o n l i n e . h t m l a n dc r e a t ea n e wa c c o u n t . Y o uw i l l r e c e i v eac o n 0 r m a t i o ne m a i l i nf e wm i n u t e s a n d w i l l b e r e a d y t o g o . S i m u l a t i n ga l i n kr e q u i r e s s o m e s t e p s t h a t r e q u i r e f o l l o w i n gt h e m e n uo n t h e l e f t , f r o mt o pt o b o t t o ma s s h o w ni nF i g u r e D P7 b e l o w .

F i g u r e D P7 : P r e p a r i n g t o s i m u l a t e a l i n k u s i n g R a d i o Mo b i l e . $e 0 r s t s t e p i s t oc l i c ko nN e wS i t e . Y o uw i l l b e p r e s e n t e da Ma p , s i m i l a r t oG o o g l e Ma p s . Y o uc a nz o o mi n t ot h e m a pt o0 n dt h e l o c a t i o no f y o u r 0 r s t s i t e . D r a g t h e O r a n g e P l a c e m a r ka n dp l a c e i t i nt h e d e s i r e dp o s i t i o n . O n c e y o u a r e d o n e , c l i c ko n S u b m i t . G i v et h e l o c a t i o na m e a n i n g f u l n a m e , a n dc l i c ko nA d dt oMyS i t e s . I n t h i s w a y , y o u w i l l b e a b l e t o u s e t h i s l o c a t i o nf o r t h e s i m u l a t i o n . R e p e a t t h e s a m e p r o c e s s f o r t h e s e c o n ds i t e . O n c e y o uh a v e a t l e a s t t w o s i t e s , y o uc a np r o c e e dw i t ht h e n e x t s t e p . $e i n t e r f a c e w i l l n o t a l l o wy o ut oe n t e r d i r e c t l y t h e c o o r d i n a t e s o f t h e s i t e , s o y o um i g h t w a n t t oe n t e r a na p p r o x i m a t e p o s i t i o nf o r t h e c u r s o r a n dt h e n a f t e r w a r dc o r r e c t t h e v a l u e o f t h e c o o r d i n a t e s i nt h e t a b l e .

192

PLANNING AND DEPLOYMENT

$es e c o n ds t e pi n v o l v e se n t e r i n gi n f o r m a t i o na b o u tt h el i n k :t h e e q u i p m e n t c h a r a c t e r i s t i c s , t h e a n t e n n a s , e t c . C l i c ko nN e wL i n ki nt h e m e n uo nt h e l e f t . S e l e c t t h e t w o s i t e s f r o mt h e d r o p d o w nm e n u s . E n t e r am e a n i n g f u l n a m ef o r t h el i n ka n de n t e r t h e i n f o r m a t i o na b o u t t h ee q u i p m e n tu s e . $ es e n s i t i v i t yo f t h er e c e i v e ri s e x p r e s s e di nm i c r o V o l t s , w h i l e w e u s u a l l y u s e d B m . T o t r a n s l a t e f r o mm i c r o V o l t s t o d B m , h e r e a r e s o m e e x a m p l e s : 9 0 d B mi s 7 . 0 7 m i c r o v o l t s 8 5 d B mi s 1 2 . 6 m i c r o v o l t s 8 0 d B mi s 2 2 . 4 m i c r o v o l t s 7 5 d B mi s 3 9 . 8 m i c r o v o l t s 7 0 d B mi s 7 0 . 7 m i c r o v o l t s I t i s v e r yi m p o r t a n t t oc h o o s eaf r e q u e n c yt h a t R a d i o Mo b i l eo n l i n ec a n h a n d l e . H e r e a r e t h e m o s t i m p o r t a n t f r e q u e n c i e s f o r Wi F i l i n k s : U s e 2 3 0 0 MH z f o r 2 . 4 G H z l i n k s a n d 5 8 2 5 MH z f o r 5 . 8 G H z l i n k s . O n c e y o uh a v ee n t e r e da l l t h ei n f o r m a t i o n , c l i c ko nS u b m i t . I nas h o r t t i m e , y o u w i l l b e p r e s e n t e da 0 g u r e s i m i l a r t o t h e o n e b e l o w .

F i g u r e D P8 : O u t p u t o f t h e s i m u l a t i o n .

10. DEPLOYMENT PLANNING

193

$i s p a g eh a s a l l t h en e c e s s a r yi n f o r m a t i o nt ou n d e r s t a n di f t h el i n ki s f e a s i b l e o r n o t . I t g i v e s i n f o r m a t i o no n : t h el i n kl e n g t h , t h ea z i m u t h , e l e v a t i o na n dt i l t y o us h o u l dg i v et oa n t e n n a s , t h ef r e es p a c el o s s , t h et o t a ls p a c el o s s i n c l u d i n gt h es t a t i s t i c a l l o s sa n d , m o s ti m p o r t a n t l y , t h er e c e i v e ds i g n a l l e v e l . Wi t ht h e r e c e i v e r s e n s i t i v i t yy o ue n t e r e d , y o uw i l l b ep r e s e n t e dw i t ht h e f a d e m a r g i na n dy o u w i l l b e a b l e t o d e t e r m i n e i f t h e l i n k i s f e a s i b l e o r n o t . I f y o ua r e h a p p yw i t ht h e r e s u l t , a t t h e t o po f t h e p a g e y o us h o u l dc l i c k o nA d dt om y s i t e s a n dt h e l i n k w i l l b e s t o r e d . I f y o ua r e n o t s a t i s 0 e d a n d w a n t t o s i m u l a t e a d i 1 e r e n t e q u i p m e n t s e t u p , c l i c ko n Mo d i f y t h i s l i n k . R a d i o Mo b i l e f o r Wi n d o w s i n s i m p l e s t e p s
$i s i s a na b r i d g e dg u i d e t os t a r t u s i n g R a d i oMo b i l e a f t e r i n s t a l l a t i o n . E v e r y p a r a m e t e r n o t s p e c i 0 e d h e r e c a nb e l e f t a t t h e d e f a u l t v a l u e a n dl a t e r m o d i 0 e d i f n e e d e d .

S t e p1 : d o w n l o a dt h ed i g i t a l e l e v a t i o nm a p s( D E Ms )o fy o u ra r e ao f i n t e r e s t . c h o o s e S R T Mf o r m a t . S t e p2 : c r e a t e a m a p . I n F i l e Ma pp r o p e r t i e s , c h o o s e t h e m i d p o i n t o f y o u r a r e a o f i n t e r e s t a s t h e c o o r d i n a t e s f o r y o u r m a pa n da s i z e i nk m l a r g e e n o u g ht oe n c o m p a s s a l l y o u r p o i n t s . U s e 5 1 4 X 5 1 4p i x e l s f o r n o w . Y o uc a na d da n o t h e r t y p e o f m a p( l i k e o n e w i t hr o a d s ) t ot h e r a wD E Mi f y o u l i k e . S t e p3 : C r e a t es y s t e m s . I n F i l e N e t w o r kp r o p e r t i e s S y s t e m s . E a c ho n e i s a c o m b i n a t i o no f T Xp o w e r , R Xs e n s i t i v i t y a n da n t e n n a g a i n . S e l e c t o m n i a n t e n n a e v e ni f y o u r a n t e n n a i s d i r e c t i o n a l , b u t i n s e r t t h e r e a l g a i n . S t e p4 : c r e a t e u n i t s . E a c h u n i t h a s a n a m e a n da g e o g r a p h i c a l p o s i t i o n . Y o u c a nu s e d e g r e e s , m i n u t e s , s e c o n d s o r d e g r e e s a n df r a c t i o n s , b u t m a k e s u r e t o s e l e c t t h e p r o p e r h e m i s p h e r e ( No r S , Eo r W) . S t e p5 : A s s i g nr o l e s : s e l e c ti t e m N e t w o r k sp r o p e r t i e s f r o mt h em e n u F i l e . $e ng o t o t h e t a b Me m b e r s h i p w h e r e y o u w i l l b e a l l o w e d t o e d i t t h es y s t e ma n dr o l ef o re a c hu n i t . E n a b l ee a c hu n i t i nt h el i s t w i t ha c h e c k m a r k . A s s i g nan a m et oy o u r n e t w o r ka n di nt h e p a r a m e t e r s t a b s e t t h e m i n i m u ma n dm a x i m u mf r e q u e n c y o f o p e r a t i o ni nMHz . S t e p6 :V i e wy o u rn e t w o r ko nt h em a p .S e l e c t V i e w S h o w n e t w o r k s A l l

194

PLANNING AND DEPLOYMENT

S t e p7 :O b t a i nt h ep r o 0 l ea n dp o i n tt op o i n tl i n kb u d g e t . T o o l s R a d i ol i n k . Y o uc a ns w i t c h t o t h e d e t a i l e dv i e wt h a t g i v e s y o u a t e x t u a l d e s c r i p t i o no f t h e o u t p u t o f t h e s i m u l a t i o n . S t e p8 : V i e wc o v e r a g e : g ot o T o o l s R a d i oc o v e r a g e S i n g l e p o l a r t oo b t a i nt h ec o v e r a g eo f e a c hs t a t i o n . H e r et h et y p eo f a n t e n n a b e c o m e s r e l e v a n t . I f i t i s n o t a no m n i y o us h o u l de d i t t h ea n t e n n ap a t t e r n a n dt h e o r i e n t a t i o no f t h e b o r e s i g h t ( d i r e c t i o nw h e r e t h e b e a mi s p o i n t i n g ) . U s i n g G o o g l e E a r t ht o o b t a i na ne l e v a t i o np r o 0 l e G o o g l eE a r t hi s av e r yp o p u l a r m a p p i n ga p p l i c a t i o n . I t c a nb eu s e dt o o b t a i nt h ee l e v a t i o np r o 0 l eb e t w e e nt w op o i n t s a n dt h e r e f o r ed e t e r m i n e t h e e x i s t e n c e ( o r n o t ) o f t h e o p t i c a l l i n e o f s i g h t . $e r a d i o e l e c t r i c l i n e o f s i g h t c a nb e d e r i v e d f r o mt h e o p t i c a l o n e b y a d d i n g t h e e 1 e c t o f t h e e a r t h c u r v a t u r e ( b y u s i n g t h e m o d i 0 e dr a d i u s o f t h e e a r t h ) a n dt h e r e q u i r e m e n t s f o r c l e a r i n g t h e 0 r s t F r e s n e l z o n e . $e p r o c e d u r e i s t h e f o l l o w i n g : I n s t a l l G o o g l e E a r t hi ny o u r d e v i c e , l a u n c ht h e a p p l i c a t i o na n dz o o mi n t o t h e m a ps o y o u c a ns e e t h e t w o p o i n t s t h a t y o u w a n t t o l i n k . 1 .I nt h e u p p e r m e n u , c l i c ko n " A d dp a t h " 2 .C l i c k t o s e t t h e 0 r s t p o i n t a n dt h e nf o r t h e s e c o n dp o i n t 3 .G i v et h e c o n n e c t i o nan a m e ( " L i n k " f o r e x a m p l e ) a n dc l i c kO K i nt h e p o p u p w i n d o w 4 . $e c o n n e c t i o na p p e a r s i nt h e m e n uo n t h e l e f t 5 .R i g h tc l i c ko nt h en a m eo ft h ec o n n e c t i o n( " L i n k "i no u r e x a m p l e ) 6 .S e l e c t " S h o we l e v a t i o np r o 0 l e " 7 . $e e l e v a t i o np r o 0 l e a p p e a r s a t t h e b o t t o mo n t h e s c r e e n 8 .I f y o um o v e a l o n gt h ep r o 0 l e , y o uw i l l s e ear e da r r o ws h o w i n g w h e r e t h e p o i n t i s i nt h e m a p

Avoiding noise
$e u n l i c e n s e dI S Ma n dU N I I b a n d s r e p r e s e n t av e r yt i n yp i e c e o f t h e k n o w ne l e c t r o m a g n e t i c s p e c t r u m . S i n c e t h i s r e g i o nc a nb e u t i l i s e d w i t h o u t p a y i n gl i c e n s ef e e s , m a n yc o n s u m e rd e v i c e s u s ei t f o raw i d er a n g eo f a p p l i c a t i o n s .

10. DEPLOYMENT PLANNING

195

C o r d l e s sp h o n e s , a n a l o gv i d e os e n d e r s , B l u e t o o t h ,b a b ym o n i t o r s , a n d e v e nm i c r o w a v e o v e n s c o m p e t e w i t hw i r e l e s s d a t a n e t w o r k s f o r u s e o f t h e v e r y l i m i t e d2 . 4 G Hz b a n d . $e s e s i g n a l s , a s w e l l a s o t h e r l o c a l w i r e l e s s n e t w o r k s , c a nc a u s e s i g n i 0 c a n t p r o b l e m s f o r l o n g r a n g e w i r e l e s s l i n k s . H e r e a r e s o m e s t e p s y o uc a nu s e t o r e d u c e r e c e p t i o no f u n w a n t e ds i g n a l s . I n c r e a s e a n t e n n a g a i no nb o t hs i d e s o f a p o i n t t o p o i n t l i n k . A n t e n n a s n o t o n l ya d dg a i nt oal i n k , b u t t h e i r i n c r e a s e dd i r e c t i o n a l i t yt e n d s t or e j e c t n o i s e f r o ma r e a s a r o u n dt h e l i n k . T w oh i g hg a i nd i s h e s t h a t a r e p o i n t e da t e a c ho t h e r w i l l r e j e c t n o i s e f r o m d i r e c t i o n s t h a t a r eo u t s i d et h ep a t ho ft h el i n k . U s i n go m n i d i r e c t i o n a l a n t e n n a s w i l l r e c e i v e n o i s e f r o ma l l d i r e c t i o n s .

F i g u r e D P9 : As i n g l e o m n i d i r e c t i o n a l a n t e n n a v s . m u l t i p l e s e c t o r i a l s . U s e s e c t o r i a l s i n s t e a do f u s i n g a no m n i d i r e c t i o n a l . B ym a k i n gu s eo f s e v e r a l s e c t o r i a l a n t e n n a s , y o uc a nr e d u c et h eo v e r a l l n o i s e r e c e i v e da t a d i s t r i b u t i o np o i n t . B ys t a g g e r i n gt h ec h a n n e l s u s e do ne a c hs e c t o r i a l , y o uc a na l s oi n c r e a s e t h e a v a i l a b l e b a n d w i d t ht o y o u r c l i e n t s .

196

PLANNING AND DEPLOYMENT

D o n t u s ea na m p l i 0 e r . A m p l i 0 e r s c a nm a k e i n t e r f e r e n c ei s s u e s w o r s eb y i n d i s c r i m i n a t e l ya m p l i f y i n ga l lr e c e i v e ds i g n a l s ,i n c l u d i n gs o u r c e so f i n t e r f e r e n c e . A m p l i 0 e r s a l s oc a u s ei n t e r f e r e n c ep r o b l e m s f o r o t h e r n e a r b y u s e r s o f t h e b a n d . U s e t h e b e s t a v a i l a b l e c h a n n e l . R e m e m b e r t h a t 8 0 2 . 1 1 b / g c h a n n e l s a r e 2 2 MHz w i d e , b u t a r e o n l y s e p a r a t e db y 5 MHz . P e r f o r ma s i t es u r v e y , a n ds e l e c t ac h a n n e l t h a t i s a s f a r a s p o s s i b l e f r o m e x i s t i n g s o u r c e s o f i n t e r f e r e n c e . R e m e m b e r t h a t t h e w i r e l e s s l a n d s c a p e c a n c h a n g ea t a n yt i m ea sp e o p l ea d dn e wd e v i c e s ( c o r d l e s sp h o n e s , o t h e r n e t w o r k s , e t c . ) I f y o u r l i n k s u d d e n l y h a s t r o u b l e s e n d i n g p a c k e t s , y o um a y n e e dt o p e r f o r ma n o t h e r s i t e s u r v e y a n dp i c k a d i 1 e r e n t c h a n n e l . I f p o s s i b l e , u s e 5 . 8 G Hz . Wh i l e t h i s i s o n l y a s h o r t t e r ms o l u t i o n , t h e r e i s c u r r e n t l y f a r m o r e c o n s u m e r e q u i p m e n t i n s t a l l e di nt h e 0 e l dt h a t u s e s 2 . 4 G Hz . U s i n g 8 0 2 . 1 1 a y o u w i l l a v o i dt h i s c o n g e s t i o na l t o g e t h e r . I f a l l e l s e f a i l s , u s e l i c e n s e ds p e c t r u m . $e r ea r e p l a c e s w h e r ea l l a v a i l a b l e u n l i c e n s e ds p e c t r u mi s a c t u a l l yu s e d . I nt h e s e c a s e s , i t m a ym a k e s e n s e t o s p e n dt h e a d d i t i o n a l m o n e y f o r o b t a i n i n g t h e r e s p e c t i v e l i c e n s e a n dd e p l o y e q u i p m e n t t h a t u s e s al e s s c o n g e s t e db a n d . F o rl o n gd i s t a n c ep o i n t t o p o i n t l i n k s t h a t r e q u i r e v e r yh i g ht h r o u g h p u t a n dm a x i m u mu p t i m e , t h i s i s c e r t a i n l ya no p t i o n . O f c o u r s e , t h e s e f e a t u r e s c o m ea t am u c hh i g h e r p r i c e t a g c o m p a r e dt o u n l i c e n s e de q u i p m e n t . R e c e n t l ye q u i p m e n t i nt h e1 7G Hza n d2 4G Hzb a n d sh a v eb e c o m e a v a i l a b l e . A l t h o u g hi t i sc o n s i d e r a b l ym o r ee x p e n s i v e , i t a l s oo 1 e r sm u c hg r e a t e r b a n d w i d t h , a n di nm a n y c o u n t r i e s t h e s e f r e q u e n c i e s a r e u n l i c e n s e d . T oi d e n t i f ys o u r c e s o f n o i s e , y o un e e dt o o l st h a t w i l l s h o wy o uw h a t i s h a p p e n i n g i nt h e a i r a t 2 . 4 G Hz . We w i l l s e e s o m e e x a m p l e s o f t h e s e t o o l s i nt h ec h a p t e r sc a l l e dN e t w o r k Mo n i t o r i n ga n d Ma i n t e n a n c ea n d T r o u b l e s h o o t i n g .

Repeaters
$ em o s t c r i t i c a l c o m p o n e n t t ob u i l d i n gl o n gd i s t a n c en e t w o r kl i n k s i s

10. DEPLOYMENT PLANNING

197

l i n e o f s i g h t ( o f t e na b b r e v i a t e da s L O S ) . T e r r e s t r i a l m i c r o w a v e s y s t e m s s i m p l yc a n n o t t o l e r a t el a r g eh i l l s , t r e e s , o r o t h e r o b s t a c l e s i nt h e p a t ho f a l o n gd i s t a n c e l i n k . Y o um u s t h a v e a c l e a r i d e a o f t h e l a y o f t h e l a n db e t w e e nt w o p o i n t s b e f o r e y o uc a nd e t e r m i n e i f al i n ki se v e np o s s i b l e . B u te v e ni f t h e r ei sam o u n t a i nb e t w e e nt w o p o i n t s , r e m e m b e r t h a t o b s t a c l e s c a ns o m e t i m e s b e t u r n e d i n t o a s s e t s . Mo u n t a i n s m a yb l o c ky o u r s i g n a l , b u t a s s u m i n gp o w e r c a nb ep r o v i d e d t h e y a l s o m a k e v e r y g o o d r e p e a t e r s i t e s . R e p e a t e r s a r en o d e s t h a t a r ec o n 0 g u r e dt or e b r o a d c a s t t r a N ct h a t i s n o t d e s t i n e df o r t h e n o d ei t s e l f . I nam e s hn e t w o r k , e v e r yn o d ei s a r e p e a t e r . I na t r a d i t i o n a l i n f r a s t r u c t u r e n e t w o r k , r e p e a t e r n o d e s m u s t b e c o n 0 g u r e d t op a s sa l o n gt r a N ct oo t h e rn o d e s . Ar e p e a t e rc a nu s eo n eo rm o r e w i r e l e s s d e v i c e s . Wh e nu s i n g a s i n g l e r a d i o( c a l l e da o n e a r mr e p e a t e r ) , o v e r a l l e N c i e n c y i s s l i g h t l y l e s s t h a nh a l f o f t h e a v a i l a b l e b a n d w i d t h , s i n c e t h e r a d i o c a ne i t h e r s e n do r r e c e i v ed a t a , b u t n e v e r b o t ha t o n c e . $e s ed e v i c e s a r ec h e a p e r , s i m p l e r , a n dh a v e l o w e r p o w e r r e q u i r e m e n t s . Ar e p e a t e r w i t ht w o( o r m o r e ) r a d i oc a r d s c a no p e r a t ea l l r a d i o s a t f u l l c a p a c i t y ,a sl o n ga st h e ya r ee a c hc o n 0 g u r e dt ou s en o n o v e r l a p p i n g c h a n n e l s . O f c o u r s e , r e p e a t e r s c a na l s os u p p l ya nE t h e r n e t c o n n e c t i o nt op r o v i d e l o c a l c o n n e c t i v i t y . R e p e a t e r sc a nb ep u r c h a s e da sac o m p l e t eh a r d w a r es o l u t i o n , o re a s i l y a s s e m b l e db yc o n n e c t i n gt w oo rm o r ew i r e l e s sn o d e st o g e t h e rw i t h E t h e r n e t c a b l e . Wh e np l a n n i n g t ou s e a r e p e a t e r b u i l t w i t h8 0 2 . 1 1 t e c h n o l o g y , r e m e m b e r t h a t n o d e s m u s t b e c o n 0 g u r e df o r m a s t e r , m a n a g e d , o r a d h o c m o d e . T y p i c a l l y , b o t hr a d i o si nar e p e a t e r a r ec o n 0 g u r e df o r m a s t e r m o d e , t o a l l o wm u l t i p l ec l i e n t st oc o n n e c tt oe i t h e rs i d eo ft h er e p e a t e r .B u t d e p e n d i n g o ny o u r n e t w o r kl a y o u t , o n e o r m o r e d e v i c e s m a y n e e dt ou s e a d h o c o r e v e nc l i e n t m o d e .

198

PLANNING AND DEPLOYMENT

h a v e n o d i r e c t l i n e o f s i g h t . T y p i c a l l y , r e p e a t e r s a r eu s e dt oo v e r c o m eo b s t a c l e s i nt h e p a t ho f al o n g d i s t a n c e l i n k . F o r e x a m p l e , t h e r e m a y b e b u i l d i n g s i ny o u r p a t h , b u t t h o s e b u i l d i n g sc o n t a i np e o p l e . A r r a n g e m e n t sc a no f t e nb ew o r k e do u tw i t h b u i l d i n go w n e r st op r o v i d eb a n d w i d t hi ne x c h a n g ef o rr o o f r i g h t s a n d e l e c t r i c i t y . I f t h eb u i l d i n go w n e r i s n t i n t e r e s t e d , t e n a n t so nh i g hW o o r s m a yb ea b l et ob ep e r s u a d e dt oi n s t a l l e q u i p m e n t i naw i n d o w . I f y o u c a n t g oo v e r o r t h r o u g ha no b s t a c l e , y o uc a no f t e ng oa r o u n di t . R a t h e r t h a nu s i n g a d i r e c t l i n k , t r y a m u l t i h o p a p p r o a c ht o a v o i dt h e o b s t a c l e .

c i r c u m v e n t e db y u s i n g m u l t i p l e r e p e a t e r s i t e s a r o u n d t h e b a s e . F i n a l l y ,y o um a yn e e dt oc o n s i d e rg o i n gb a c k w a r d si no r d e rt og o f o r w a r d s . I f t h e r e i s a h i g hs i t e a v a i l a b l e i na d i 1 e r e n t d i r e c t i o n , a n dt h a t s i t e c a ns e e b e y o n dt h e o b s t a c l e , a s t a b l e l i n k c a nb e m a d e v i a a ni n d i r e c t r o u t e .

10. DEPLOYMENT PLANNING

199

F i g u r e D P1 2 : S i t e Dc o u l d n o t m a k e a c l e a n l i n k t o s i t e Ao r B , s i n c e s i t e Ci s i nt h e w a y a n d i s n o t h o s t i n g a n o d e . B y i n s t a l l i n g a h i g h r e p e a t e r , n o d e s A , B , a n d Dc a n c o m m u n i c a t e w i t h e a c ho t h e r . N o t e t h a t t r a M c f r o mn o d e Da c t u a l l y t r a v e l s f u r t h e r a w a y f r o mt h e r e s t o f t h e n e t w o r k b e f o r e t h e r e p e a t e r f o r w a r d s i t a l o n g .

Deployment planning for IPv6


A s w e m e n t i o n e di nt h ec h a p t e r c a l l e dN e t w o r k i n g , m o s t r e g i o n s o f t h e w o r l dh a v ee i t h e re x h a u s t e do rn e a r l ye x h a u s t e dt h e i rI P v 4a d d r e s s e s . $e r e f o r ei ti si m p o r t a n tt h a ty o ub u i l di n t oy o u rp l a n n i n gt h e d e p l o y m e n t o f I P v 6b a s e dn e t w o r k s . I t i s u n d e r s t o o dt h a t a t t h e t i m e o f w r i t i n gt h e r e a r e s t i l l m a n ys i t e s a n d s e r v i c e s t h a t a r e s t i l l o n l y a v a i l a b l e b y I P v 4 . S o i no r d e r t o b e c o m e a l e a d e r i nd e p l o y i n g I P v 6 , y o u w i l l n e e dt o b e a b l e t oi n t e r c o n n e c t w i t hl e g a c y I P v 4n e t w o r k s a s w e l l a s t e a c ha n dg u i d e y o u r u s e r s a n dd e v e l o p e r s h o wt o h a n d l e I P v 6 a l o n g s i d e I P v 4 . B y l e a d i n gt h e w a y i nd e p l o y i n g I P v 6i ny o u r n e t w o r ky o uw i l l b e a t t h e f o r e f r o n t o f t h e I n t e r n e t a n dr e c o g n i s e da s s o m e o n e w h oi s p r e p a r e dt ob e a w a r e o f a n ds u p p o r t t h e n e x t g e n e r a t i o no f n e t w o r k i n g .

200

PLANNING AND DEPLOYMENT

I np r e p a r i n gf o r I P v 6h e r e a r e s o m e s t e p s y o uc a nt a k e t oh e l pm o v e y o u i nt h e r i g h t d i r e c t i o n1 .D o n t b u yr o u t e r s , 0 r e w a l l s a n do t h e r I Pe q u i p m e n t t h a t p r o c e s s I P v 4p a c k e t si nh a r d w a r ea tf u l l s p e e da n do n l yp r o c e s sI P v 6 p a c k e t s m o r e s l o w l y i ns o f t w a r e o r w o r s e s t i l l d o n t h a n d l e I P v 6a t a l l . $e v a s t m a j o r i t yo f a v a i l a b l en e t w o r kd e v i c e s s u p p o r t I P v 6 . R I P Eh a s p r e p a r e ds o m e r e q u i r e m e n t s t ob ea d d e di n t oa n yc a l l f o r t e n d e r t o e n s u r e t h a t I P v 6i s i n c l u d e d : h t t p : / / w w w . r i p e . n e t / r i p e / d o c s / c u r r e n t r i p e d o c u m e n t s / r i p e 5 5 4 Y o um a y a l s ol o o kf o r t h e I P v 6 R e a d y l o g oo nt h e d a t a s h e e t s o f t h e d e v i c e s . 2 . Wh e nd e p l o y i n g n e ws o f t w a r e , m a k e s u r e i t w o r k s o v e r I P v 6 . 3 . Wh e nd i s c u s s i n gy o u r b a c k h a u l l i n kw i t hal o c a l I S P , c h e c kt h a t t h e yh a v ed e p l o y e do rh a v ep l a n st od e p l o ya n do 1 e rI P v 6 s e r v i c e s . I f n o t d i s c u s s w i t ht h e mh o wy o um i g h t c o o p e r a t e a n d i n t e r c o n n e c ty o u rI P v 6n e t w o r kw i t ht h e m . $ ec o s to fI P v 6 s h o u l db ei n c l u d e di nt h e o v e r a l l c o s t ; t h i s m e a n s t h a t y o uw i l l n o t p a ya n y t h i n g m o r e t og e t I P v 6 . $e S e r v i c e L e v e l A g r e e m e n t ( S L A ) f o r I P v 6s h o u l db ei d e n t i c a l ( t h r o u g h p u t , l a t e n c y , i n c i d e n t r e s p o n s et i m e ,. . . )a sf o rI P v 4 .$ e r ea r es e v e r a lI P v 4 / I P v 6 t r a n s i t i o nt e c h n i q u e s t h a t c a nb e d e p l o y e d . H e r ea r es o m eu r l st h a ty o uc a nr e a dt h a tw i l l g i v ey o uu pt od a t e i n f o r m a t i o na b o u t t h e s e h t t p : / / w w w . p e t r i . c o . i l / i p v 6 t r a n s i t i o n . h t m h t t p : / / e n . w i k i p e d i a . o r g / w i k i / I P v 6 _ t r a n s i t i o n _ m e c h a n i s m s h t t p : / / w w w . 6 d i s s . o r g / t u t o r i a l s / t r a n s i t i o n i n g . p d f $e r ei sm o r ei n f o r m a t i o na b o u tt h eg r o w t ho fI P v 6a n dt h el a c ko f a v a i l a b l e I P v 4a d r e s s e s i nt h i s a r t i c l e p u b l i s h e di nl a t e 2 0 1 2 . h t t p : / / a r s t e c h n i c a . c o m / b u s i n e s s / 2 0 1 3 / 0 1 / i p v 6 t a k e s o n e s t e p f o r w a r d i p v 4 t w o s t e p s b a c k i n 2 0 1 2 / $e r e i s a l s oa nE Cf u n d e dp r o j e c t c a l l e d6 D e p l o y w h oo 1 e r t r a i n i n g a n d h e l p d e s k s e r v i c e s f o r n e t w o r ke n g i n e e r s s t a r t i n g t h e i r I P v 6 d e p l o y m e n t s . I t i s h i g h l y r e c o m m e n d e dt h a t y o u c o n t a c t t h e mt o d i s c u s s y o u r p r o j e c t . h t t p : / / w w w . 6 d e p l o y . e u / i n d e x . p h p ? p a g e = h o m e

11. HARDWARE SELECTION AND CONFIGURATION

201

11. HARDWARE SELECTION AND CONFIGURATION


I nt h el a s tf e wy e a r s ,a nu n p r e c e d e n t e ds u r g eo fi n t e r e s ti nw i r e l e s s n e t w o r k i n g h a r d w a r e h a s b r o u g h t a h u g e v a r i e t y o f i n e x p e n s i v e e q u i p m e n t t o t h e m a r k e t . S om u c hv a r i e t y , i nf a c t , t h a t i t w o u l db ei m p o s s i b l et oc a t a l o ge v e r y a v a i l a b l e c o m p o n e n t . I nt h i s c h a p t e r , w e l l l o o ka t t h e s o r t o f f e a t u r e s a n d a t t r i b u t e s t h a t a r e d e s i r a b l e i na w i r e l e s s c o m p o n e n t .

Wired wireless
Wi t ha n a m e l i k e w i r e l e s s , y o um a y b e s u r p r i s e da t h o wm a n y w i r e s a r e i n v o l v e d i nm a k i n g a s i m p l e p o i n t t o p o i n t l i n k . Aw i r e l e s sn o d ec o n s i s t so fm a n yc o m p o n e n t s ,w h i c hm u s ta l lb e c o n n e c t e d t o e a c ho t h e r w i t ha p p r o p r i a t e c a b l i n g . Y o uo b v i o u s l yn e e da tl e a s to n ec o m p u t e rc o n n e c t e dt oa nE t h e r n e t n e t w o r k , a n daw i r e l e s s r o u t e r o r b r i d g ea t t a c h e dt ot h es a m en e t w o r k . R a d i oc o m p o n e n t s n e e dt ob e c o n n e c t e dt oa n t e n n a s , b u t a l o n gt h e w a y t h e y m a y n e e dt o i n t e r f a c e w i t ha l i g h t n i n g a r r e s t o r o r o t h e r d e v i c e . Ma n yc o m p o n e n t s r e q u i r e p o w e r , e i t h e r v i a a nA Cm a i n s l i n e o r u s i n ga D Ct r a n s f o r m e r . A l l o f t h e s e c o m p o n e n t s u s e v a r i o u s s o r t s o f c o n n e c t o r s , n o t t om e n t i o na w i d e v a r i e t y o f c a b l e t y p e s a n dt h i c k n e s s e s . N o wm u l t i p l yt h o s e c a b l e s a n dc o n n e c t o r s b yt h en u m b e r o f n o d e s y o u w i l l b r i n g o n l i n e , a n dy o u m a y w e l l b e w o n d e r i n g w h y t h i s s t u 1i s r e f e r r e d t o a s w i r e l e s s . $ ed i a g r a mo nt h en e x t p a g ew i l l g i v ey o us o m ei d e ao f t h ec a b l i n g r e q u i r e df o r a t y p i c a l p o i n t t o p o i n t l i n k . N o t e t h a t t h i s d i a g r a mi s n o t t os c a l e , n o r i s i t n e c e s s a r i l yt h e b e s t c h o i c e o fn e t w o r kd e s i g n .B u ti tw i l li n t r o d u c ey o ut om a n yc o m m o n i n t e r c o n n e c t s a n dc o m p o n e n t s t h a t y o uw i l l l i k e l ye n c o u n t e r i nt h er e a l w o r l d .

202

PLANNING AND DEPLOYMENT

F i g u r e H W1 : C o m m o nI n t e r c o n n e c t s a n dC o m p o n e n t s f o r a Wi r e l e s s P t P l i n k . Wh i l et h ea c t u a l c o m p o n e n t s u s e dw i l l v a r yf r o mn o d et on o d e , e v e r y i n s t a l l a t i o nw i l l i n c o r p o r a t e t h e s e p a r t s : 1 . A ne x i s t i n g c o m p u t e r o r n e t w o r k c o n n e c t e d t oa nE t h e r n e t s w i t c h . 2 . Ad e v i c e t h a t c o n n e c t s t h a t n e t w o r kt oaw i r e l e s s d e v i c e ( aw i r e l e s s r o u t e r , b r i d g e , o r r e p e a t e r ) . 3 . A na n t e n n a t h a t i s c o n n e c t e dv i a f e e dl i n e , o r i s i n t e g r a t e di n t ot h e w i r e l e s s d e v i c e i t s e l f . 4 . E l e c t r i c a lc o m p o n e n t sc o n s i s t i n go fp o w e rs u p p l i e s ,c o n d i t i o n e r s , a n dl i g h t n i n g a r r e s t o r s . $e a c t u a l s e l e c t i o no f h a r d w a r e s h o u l db e d e t e r m i n e db y e s t a b l i s h i n g t h e r e q u i r e m e n t sf o rt h ep r o j e c t ,d e t e r m i n i n gt h ea v a i l a b l eb u d g e t ,a n d v e r i f y i n g t h a t t h e p r o j e c t i s f e a s i b l e u s i n g t h e a v a i l a b l e r e s o u r c e s ( i n c l u d i n g p r o v i d i n g f o r s p a r e s a n do n g o i n g m a i n t e n a n c e c o s t s ) . A s d i s c u s s e di no t h e r c h a p t e r s o f t h i s b o o k , e s t a b l i s h i n g t h e s c o p e o f y o u r p r o j e c t i s c r i t i c a l b e f o r e a n y p u r c h a s i n g d e c i s i o n s a r e m a d e .

11. HARDWARE SELECTION AND CONFIGURATION

203

Choosing wireless components


U n f o r t u n a t e l y , i n aw o r l do fc o m p e t i t i v eh a r d w a r em a n u f a c t u r e r sa n d l i m i t e db u d g e t s , t h e p r i c e t a gi s t h e s i n g l ef a c t o r t h a t u s u a l l yr e c e i v e s t h e m o s t a t t e n t i o n . $ eo l ds a y i n gt h a t y o ug e t w h a t y o up a yf o r o f t e nh o l d s t r u ew h e n b u y i n gh i g ht e c he q u i p m e n t , b u t s h o u l dn o t b ec o n s i d e r e da na b s o l u t e t r u t h . Wh i l e t h e p r i c e t a g i s a ni m p o r t a n t p a r t o f a n y p u r c h a s i n g d e c i s i o n , i t i s v i t a l t ou n d e r s t a n dp r e c i s e l y w h a t y o u g e t f o r y o u r m o n e y s oy o uc a n m a k e a c h o i c e t h a t 0 t s y o u r n e e d s . Wh e nc o m p a r i n gw i r e l e s s e q u i p m e n t f o r u s e i ny o u r n e t w o r k , b e s u r e t o c o n s i d e r t h e s e v a r i a b l e s : I n t e r o p e r a b i l i t y .Wi l lt h ee q u i p m e n ty o ua r ec o n s i d e r i n gw o r kw i t h e q u i p m e n t f r o mo t h e r m a n u f a c t u r e r s ? I f n o t , i s t h i s a ni m p o r t a n t f a c t o r f o r t h i s s e g m e n t o f y o u r n e t w o r k ? I f t h e g e a r i nq u e s t i o ni s s t a n d a r d( s u c h a s 8 0 2 . 1 1 b / g ) , t h e ni t w i l l l i k e l yi n t e r o p e r a t e w i t he q u i p m e n t f r o mo t h e r s o u r c e s . R a n g e . $i s i s n o t s o m e t h i n g i n h e r e n t i na p a r t i c u l a r p i e c e o f e q u i p m e n t . Ad e v i c e s r a n g e d e p e n d s o nt h e a n t e n n a c o n n e c t e dt oi t , t h e s u r r o u n d i n g t e r r a i n , t h e c h a r a c t e r i s t i c s o f t h e d e v i c e a t t h e o t h e r e n do f t h e l i n k , a n d o t h e r f a c t o r s . R a t h e r t h a nr e l y i n go nas e m i -0 c t i o n a l r a n g e r a t i n gs u p p l i e db yt h e m a n u f a c t u r e r , i t i s m o r eu s e f u l t ok n o wt h et r a n s m i s s i o np o w e r o f t h e r a d i o a s w e l l a s t h e a n t e n n a g a i n( i f a na n t e n n a i s i n c l u d e d ) . Wi t ht h i si n f o r m a t i o n , y o uc a nc a l c u l a t et h et h e o r e t i c a l r a n g ea sd o n e w h e nl o o k i n ga t l i n kb u d g e t c a l c u l a t i o n s a s w e d i di nt h e c h a p t e r c a l l e d D e p l o y m e n t P l a n n i n g . R a d i o s e n s i t i v i t y . H o ws e n s i t i v e i s t h e r a d i o d e v i c e a t a g i v e nb i t r a t e ? $e m a n u f a c t u r e rs h o u l ds u p p l yt h i si n f o r m a t i o n , a t l e a s t a t t h ef a s t e s t a n d s l o w e s t s p e e d s . $i s c a nb eu s e da s am e a s u r eo f t h e q u a l i t yo f t h e h a r d w a r e , a s w e l l a s a l l o wy o u t o c o m p l e t e a l i n k b u d g e t c a l c u l a t i o n . Wh e nc o n s i d e r i n g r a d i o s e n s i t i v i t y , a l o w e r n u m b e r i s b e t t e r .

204

PLANNING AND DEPLOYMENT

$r o u g h p u t . Ma n u f a c t u r e r s c o n s i s t e n t l y l i s t t h e h i g h e s t p o s s i b l e b i t r a t e a s t h e s p e e d o f t h e i r e q u i p m e n t . K e e pi nm i n dt h a t t h e r a d i os y m b o l r a t e ( e g . 5 4Mb p s ) i s n e v e r t h ea c t u a l t h r o u g h p u t r a t i n go f t h ed e v i c e( e g . a b o u t 2 2 Mb p s f o r 8 0 2 . 1 1 g ) . I ft h r o u g h p u tr a t ei n f o r m a t i o ni sn o ta v a i l a b l ef o rt h ed e v i c ey o ua r e e v a l u a t i n g , ag o o dr u l e o f t h u m bi s t od i v i d e t h e d e v i c e s p e e d b yt w o , a n ds u b t r a c t 2 0 %o r s o . Wh e ni nd o u b t , p e r f o r mt h r o u g h p u t t e s t i n go n a ne v a l u a t i o nu n i t b e f o r ec o m m i t t i n gt op u r c h a s i n gal a r g ea m o u n t o f e q u i p m e n t t h a t h a s n o o N c i a l t h r o u g h p u t r a t i n g . R e q u i r e da c c e s s o r i e s . T ok e e pt h e i n i t i a l p r i c e t a gl o w , v e n d o r s o f t e nl e a v e o u t a c c e s s o r i e s t h a t a r e r e q u i r e df o r n o r m a l u s e . D o e s t h e p r i c e t a g i n c l u d e a l l p o w e r a d a p t e r s ? F o r e x a m p l e D Cs u p p l i e s a r e t y p i c a l l y i n c l u d e d ; P o w e r o v e r E t h e r n e t i n j e c t o r s t y p i c a l l ya r en o t . D o u b l e c h e c ki n p u t v o l t a g e s a s w e l l , a s e q u i p m e n t i s s o m e t i m e s p r o v i d e d w i t ha U S p o w e r s u p p l y . Wh a t a b o u t p i g t a i l s , a d a p t e r s , c a b l e s , a n t e n n a s , a n dr a d i oc a r d s ? I f y o u i n t e n d t o u s e i t o u t d o o r s , d o e s t h e d e v i c e i n c l u d e a w e a t h e r p r o o f c a s e ? A v a i l a b i l i t y . Wi l l y o u b e a b l e t o e a s i l y r e p l a c e f a i l e dc o m p o n e n t s ? C a ny o u o r d e r t h e p a r t i nl a r g e q u a n t i t y , s h o u l dy o u r p r o j e c t r e q u i r e i t ? Wh a t i s t h e p r o j e c t e dl i f es p a no ft h i sp a r t i c u l a rp r o d u c t , b o t hi nt e r m so fu s e f u l r u n n i n g t i m e i n t h e 0 e l da n dl i k e l y a v a i l a b i l i t y f r o mt h e v e n d o r ? P o w e r c o n s u m p t i o n . F o r r e m o t ei n s t a l l a t i o n s , p o w e r c o n s u m p t i o ni s t h e m o s t c r i t i c a l i s s u e . I f t h e d e v i c e s a r e t ob e p o w e r e dw i t hs o l a r p a n e l s , i t i s v e r y i m p o r t a n t t o s e l e c t t h e o n e s t h a t r e q u i r e t h e l o w e s t p o s s i b l e p o w e r . $e c o s t o f s o l a r p a n e l s a n db a t t e r i e s c a nb e m u c hh i g h e r t h a nt h e c o s t o f w i r e l e s s d e v i c e s ; s ol o w e r p o w e r c o n s u m p t i o nc a nr e s u l t i nam u c hl o w e r o v e r a l l b u d g e t . O t h e rf a c t o r s . B es u r et h a to t h e rf e a t u r e sa r ep r o v i d e dt om e e ty o u r p a r t i c u l a r n e e d s . F o r e x a m p l e , d o e s t h e d e v i c e i n c l u d e a ne x t e r n a l a n t e n n a c o n n e c t o r ? I fs o , w h a tt y p ei si t ? A r et h e r eu s e ro rt h r o u g h p u tl i m i t s i m p o s e db y s o f t w a r e , a n di f s o , w h a t i s t h e c o s t t o i n c r e a s e t h e s e l i m i t s ? Wh a t i s t h e p h y s i c a l f o r mf a c t o r o f t h e d e v i c e ? D o e si ts u p p o r tP O Ea sa p o w e rs o u r c e ?D o e st h ed e v i c ep r o v i d e e n c r y p t i o n , N A T , b a n d w i d t hm o n i t o r i n g t o o l s , o r o t h e r f e a t u r e s c r i t i c a l t o t h e i n t e n d e dn e t w o r k d e s i g n ?

11. HARDWARE SELECTION AND CONFIGURATION

205

B ya n s w e r i n gt h e s eq u e s t i o n s 0 r s t , y o uw i l l b ea b l et om a k ei n t e l l i g e n t b u y i n gd e c i s i o n s w h e nt h e t i m e c o m e s t oc h o o s i n gn e t w o r k i n g h a r d w a r e . I t i s u n l i k e l y t h a t y o uw i l l b e a b l e t oa n s w e r e v e r y p o s s i b l e q u e s t i o nb e f o r e b u y i n gg e a r , b u t i f y o up r i o r i t i s et h eq u e s t i o n s a n dp r e s s t h ev e n d o r t o a n s w e r t h e mb e f o r e c o m m i t t i n g t oa p u r c h a s e , y o uw i l l m a k e t h e b e s t u s e o f y o u r b u d g e t a n db u i l da n e t w o r ko f c o m p o n e n t s t h a t a r e w e l l s u i t e dt o y o u r n e e d s .

Commercial vs. DIY solutions


Y o u rn e t w o r kp r o j e c tw i l la l m o s tc e r t a i n l yc o n s i s to fc o m p o n e n t s p u r c h a s e d f r o mv e n d o r s a s w e l l a s p a r t s t h a t a r e s o u r c e do r e v e nf a b r i c a t e d l o c a l l y . $i s i s a b a s i c e c o n o m i c t r u t hi nm o s t a r e a s o f t h e w o r l d . A t t h i s s t a g eo fh u m a nt e c h n o l o g y ,g l o b a l d i s t r i b u t i o no fi n f o r m a t i o ni s q u i t e t r i v i a lc o m p a r e dt og l o b a ld i s t r i b u t i o no fg o o d s .I nm a n yr e g i o n s , i m p o r t i n ge v e r yc o m p o n e n tn e e d e dt ob u i l dan e t w o r ki s p r o h i b i t i v e l y e x p e n s i v e f o r a l l b u t t h e l a r g e s t b u d g e t s . Y o uc a ns a v ec o n s i d e r a b l em o n e yi nt h es h o r tt e r mb y0 n d i n gl o c a l s o u r c e s f o r p a r t s a n dl a b o u r , a n do n l yi m p o r t i n gc o m p o n e n t s t h a t m u s t b e p u r c h a s e d . O fc o u r s e , t h e r ei sal i m i tt oh o wm u c hw o r kc a nb ed o n eb ya n y i n d i v i d u a l o r g r o u pi na g i v e na m o u n t o f t i m e . T op u t i t a n o t h e r w a y , b y i m p o r t i n gt e c h n o l o g y , y o uc a ne x c h a n g em o n e yf o r e q u i p m e n t t h a t c a n s o l v e ap a r t i c u l a r p r o b l e mi nac o m p a r a t i v e l ys h o r t a m o u n t o f t i m e . $e a r t o f b u i l d i n gl o c a l t e l e c o m m u n i c a t i o n s i n f r a s t r u c t u r e l i e s i n0 n d i n gt h e r i g h tb a l a n c eo fm o n e yt oe 1 o r tn e e d e dt ob ee x p e n d e dt os o l v et h e p r o b l e ma t h a n d . S o m e c o m p o n e n t s , s u c ha s r a d i o s a n da n t e n n a f e e dl i n e , a r e l i k e l y f a r t o o c o m p l e xt oc o n s i d e rh a v i n gt h e mf a b r i c a t e dl o c a l l y . O t h e r c o m p o n e n t s , s u c ha s a n t e n n a s a n dt o w e r s , a r e r e l a t i v e l y s i m p l e a n dc a nb e m a d e l o c a l l y f o raf r a c t i o no f t h ec o s t o f i m p o r t i n g . B e t w e e nt h e s ee x t r e m e s l i et h e c o m m u n i c a t i o nd e v i c e s t h e m s e l v e s . B yu s i n go f f t h e s h e l f r a d i oc a r d s , m o t h e r b o a r d s , a n do t h e r c o m p o n e n t s , y o uc a nb u i l dd e v i c e s t h a t p r o v i d e f e a t u r e s c o m p a r a b l e ( o r e v e ns u p e r i o r ) t om o s tc o m m e r c i a li m p l e m e n t a t i o n s .C o m b i n i n go p e n h a r d w a r e p l a t f o r m sw i t ho p e ns o u r c es o f t w a r ec a ny i e l ds i g n i 0 c a n t b a n gf o r t h e b u c k b y p r o v i d i n g c u s t o m , r o b u s t s o l u t i o n s f o r v e r y l o wc o s t .

206

PLANNING AND DEPLOYMENT

$i s i s n o t t o s a y t h a t c o m m e r c i a l e q u i p m e n t i s i n f e r i o r t o a d o i t y o u r s e l f s o l u t i o n . B yp r o v i d i n gs o c a l l e d t u r n k e ys o l u t i o n s , m a n u f a c t u r e r s n o t o n l ys a v e d e v e l o p m e n t t i m e , b u t t h e yc a na l s oa l l o wr e l a t i v e l yu n s k i l l e dp e o p l et o i n s t a l l a n dm a i n t a i ne q u i p m e n t . $e c h i e f s t r e n g t h s o f c o m m e r c i a l s o l u t i o n s a r e t h a t t h e yp r o v i d e s u p p o r t a n da ( u s u a l l y l i m i t e d ) e q u i p m e n t w a r r a n t y . $e y a l s o p r o v i d e a c o n s i s t e n t p l a t f o r mt h a t t e n d s t ol e a dt ov e r ys t a b l e , o f t e ni n t e r c h a n g e a b l en e t w o r k i n s t a l l a t i o n s . I f a p i e c e o f e q u i p m e n t s i m p l y d o e s n t w o r ko r i s d i N c u l t t oc o n 0 g u r e o r t r o u b l e s h o o t , a g o o d m a n u f a c t u r e r w i l l a s s i s t y o u . S h o u l dt h e e q u i p m e n t f a i l i nn o r m a l u s e ( b a r r i n g e x t r e m e d a m a g e , s u c ha s a l i g h t n i n g s t r i k e ) t h e nt h e m a n u f a c t u r e r w i l l t y p i c a l l y r e p l a c e i t . Mo s t w i l l p r o v i d e t h e s e s e r v i c e s f o r a l i m i t e dt i m e a s p a r t o f t h e p u r c h a s e p r i c e , a n dm a n yo 1 e r s u p p o r t a n dw a r r a n t y f o r a ne x t e n d e dp e r i o df o r a m o n t h l yf e e . B yp r o v i d i n gac o n s i s t e n tp l a t f o r m ,i ti ss i m p l et ok e e p s p a r e s o nh a n da n ds i m p l y s w a po u t e q u i p m e n t t h a t f a i l s i nt h e0 e l d , w i t h o u t t h e n e e df o r a t e c h n i c i a nt o c o n 0 g u r e e q u i p m e n t o n s i t e . O f c o u r s e , a l l o f t h i sc o m e s a t c o m p a r a t i v e l yh i g h e r i n i t i a l c o s t f o r t h e e q u i p m e n t c o m p a r e dt oo f f t h e s h e l f c o m p o n e n t s . F r o m an e t w o r ka r c h i t e c t s p o i n t o f v i e w , t h et h r e e g r e a t e s t h i d d e nr i s k s w h e nc h o o s i n gc o m m e r c i a ls o l u t i o n sa r ev e n d o rl o c k i n , d i s c o n t i n u e d p r o d u c t l i n e s , a n do n g o i n g l i c e n s i n g c o s t s . I t c a nb ec o s t l yt oa l l o wt h el u r eo f i l l d e 0 n e dn e w f e a t u r e s d r i v et h e d e v e l o p m e n t o f y o u r n e t w o r k . Ma n u f a c t u r e r s w i l l f r e q u e n t l yp r o v i d e f e a t u r e s t h a t a r ei n c o m p a t i b l e w i t h t h e i rc o m p e t i t i o nb yd e s i g n ,a n dt h e ni s s u em a r k e t i n gm a t e r i a l st o c o n v i n c ey o ut h a ty o us i m p l yc a n n o t l i v ew i t h o u tt h e m( r e g a r d l e s so f w h e t h e r t h ef e a t u r ec o n t r i b u t e s t ot h es o l u t i o no f y o u r c o m m u n i c a t i o n s p r o b l e m ) . A s y o ub e g i nt or e l yo nt h e s e f e a t u r e s , y o uw i l l l i k e l yd e c i d e t oc o n t i n u e p u r c h a s i n g e q u i p m e n t f r o mt h e s a m e m a n u f a c t u r e r i nt h e f u t u r e . $i s i s t h e e s s e n c e o f v e n d o r l o c k i n . I f a l a r g e i n s t i t u t i o nu s e s a s i g n i 0 c a n t a m o u n t o f p r o p r i e t a r y e q u i p m e n t , i t i s u n l i k e l y t h a t t h e y w i l l s i m p l y a b a n d o ni t t o u s e a d i 1 e r e n t v e n d o r .

11. HARDWARE SELECTION AND CONFIGURATION

207

S a l e s t e a m s k n o wt h i s ( a n di n d e e d , s o m e r e l y o ni t ) a n du s e v e n d o r l o c k i na s a s t r a t e g y f o r p r i c e n e g o t i a t i o n s . Wh e nc o m b i n e dw i t hv e n d o rl o c k i n ,am a n u f a c t u r e rm a ye v e n t u a l l y d e c i d et od i s c o n t i n u eap r o d u c tl i n e , r e g a r d l e s so fi t sp o p u l a r i t y .$i s e n s u r e s t h a t c u s t o m e r s , a l r e a d yr e l i a n t o nt h em a n u f a c t u r e r s p r o p r i e t a r y f e a t u r e s ,w i l l p u r c h a s et h en e w e s t( a n dn e a r l ya l w a y sm o r ee x p e n s i v e ) m o d e l . $e l o n g t e r me 1 e c t s o f v e n d o r l o c k i na n dd i s c o n t i n u e dp r o d u c t s a r ed i N c u l t t oe s t i m a t ew h e np l a n n i n gan e t w o r k i n g p r o j e c t , b u t s h o u l d b e k e p t i nm i n d . F i n a l l y , i f a p a r t i c u l a r p i e c e o f e q u i p m e n t u s e s p r o p r i e t a r y c o m p u t e r c o d e , y o um a y n e e dt ol i c e n s e u s e o f t h a t c o d e o na no n g o i n g b a s i s . $e c o s t o f t h e s e l i c e n s e s m a yv a r yd e p e n d i n go nf e a t u r e s p r o v i d e d , n u m b e r o f u s e r s , c o n n e c t i o ns p e e d , o ro t h e rf a c t o r s . I ft h el i c e n s ef e ei su n p a i d ,s o m e e q u i p m e n ti sd e s i g n e dt os i m p l ys t o pw o r k i n gu n t i lav a l i d , p a i d u p l i c e n s e i s p r o v i d e d ! B e s u r e t h a t y o uu n d e r s t a n dt h e t e r m s o f u s e f o r a n y e q u i p m e n t y o u p u r c h a s e , i n c l u d i n g o n g o i n g l i c e n s i n g f e e s . B yu s i n ge q u i p m e n t t h a t s u p p o r t ss t a n d a r d sa n do p e ns o u r c es o f t w a r e , y o u c a na v o i ds o m e o f t h e s e p i t f a l l s . F o r e x a m p l e , i t i s v e r y d i N c u l t t ob e c o m e l o c k e d i nt oa v e n d o r t h a t u s e s o p e np r o t o c o l s ( s u c ha s T C P / I Po v e r 8 0 2 . 1 1 a / b / g ) . I f y o ue n c o u n t e ra p r o b l e mw i t ht h ee q u i p m e n to rt h ev e n d o r , y o uc a na l w a y sp u r c h a s e e q u i p m e n t f r o m ad i 1 e r e n t v e n d o r t h a t w i l l i n t e r o p e r a t ew i t hw h a t y o u h a v ea l r e a d yp u r c h a s e d . I t i s f o r t h e s e r e a s o n s t h a t w er e c o m m e n du s i n g p r o p r i e t a r yp r o t o c o l s a n dl i c e n s e ds p e c t r u mo n l yi nc a s e s w h e r e t h e o p e n e q u i v a l e n t ( s u c ha s 8 0 2 . 1 1 a / b / g ) i s n o t t e c h n i c a l l y f e a s i b l e . L i k e w i s e , w h i l ei n d i v i d u a l p r o d u c t sc a na l w a y sb ed i s c o n t i n u e da ta n y t i m e , y o uc a nl i m i t t h ei m p a c t t h i s w i l l h a v eo ny o u r n e t w o r kb y u s i n g g e n e r i c c o m p o n e n t s . F o re x a m p l e , ap a r t i c u l a rm o t h e r b o a r dm a yb e c o m eu n a v a i l a b l eo nt h e m a r k e t , b u t y o um a yh a v ean u m b e r o f P Cm o t h e r b o a r d s o nh a n dt h a t w i l l p e r f o r me 1 e c t i v e l y t h e s a m e t a s k . O b v i o u s l y , t h e r e s h o u l db e n oo n g o i n gl i c e n s i n g c o s t s i n v o l v e dw i t ho p e n s o u r c es o f t w a r e( w i t ht h ee x c e p t i o no fa v e n d o rp r o v i d i n ge x t e n d e d s u p p o r t o r s o m e o t h e r s e r v i c e , w i t h o u t c h a r g i n g f o r t h e u s e o f t h e s o f t w a r e i t s e l f ) .

208

PLANNING AND DEPLOYMENT

$e r e h a v e o c c a s i o n a l l y b e e nv e n d o r s w h o c a p i t a l i s e o nt h e g i f t t h a t o p e n s o u r c e p r o g r a m m e r s h a v e g i v e nt ot h e w o r l db y o 1 e r i n g t h e c o d e f o r s a l e o na no n g o i n gl i c e n s e db a s i s , t h e r e b yv i o l a t i n gt h et e r m s o f d i s t r i b u t i o n s e t f o r t hb y t h e o r i g i n a l a u t h o r s . I t w o u l db e w i s e t oa v o i ds u c hv e n d o r s , a n dt ob e s u s p i c i o u s o f c l a i m s o f f r e e s o f t w a r e t h a t c o m e w i t ha no n g o i n g l i c e n s e f e e . $e d i s a d v a n t a g eo f u s i n go p e ns o u r c es o f t w a r ea n dg e n e r i ch a r d w a r ei s c l e a r l y t h e q u e s t i o no f s u p p o r t . A s p r o b l e m s w i t ht h e n e t w o r k a r i s e , y o uw i l l n e e dt os o l v e t h o s e p r o b l e m s f o r y o u r s e l f . $i s i s o f t e na c c o m p l i s h e db y c o n s u l t i n g f r e e o n l i n e r e s o u r c e s a n ds e a r c h e n g i n e s , a n da p p l y i n g c o d e p a t c h e s d i r e c t l y . I f y o ud on o t h a v et e a mm e m b e r s w h oa r ec o m p e t e n t a n dd e d i c a t e dt o d e s i g n i n ga s o l u t i o nt oy o u r c o m m u n i c a t i o n s p r o b l e m , t h e ni t c a nt a k e a c o n s i d e r a b l e a m o u n t o f t i m e t o g e t a n e t w o r k p r o j e c t o 1t h e g r o u n d . O f c o u r s e , t h e r e i s n e v e r a g u a r a n t e e t h a t s i m p l y t h r o w i n g m o n e ya t t h e p r o b l e m w i l l s o l v e i t e i t h e r . Wh i l ew ep r o v i d em a n ye x a m p l e so fh o wt od om u c ho ft h ew o r k y o u r s e l f , y o um a y0 n dt h i s w o r kv e r yc h a l l e n g i n g . Y o uw i l l n e e dt o0 n d t h e b a l a n c e o f c o m m e r c i a l s o l u t i o n s a n dt h e d o i t y o u r s e l f a p p r o a c ht h a t w o r k s f o r y o u r p r o j e c t . I ns h o r t ,a l w a y sd e 0 n et h es c o p eo fy o u rn e t w o r k0 r s t ,i d e n t i f yt h e r e s o u r c e s y o uc a nb r i n g t ob e a r o nt h e p r o b l e m , a n da l l o wt h e s e l e c t i o no f e q u i p m e n t t o n a t u r a l l y e m e r g e f r o mt h e r e s u l t s . C o n s i d e r c o m m e r c i a l s o l u t i o n s a s w e l l a s o p e nc o m p o n e n t s , w h i l e k e e p i n g i nm i n d t h e l o n g t e r mc o s t s o f b o t h . Wh e nc o n s i d e r i n g w h i c he q u i p m e n t t ou s e , a l w a y s r e m e m b e r t oc o m p a r e t h e e x p e c t e d u s e f u l d i s t a n c e , r e l i a b i l i t y , a n dt h r o u g h p u t , i na d d i t i o n t o t h e p r i c e . A n d0 n a l l y ,m a k es u r et h a tt h er a d i o sy o up u r c h a s eo p e r a t ei na n u n l i c e n s e db a n dw h e r e y o u a r e i n s t a l l i n g t h e m , o r i f y o u m u s t u s e l i c e n s e d s p e c t r u m , t h a t y o uh a v e b u d g e t a n dp e r m i s s i o nt op a y f o r t h e a p p r o p r i a t e l i c e n s e s .

11. HARDWARE SELECTION AND CONFIGURATION

209

Professional lightning protection


L i g h t n i n g i s a n a t u r a l p r e d a t o r o f w i r e l e s s e q u i p m e n t . Am a ps h o w i n g t h e g l o b a ld i s t r i b u t i o no fl i g h t n i n gf r o m 1 9 9 5t o2 0 0 3i ss h o w nh e r e f o l l o w i n g .

F i g u r e H W2 : G l o b a l d i s t r i b u t i o n o f l i g h t n i n g f r o m1 9 9 5 t o 2 0 0 3 $e r ea r et w od i 1 e r e n t w a y s l i g h t n i n gc a ns t r i k eo r d a m a g ee q u i p m e n t : d i r e c t h i t s o r i n d u c t i o nh i t s . D i r e c th i t sh a p p e nw h e nl i g h t n i n ga c t u a l l yh i t st h et o w e ro ra n t e n n a . I n d u c t i o nh i t s a r e c a u s e dw h e nl i g h t n i n g s t r i k e s n e a r t h e t o w e r . I m a g i n e a n e g a t i v e l y c h a r g e dl i g h t n i n g b o l t . S i n c e l i k e c h a r g e s r e p e l e a c ho t h e r , t h a t b o l t w i l l c a u s e t h e e l e c t r o n s i nt h e c a b l e s t o m o v e a w a y f r o mt h e s t r i k e , c r e a t i n g c u r r e n t o n t h e l i n e s . $i s c a nb em u c hm o r ec u r r e n t t h a nt h es e n s i t i v e r a d i oe q u i p m e n t c a n h a n d l e . E i t h e r t y p e o f s t r i k e w i l l u s u a l l y d e s t r o y u n p r o t e c t e d e q u i p m e n t .

210

PLANNING AND DEPLOYMENT

F i g u r e H W3 : At o w e r w i t h a h e a v y c o p p e r g r o u n d i n g w i r e . P r o t e c t i n gw i r e l e s s n e t w o r k s f r o ml i g h t n i n gi s n o t a ne x a c t s c i e n c e , a n d t h e r e i s n o g u a r a n t e e t h a t a l i g h t n i n g s t r i k e w i l l n o t h a p p e n , e v e ni f e v e r y s i n g l ep r e c a u t i o ni s t a k e n . Ma n yo f t h em e t h o d s u s e dw i l l h e l pp r e v e n t b o t hd i r e c t a n di n d u c t i o ns t r i k e s . Wh i l e i t i s n o t n e c e s s a r yt o u s e e v e r y s i n g l e l i g h t n i n g p r o t e c t i o nm e t h o d , u s i n g m o r e m e t h o d s w i l l h e l pf u r t h e r p r o t e c t t h e e q u i p m e n t . $e a m o u n t o f l i g h t n i n g h i s t o r i c a l l y o b s e r v e dw i t h i na s e r v i c e a r e a w i l l b e t h e b i g g e s t g u i d e t o h o wm u c hn e e d s t o b e d o n e . S t a r t a t t h e v e r y b o t t o mo f t h e t o w e r . R e m e m b e r , t h e b o t t o mo f t h e t o w e r i s b e l o wt h eg r o u n d . A f t e r t h et o w e r f o u n d a t i o ni s l a i d , b u t b e f o r et h e h o l e i s b a c k 0 l l e d , ar i n go f h e a v yb r a i d e dg r o u n dw i r es h o u l dh a v eb e e n i n s t a l l e dw i t ht h e l e a de x t e n d i n g a b o v e g r o u n ds u r f a c i n g n e a r a t o w e r l e g . $e w i r e s h o u l d b e A m e r i c a nWi r e G a u g e ( A WG ) # 4 o r t h i c k e r . I na d d i t i o n , ab a c k u pg r o u n do r e a r t h i n gr o ds h o u l db ed r i v e ni n t ot h e g r o u n d , a n da g r o u n dw i r e r u nf r o mt h e r o dt ot h e l e a df r o mt h e b u r i e d r i n g . I t i s i m p o r t a n t t o n o t e t h a t n o t a l l s t e e l c o n d u c t s e l e c t r i c i t y t h e s a m e w a y .

11. HARDWARE SELECTION AND CONFIGURATION

211

S o m et y p e s o f s t e e l a c t a sb e t t e re l e c t r i c a l c o n d u c t o r st h a no t h e r s , a n d d i 1 e r e n t s u r f a c e c o a t i n g s c a na l s oa 1 e c t h o wt o w e r s t e e l h a n d l e s e l e c t r i c a l c u r r e n t . S t a i n l e s ss t e e l i so n eo ft h ew o r s tc o n d u c t o r s ,a n dr u s tp r o o f c o a t i n g s l i k e g a l v a n i z i n g o r p a i n t l e s s e nt h e c o n d u c t i v i t y o f t h e s t e e l . F o rt h i sr e a s o n , ab r a i d e dg r o u n dw i r ei s r u nf r o mt h eb o t t o mo f t h e t o w e r a l l t h e w a y t ot h e t o p . $e b o t t o mn e e d s t ob e p r o p e r l y a t t a c h e dt o t h e l e a d s f r o mb o t ht h e r i n g a n dt h e b a c k u pg r o u n d r o d . $e t o po f t h e t o w e r s h o u l dh a v e a l i g h t n i n g r o da t t a c h e d , a n dt h e t o po f t h a tn e e d st ob ep o i n t e d .$e0 n e ra n ds h a r p e rt h ep o i n t , t h em o r e e 1 e c t i v e t h e r o dw i l l b e . $e b r a i d e dg r o u n dw i r e f r o mt h e b o t t o mn e e d s t ob et e r m i n a t e da t t h e g r o u n d i n go f t h el i g h t n i n gr o d . I t i s v e r yi m p o r t a n t t ob es u r et h a t t h e g r o u n dw i r e i s c o n n e c t e dt ot h e a c t u a l m e t a l . A n y s o r t o f c o a t i n g , s u c ha s p a i n t , m u s t b e r e m o v e db e f o r e t h e w i r e i s a t t a c h e d . O n c e t h e c o n n e c t i o n i sm a d e ,t h ee x p o s e da r e ac a nb er e p a i n t e d ,c o v e r i n gt h ew i r ea n d c o n n e c t o r s i f n e c e s s a r y t o s a v e t h e t o w e r f r o mr u s t a n do t h e r c o r r o s i o n . $e a b o v e s o l u t i o nd e t a i l s t h e i n s t a l l a t i o no f t h e b a s i c g r o u n d i n gs y s t e m . I t p r o v i d e s p r o t e c t i o nf o r t h e t o w e r i t s e l f f r o md i r e c t h i t s , a n d i n s t a l l s t h e b a s e s y s t e mt o w h i c he v e r y t h i n g e l s e w i l l c o n n e c t . $e i d e a l p r o t e c t i o nf o r i n d i r e c t i n d u c t i o nl i g h t n i n gs t r i k e s a r eg a s t u b e a r r e s t o r s a t b o t he n d s o f t h e c a b l e . $e s e a r r e s t o r s n e e dt ob e g r o u n d e dd i r e c t l yt ot h e g r o u n dw i r e i n s t a l l e d o n t h e t o w e r i f i t i s a t t h e h i g he n d . $e b o t t o me n dn e e d s t o b e g r o u n d e dt o s o m e t h i n g e l e c t r i c a l l y s a f e , l i k e a g r o u n dp l a t eo rac o p p e rp i p et h a ti sc o n s i s t e n t l yf u l l o fw a t e r . I ti s i m p o r t a n tt o m a k es u r et h a tt h eo u t d o o rl i g h t n i n ga r r e s t o ri s w e a t h e r p r o o f e d . Ma n ya r r e s t e r s f o r c o a xc a b l e s a r ew e a t h e r p r o o f e d , w h i l em a n ya r r e s t e r s f o r C A T 5c a b l e a r e n o t . I nt h e e v e n t t h a t g a s a r r e s t o r s a r e n o t b e i n g u s e d , a n dt h ec a b l i n gi s c o a xb a s e d , t h e na t t a c h i n go n ee n do f aw i r et ot h e s h i e l do ft h ec a b l ea n dt h eo t h e rt ot h eg r o u n dw i r ei n s t a l l e do nt h e t o w e r s w i l l p r o v i d e s o m e p r o t e c t i o n . $i s c a np r o v i d e a p a t hf o r i n d u c t i o nc u r r e n t s , a n di f t h e c h a r g e i s w e a k e n o u g h , i t w i l l n o ta 1 e c tt h ec o n d u c t o rw i r eo ft h ec a b l e . Wh i l et h i s m e t h o d i s b y n o m e a n s a s g o o d a p r o t e c t i o na s u s i n g t h e g a s a r r e s t o r s , i t i s b e t t e r t h a nd o i n g n o t h i n g a t a l l .

212

PLANNING AND DEPLOYMENT

Access Point Con2guration


$i s s e c t i o nw i l l p r o v i d e a s i m p l e p r o c e d u r e f o r t h e b a s i c c o n 0 g u r a t i o no f Wi F iA c c e s sP o i n t sa n dC l i e n t sb yr e v i e w i n gt h em a i ns e t t i n g sa n d a n a l y s i n g t h e i r e 1 e c t s o n t h e b e h a v i o u r o f t h e n e t w o r k . I tw i l l a l s os u g g e s ts o m ep r a c t i c a lt i p sa n dt r i c k sa n dt r o u b l e s h o o t i n g a d v i c e . B e f o r e y o us t a r t Wh e ny o ur e c e i v es o m en e ww i r e l e s s e q u i p m e n t t a k es o m et i m et og e t a c q u a i n t e dw i t hi t s m a i nf e a t u r e s a n dm a k e s u r e y o u : D o w n l o a do r o t h e r w i s e o b t a i na l l u s e r s m a n u a l s a n ds p e c i 0 c a t i o n s h e e t s a v a i l a b l e f o r t h e d e v i c e s y o u a r e g o i n g t od e p l o y . I fy o uh a v es e c o n d h a n dd e v i c e s ,b es u r et or e c e i v ef u l l i n f o r m a t i o no nt h e i r c u r r e n t o r l a s t k n o w n c o n 0 g u r a t i o n( e . g . p a s s w o r d , I P a d d r e s s e s , e t c . ) Y o us h o u l da l r e a d yh a v e a p l a no nh a n df o r t h e n e t w o r ky o ua r e g o i n gt od e p l o y( i n c l u d i n gl i n kb u d g e t ,n e t w o r kt o p o l o g y , c h a n n e l s a n dI Ps e t t i n g s ) . B e r e a d y t ot a k e w r i t t e nn o t e s o f a l l s e t t i n g s t h a t y o ua r e g o i n g t o a p p l y ( e s p e c i a l l y p a s s w o r d s ! ) Ma k e b a c k u p s o f l a s t k n o w ng o o dc o n 0 g u r a t i o n0 l e s . G e t t i n g i n t o u c hw i t h t h e d e v i c e A s a 0 r s t s t e p , i t i s i m p o r t a n t t h a t y o ul e a r nt h e m e a n i n go f a l l L E D s o n t h e d e v i c e . $e 0 g u r eb e l o ws h o w s t h e t y p i c a l f r o n t o f a nA c c e s s P o i n t , w i t hs e v e r a l L E D s l i t .

F i g u r e H W4 : e f r o n t o f a t y p i c a l A c c e s s P o i n t .

11. HARDWARE SELECTION AND CONFIGURATION

213

L E D s t y p i c a l l y i n d i c a t e : P r e s e n c e o f p o w e r A c t i v e p o r t s / t r a N c ( y e l l o w / g r e e nc o l o u r ) E r r o r s t a t u s ( r e dc o l o u r ) R e c e i v e ds i g n a l s t r e n g t h( L E Db a r s , s o m e t i m e s m u l t i c o l o u r ; s o m e d e v i c e s c a ne v e nb es e t t ol i g h t e a c hL E Da t s p e c i 0 c t h r e s h o l d s , e . g . U b i q u i t i )

S o m e t i m e s , d i 1 e r e n t m e a n i n g s a r ea s s o c i a t e dw i t ht h es a m e L E D , u s i n g d i 1 e r e n t c o l o u r sa n dd y n a m i c s ( e . g . L E Di s o n / o 1 / b l i n k i n ga t d i 1 e r e n t s p e e d s ) . Y o us h o u l di d e n t i f y t h e d i 1 e r e n t p o r t s a n di n t e r f a c e s o nt h e d e v i c e : R a d i oi n t e r f a c e s ,s o m e t i m e sc a l l e d WL A N s .$ e ys h o u l dh a v e o n e o r m o r e a n t e n n a c o n n e c t o r s ( o r n o n d e t a c h a b l e a n t e n n a s ) . O n e o r m o r e E t h e r n e t i n t e r f a c e s : O n e o r m o r e p o r t s f o r l o c a l n e t w o r k ( L A N ) O n e p o r t f o r u p l i n k ( a l s oc a l l e dWA N ) P o w e r i n p u t ( 5 , 6 , 7 . 5 , 1 2 Vo ro t h e r , u s u a l l yD C ) . I t i s r e a l l y ( r e a l l y )i m p o r t a n tt h a tt h ep o w e rs u p p l ym a t c h e st h ev o l t a g e ! S o m e t i m e s t h e p o w e r i s p r o v i d e dt ot h e d e v i c e t h r o u g ht h e s a m e U T Pc a b l et h a t c a r r i e st h eE t h e r n e t d a t a : t h i si s c a l l e dP o w e r o v e r E t h e r n e t ( P o E ) . P o w e r b u t t o n( n o t a l w a y s p r e s e n t ) . R e s e t b u t t o n( o f t e n h i d d e n i na s m a l l h o l e , c a nb e p r e s s e d u s i n g a s t r a i g h t e n e dp a p e r c l i p ) . $ er e s e t b u t t o nm a yh a v ed i 1 e r e n te 1 e c t s ( f r o m as i m p l er e s t a r t t oa f a c t o r yf u l l r e s e t ) i f p r e s s e db r i e W yv s . f o r al o n g e r t i m e . I t c a nt a k e3 0 s e c o n d s o r m o r e t o t r i g g e r a f u l l r e s e t . N O T E : t of u l l yr e s e t ( i . e . r e s e t t of a c t o r ys e t t i n g s ) ad e v i c e t h a t i s i na n u n k n o w ns t a t e m a y b e a p a i n f u l t a s k ! B es u r et ok e e pw r i t t e nn o t e s o fc r i t i c a l p a r a m e t e r sl i k et h ed e v i c eI P a d d r e s s a n dn e t w o r k m a s k , a n dt h e a d m i n i s t r a t o r u s e r n a m e a n dp a s s w o r d . $ ef o l l o w i n g0 g u r es h o w sac o m m o nL i n k s y sA c c e s sP o i n t , w i t ht h e p o w e r i n p u t , t h e n e t w o r k p o r t s , t h e r e s e t b u t t o na n dt w o a n t e n n a s .

214

PLANNING AND DEPLOYMENT

F i g u r e H W5 : L i n k s y s A c c e s s P o i n t U s e r i n t e r f a c e s Y o uc a ni n t e r a c t ( i . e . i s s u e c o m m a n d s a n dc h a n g e s e t t i n g s ) w i t ht h e A c c e s s P o i n ti ns e v e r a l w a y s , d e p e n d i n go nt h eh a r d w a r ey o ua r eu s i n g .$e p o s s i b l e w a y s a r e t h e f o l l o w i n g : G r a p h i c a l U s e r I n t e r f a c e ( w e b p a g e ) G r a p h i c a l U s e r I n t e r f a c e ( p r o p r i e t a r y s o f t w a r e a p p l i c a t i o n ) C o m m a n dL i n e I n t e r f a c e ( t e l n e t , s s h ) S o f t w a r e i n t e r f a c e e m b e d d e di nt h e s y s t e m( w h e nt h e A P / c l i e n t i s a c o m p u t e r o r s m a r t p h o n e w i t ha d i s p l a y a n di t s o w nO S )

U s e r i n t e r f a c e s : G U I ( w e b p a g e ) $i s s y s t e mi s u s e di nL i n k s y s , U b i q u i t i a n dm o s t m o d e r n A p s . O n c e y o ua r ec o n n e c t e dt ot h eA P , y o ui n t e r a c t w i t ht h ed e v i c eu s i n ga n o r m a l b r o w s e r . A d v a n t a g e s : i t w o r k s w i t hm o s t b r o w s e r s a n do p e r a t i n g s y s t e m s D i s a d v a n t a g e s : t h es t a t i ci n t e r f a c ed o e s n o t r e W e c t c h a n g e s i m m e d i a t e l y ; p o o r f e e d b a c k ; c a nb ei n c o m p a t i b l ew i t hs o m ew e bb r o w s e r s ; r e q u i r e s a w o r k i n gT C P / I P c o n 0 g u r a t i o n .S o m er e c e n ti m p l e m e n t a t i o n s( e . g . U b i q u i t i ,s h o w nb e l o w )a r ev e r yg o o da n du s em o d e r nd y n a m i cw e b f e a t u r e s t o p r o v i d e f e e d b a c k a n d a d v a n c e dt o o l s .

11. HARDWARE SELECTION AND CONFIGURATION

215

F i g u r e H W6 : U b i q u i t i u s e r i n t e r f a c e . U s e r i n t e r f a c e s : G U I ( s o f t w a r e a p p l i c a t i o n ) I nt h i sc a s ey o un e e d as p e c i a l p i e c eo fs o f t w a r et oi n t e r a c t w i t ht h e d e v i c e . $i ss y s t e mi s u s e di nMi k r o t i k( c a l l e dWi n b o x ) , A p p l e( c a l l e d A i r p o r t U t i l i t y ) , Mo t o r o l a ( c a l l e dC a n o p y ) , m a n y o l dA P s . A d v a n t a g e s :u s u a l l yp o w e r f u la n da p p e a l i n gi n t e r f a c e s ;a l l o w b a t c h c o n 0 g u r a t i o no f m u l t i p l e d e v i c e s . D i s a d v a n t a g e s :p r o p r i e t a r ys o l u t i o n s ;u s u a l l ya v a i l a b l ef o ro n l yo n e o p e r a t i n g s y s t e m ; s o f t w a r e m u s t b e i n s t a l l e db e f o r e s t a r t i n g c o n 0 g u r a t i o n . Mi k r o t i kWi n b o x , s h o w nb e l o w ,i sav e r yp o w e r f u l s o l u t i o na n dc a n m a n a g e l a r g e n e t w o r k s .

216

PLANNING AND DEPLOYMENT

U s e r i n t e r f a c e s : C o m m a n dL i n e I n t e r f a c e ( s o m e t i m e s c a l l e dt e x t s h e l l ) I nt h i sc a s ey o uc o n n e c tt ot h ed e v i c eu s i n gas e r i a lo rE t h e r n e t c o n n e c t i o n , v i a t e l n e t o r s s h . s s hi s m u c hs a f e r t h a nt e l n e t f r o ma s e c u r i t y p e r s p e c t i v e ( t h e l a t t e r s h o u l db e a v o i d e di f p o s s i b l e ) . C o n 0 g u r a t i o ni sp e r f o r m e dw i t hc o m m a n d se x e c u t e di nt h eh o s t o p e r a t i n g s y s t e m , u s u a l l y a W a v o u r o f L i n u x o r a p r o p r i e t a r y O S , a s s h o w n o nt h e n e x t p a g e . $i si ss y s t e mi su s e db yMi k r o t i k( c a l l e dR o u t e r O S ) , U b i q u i t i ( c a l l e d A i r O S ) , h i g h e n dA P s ( C i s c o ) a n de m b e d d e d P C b a s e dA p s . A d v a n t a g e s : v e r y p o w e r f u l a s i t c a nb e s c r i p t e d . D i s a d v a n t a g e s : d i N c u l t t ol e a r n .

11. HARDWARE SELECTION AND CONFIGURATION

217

F i g u r e H W8 : C o m m a n d L i n e I n t e r f a c e . C o n 0 g u r e t h e A P B e f o r e c o n 0 g u r i n g t h e A P , r e m e m b e r t o : S t a r t f r o m ak n o w ns t a t e , o r r e s e t t h ed e v i c et of a c t o r ys e t t i n g s ( a l w a y s a g o o d i d e a ! ) . C o n n e c t i n gt ot h ed e v i c ev i aE t h e r n e t i s u s u a l l ye a s i e r t h a nv i a w i r e l e s s .Mo s td e v i c e sw i t h aw e bG U Ih a v ead e f a u l tI P c o n 0 g u r a t i o no nt h e n e t w o r k1 9 2 . 1 6 8 . 0 . 0 , b u t t h i s i s n o t ar u l e ! R e a d t h e m a n u a l . I f c o n v e n i e n t , u p g r a d et h e0 r m w a r et ot h el a t e s t s t a b l ev e r s i o n ( b u t b e c a r e f u l ! ) C h a n g e t h e d e f a u l t a d m i nu s e r n a m e a n dp a s s w o r d0 r s t ! C h a n g e t h e d e v i c e n a m e w i t hs o m e t h i n gt h a t c l e a r l yi d e n t i 0 e s i t ( e . g . s o m e t h i n g l i k e A P _ c o n f e r e n c e _ r o o m _ 3 o r h o t s p o t _ p u b l i c _ a r e a ) . $i s w i l l h e l py o ut or e c o g n i s e t h e A Pi n f u t u r e w h e ny o u c o n n e c t t o i t o v e r t h e n e t w o r k .

218

PLANNING AND DEPLOYMENT

F i r m w a r e u p g r a d e i s o f t e na r i s k y p r o c e d u r e , b e s u r e t oa d o p t a l l p r e c a u t i o n s b e f o r e a t t e m p t i n g i t s u c ha s c o n n e c t i n gt h e d e v i c e a n dt h ec o m p u t e r t oaU P S , t h e nd on o t p e r f o r mt h e0 r m w a r e u p d a t e w h i l e d o i n go t h e r t a s k s o nt h e c o m p u t e r , a n dc h e c kt h a t y o u h a v eav a l i d 0 r m w a r eb i n a r yi m a g e ,R E A D T HE I N S T R U C T I O N SC A R E F U L L Y ! I f t h e p r o c e d u r e f a i l s , y o uc a n e n du pw i t ha nu n u s a b l e d e v i c e t h a t c a n n o t b e r e c o v e r e d( t h e s o c a l l e d b r i c k ) . R e m e m b e rt ow r i t ed o w n( a n ds t o r ei nas a f ep l a c e )a l l t h e s e s e t t i n g s , e s p e c i a l l y t h e a d m i nu s e r n a m e / p a s s w o r d . C o n 0 g u r e t h e A PI Pl a y e r I f y o ua r ec o n 0 d e n t w i t hw h a t y o ua r ed o i n g , y o uc a np e r f o r mt h eI P c o n 0 g u r a t i o na f t e rt h ew i r e l e s ss e t u pt oa v o i dt h er e c o n 0 g u r a t i o na n d r e c o n n e c t i o no f y o u rP Co rl a p t o p . B u ti nt h i sw a y , i f y o um a k ea n y m i s t a k ei nb o t ht h ew i r e da n dw i r e l e s s s e t u p , y o um a ye n du pw i t ha n u n r e a c h a b l e A P . We ' ds t r o n g l y a d v i s e t h a t y o u d o t h e c r i t i c a l c o n 0 g u r a t i o n s t e p s o n e a t a t i m e , c h e c k i n g t h e s t a t u s o f t h e d e v i c e a f t e r e a c h s t e p . R e m e m b e r t o w r i t e d o w n( a n ds t o r e i na s a f e p l a c e ) a l l I Ps e t t i n g s ! C o n 0 g u r et h eE t h e r n e ti n t e r f a c eo ft h eA Pa c c o r d i n gt oy o u rw i r e d n e t w o r k s e t u p : I Pa d d r e s s / n e t m a s k / g a t e w a y o r D HC P D N Sa d d r e s s ( e s ) D o u b l ec h e c kt h en e ws e t t i n g s a n da p p l yt h e m( s o m e t i m e s y o u m a y h a v e t o r e b o o t t h e A P ) N o wy o um a yn e e dt or e c o n 0 g u r e y o u r P C / l a p t o pt om a t c ht h e n e wE t h e r n e t s e t u p , a n dr e c o n n e c t t o t h e A P . C o n 0 g u r e t h e A Pp h y s i c a l l a y e r C o n 0 g u r et h em o d e : m a s t e r ( o r a c c e s s p o i n t o r b a s e s t a t i o n ) . $e d e v i c e s m o d ec a nu s u a l l yb ec o n 0 g u r e da s : m a s t e r ( a l s oc a l l e d a c c e s sp o i n t o r b a s es t a t i o n o r B S ) , c l i e n t ( a l s oc a l l e d m a n a g e d o r s t a t i o n o r c l i e n t s t a t i o n o r C P E ) , m o n i t o r , WD S ( Wi r e l e s sD i s t r i b u t i o nS y s t e m ) , a n dr a r e l ys o m eo t h e r v a r i a n t s .

11. HARDWARE SELECTION AND CONFIGURATION

219

C o n 0 g u r et h eS S I D( S e r v i c eS e tI d e n t i 0 e r ,t h en a m eo ft h e w i r e l e s s n e t w o r kc r e a t e db y t h e A P , u pt o3 2c h a r a c t e r s l o n g ) : i t i s b e s t t o c h o o s e a m e a n i n g f u l n a m e . R e m e m b e r t h a t s e c u r i t y t h r o u g h o b f u s c a t i o ni sn o tr e a l s e c u r i t y , s o ah i d d e no rf a k e / r a n d o m S S I Dd o e s n o t a d dm u c hs e c u r i t y t o y o u r n e t w o r k . C o n 0 g u r e t h e w i r e l e s s c h a n n e l , a c c o r d i n gt ot h e l o c a l r e g u l a t i o n s a n dt h e r e s u l t o f t h e s i t e s u r v e y . D on o t u s eac h a n n e l t h a t i s a l r e a d y o c c u p i e db y a n o t h e r A Po r o t h e r s o u r c e s o f R Fp o w e r . Y o us h o u l da l r e a d yh a v ep l a n n e dt h e c h a n n e l i na d v a n c e , d u r i n g t h e d e s i g np h a s e . $e c h o i c e o f t h e b e s t c h a n n e l i s s o m e t i m e s a h a r dt a s k , a n dy o um a y n e e dt op e r f o r ma s i t es u r v e yw i t hs o f t w a r et o o l s( w i r e l e s ss n i 1 e r s )o rh a r d w a r e s p e c t r u m a n a l y s e r s( l i k et h e Wi S p yf r o m Me t a g e e ka n dt h e A i r V i e wf r o mU b i q u i t i ) . C o n 0 g u r et h et r a n s m i tp o w e r a n dn e t w o r ks p e e d( t h e s ev a l u e s m a ya l s ob es e t t o a u t o m a t i c i ns o m ed e v i c e s ) . $ ev a l u eo f t r a n s m i tp o w e ri sa l s os u b j e c tt ol o c a lr e g u l a t i o n ,c h e c ki n a d v a n c et h em a x i m u mp o w e r a l l o w e db yl a w , a n dt r ya l w a y s t o u s et h em i n i m u mv a l u et h a t 0 ty o u rn e e d s , i no r d e rt oa v o i d i n t e r f e r e n c e w i t ho t h e r n e t w o r k s ( y o u r s o r o t h e r s ) . $ ec h o i c eo fn e t w o r ks p e e di sl i m i t e dt ot h ev a l u e st h a t a r ep a r to f 8 0 2 . 1 1 a / b / g / ns t a n d a r d s( u pt o5 4 Mb p s ) ,b u ts o m ev e n d o r sc r e a t e d e x t e n s i o n s t ot h e s t a n d a r d s ( o f t e nc a l l e d t u r b o m o d e s ) o f 1 0 0Mb p s o r h i g h e r . $e s e a r e n o n s t a n d a r da n dm a yn o t b ea b l e t oi n t e r o p e r a t e w i t h e q u i p m e n t f r o mo t h e r v e n d o r s . C o n 0 g u r i n g b a c k w a r d sc o m p a t i b i l i t y m o d e s( s u c ha ss u p p o r t i n g 8 0 2 . 1 1 bo n8 0 2 . 1 1 gn e t w o r k s )w i l lr e d u c et h eo v e r a l lt h r o u g h p u t a v a i l a b l e t oy o u r f a s t e s t c l i e n t s . $e A c c e s s P o i n t m u s t s e n dt h e p r e a m b l e a t as l o w e r r a t e f o r 8 0 2 . 1 1 bc l i e n t s , a n da c t u a l c o m m u n i c a t i o n s b e t w e e n t h e c l i e n t a n dt h eA Ph a p p e na t 8 0 2 . 1 1 bs p e e d s . $i s t a k e s m o r et i m e , a n ds l o w s d o w nt h e o t h e r w i s e f a s t e r 8 0 2 . 1 1 g c l i e n t s . C o n 0 g u r e t h e A P s e c u r i t y S e c u r i t y s e t t i n g s a r e o f t e na h a r dc h o i c e , a n di t m a y b e d i N c u l t t ob a l a n c e g o o dp r o t e c t i o nf r o mu n i n t e n t i o n a l u s e r s w i t he a s ya c c e s s f o r a u t h o r i s e d u s e r s .

220

PLANNING AND DEPLOYMENT

Mo r ec o m p l e xs e c u r i t yn e e d s w i l l r e q u i r eam o r ec o m p l e xc o n 0 g u r a t i o n a n da d d i t i o n a l s o f t w a r e . C o n 0 g u r e t h e s e c u r i t y f e a t u r e s o f t h e n e t w o r k : N o e n c r y p t i o n( a l l t r a N c i s i nc l e a r ) WE P( Wi r e dE q u i v a l e n t P r i v a c y ) , 4 0 o r 1 0 4b i t s k e y s , i t i s W a w e d a n dt h e r e f o r e d e p r e c a t e d WP A/ WP A 2 ( Wi F i P r o t e c t e dA c c e s s ) : P S K , T K I Pa n dE A P E n a b l eo r d i s a b l e( h i d e ) t h e S S I Db r o a d c a s t ( b e a c o n ) . H i d d e n S S I Da n dMA C0 l t e r i n gd on o t a d dm u c hs e c u r i t y , a n da r e h a r d t o m a i n t a i na n da s o u r c e o f t r o u b l e s f o r i n e x p e r i e n c e d u s e r s o f t h e n e t w o r k . E n a b l eo rd i s a b l ea nA c c e s sC o n t r o lL i s t( b a s e do n MA C a d d r e s s e s o f c l i e n t s ) . MA C0 l t e r i n g i s a w e a k s e c u r i t y m e a s u r e : A m a l i c i o u s c l i e n t c a nc a p t u r ep a c k e t s a n d0 n do u t w h i c hMA C a d d r e s s e s h a v e t h e r i g h t t oa s s o c i a t e I t c a nt h e nc h a n g e i t s o w n MA Ca d d r e s s t oo n eo f t h ea c c e p t e do n e s a n d f o o l t h ea c c e s s p o i n t . F o r m o r e i n f o r m a t i o na b o u t h o wt od e s i g nt h es e c u r i t yo f y o u r w i r e l e s s n e t w o r k p l e a s e r e a dt h e c h a p t e r c a l l e dS e c u r i t y i nWi r e l e s s N e t w o r k s . C o n 0 g u r e t h e A Pr o u t i n g / N A T A d v a n c e d I Pl a y e r a n dr o u t i n g c o n 0 g u r a t i o nf e a t u r e s a r e o f t e ni n c l u d e di n m o d e r na c c e s sp o i n t s .$ i sc a ni n c l u d ef u n c t i o n a l i t yf o rr o u t i n ga n d N e t w o r k A d d r e s s T r a n s l a t i o n( N A T ) , i na d d i t i o nt o b a s i c b r i d g i n g . A d v a n c e d I Pc o n 0 g u r a t i o ni n c l u d e s : S t a t i c r o u t i n g D y n a m i c r o u t i n g N A T( m a s q u e r a d i n g , p o r t f o r w a r d i n g ) F i r e w a l l i n g S o m eA P s c a na l s oa c t a s 0 l es e r v e r s a n dp r i n t s e r v e r s ( e x t e r n a l HD a n dp r i n t e r s c a nb e c o n n e c t e d v i a U S B )

11. HARDWARE SELECTION AND CONFIGURATION

221

C o n 0 g u r e t h e A P a d v a n c e d Af e wm o r e a d v a n c e ds e t t i n g s m a y b e a v a i l a b l e f o r y o u r A P , d e p e n d i n g o n t h e m o d e l / v e n d o r / 0 r m w a r e / e t c . : B e a c o n i n t e r v a l R T S / C T S . R T S / C T S( r e a d yt os e n d , c l e a rt os e n d ) m e c h a n i s m c a nh e l pa l l e v i a t et h e p r o b l e mo f h i d d e nn o d e s ( c l i e n t s t h a t c a n h e a r t h eA Pb u tn o tt h eo t h e rc l i e n t s ,t h e r e f o r ec r e a t i n g i n t e r f e r e n c e s ) . F r a g m e n t a t i o n . C o n 0 g u r a t i o no f t h ef r a g m e n t a t i o nc a nb eu s e d t oi n c r e a s e p e r f o r m a n c e i nt h e c a s e o f l o ws i g n a l a r e a s , t h o s e w i t h m a r g i n a l c o v e r a g e , o r l o n g l i n k s . I n t e r f e r e n c e r o b u s t n e s s V e n d o r e x t e n s i o n s t o t h e Wi F i s t a n d a r d s O t h e r s e t t i n g s f o r l o n gd i s t a n c e l i n k s ( 1 0t o1 0 0k i l o m e t r e s ) a n d b e t t e r s e c u r i t y .

Con2gure the client


$e c l i e n t s i d e c o n 0 g u r a t i o ni s m u c hs i m p l e r : C o n 0 g u r et h em o d e : c l i e n t ( o r m a n a g e d , s t a t i o n , c l i e n t s t a t i o n , C P E ) C o n 0 g u r e t h e S S I Do f t h e n e t w o r k t o b e j o i n e d $e c h a n n e l , s p e e d , a n do t h e r p a r a m e t e r s w i l l b e s e t a u t o m a t i c a l l y t o m a t c ht h e A P I f WE Po r WP Ai s e n a b l e do nt h e A P , y o uw i l l h a v e t oe n t e r t h e m a t c h i n g p a s s w o r d ( k e y ) C l i e n t s m a ya l s oh a v ea d d i t i o n a l ( o f t e nv e n d o r s p e c i 0 c ) s e t t i n g s . F o r e x a m p l e , s o m e c l i e n t s c a nb e c o n C g u r e dt o a s s o c i a t e o n l y w i t ha n A Pw i t h a s p e c i C e d MA Ca d d r e s s .

222

PLANNING AND DEPLOYMENT

Hints - working outdoors


Y o us h o u l dt r yt oc o n 0 g u r et h ed e v i c e s ( b o t hA P s a n dc l i e n t s ) w e l l i na d v a n c ea n di nac o m f o r t a b l ep l a c e s u c ha s al a b o r a t o r y . Wo r k i n go u t d o o r si sm o r ed i N c u l ta n dm a yl e a dt om i s t a k e s ( o n s i t e c o n 0 g u r a t i o n= t r o u b l e ) . I f y o um u s t c o n 0 g u r ed e v i c e s o u t d o o r s , b es u r et oh a v ee n o u g h b a t t e r yc h a r g eo ny o u rl a p t o p ,t oc a r r ya l lt h er e q u i r e d i n f o r m a t i o nw i t hy o u( o np a p e r , n o t o n l yi ne l e c t r o n i cf o r m a t ! ) a n dt oc a r r yan o t e p a dt ot a k en o t e s . G o o dd o c u m e n t a t i o ni s p a r a m o u n t f o r f u t u r e m a i n t e n a n c e i nt h e 0 e l d !

Troubleshooting
O r g a n i s e y o u r w o r k i nl o g i c a l s t e p s a n df o l l o wt h e m . R e a dt h e m a n u a l , s t u d yt h e m e a n i n go f p a r a m e t e r s a n ds e t t i n g s , r u nt e s t s a n de x p e r i m e n t s ( d o n t b e s c a r e d ! ) . I nt h e c a s e o f p r o b l e m s , d o a f a c t o r y r e s e t a n dt r y a g a i n . I f t h e p r o b l e mp e r s i s t s , t r ya g a i nc h a n g i n go n e p a r a m e t e r / s e t t i n g a t a t i m e . I ts t i l ld o e s n tw o r k ?T r yt os e a r c ho nt h ew e bf o rr e l e v a n t k e y w o r d s( n a m eo ft h ed e v i c e , e t c . ) , s e a r c hi nf o r u m sa n do n m a n u f a c t u r e r / v e n d o r s w e b s i t e s . U p g r a d e t h e 0 r m w a r e t ot h e l a t e s t v e r s i o n . I f y o us t i l l h a v e p r o b l e m s t r y w i t ha d i 1 e r e n t c l i e n t / A P , t oc h e c k i f y o u h a v e a h a r d w a r e i s s u e w i t ht h e o r i g i n a l o n e .

12. INDOOR INSTALLATION

223

12. INDOOR INSTALLATION


Introduction
P r e v i o u s e d i t i o n s o f t h i s b o o kh a v e f o c u s e do nw i d e a r e a o u t d o o r w i r e l e s s a sam e a n so fc o n n e c t i n gc o m m u n i t i e sw i t he a c ho t h e ra n dt ot h e I n t e r n e t . H o w e v e r , w i t ht h ea v a i l a b i l i t yo f Wi F i a c c e s s p o i n t s f o r al o w p r i c e a n dt h e p r o l i f e r a t i o no f p o r t a b l e d e v i c e s t h a t a r e Wi F i c a p a b l e , Wi F i h a s b e c o m e t h e d e f a c t o s t a n d a r df o r i n d o o r n e t w o r ka c c e s s i nE n t e r p r i s e s a n ds c h o o l s . $i s c h a p t e ri n t r o d u c e s t h em a i nf o c u s p o i n t si nc h o o s i n g a n di n s t a l l i n g Wi F i n e t w o r k s i n d o o r s .

Preparations
B e f o r ei n s t a l l i n gaw i r e l e s sL A Ni t i s ag o o di d e at o0 r s t t h i n kt h i n g s t h r o u g ha b i t : Wh a t i s i t t h a t y o ua r e p l a n n i n g t od ow i t ht h e w i r e l e s s n e t w o r k ? I s i t a na d d i t i o nt o t h e w i r e dn e t w o r k o r a r e p l a c e m e n t f o r i t ? A r e y o u g o i n g t or u na p p l i c a t i o n s o v e r t h e n e t w o r kt h a t a r e n o t d e l a y t o l e r a n t o r s e n s i t i v e t ob a n d w i d t hv a r i a t i o n s ( l i k e v o i c e a n dv i d e o c o n f e r e n c i n g ) . $ em a i nd i 1 e r e n c eb e t w e e ni n d o o r a n do u t d o o r w i r e l e s s i s t h e a b s o r p t i o na n dr e W e c t i o no f r a d i ow a v e s b yt h eb u i l d i n gi t s e l f . Wh a t b u i l d i n g f e a t u r e s d o y o un e e dt ot a k e i n t o a c c o u n t ? D ot h e w a l l s h a v e m e t a l , w a t e r o r h e a v yc o n c r e t ei nt h e m ? D ow i n d o w s h a v em e t a l i nt h e m( e . g . m e t a l c o a t i n go rm e t a l g r i d s ) ?I st h e b u i l d i n g l o n g a n ds t r e t c h e d o r c o m p a c t ? D oy o ue x p e c t u s e r s t ob e m a i n l ys t a t i c , o r w i l l t h e y m o v e a l o t ? A n dw h e nt h e ym o v e ,i si ti m p o r t a n tt oh a v eu n i n t e r r u p t e d h a n d o v e r( t h i sm e a n s , ah a n d o v e rs oq u i c kt h a ty o uw i l l n o t n o t i c e t h e i n t e r r u p t i o no f a v o i c e c a l l ) ? A r e t h e r e g o o d p l a c e s t o h a n g t h e A c c e s s P o i n t s ? A r e w i r e ds o c k e t s a n de l e c t r i c i t y f o r t h e A P s r e a d i l y a v a i l a b l e ? I s e l e c t r i c i t y s t a b l e ? I f n o t ,e v e ni n d o o rA P sm i g h tn e e ds t a b l es o l a r / b a t t e r yp o w e r s u p p l i e s a n d / o r U P S . A r e t h e r e s o u r c e s o f i n t e r f e r e n c e , l i k e a d h o cA P s b r o u g h t i nb y u s e r s , b l u e t o o t hd e v i c e s , m i c r o w a v e s ?

224

PLANNING AND DEPLOYMENT

Bandwidth requirements
S t e po n e i nd e s i g n i n g a ni n d o o r w i r e l e s s n e t w o r k i s t od e t e r m i n e t h e n e e d i nt e r m s o f t h e n u m b e r o f c o n c u r r e n t u s e r s t os u p p o r t , t h e n u m b e r a n d t y p eo f d e v i c e s a n dt h et y p eo f a p p l i c a t i o n s t h e ya r er u n n i n g . I t i s a l s o i m p o r t a n tt ou n d e r s t a n dt h ed i s t r i b u t i o no f t h eu s e r s . L e c t u r eh a l l s o r m e e t i n gr o o m sh a v ed i 1 e r e n tu s a g ep a t t e r n st h a nc o r r i d o r s . Aw i r e l e s s n e t w o r kt h a t i s h a r d l yu s e da n dt h a t n e e d s t os u p p o r t al o wn u m b e r o f u s e r s i s e a s yt od e p l o ya n dw i l l n o t r u ni n t ot r o u b l ee a s i l y . $ et r o u b l e s t a r t s w h e nt h en u m b e r o f u s e r s a n dt h e i r u s eo f t h en e t w o r ki n c r e a s e s . $i s c h a p t e r t h e r e f o r e f o c u s e s o nh i g h d e n s i t y w i r e l e s s n e t w o r k s . T og i v ey o ua ni d e af o rt h eb a n d w i d t hr e q u i r e m e n tf o rs o m et y p i c a l a p p l i c a t i o n s :
web surCng: audio: streaming video: Cle sharing: device backup: 500 - 1000 kb/s 100 - 1000 kb/s 1 - 4 Mb/s 1 - 8 Mb/s 10 - 50 Mb/s

T y p i c a l i n s t a l l a t i o n s i na no N c e e n v i r o n m e n t a r e d i m e n s i o n e dt os u p p o r t 2 0 3 0u s e r s p e r c e l l a n dh a v ea b o u t 1a c c e s s p o i n t p e r 2 5 0 5 0 0s q u a r e m e t r e s ,b u ta sm e n t i o n e db e f o r e ,d e p e n d i n go nc h a r a c t e r i s t i c so ft h e e n v i r o n m e n t t h i s m a y n o t b e s u N c i e n t . I na d e n s e e n v i r o n m e n t t h e r e m a y b e u p t o 1 d e v i c e p e r 2 0 s q u a r e m e t r e s . B o t t o ml i n e , y o u n e e dt o c a l c u l a t e t h e t h r o u g h p u t n e e d e dp e r c o v e r a g e a r e a . S o i f y o u h a v e l e t ' s s a y 1 0 u s e r s i na 1 0 0 s q u a r e m e t r e a r e a , o f w h i c h8 a r e s u r 0 n gt h e w e ba n d2a r e w a t c h i n go n l i n e v i d e oy o uw i l l n e e d : 8* 1 0 0 0 k b / s +2* 4 0 0 0k b / s =1 6 0 0 0k b / s f o r t h e 1 0 0s q u a r e m e t r e a r e a o r 1 6 0 k b / s p e r s q u a r e m e t r e .

Frequencies and data rates


$e 2 . 4 G Hz a n dt h e 5 G Hz s o l u t i o n s d i 1 e r i na f e wk e y a s p e c t s . $e 2 . 4 G Hzb a n dh a sab e t t e r r a n g ea n dl e s s a t t e n u a t i o na n di s s u p p o r t e di n m o s t d e v i c e s . $e m a i nd o w n s i d eo f t h e2 . 4G Hzb a n di s t h a t t h e r e a r eo n l y3n o n o v e r l a p p i n gc h a n n e l s ,w h i c hs e v e r e l yl i m i t st h et h en u m b e ro fa c c e s s p o i n t s t h a t c a nb e p l a c e d i na c e r t a i na r e a .

12. INDOOR INSTALLATION

225

$i s i s u n f o r t u n a t e s i n c e m a k i n g s m a l l e r c e l l s ( f o r m e db y h a v i n gt h e A P s b r o a d c a s t w i t hl e s s p o w e r ) i s t h e e a s i e s t w a yo f c r e a t i n gm o r e t h r o u g h p u t p e r a r e a . N o t e : s o m e t i m e s 4s l i g h t l yo v e r l a p p i n gc h a n n e l s a r e a d v i s e d , b u t r e s e a r c h s h o w st h a t i nf a c tt h i sd e c r e a s e sp e r f o r m a n c e . P e r f o r m a n c ei ng e n e r a l , d e g r a d e s f a s t w i t ho v e r l a p p i n gc h a n n e l s ( c o c h a n n e l i n t e r f e r e n c e ) . $e 5 G Hzb a n do nt h eo t h e rh a n dh a sa w o r s er a n g eb u th a si nm o s t g e o g r a p h i e sa r o u n d2 0c h a n n e l s w h i c hm a k e s i t m u c he a s i e rt od e p l o y w i t h o u t i n t e r f e r e n c e f r o ma d j a c e n t c h a n n e l s . $e o t h e r i m p o r t a n t e l e m e n t i s t h e c h o i c e o f Wi F i s t a n d a r d , c o n s i d e r i n g t h a t a v e r a g e t h r o u g h p u t i nMb / s f o r t h e m o s t c o m m o nt e c h n o l o g i e s a r e :
11b: 11g: 11a: 11n: 7.2 Mb/s 25 Mb/s 25 Mb/s 25 - 160 Mb/s

I ts h o u l db en o t e dt h a tp e r f o r m a n c ed r o p sw h e n ,f o re x a m p l e , b o t h 8 0 2 . 1 1 ba n d1 1 g d e v i c e s a r e s e r v e db y t h e s a m e A P . I nan e t w o r kw h e r e c l i e n t d e v i c e s a r e u s i n g a m i x o f 8 0 2 . 1 1 g a n d1 1 b , t h e A Pw i l l s h i f t d o w n t o l o w e r s p e e d s . 5G Hzi sap r e f e r r e dc h o i c ef o rh i g hp e r f o r m a n c ea n dh i g hd e n s i t y n e t w o r k s . A s y o uw o u l dl i k e t ol i m i t t h e c o v e r a g e o f e a c hA Pt oo n e s m a l l w e l l d e 0 n e da r e aa n y w a y , s i g n a l a t t e n u a t i o nb yw a l l s e t ci s a na d v a n t a g e r a t h e r t h a na p r o b l e m . $e d e p l o y m e n t o f 2 . 4 G Hz f o r t h e m a j o r i t y o f d e v i c e s , c o m b i n e dw i t h5 G Hz f o r t h e " i m p o r t a n t d e v i c e s " i s w o r t hc o n s i d e r i n g t o o .

Access Points choice and placement


Wh e ni t c o m e s t oc h o o s i n gA c c e s s P o i n t s ( A P s ) f o r i n d o o r w i r e l e s s t h e r e a r ee s s e n t i a l l y2a r c h i t e c t u r a l c h o i c e s : c o n t r o l l e rb a s e da n d" f a t c l i e n t s " . F a t c l i e n t s a r es t a n d a l o n eA P s t h a t h a v ea l l t h e i n t e l l i g e n c e o nb o a r dt o m a n a g e a Wi F in e t w o r k ( c h o o s i n g S S I D s ,e n c r y p t i o n m e t h o d , r o u t i n g / s w i t c h i n ge t c . ) . $ ec o n t r o l l e r b a s e ds o l u t i o no nt h eo t h e r h a n d h a sA P st h a ti m p l e m e n tt h em i n i m a lf u n c t i o n a l i t yt oo 1 e raw i r e l e s s s e r v i c ea l o n gw i t hac e n t r a l c o n t r o l l e rt h a t i s c o m m o nf o r a l l A P s a t a l o c a t i o n .

226

PLANNING AND DEPLOYMENT

$e c e n t r a l c o n t r o l l e r a l s oh a s a l l t h e i n t e l l i g e n c e a n da l l t r a N cf r o mt h e A P s d i r e c t e dt o i t . $ ec h o i c eb e t w e e no n eo f t h et w oa r c h i t e c t u r e s i s at r a d e o 1b e t w e e n c o s t , e a s e o f m a n a g e m e n t a n ds c a l a b i l i t y . I ng e n e r a l o n ec a ns a yt h a t t h e m o r e c o m p l e xt h e e n v i r o n m e n t a n dt h e l a r g e r t h e s i z e t h e m o r e a t t r a c t i v e i t b e c o m e s t o r u na c o n t r o l l e r b a s e ds o l u t i o n . A c c e s s P o i n t s s h o u l di ng e n e r a l b e p l a c e di nt h e a r e a s w i t ha h i g hd e n s i t y o f u s e r s , t h es i g n a l w i l l p r o b a b l y" l e a k "s u N c i e n t l yt oa l s os e r v e t h el e s s d e n s ea r e a s . U n f o r t u n a t e l yt h eo v e r a l lp e r f o r m a n c eo ft h es y s t e mw i l l m o s t l y b e d e t e r m i n e db y t h e c l i e n t s , n o t t h e A P s , s ot h e p l a c e m e n t o f t h e A P s , w h i l ei m p o r t a n t , c a no n l yd os om u c hf o r t h ep e r f o r m a n c eo f t h e o v e r a l l s y s t e m . O t h e r r a d i os o u r c e s i nt h e Wi F i b a n d s h a v e av e r ys t r o n g i n W u e n c eo nt h ep e r f o r m a n c eo ft h eWi F i n e t w o r k ,s oi ng e n e r a l ,i f p o s s i b l e t h e A P s s h o u l d , a s m u c ha s p o s s i b l e , b e i s o l a t e df r o mo t h e r r a d i o s o u r c e s , b y u s i n g w a l l s , c e i l i n g s a n dp e o p l e a s " s h i e l d s " . I no r d e r t oi m p r o v ep e r f o r m a n c ei t i s p o s s i b l et ou s ee x t e r n a l a n t e n n a s . O m n i d i r e c t i o n a l a n t e n n a s a r e t h e m o s t c o m m o n l y u s e da n dt h e y p r o v i d e ac o v e r a g ea r e ar o u g h l yc i r c u l a ra r o u n dt h eA P . I nm o s ti n d o o rc a s e s , h o w e v e r ,A P sw i l lb ei n s t a l l e do nw a l l s ,c e i l i n g s ,o rc o l u m n s ,a n d o m n i d i r e c t i o n a l a n t e n n a s a r e a b a dc h o i c e , i f y o ul o o ka t w h e r e t h e r a d i o w a v e s a r e g o i n g , a n dw h e r e t h e u s e r s a r e . S of o r t h e s e c a s e s i nw h i c ht h e A Pi s n o t a t t h e c e n t r eo f t h e a r e a t ob e c o v e r e d ,d i r e c t i o n a la n t e n n a sa r ea na l t e r n a t i v e .S o m eh o t e l sa n d c o n f e r e n c eh a l l s ,f o re x a m p l e ,p l a c es m a l ld i r e c t i o n a la n t e n n a sa tt h e c o r n e r so fl a r g e ,o p e na r e a so ro v e r h e a dt op r o v i d ea " c a n o p y "o r " u m b r e l l a " o f s i g n a l c o v e r a g e i nl a r g e s p a c e s . K e e pi nm i n dt h a t t h e m a n y r e W e c t i o n st y p i c a l l ye n c o u n t e r e di na ni n d o o re n v i r o n m e n tm a k ei t d i N c u l t t o t r y t o f u l l y c o n t r o l a s p e c i 0 c c o v e r a g e . A c c e s s P o i n t s c a nb e m o u n t e do nt h e c e i l i n g , o nt h e w a l l s o r i nf u r n i t u r e , e a c hw i t hd i 1 e r e n t c h a r a c t e r i s t i c s . C e i l i n gm o u n t i n gg i v e s a g o o db l a n k e t c o v e r a g e , w a l l m o u n t i n go f t e ng e t s t h eA P s c l o s e rt ot h eu s e r s a n dA P s u n d e r t a b l e s o r c h a i r s o r w i t h i nf u r n i t u r e c a nu s e t h e n a t u r a l i s o l a t i o nt o c r e a t e s m a l l c e l l s w i t hl i t t l e i n t e r f e r e n c e f r o mn e i g h b o u r i n g A P s , b u t t h e r e m i g h tb ec o n c e r n sa b o u tt h ep o s s i b i l i t yo fh a r m f u le 1 e c t sf r o m t h e r a d i a t i o ne m i t t e d .

12. INDOOR INSTALLATION

227

L a s t l y , f o r r e a l l yd e m a n d i n gh i g hp e r f o r m a n c e n e t w o r k s , A P s w i t hs m a r t a d a p t i v ea n t e n n a t e c h n o l o g ym i g h t b ea no p t i o n . $e yc o m ea t a p r i c e , b u t o 1 e rt h ea d v a n t a g eo f a d a p t i n gt h er a d i os i g n a l t ot h el o c a t i o n s o f u s e r sd y n a m i c a l l y-t h e yw i l l d i r e c tt h er a d i ow a v e s t ow h e r et h e ya r e n e e d e d , a t e a c hp o i n t i nt i m e .

SSID a n d Network Architecture


I n d o o rn e t w o r k sa r el i k e l yt os e r v em a n yc o n c u r r e n tu s e r s .L a r g e r c o m p l e x e sl i k eau n i v e r s i t yc a m p u s t y p i c a l l yc o n s i s t o f m a n yb u i l d i n g s , e a c hw i t ht h e i r o w ni n d o o r n e t w o r k , a n do u t d o o r n e t w o r k s i nb e t w e e n . I t i s t h e r e f o r e i m p o r t a n t t o m a k e a g o o d p l a nf o r y o u r S S I D s . N o t et h a tt h eS S I Dd e 0 n e st h eb r o a d c a s td o m a i no nL a y e r2o ft h e n e t w o r k . S S I Dp l a n n i n g n e e d s t o p l a y t o g e t h e r w i t hy o u r L a y e r 3 n e t w o r k a r c h i t e c t u r e . I f y o uw o u l dl i k e u s e r s t or o a ms e a m l e s s l ya c r o s s y o u r w h o l e w i r e l e s s n e t w o r ka r e a , w i t h i no r e v e nb e y o n do n eb u i l d i n g , t h e na l l A P s s h o u l do 1 e rt h es a m eS S I D ,f o re x a m p l e" U n i v e r s i t y Wi r e l e s s " ,o r " e d u r o a m " f o r a u n i v e r s i t y t h a t w a n t s t op a r t i c i p a t e i nt h e g l o b a l r o a m i n g s e r v i c e t h a t e d u r o a mo 1 e r s . H o w e v e r , u s e r s w h os t a yw i t h i no n eS S I Dw i l l n o t r e q u i r eo r r e q u e s t a n e wD HC Pl e a s e , s oy o uw i l l h a v et oa c c o m o d a t ea l l u s e r s w i t h i nO N E L a y e r 3 s u b n e t . F o r al a r g e c a m p u s , t h i s m i g h t r e q u i r eal a r g e W a t s u b n e t f o r a l l w i r e l e s s u s e r s . $i si sat r a d e o 1s i t u a t i o n -y o uc a ne i t h e rh a v eh u g es u b n e t sw i t h s e a m l e s s r o a m i n g , o r a m o r e m a n a g e a b l e s u b n e t a r c h i t e c t u r e w i t hs e p a r a t e S S I D s s u c ha s " L i b r a r y " , " L e c t u r e Ha l l " , " C a f e t e r i a " , . . .

Post Installation
N o wt h a t t h e i n f r a s t r u c t u r ei s i np l a c e i t i s i m p o r t a n t t om a k e s u r e t h a t e v e r y t h i n gw o r k s a s e x p e c t e da n dr e m a i n s l i k e t h a t . $i s c a nb ed o n e i n t h e f o r mo f a s i t e s u r v e y , m e a s u r i n g s i g n a l s t r e n g t h s a n dt h r o u g h p u t . B u t i nt h ee n dt h em a i nr e a s o nt oi n s t a l l aw i r e l e s s n e t w o r ki s t os e r v et h e u s e r s o f i t , s ol i s t e n i n gt ou s e r s c o m p l a i n t s o r i s s u e s i s e q u a l l yi m p o r t a n t . D e m a n dc o n s t a n t l yc h a n g e sa n ds od o e st h es t a t e o f t h e -a r t .I ti s i m p o r t a n t t ok e e pu pt od a t e w i t hu s e r r e q u i r e m e n t s a n dm a t c ht h a t t o p l a n n e du p g r a d e s o f t h e t e c h n o l o g y y o u a r e d e p l o y i n g .

228

PLANNING AND DEPLOYMENT

13. OUTDOOR INSTALL


A l t h o u g h Wi F it e c h n o l o g yw a sd e s i g n e df o rl o c a la r e an e t w o r k s ,i t s i m p a c ti nd e v e l o p i n gc o u n t r i e si sm o r ed r a m a t i ci nl o n g d i s t a n c e a p p l i c a t i o n s . I nd e v e l o p e dc o u n t r i e s , 0 b r eo p t i cc a b l e s o 1 e r i n gl a r g eb a n d w i d t h s h a v e b e e ni n s t a l l e ds a t i s f y i n gt h ec o m m u n i c a t i o nn e e d so fm o s tc i t i e s .$e p e n e t r a t i o no f o p t i c a l 0 b r e i nt h e d e v e l o p i n gw o r l di s n o t n e a r l y a s g r e a t a n dn o w h e r en e a re n o u g ht oc o v e rt h en e e d s .A n dt h ec o s to fi t s e x p a n s i o no f t e nd o e s n o t m e e t t h e R O I ( R e t u r no nI n v e s t m e n t ) g o a l s o f t e l c o s w i t h i nar e a s o n a b l ep e r i o do f t i m e . Wi r e l e s s t e c h n o l o g i e s , o nt h e o t h e r h a n d , h a v e b e e nm u c hm o r e s u c c e s s f u l i nd e v e l o p i n gc o u n t r i e s a n d t h ep o t e n t i a l f o ri n c r e a s i n gt h ep e n e t r a t i o nu s i n gw i r e l e s sn e t w o r k si s e n o r m o u s . T e l c o s h a v ei n s t a l l e dt r a d i t i o n a l m i c r o w a v er a d i ol i n k s i nm o s t c o u n t r i e s . $i si sam a t u r et e c h n o l o g yt h a t o 1 e r sh i g hr e l i a b i l i t ya n da v a i l a b i l i t y r e a c h i n g 9 9 . 9 9 9 %. H o w e v e r , t h e s e s y s t e m s c o s t m a n y t h o u s a n d s o f d o l l a r s a n dr e q u i r e s p e c i a l l y t r a i n e dp e r s o n n e l f o r i n s t a l l a t i o n . S a t e l l i t e s y s t e m s h a v e p r o v e dw e l l s u i t e df o r b r o a d c a s t t r a N c l i k e T Va n d c e r t a i no t h e r a p p l i c a t i o n s . H o w e v e r , s a t e l l i t es o l u t i o n s a r es t i l l e x p e n s i v e f o r b i d i r e c t i o n a l t r a N c , w h i l e Wi F i i s q u i t e c o s t e 1 e c t i v e i no u t d o o r p o i n t t op o i n tn e t w o r k sa sw e l l a si nt y p i c a l a c c e s sn e t w o r k sw h e r eaB a s e S t a t i o n( B S ) i s s e r v i n gm a n yC l i e n t s / C P E s ( p o i n t t om u l t i p o i n t ) . I nt h i s c h a p t e r w e w i l l b ec o n c e n t r a t i n go nt h e o u t d o o r l o n g d i s t a n c ep o i n t t o p o i n t l i n k s . T w os i g n i 0 c a n t h u r d l e s h a dt ob e o v e r c o m e b e f o r e a p p l y i n g Wi F i t ol o n g d i s t a n c e : P o w e r b u d g e t l i m i t a t i o n s a n dt i m i n gl i m i t a t i o n s . $e r e m a i n i n g l i m i t a t i o n s f o r u s i n g Wi F i o v e r l o n gd i s t a n c e s a r e t h e r e q u i r e m e n t f o r t h e e x i s t e n c e o f r a d i o l i n e o f s i g h t b e t w e e nt h e e n d p o i n t s a n dt h e v u l n e r a b i l i t y t oi n t e r f e r e n c ei nt h eu n l i c e n s e db a n d . $e 0 r s t l i m i t a t i o nc a no f t e nb e a d d r e s s e db y t a k i n g a d v a n t a g e o f t h e t e r r a i ne l e v a t i o n s , o r b y u s i n g t o w e r s t oo v e r c o m eo b s t a c l e s s u c ha s t h ec u r v a t u r eo f t h ee a r t ha n dt op r o v i d e F r e s n e l z o n e c l e a r a n c e .

13. OUTDOOR INSTALL

229

F o r i n d o o r a p p l i c a t i o n s , l i n e o f s i g h t i s n o t r e q u i r e ds i n c e t h e s t a t i o n s a r e v e r yc l o s et o g e t h e r a n dm o s to b s t a c l e s c a nb ec l e a r e db yr e W e c t i o n s o n w a l l s ,c e i l i n g ,e t c . B u tf o rl o n gd i s t a n c ea p p l i c a t i o n s ,l i n eo fs i g h ti s a b s o l u t e l yc r i t i c a l . $e s e c o n dl i m i t a t i o ni s l e s s p r o n o u n c e di nr u r a l a r e a s a n dc a nb e a l l e v i a t e db y m i g r a t i n g t o t h e l e s s c r o w d e d5 G Hz b a n d . $e p o w e r b u d g e t i s s u e c a nb eh a n d l e db y u s i n gh i g hg a i na n t e n n a s a n d p o w e r f u l a n dh i g h l ys e n s i t i v er a d i o sa t t a c h e dd i r e c t l yt ot h ea n t e n n at o a v o i dR Fc a b l e l o s s . $e t i m i n g l i m i t a t i o nh a s t od o w i t ht h e m e d i a a c c e s s t e c h n i q u e s . Wi F iu s e sa r a n d o m a c c e s sm e t h o d t o s h a r et h e c o m m u n i c a t i o n sm e d i u m . $i sm a k e si ts u b j e c tt oc o l l i s i o n s ,w h i c h c a n n o tb ed e t e c t e do v e rt h ea i r ,t h e r e f o r et h et r a n s m i t t e rr e l i e so n r e c e i v i n g a na c k n o w l e d g m e n t f o r e v e r y s u c c e s s f u l l y r e c e i v e df r a m e . I f ,a f t e ra s p e c i 0 e da m o u n to ft i m e ,c a l l e dt h e" A C K t i m e o u t " ,t h e a c k n o w l e d g e f r a m e i s n o t r e c e i v e d , t h e t r a n s m i t t e r w i l l r e s e n d t h e f r a m e . S i n c et h et r a n s m i t t e r w i l l n o t s e n dan e wf r a m eu n t i l t h eA C Kf o r t h e p r e v i o u s o n e h a s b e e nr e c e i v e d , t h e A C K t i m e o u t m u s t b e k e p t s h o r t . $i sw o r k sw e l li nt h eo r i g i n a ls c e n a r i oi n t e n d e df o rWi F i( i n d o o r n e t w o r k s ) ,i nw h i c ht h ep r o p a g a t i o nt i m eo f3 3 . 3m i c r o s e c o n d sp e r k i l o m e t r e i s n e g l i g i b l e , b u t b r e a k s d o w nf o r l i n k s o v e r a f e wk i l o m e t r e s . A l t h o u g hm a n yWi F i d e v i c e s d on o t h a v ep r o v i s i o n s f o r m o d i f y i n gt h e A C K t i m e o u t , n e w e r e q u i p m e n t m e a n t f o r o u t d o o r a p p l i c a t i o n s ( o r t h i r d p a r t y0 r m w a r el i k eO p e nWR T ) w i l l g i v ey o ut h i sp o s s i b i l i t y , o f t e nb y m e a n s o f a d i s t a n c e 0 e l di nt h e G U I ( G r a p h i c a l U s e r I n t e r f a c e ) . C h a n g i n gt h i sp a r a m e t e r w i l l a l l o wf o rar e a s o n a b l et h r o u g h p u t , w h i c h w i l la n y w a yd e c r e a s ep r o p o r t i o n a l l yt ot h ed i s t a n c e .$ e c o n t e n t i o n w i n d o ws l o t t i m e a l s o n e e d s t o b e i n c r e a s e dt o a d a p t t o l o n g e r d i s t a n c e s . O t h e r m a n u f a c t u r e r s h a v ec h o s e nt om o v ef r o mr a n d o ma c c e s s t oT i m e D i v i s i o nMu l t i p l e A c c e s s ( T D MA ) i n s t e a d . T D MAd i v i d e s a c c e s s t o a g i v e n c h a n n e l i n t om u l t i p l et i m e s l o t s , a n da s s i g n s t h e s e s l o t s t oe a c hn o d eo n t h en e t w o r k .E a c hn o d et r a n s m i t so n l yi ni t sa s s i g n e ds l o t ,t h e r e b y a v o i d i n g c o l l i s i o n s . I na p o i n t t op o i n t l i n k t h i s p r o v i d e s a g r e a t a d v a n t a g e s i n c e A C K s a r e n o t n e e d e db e c a u s e e a c hs t a t i o nt a k e s t u r n s a t t r a n s m i t t i n g a n dr e c e i v i n g . Wh i l et h i s m e t h o di s m u c hm o r ee N c i e n t , i t i s n o t c o m p l i a n t w i t ht h e Wi F i s t a n d a r d , s os e v e r a l m a n u f a c t u r e r s o 1 e r i t a s a no p t i o n a l p r o p r i e t a r y p r o t o c o l , a l o n g s i d e t h e s t a n d a r dWi F i . Wi MA Xa n dp r o p r i e t a r yp r o t o c o l s ( s u c ha s Mi k r o t i kN s t r e m e , o r U b i q u i t i N e t w o r k s A i r MA X ) u s eT D MA t o a v o i dt h e s e A C Kt i m i n g i s s u e s .

230

PLANNING AND DEPLOYMENT

$e 8 0 2 . 1 1s t a n d a r dd e 0 n e s t h e r e c e i v e r s e n s i t i v i t ya s t h e r e c e i v e ds i g n a l m 5 l e v e l r e q u i r e dt o g u a r a n t e e a B E R( B i t E r r o r R a t e ) b e l o w1 0. $i s d e t e r m i n e s t h ea m o u n t o f e n e r g yp e r b i t r e q u i r e dt oo v e r c o m et h e a m b i e n tn o i s ep l u st h en o i s eg e n e r a t e db yt h er e c e i v e ri t s e l f .A st h e n u m b e r o f b i t s / s e c o n dt r a n s m i t t e di n c r e a s e s , m o r e r e c e i v e r p o w e r w i l l b e n e e d e dt op r o v i d et h es a m ee n e r g yp e rb i t .$ e r e f o r et h er e c e i v e r s e n s i t i v i t yd e c r e a s e s a s t h et r a n s m i t t e r r a t ei n c r e a s e s , s ot om a i n t a i nt h e s a m es i g n a l / n o i s er a t i oa st h ed i s t a n c ei n c r e a s e st h et h r o u g h p u t d i m i n i s h e s , o r , a l t e r n a t i v e l y , f o r l o n g e r d i s t a n c e s o n es h o u l dc h o o s e l o w e r d a t ar a t e st oc o m p e n s a t ef o rt h er e d u c t i o no ft h es i g n a l s t r e n g t hw i t h d i s t a n c e .

What is needed for a long distance link?


$e r e a r e f o u r a s p e c t s t h a t n e e dt ob e c o n s i d e r e dt oa d a p t Wi F i d e v i c e s t o l o n g d i s t a n c e : i n c r e a s e t h e r a d i o d y n a m i c r a n g e ; i n c r e a s e t h e a n t e n n a g a i n ; d e c r e a s et h ea n t e n n ac a b l el o s s ; a n dm a k ep r o v i s i o n s f o rt h et h es i g n a l p r o p a g a t i o nt i m e .

F i g u r e O I 1 : P o w e r i nd B mv s d i s t a n c e i na r a d i o l i n k ( P o w e r b u d g e t ) . $e g r a p ha b o v e s h o w s t h e p o w e r l e v e l a t e a c hp o i n t i na w i r e l e s s l i n k . $e t r a n s m i t t e r p r o v i d e s s o m e a m o u n t o f p o w e r .

13. OUTDOOR INSTALL

231

As m a l l a m o u n t i s l o s ti na t t e n u a t i o nb e t w e e nt h et r a n s m i t t e r a n dt h e a n t e n n ai nt h eR Fc a b l eo rw a v e g u i d e .$ ea n t e n n at h e nf o c u s e st h e p o w e r , p r o v i d i n gag a i n . A t t h i sp o i n t , t h ep o w e ri sa tt h em a x i m u m p o s s i b l ev a l u ef o rt h el i n k . $i sv a l u ei sc a l l e dt h eE I R P( E q u i v a l e n t I s o t r o p i cR a d i a t e dP o w e r )s i n c ei tc o r r e s p o n d st ot h ep o w e rt h a ta t r a n s m i t t e r w o u l d h a v e t o e m i t i f t h e a n t e n n a h a dn o g a i n . B e t w e e nt h e t r a n s m i t t i n ga n dr e c e i v i n ga n t e n n a s t h e r e a r e f r e e s p a c e a n d e n v i r o n m e n t a l l o s s e s , w h i c hi n c r e a s ew i t ht h ed i s t a n c eb e t w e e nt h e l i n k e n d p o i n t s .$ er e c e i v i n ga n t e n n ap r o v i d e ss o m ea d d i t i o n a l g a i n . $e n t h e r ei s as m a l l a m o u n t o f l o s s b e t w e e nt h er e c e i v i n ga n t e n n aa n dt h e r e c e i v i n g r a d i o . I f t h e r e c e i v e da m o u n t o f e n e r g y a t t h e f a r e n di s g r e a t e r t h a nt h e r e c e i v e s e n s i t i v i t yo f t h er a d i o , t h el i n ki s p o s s i b l e . I n c r e a s i n gt h et r a n s m i s s i o n p o w e r c a nl e a dt o v i o l a t i o n s o f t h e r e g u l a t o r y f r a m e w o r ko f t h e c o u n t r y . I n c r e a s i n gt h ea n t e n n ag a i ni s b yf a r t h em o s t e 1 e c t i v ew a yt oi m p r o v e r a n g e . Ma k es u r et h a t t h er a d i ot ob ee m p l o y e dh a s c o n n e c t o r sf o r a n e x t e r n a la n t e n n a( s o m ed e v i c e sh a v ea ne m b e d d e do ro t h e r w i s en o n r e m o v a b l e a n t e n n a ) . D e c r e a s i n g l o s s i na n t e n n a c a b l e s i s s t i l l a ni m p o r t a n t i s s u e , a n dt h e m o s t r a d i c a l w a yt oa t t a i ni t i s t op l a c e t h e r a d i oo u t s i d e , d i r e c t l y a t t a c h e dt o t h e a n t e n n a , e m p l o y i n g a w e a t h e r p r o o f b o x . O f t e nt h i s l e n d s t op o w e r i n g t h e r a d i o u s i n g P o E( P o w e r o v e r E t h e r n e t ) . I m p r o v i n gt h er e c e i v e rs e n s i t i v i t yi m p l i e sc h o o s i n gam o d e l w i t hb e t t e r p e r f o r m a n c e , o rs e t t l ef o r l o w e rt r a n s m i s s i o ns p e e d s w h e r es e n s i t i v i t yi s h i g h e r . A l t h o u g hh i g hg a i na n t e n n a s c a nb e e x p e n s i v e , i nm a n y c o u n t r i e s o n e c a n 0 n ds a t e l l i t e a n t e n n a s t h a t a r e n ol o n g e r b e i n gu s e da n dc a nb e m o d i 0 e d f o r t h e Wi F i b a n d s . I n ap e r f e c tw o r l d , w ew o u l du s et h eh i g h e s tg a i na n t e n n a sw i t ht h e l o u d e s ta n dm o s ts e n s i t i v er a d i o sp o s s i b l e . B u tan u m b e ro fp r a c t i c a l c o n s i d e r a t i o n sm a k et h i si m p o s s i b l e . A m p l i 0 e r si n t r o d u c ea na d d i t i o n a l p o i n t o f f a i l u r e , i na d d i t i o nt h e y m i g h t v i o l a t e m a x i m u mp o w e r p e r m i t t e d b y l o c a l r e g u l a t i o n s a n da d d n o i s e i nr e c e p t i o n , s ot h e y s h o u l db e a v o i d e d .

232

PLANNING AND DEPLOYMENT

H i g hp o w e r t r a n s m i t t e r s a r e a v a i l a b l e f r o mm a n y m a n u f a c t u r e r s t h a t o 1 e r u pt o1W o f o u t p u t p o w e r w h i c hc o u l db e u s e di n s t e a do f a m p l i 0 e r s i n t h o s e c o u n t r i e s w h e r e t h i s i s l e g a l . I ng e n e r a l , i t i s b e t t e r t ou s eh i g hg a i na n t e n n a s t h a nh i g ht r a n s m i t t e r p o w e r . G r e a t e r a n t e n n a g a i nw i l l h e l pb o t hi nt r a n s m i s s i o na n dr e c e p t i o n m a k i n gad o u b l ei m p a c ti nt h el i n kb u d g e t .I tw i l la l s oc a u s el e s s i n t e r f e r e n c et oo t h e r u s e r s a n dr e c e i v el e s s i n t e r f e r e n c ef r o mo t h e r u s e r s a n dl i m i t m u l t i p a t he 1 e c t s B u t a h i g ha n t e n n a g a i ni m p l i e s a v e r y n a r r o w b e a m w i d t h , w h i c hm e a n s t h a t s p e c i a l a l i g n m e n t t e c h n i q u e s a r e r e q u i r e d .

Antenna alignment
F o rs h o r td i s t a n c e s ,w h e nt h ec o r r e s p o n d i n ga n t e n n ai sv i s i b l e ,t h e a n t e n n aa l i g n m e n tp r o c e d u r er e d u c e st op o i n t i n gt h ea n t e n n ai nt h e d i r e c t i o no f t h e c o r r e s p o n d e n t , b o t hi nt h e h o r i z o n t a l p l a n e ( a z i m u t h ) a n d i nt h ev e r t i c a lp l a n e( e l e v a t i o n ) .$ i ss h o u l ds u N c et oe s t a b l i s ht h e c o n n e c t i o n . O n c et h ec o n n e c t i o ni sa t t a i n e da0 n ea d j u s t m e n tc a nb e m a d eb yr e a d i n gt h eR S S L( R e c e i v e r S i g n a l S t r e n g t hL e v e l ) i nt h el o c a l r a d i o .$ i sv a l u ei sp r o v i d e db yt h eu s e ri n t e r f a c e ,a n dc a na l s ob e o b t a i n e df r o m p r o g r a m sl i k en e t s t u m b l e r .$ e p r o c e d u r ec o n s i s t so f m o v i n gt h ea n t e n n ai nt h eh o r i z o n t a l p l a n ei ns m a l l s t e p s w h i l er e a d i n g t h e R S S L . D on o t t o u c ht h e a n t e n n a w h e nr e a d i n g , s i n c e y o u r b o d y w i l l a 1 e c t t h e m e a s u r e m e n t . O n c e s a t i s 0 e dt h a t a m a x i m u mv a l u e i s o b t a i n e d , t h e p r o c e d u r e i s r e p e a t e di nt h e v e r t i c a l p l a n e , m o v i n g t h e a n t e n n a 0 r s t u p a n dt h e nd o w nu n t i l a m a x i m u mv a l u e o f r e c e i v e dp o w e r i s o b t a i n e d , a t w h i c hp o i n t t h e b o l t s t h a t s e c u r e t h e a n t e n n a a r e t i g h t e n e d . $i s i s a l l t h a t i s n e e d e dt oa i ma c l i e n t d e v i c e a t a nA c c e s s P o i n t o r B a s e S t a t i o n . I f y o u h a v e ap o i n t t op o i n t l i n k , t h e s a m e p r o c e d u r e s h o u l db e r e p e a t e da t t h e o t h e r e n do f t h e l i n k . F o r l o n g d i s t a n c e s a n dw h e nt h e o t h e r e n do f t h e l i n k i s n o t v i s i b l e , s o m e e x t r a s t e p s a r e r e q u i r e d . F i r s t , t h e h o r i z o n t a l d i r e c t i o n( b e a r i n g ) t o a i mt h e a n t e n n a m u s t b e o b t a i n e df r o mt h e c o o r d i n a t e s o f t h e e n dp o i n t s . $e na c o m p a s s i s u s e dt od e t e r m i n e t h e d i r e c t i o ni nw h i c ht h e a n t e n n as h o u l d b e a i m e d . K e e pi nm i n dt h a t i ng e n e r a l t h e r e i s ad i 1 e r e n c eb e t w e e nt h em a g n e t i c b e a r i n gm e a s u r e db yt h ec o m p a s sa n dt h eg e o g r a p h i c a l b e a r i n go b t a i n e d f r o mt h e c o o r d i n a t e s o f t h e e n dp o i n t s o r f r o ma m a p .

13. OUTDOOR INSTALL

233

$i s d i 1 e r e n c e i s c a l l e dt h e m a g n e t i c d e c l i n a t i o n , i t c a nb e v e r y s i g n i 0 c a n t i ns o m e p l a c e s a n dm u s t b ea c c o u n t e df o r t op r o p e r l ya i mt h e a n t e n n a . F i g . O I 2s h o w s t h e 1 0 d i 1 e r e n c e b e t w e e nt h e m a g n e t i c n o r t hs h o w nb y t h ec o m p a s sa n dt h eg e o g r a p h i c a l o rt r u en o r t hi n d i c a t e db yt h eb r a s s p l a t e .

F i g u r e O I 2 : D i > e r e n c e b e t w e e nMa g n e t i c a n d G e o g r a p h i c a l N o r t ha t E l B a u l , V e n e z u e l a i n2 0 0 6 . K e e pi nm i n dt h a t i r o na n do t h e r m a g n e t i c m e t a l s w i l l a 1 e c t t h e r e a d i n g o f t h e c o m p a s s , s os t a ya w a yf r o mt h o s e w h e nm a k i n g t h e m e a s u r e m e n t . I f t h e a n t e n n a i s t ob e m o u n t e di na ns t e e l t o w e r , i t m i g h t b e i m p o s s i b l e t og e t a na c c u r a t e r e a d i n g n e a r i t . I n s t e a d , o n em u s t w a l ka w a ya c e r t a i n d i s t a n c e , u s e t h e c o m p a s s t od e t e r m i n e t h e d i r e c t i o nt h e a n t e n n a m u s t b e a i m e da n dt h e nt r yt ol o c a t es o m e e a s i l y r e c o g n i s a b l e o b j e c t t h a t c a nb e u s e da s a r e f e r e n c e f o r p o i n t i n gt h e a n t e n n a a t l a t e r . S i n c e t h e b e a m w i d t h o f a h i g h l y d i r e c t i v e a n t e n n a m i g h t b e j u s t a f e wd e g r e e s , a f t e r p o i n t i n gw i t h t h e c o m p a s s w e n e e dt o d o s o m e 0 n e a d j u s t m e n t f o r t h e p r o p e r a i m i n g o f t h e a n t e n n a b y m e a s u r i n g t h e s t r e n g t ho f t h e r e c e i v e ds i g n a l . U n f o r t u n a t e l y t h e R S S Li n d i c a t e db y t h e r a d i o s o f t w a r e w i l l o n l y w o r k a f t e r a p r o p e r p a c k e t h a s b e e ns a t i s f a c t o r i l yr e c e i v e da n dd e c o d e d , a n dt h i s w i l l o n l y h a p p e nw h e nt h e a n t e n n a i s w e l l a i m e d . S ow en e e da ni n s t r u m e n t t h a t c a nr e v e a l t h es t r e n g t ho f t h er e c e i v e d s i g n a l i n d e p e n d e n t l y f r o mt h e m o d u l a t i o nt h a t i t m i g h t h a v e .

234

PLANNING AND DEPLOYMENT

$e i n s t r u m e n t n e e d e df o r t h i s t a s k i s t h e S p e c t r u mA n a l y s e r . $e r ea r eag r e a t v a r i e t yo f s p e c t r u ma n a l y s e r s o nt h em a r k e t , s o m eo f t h e mc o s t i n gt h o u s a n d s o f d o l l a r s , b u t i f w ea r eo n l yi n t e r e s t e di nt h e Wi F i b a n d sw ec a nm a k ed ow i t hs o m ei n e x p e n s i v es o l u t i o n sl i k et h e f o l l o w i n g : " R FE x p l o r e r " o 1 e r s i n e x p e n s i v e d e v i c e s f o r s e v e r a l f r e q u e n c y b a n d s . $e " R FE x p l o r e r m o d e l 2 . 4 G " c o s t s 1 2 0 $ f r o m h t t p : / / w w w . s e e e d s t u d i o . c o m / d e p o t / p 9 2 4 . h t m l ? c P a t h = 1 7 4 a n di sas t a n da l o n eu n i t t h a t c a nm e a s u r es i g n a l sf r o m2 . 4t o2 . 4 8 5 G Hz , w i t has e n s i t i v i t yo f 1 0 5d B m . I t h a s a nS MAc o n n e c t o r f o r t h e a n t e n n a a n dt h e r e f o r e i s w e l l s u i t e df o r a n t e n n a a l i g n m e n t . " Wi S p y " i s a s p e c t r u ma n a l y s e r i na U S Bd o n g l e t h a t a t t a c h e s t oa l a p t o p . Y o uw i l l n e e dt h em o d e l s w i t hS MAR Pc o n n e c t o r , t h e r e i s o n e f o r 2 . 4 G Hz m o d e r a t e l y p r i c e da n da n o t h e r o n e t h a t c o v e r s b o t ht h e 2 . 4a n dt h e 5 G Hz b a n d s s o l df o r 6 0 0 $ a t w w w . m e t a g e e k . n e t . " U b i q u i t i N e t w o r k s " , w w w . u b n t . c o m , u s e dt os e l l U S Bd o n g l e s p e c t r u m a n a l y s e r s f o r 2 . 4 G Hz a t 7 0 $ . U n f o r t u n a t e l yt h e ys e e m t oh a v ed i s c o n t i n u e dt h i sp r o d u c ta f t e r i n c o r p o r a t i n g t h e s p e c t r u ma n a l y s e r c a p a b i l i t y i nt h e i r Ms e r i e s r a d i o s . S ow h e nu s i n gt h e s er a d i o sy o uc a nt a k ea d v a n t a g eo ft h e i r" a i r V i e w " a l i g n m e n tt o o l .I np r i n c i p l eo n eo ft h e s ei n e x p e n s i v er a d i o sl i k et h e " B u l l e t M"w h i c hc o m e s w i t haN Ma l ec o n n e c t o r c a na l s ob eu s e dt o a l i g na n t e n n a s f o r o t h e r r a d i o s i nb o t ht h e 2 . 4 a n d5 G Hz b a n d s . U n f o r t u n a t e l y t h e d i g i t a l l y m o d u l a t e ds i g n a l t r a n s m i t t e d b y Wi F i r a d i o s i s n o t w e l l s u i t e df o r a n t e n n a a l i g n m e n t , s i n c e i t s p o w e r i s s p r e a do v e r t h e 2 0MHzb a n d w i d t h . F o ra n t e n n aa l i g n m e n t as i n g l ef r e q u e n c yw i t ha s t a b l e o u t p u t p o w e r i s r e q u i r e d . $i s t y p e o f s i g n a l i s p r o d u c e db y a m i c r o w a v e s i g n a l g e n e r a t o r , b u t t h e y a r e q u i t e e x p e n s i v e . $e " R FE x p l o r e r m o d e l 2 . 4 G "i n c o r p o r a t e s a 2 . 4G Hz s i g n a l g e n e r a t o r , b u t t h em a x i m u mo u t p u t p o w e r o f 1d B mi s n o t w e l l s u i t e df o rl o n g d i s t a n c ea n t e n n ap o i n t i n g . I n s t e a d ,w eh a v er e p u r p o s e dd e v i c e sc a l l e d " v i d e os e n d e r s " ,m e a n tf o rt r a n s m i t t i n gv i d e os i g n a l s ,w h i c ha c ta s p o w e r f u l m i c r o w a v e s i n g l e f r e q u e n c y s i g n a l s o u r c e s w h e nn o m o d u l a t i o ni s a p p l i e d .

13. OUTDOOR INSTALL

235

$e ya r ea v a i l a b l ef o rb o t ht h e2 . 4G Hza n dt h e5G Hzb a n d sw i t h o u t p u t p o w e r u pt o3 3d B m . F o r o u r p u r p o s e s i t i s n e c e s s a r yt ob u ya m o d e l w i t ha na n t e n n a c o n n e c t o r , s ot h a t w e c a na t t a c ho u r o w na n t e n n a . $e r e a r e m a n y v e n d o r s t oc h o o s e f r o m , s e e f o r i n s t a n c e : h t t p : / / w w w . l i g h t i n t h e b o x . c o m / P o p u l a r / Wi 0 _ V i d e o _ T r a n s m i t t e r . h t m l A s a ne x a m p l e o f l o n gd i s t a n c e l i n ku s i n gm o d i 0 e dWi F i d e v i c e s , w e c a n m e n t i o na ne x p e r i m e n t p e r f o r m e di nA p r i l 2 0 0 5i nV e n e z u e l ab e t w e e n P i c od e l A g u i l a ( 8 . 8 3 2 7 4 6 3 8 N , 7 0 . 8 3 0 7 4 5 7 0 W, 4 1 0 0m e l e v a t i o n ) a n d E l B a u l ( 8 . 9 5 7 6 6 7 N , 6 8 . 2 9 7 5 2 8 W, 1 5 5 me l e v a t i o n ) . U s i n gt h e R a d i oMo b i l e s o f t w a r e , w e 0 n dt h a t t h e d i s t a n c e t oE l B a u l i s 2 8 0k m , t h e a z i m u t hi s 9 7 , t h e a n t e n n a e l e v a t i o na n g l e i s 2 . 0 , a n dt h e p l a c ea tw h i c ht h eb e a mi s c l o s e s tt ot h eg r o u n dh a p p e n s a t2 4 6k m , w h e r ei tc l e a r s1 . 7t i m e st h e0 r s tF r e s n e lz o n ea tt h e2 . 4 1 2G Hz f r e q u e n c y . F i g . O I 3 s h o w s t h e o u t p u t o f t h e p r o g r a m :

F i g u r e O I 3 : P r o C l e o f a 2 8 0 k mp a t h o v e r w h i c hs t a n d a r d Wi F i g e a r w i t h O p e n WR TC r m w a r e w h i c ha l l o w s f o r t h e A C K t i m e o u t i n c r e a s e w a s u s e d t o t r a n s f e r C l e s a t a b o u t 6 5 k b / s i nA p r i l 2 0 0 6 b e t w e e nP i c o d e l A g u i l a a n d E l B a u l i nV e n e z u e l a .

236

PLANNING AND DEPLOYMENT

N o t i c et h a tt h ee a r t hc u r v a t u r ei sq u i t ea p p a r e n t , a n dw a so v e r c o m e b e c a u s e o n e o f t h e s t a t i o n s w a s a t 4 1 0 0 ma l t i t u d e a n dt h e o t h e r a t 1 5 5m . F r e q u e n c yw a s 2 4 1 2MHz , o u t p u t p o w e r 1 0 0m W, a n t e n n a g a i n a r o u n d3 0d B i . S t r e a m i n gv i d e ow a s s u c c e s s f u l l yt r a n s m i t t e dd e s p i t et h e l i m i t e db a n d w i d t h . Ay e a r l a t e rt h ee x p e r i m e n t w a s r e p e a t e dw i t ht h es a m eWi F i g e a rb u t w i t hc o m m e r c i a l 3 2d B i a n t e n n a s a t b o t he n d s a n ds i m i l a r r e s u l t s w e r e o b t a i n e d . $e n , a n o t h e r t y p e o f 0 r m w a r e d e v e l o p e db y t h e T I E Rg r o u pa t U C B e r k e l e yU n i v e r s i t yt h a ti m p l e m e n t sT D D ( T i m eD i v i s i o n D u p l e x i n g ) w a s t r i e dw h i c hs h o w e da r e m a r k a b l e b i d i r e c t i o n a l t h r o u g h p u t o f 6 Mb i t / s w i t hs t a n d a r d8 0 2 . 1 1 b h a r d w a r e . Mo v i n gt h er e m o t es i t et o a1 4 0 0m h i g hh i l lc a l l e dP l a t i l l o n ( 9 . 8 8 9 0 5 3 5 0 N , 6 7 . 5 0 5 5 2 4 0 0 W) , p r o v i d e d a 3 8 0 k mt e s t b e do v e r w h i c h t h ee x p e r i m e n t w a s a g a i ns u c c e s s f u l l yr e p e a t e da s d e s c r i b e di nt h eC a s e S t u d i e s s e c t i o ni nt h i s b o o k . $i sc a nb ei l l u s t r a t e db yu s i n ga no n l i n ev e r s i o no fR a d i o Mo b i l e , a v a i l a b l e a t h t t p : / / w w w . c p l u s . o r g / r m w / r m o n l i n e . h t m l , w h i c hi s s i m p l e r t o u s e , a l t h o u g hi t h a s s o m e l i m i t a t i o na s c o m p a r e dw i t ht h e d o w n l o a d a b l e v e r s i o n . O n e m u s t r e g i s t e r i nt h e s i t e , e n t e r t h e c o o r d i n a t e s o f t h e p o i n t s o v e r w h i c ht h e r a d i ol i n kh a s t ob ee s t a b l i s h e d , t h e p o w e r v a l u e s f o r t h e r a d i o s a n dt h e a n t e n n a s g a i n s a n dh e i g h t , a n dt h e s o f t w a r e w i l l f e t c ht h e r e l e v a n t e l e v a t i o nd a t a r e q u i r e dt o p e r f o r mt h e s i m u l a t i o no f t h e l i n k . K e e p i nm i n d t h a t o n l y r a d i o a m a t e u r s f r e q u e n c y a r e s u p p o r t e di nt h e w e b v e r s i o n , s o2 . 3G Hz s h o u l db eu s e di n s t e a do f 2 . 4G HZ , b u t t h e r e s u l t s a r e c l o s e e n o u g ha n dw h e r e v a l i d a t e db y t h e e x p e r i m e n t o n t h e 0 e l d . I nF i g u r e O I 4w e s h o wt h e o u t p u t o f t h e R a d i oMo b i l e o n l i n e f o r t h i s e x p e r i m e n t t h a t c a nb e r e p l i c a t e db y t h e r e a d e r a s a ne x e r c i s e .

F i g u r e O I 4 : P r o C l e o f a 3 8 0 k mt e s t a t 2 . 4 G H z p e r f o r m e d i n A p r i l a n d A u g u s t 2 0 0 7 , V e n e z u e l a .

13. OUTDOOR INSTALL

237

N o t i c e t h a t t h e e a r t hc u r v a t u r ei s e v e nm o r e n o t i c e a b l e o v e r t h e 3 8 0k m p a t h , b u t t h e h e i g h t o f t h e e n dp o i n t s c o m b i n e dw i t hW a t l a n di n b e t w e e n a l l o w s f o r a m p l e c l e a r a n c e o f t h e 0 r s t F r e s n e l z o n e . F i g u r eO I5s h o w st h en u m e r i c a l v a l u e so ft h eR a d i o Mo b i l eo n l i n e s i m u l a t i o n :

F i g u r e O I 5 : R e s u l t s o f t h e R a d i o Mo b i l e o n l i n e s i m u l a t i o n f o r t h e 3 8 0 k m l i n k b e t w e e nA g u i l a a n d P l a t i l l o n .

238

PLANNING AND DEPLOYMENT

14. OFF-GRID POWER


Solar P o w e r
$i s c h a p t e r p r o v i d e s a ni n t r o d u c t i o nt os t a n d a l o n e p h o t o v o l t a i c s y s t e m s . S t a n d a l o n e s y s t e m s w o r k w i t h o u t c o n n e c t i o nt oa ne s t a b l i s h e d p o w e r g r i d . $i s c h a p t e r p r e s e n t s t h e b a s i c c o n c e p t s o f t h e g e n e r a t i o na n ds t o r a g eo f p h o t o v o l t a i c s o l a r e n e r g y . Wew i l l a l s op r o v i d e a m e t h o df o r d e s i g n i n ga s o l a rs y s t e m w i t hl i m i t e da c c e s st oi n f o r m a t i o na n dr e s o u r c e s .$ i s c h a p t e r o n l y d i s c u s s e s s o l a r s y s t e m s f o r t h e d i r e c t p r o d u c t i o no f e l e c t r i c i t y ( p h o t o v o l t a i cs o l a r e n e r g y ) . $e r m a l s o l a r e n e r g ys y s t e m s a r eb e y o n dt h e s c o p e o f t h i s c h a p t e r . S o l a r E n e r g y Ap h o t o v o l t a i cs y s t e mi s b a s e do nt h ea b i l i t yo f p h o t o v o l t a i cp a n e l s t o c o n v e r t s u nr a d i a t i o nd i r e c t l yi n t oe l e c t r i c a l e n e r g y . $e t o t a l a m o u n t o f s o l a r e n e r g yt h a t l i g h t s ag i v e na r e ai s k n o w na s i r r a d i a n c e ( G ) a n di t i s m e a s u r e di nw a t t s p e r s q u a r e m e t r e ( W/ m2 ) . $e i n s t a n t a n e o u s v a l u e s a r e n o r m a l l ya v e r a g e do v e r ap e r i o do f t i m e , s oi t i s c o m m o nt ot a l ka b o u t t o t a l i r r a d i a n c ep e r h o u r , d a yo r m o n t h . $ea m o u n t o f i r r a d i a n c et h a t a r r i v e s a t t h e s u r f a c e o f t h e E a r t hv a r i e s d u e t on a t u r a l w e a t h e r v a r i a t i o n s a n dd e p e n d so nt h el o c a t i o n .$e r e f o r ei ti sn e c e s s a r yt ow o r kw i t h s t a t i s t i c a l d a t a b a s e do nt h e " s o l a r h i s t o r y " o f a p a r t i c u l a r p l a c e . F o r m a n y a r e a s i t c a nb e d i N c u l t t o a c q u i r e d e t a i l e di n f o r m a t i o n , s ow e w i l l n e e dt o w o r k w i t ha p p r o x i m a t e v a l u e s i nt h i s c a s e . Af e wo r g a n i s a t i o n sp r o d u c em a p st h a t i n c l u d ea v e r a g ev a l u e so fd a i l y g l o b a l i r r a d i a t i o nf o r d i 1 e r e n t r e g i o n s . $e s e v a l u e s a r e k n o w na s p e a ks u n h o u r s o r P S Hs . Y o uc a nu s et h eP S Hv a l u ef o r y o u r r e g i o nt os i m p l i f y y o u r c a l c u l a t i o n s . O n e u n i t o f " p e a k s u nh o u r s " c o r r e s p o n d s t o a r a d i a t i o n o f 1 0 0 0 Wa t t s p e r s q u a r e m e t r e f o r t h e d u r a t i o no f a nh o u r . I f a na r e a h a s 4 P S Hp e r d a y i nt h e w o r s t o f t h e m o n t h s , i t m e a n s w e c a ne x p e c t a d a i l y 2 i r r a d i a t i o no f 4 0 0 0Wh / m . L o wr e s o l u t i o nP S Hm a p s / c a l c u l a t i o nt o o l s a r e a v a i l a b l e f r o m a n u m b e r o f o n l i n e s o u r c e s s u c h a s : h t t p : / / w w w . w u n d e r g r o u n d . c o m / c a l c u l a t o r s / s o l a r . h t m l F o rm o r ed e t a i l e di n f o r m a t i o n , c o n s u l tal o c a ls o l a re n e r g yv e n d o ro r w e a t h e r s t a t i o n . A i r p o r t s n o r m a l l y r e c o r d m e t e o r o l o g i c a l d a t a i n c l u d i n g i n s o l a t i o n .

14. OFF-GRID POWER

239

Wh a t a b o u t w i n dp o w e r ? I t i s p o s s i b l et ou s eaw i n dg e n e r a t o r i np l a c eo f s o l a rp a n e l s w h e na n a u t o n o m o u ss y s t e m i sb e i n gd e s i g n e df o ri n s t a l l a t i o no n ah i l lo r m o u n t a i n . T ob e e 1 e c t i v e , t h e a v e r a g e w i n ds p e e do v e r t h e y e a r s h o u l db e a t l e a s t 3t o4m e t r e s p e r s e c o n d , a n dt h ew i n dg e n e r a t o r s h o u l db e 6 m e t r e s h i g h e r t h a no t h e r o b j e c t s w i t h i na d i s t a n c e o f 1 0 0 m e t r e s . Al o c a t i o nf a r a w a y f r o mt h e c o a s t u s u a l l yl a c k s s u N c i e n t w i n de n e r g y t o s u p p o r t a w i n d p o w e r e ds y s t e m . G e n e r a l l ys p e a k i n g ,p h o t o v o l t a i cs y s t e m sa r em o r er e l i a b l et h a nw i n d g e n e r a t o r s , a ss u n l i g h ti sm o r ea v a i l a b l et h a nc o n s i s t e n t w i n di nm o s t p l a c e s . O nt h eo t h e r h a n d , w i n dg e n e r a t o r s a r ea b l et oc h a r g eb a t t e r i e s e v e na t n i g h t , a s l o n g a s t h e r e i s s u N c i e n t w i n d . I t i s o f c o u r s e p o s s i b l e t o u s e w i n di nc o n j u n c t i o nw i t hs o l a r p o w e r t oh e l pc o v e r t i m e s w h e nt h e r e i se x t e n d e dc l o u dc o v e r ,o rw h e nt h e r ei si n s u N c i e n tw i n d .I nt h e H i g h l a n d s a n dI s l a n d s o f S c o t l a n dt h e r e i s ap r o j e c t t h a t u s e s b o t hs o l a r a n dw i n dp o w e r g e n e r a t i o n . S e e t h e f o l l o w i n gl i n kf o r m o r e i n f o r m a t i o n : h t t p : / / w w w . w i r e l e s s w h i t e s p a c e . o r g / p r o j e c t s / w i n d 0 r e n e w a b l e e n e r g y b a s e s t a t i o n . a s p x F o rm o s tl o c a t i o n sh o w e v e r , t h ec o s t o f ag o o dw i n dg e n e r a t o ri sn o t j u s t i 0 e db y t h e m e a g r e a m o u n t o f p o w e r i t w i l l a d dt ot h e o v e r a l l s y s t e m . $i s c h a p t e r w i l l t h e r e f o r e f o c u s o nt h e u s e o f s o l a r p a n e l s f o r g e n e r a t i n g e l e c t r i c i t y .

Photovoltaic system components


Ab a s i c p h o t o v o l t a i c s y s t e mc o n s i s t s o f f o u r m a i nc o m p o n e n t s : s o l a r p a n e l , b a t t e r y , r e g u l a t o r , a n dl o a d . $e p a n e l i s g e n e r a t i n g e l e c t r i c i t y . $e b a t t e r y s t o r e s e l e c t r i c a l e n e r g y . $e r e g u l a t o r p r o t e c t s t h e b a t t e r ya g a i n s t e x c e s s i v e c h a r g e a n dd i s c h a r g e . $e l o a dr e f e r s t oa n yd e v i c e t h a t r e q u i r e s e l e c t r i c a l p o w e r . I t i s i m p o r t a n t t o r e m e m b e r t h a t s o l a r p a n e l s a n db a t t e r i e s p r o d u c e d i r e c t c u r r e n t ( D C ) . I f t h er a n g eo fo p e r a t i o n a l v o l t a g eo fy o u re q u i p m e n td o e sn o t0 tt h e v o l t a g e s u p p l i e db y y o u r b a t t e r y , i t w i l l a l s ob e n e c e s s a r yt oi n c l u d e s o m e t y p eo fc o n v e r t e r .I ft h ee q u i p m e n tt h a ty o uw a n tt op o w e ru s e sa d i 1 e r e n t D Cv o l t a g et h a nt h e o n es u p p l i e db y t h e b a t t e r y , y o uw i l l n e e d t o u s e a D C / D Cc o n v e r t e r . I f s o m e o f y o u r e q u i p m e n t r e q u i r e s A Cp o w e r , y o uw i l l n e e dt ou s e a D C / A Cc o n v e r t e r , a l s ok n o w na s a ni n v e r t e r . E v e r y e l e c t r i c a l s y s t e ms h o u l da l s o i n c o r p o r a t e v a r i o u s s a f e t y d e v i c e s i nt h e e v e n t t h a t s o m e t h i n g g o e s w r o n g .

240

PLANNING AND DEPLOYMENT

$e s ed e v i c e si n c l u d ep r o p e rw i r i n g , c i r c u i tb r e a k e r s ,s u r g ep r o t e c t o r s , f u s e s , g r o u n dr o d s , l i g h t i n g a r r e s t o r s , e t c . $e s o l a r p a n e l $e s o l a r p a n e l i s c o m p o s e do f s o l a r c e l l s t h a t c o l l e c t s o l a r r a d i a t i o na n d t r a n s f o r mi t i n t oe l e c t r i c a l e n e r g y . $i s p a r t o f t h es y s t e mi s s o m e t i m e s r e f e r r e d t o a s a s o l a r m o d u l e o r p h o t o v o l t a i c g e n e r a t o r . S o l a r p a n e l a r r a y sc a nb em a d eb yc o n n e c t i n gas e t o f p a n e l s i ns e r i e s a n d / o r p a r a l l e l i no r d e r t op r o v i d e t h e n e c e s s a r ye n e r g yf o r ag i v e nl o a d . $e e l e c t r i c a l c u r r e n t s u p p l i e db y a s o l a r p a n e l v a r i e s p r o p o r t i o n a l l y t ot h e s o l a r r a d i a t i o n . $i s w i l l v a r y a c c o r d i n g t o c l i m a t i c c o n d i t i o n s , t h e h o u r o f t h e d a y , a n dt h e t i m e o f t h e y e a r .

F i g u r e O G P1 : As o l a r p a n e l S e v e r a l t e c h n o l o g i e s a r e u s e di nt h e m a n u f a c t u r e o f s o l a r c e l l s . $e m o s t c o m m o ni s c r y s t a l l i n e s i l i c o n , a n dc a nb e e i t h e r m o n o c r y s t a l l i n e o r p o l y c r y s t a l l i n e . A m o r p h o u s s i l i c o nc a nb e c h e a p e r b u t i s l e s s e N c i e n t a t c o n v e r t i n gs o l a r e n e r g y t oe l e c t r i c i t y .Wi t ha r e d u c e dl i f e e x p e c t a n c y a n d a6t o8 %t r a n s f o r m a t i o ne N c i e n c y , a m o r p h o u s s i l i c o ni s t y p i c a l l yu s e d f o r l o wp o w e r e q u i p m e n t , s u c ha s p o r t a b l e c a l c u l a t o r s .

14. OFF-GRID POWER

241

N e ws o l a r t e c h n o l o g i e s , s u c ha s s i l i c o nr i b b o na n dt h i n0 l mp h o t o v o l t a i c s , a r ec u r r e n t l yu n d e rd e v e l o p m e n t .$ e s et e c h n o l o g i e sp r o m i s eh i g h e r e N c i e n c i e s b u t a r e n o t y e t w i d e l y a v a i l a b l e . $e b a t t e r y $eb a t t e r ys t o r e st h ee n e r g yp r o d u c e db yt h ep a n e l st h a ti sn o t i m m e d i a t e l yc o n s u m e db y t h e l o a d . $i s s t o r e de n e r g yc a nt h e nb eu s e d d u r i n gp e r i o d so fl o ws o l a ri r r a d i a t i o n . $ eb a t t e r yc o m p o n e n ti sa l s o s o m e t i m e s c a l l e dt h e a c c u m u l a t o r . B a t t e r i e s s t o r e e l e c t r i c i t y i nt h e f o r mo f c h e m i c a le n e r g y .$ em o s tc o m m o nt y p eo fb a t t e r i e su s e di ns o l a r a p p l i c a t i o n s a r e m a i n t e n a n c e f r e e l e a d a c i d b a t t e r i e s ,a l s o c a l l e d

F i g u r e O G P2 : A2 0 0 A h l e a d a c i d b a t t e r y . e n e g a t i v e t e r m i n a l w a s b r o k e nd u e t o w e i g h t o n t h e t e r m i n a l s d u r i n g t r a n s p o r t a t i o n . A s i d ef r o m s t o r i n ge n e r g y ,s e a l e dl e a d a c i db a t t e r i e sa l s os e r v et w o i m p o r t a n t f u n c t i o n s : $e y a r e a b l e t op r o v i d e a ni n s t a n t a n e o u s p o w e r s u p e r i o r t ot h a t o f t h e a r r a y o f p a n e l s . $i s i n s t a n t a n e o u s p o w e r i s n e e d e dt os t a r t s o m e a p p l i a n c e s , s u c ha s t h e m o t o r o f a r e f r i g e r a t o r o r a p u m p . $e y d e t e r m i n e t h e o p e r a t i n g v o l t a g e o f y o u r i n s t a l l a t i o n .

242

PLANNING AND DEPLOYMENT

F o r a s m a l l p o w e r i n s t a l l a t i o na n dw h e r e s p a c e c o n s t r a i n t s a r e i m p o r t a n t , o t h e r t y p e s o f b a t t e r i e s ( s u c ha s N i C d , N i Mh , o r L i i o n ) c a nb e u s e d . $e s et y p e s o f b a t t e r i e s n e e das p e c i a l i s e dc h a r g e r / r e g u l a t o ra n dc a n n o t d i r e c t l y r e p l a c e l e a d a c i db a t t e r i e s . $e r e g u l a t o r $e r e g u l a t o r ( o r m o r e f o r m a l l y , t h e s o l a r p o w e r c h a r g e r e g u l a t o r ) a s s u r e s t h a tt h eb a t t e r yi sw o r k i n gi na p p r o p r i a t ec o n d i t i o n s .I ta v o i d s o v e r c h a r g i n go ro v e r d i s c h a r g i n gt h eb a t t e r y ,b o t ho fw h i c ha r ev e r y d e t r i m e n t a l t ot h el i f eo ft h eb a t t e r y .T oe n s u r ep r o p e rc h a r g i n ga n d d i s c h a r g i n go f t h e b a t t e r y , t h e r e g u l a t o r m a i n t a i n s k n o w l e d g e o f t h e s t a t e o f c h a r g e ( S o C ) o f t h e b a t t e r y . $e S o Ci s e s t i m a t e db a s e do nt h e a c t u a l v o l t a g e o f t h e b a t t e r y . B y m e a s u r i n g t h e b a t t e r y v o l t a g e a n db e i n g p r o g r a m m e dw i t ht h e t y p e o f s t o r a g e t e c h n o l o g y u s e db y t h e b a t t e r y , t h e r e g u l a t o r w i l l k n o wt h e p r e c i s e p o i n t s w h e r e t h e b a t t e r y w o u l d b e o v e r c h a r g e do r e x c e s s i v e l y d i s c h a r g e d .

F i g u r e O G P3 : A3 0 A m p s o l a r c h a r g e c o n t r o l l e r

$e r e g u l a t o r c a ni n c l u d e o t h e r f e a t u r e s t h a t a d dv a l u a b l e i n f o r m a t i o na n d s e c u r i t yc o n t r o lt ot h ee q u i p m e n t .$ e s ef e a t u r e si n c l u d ea m m e t e r s , v o l t m e t e r s ,m e a s u r e m e n to fa m p e r e h o u r ,t i m e r s ,a l a r m s ,e t c .Wh i l e c o n v e n i e n t , n o n e o f t h e s e f e a t u r e s a r e r e q u i r e df o r a w o r k i n g p h o t o v o l t a i c s y s t e m .

14. OFF-GRID POWER

243

$e c o n v e r t e r $e e l e c t r i c i t yp r o v i d e db yt h ep a n e l a r r a ya n db a t t e r yi s D Ca t a0 x e d v o l t a g e . $e v o l t a g ep r o v i d e dm i g h t n o t m a t c hw h a t i s r e q u i r e db y y o u r l o a d .A d i r e c t / a l t e r n a t i n g( D C / A C )c o n v e r t e r ,a l s ok n o w na si n v e r t e r , c o n v e r t s t h e D Cc u r r e n t f r o my o u r b a t t e r i e s i n t oA C . $i s c o m e s a t t h e p r i c e o f l o s i n gs o m e e n e r g yd u r i n gt h ec o n v e r s i o n . I f n e c e s s a r y , y o uc a n a l s ou s ec o n v e r t e r st oo b t a i nD Ca tv o l t a g el e v e lo t h e rt h a nw h a ti s s u p p l i e db y t h e b a t t e r i e s . D C / D Cc o n v e r t e r s a l s o l o s e s o m e e n e r g y d u r i n g t h ec o n v e r s i o n .F o ro p t i m a lo p e r a t i o n ,y o us h o u l dd e s i g ny o u rs o l a r p o w e r e ds y s t e ms ot h a t t h e g e n e r a t e dD Cv o l t a g e m a t c h e s t h e l o a d .

F i g u r e O G P4 : A n 8 0 0 W a t t D C / A Cc o n v e r t e r ( p o w e r i n v e r t e r ) $e l o a d $ el o a di s t h ee q u i p m e n t t h a t c o n s u m e s t h ep o w e r g e n e r a t e db yy o u r e n e r g y s y s t e m . $e l o a dm a yi n c l u d ew i r e l e s sc o m m u n i c a t i o n se q u i p m e n t ,r o u t e r s , w o r k s t a t i o n s , l a m p s , T Vs e t s , V S A Tm o d e m s , e t c . A l t h o u g hi ti sn o tp o s s i b l et op r e c i s e l yc a l c u l a t et h ee x a c tt o t a l c o n s u m p t i o no f y o u re q u i p m e n t , i t i s v i t a l t ob ea b l et om a k eag o o d e s t i m a t e . I nt h i s t y p eo f s y s t e mi t i s a b s o l u t e l yn e c e s s a r yt ou s ee N c i e n t a n dl o w p o w e r e q u i p m e n t t o a v o i dw a s t i n g e n e r g y .

244

PLANNING AND DEPLOYMENT

P u t t i n g i t a l l t o g e t h e r $ ec o m p l e t ep h o t o v o l t a i cs y s t e mi n c o r p o r a t e sa l l o f t h e s ec o m p o n e n t s . $e s o l a r p a n e l s g e n e r a t e p o w e r w h e ns o l a r e n e r g y i s a v a i l a b l e . $ er e g u l a t o re n s u r e st h em o s te N c i e n to p e r a t i o no ft h ep a n e l sa n d p r e v e n t s d a m a g e t ot h e b a t t e r i e s . $e b a t t e r y b a n ks t o r e s c o l l e c t e de n e r g y f o r l a t e r u s e . C o n v e r t e r sa n di n v e r t e r sa d a p tt h es t o r e de n e r g yt om a t c ht h e r e q u i r e m e n t s o f y o u r l o a d . F i n a l l y , t h e l o a dc o n s u m e s t h e s t o r e d e n e r g y t o d o w o r k . Wh e na l l o f t h e c o m p o n e n t s a r e i nb a l a n c e a n da r e p r o p e r l ym a i n t a i n e d , t h e s y s t e mw i l l s u p p o r t i t s e l f f o r y e a r s .

F i g u r e O G P5 : As o l a r i n s t a l l a t i o n w i t h D Ca n d A Cl o a d s We w i l l n o we x a m i n e e a c ho f t h e i n d i v i d u a l c o m p o n e n t s o f t h e p h o t o v o l t a i c s y s t e mi ng r e a t e r d e t a i l .

The solar panel


A ni n d i v i d u a l s o l a r p a n e l i s m a d e o f m a n y s o l a r c e l l s . $e c e l l s a r e e l e c t r i c a l l yc o n n e c t e dt op r o v i d e a p a r t i c u l a r v a l u e o f c u r r e n t a n d v o l t a g e . $ ei n d i v i d u a l c e l l sa r ep r o p e r l ye n c a p s u l a t e dt op r o v i d ei s o l a t i o na n d p r o t e c t i o nf r o mh u m i d i t y a n dc o r r o s i o n .

14. OFF-GRID POWER

245

$e r ea r ed i 1 e r e n t t y p e s o f m o d u l e s a v a i l a b l eo nt h em a r k e t , d e p e n d i n g o nt h ep o w e r d e m a n d s o f y o u r a p p l i c a t i o n . $e m o s t c o m m o nm o d u l e s a r e c o m p o s e do f 3 2o r 3 6s o l a r c e l l s o f c r y s t a l l i n e s i l i c o n . $e s e c e l l s a r e a l l o f e q u a l s i z e , w i r e di ns e r i e s , a n de n c a p s u l a t e d b e t w e e ng l a s s a n dp l a s t i c m a t e r i a l , u s i n g a p o l y m e r r e s i n( E V A ) a s a t h e r m a l i n s u l a t o r . $e s u r f a c e a r e a o f t h e m o d u l e i s t y p i c a l l y b e t w e e n0 . 1 a n d0 . 5m2 . S o l a r p a n e l s u s u a l l y h a v e t w o e l e c t r i c a l c o n t a c t s , o n e p o s i t i v e a n do n e n e g a t i v e . S o m e p a n e l s a l s oi n c l u d e e x t r a c o n t a c t s t oa l l o wt h e i n s t a l l a t i o no f b y p a s s d i o d e s a c r o s s i n d i v i d u a l c e l l s . B y p a s s d i o d e s p r o t e c t t h ep a n e l a g a i n s t ap h e n o m e n o nk n o w na s h o t s p o t s . Ah o t s p o t o c c u r s w h e ns o m e o f t h e c e l l s a r e i ns h a d o ww h i l e t h e r e s t o f t h e p a n e l i s i nf u l l s u n . R a t h e r t h a np r o d u c i n g e n e r g y , s h a d e dc e l l s b e h a v e a s a l o a dt h a t d i s s i p a t e s e n e r g y . I nt h i s s i t u a t i o n , s h a d e dc e l l s c a n s e e a s i g n i 0 c a n t i n c r e a s e i nt e m p e r a t u r e ( a b o u t 8 5 t o 1 0 0 C . ) B y p a s sd i o d e sw i l lp r e v e n th o t s p o t so ns h a d e dc e l l s ,b u tr e d u c et h e m a x i m u mv o l t a g e o f t h e p a n e l . $e y s h o u l do n l y b e u s e dw h e ns h a d i n g i s u n a v o i d a b l e . I t i s a m u c hb e t t e r s o l u t i o nt oe x p o s e t h e e n t i r e p a n e l t of u l l s u nw h e n e v e r p o s s i b l e .

246

PLANNING AND DEPLOYMENT

i r r a d i a n c e , a n d t h e v o l t a g e ( V ) c h a n g e s w i t h t h e t e m p e r a t u r e . $ ee l e c t r i c a l p e r f o r m a n c eo fas o l a rm o d u l ei sr e p r e s e n t e db yt h eI V c h a r a c t e r i s t i c c u r v e , w h i c hr e p r e s e n t s t h e c u r r e n t t h a t i s p r o v i d e d b a s e d o n t h e v o l t a g e g e n e r a t e df o r a c e r t a i ns o l a r r a d i a t i o n . $e c u r v e r e p r e s e n t s a l l t h e p o s s i b l e v a l u e s o f v o l t a g e c u r r e n t . $ ec u r v e s d e p e n do nt w om a i nf a c t o r s : t h et e m p e r a t u r ea n dt h es o l a r r a d i a t i o nr e c e i v e db y t h e c e l l s . F o r a g i v e ns o l a r c e l l a r e a , t h e c u r r e n t g e n e r a t e di s d i r e c t l y p r o p o r t i o n a l t o s o l a r i r r a d i a n c e ( G ) , w h i l e t h e v o l t a g e r e d u c e s s l i g h t l yw i t ha ni n c r e a s e o f t e m p e r a t u r e . Ag o o dr e g u l a t o r w i l l t r yt om a x i m i s e t h e a m o u n t o f e n e r g y t h a t ap a n e l p r o v i d e s b y t r a c k i n g t h e p o i n t t h a t p r o v i d e s m a x i m u mp o w e r ( Vx I ) . $e m a x i m u mp o w e r c o r r e s p o n d s t o t h e k n e e o f t h e I Vc u r v e .

14. OFF-GRID POWER

247

S o l a r P a n e l P a r a m e t e r s $e m a i np a r a m e t e r s t h a t c h a r a c t e r i s e a p h o t o v o l t a i c p a n e l a r e : 1 .S h o r tC i r c u i tC u r r e n t ( I ) : t h em a x i m u mc u r r e n tp r o v i d e db y S C t h e p a n e l w h e nt h e c o n n e c t o r s a r e s h o r t c i r c u i t e d . 2 .O p e nC i r c u i t V o l t a g e ( V ) : t h e m a x i m u mv o l t a g e t h a t t h e p a n e l O C p r o v i d e s w h e nt h et e r m i n a l s a r en o t c o n n e c t e dt oa n yl o a d( a n o p e nc i r c u i t ) . $i sv a l u ei sn o r m a l l y2 2V f o rp a n e l st h a t a r e g o i n g t o w o r k i n1 2 Vs y s t e m s , a n di s d i r e c t l y p r o p o r t i o n a l t ot h e n u m b e r o f c e l l s c o n n e c t e d i ns e r i e s . 3 . Ma x i m u m P o w e rP o i n t( P ) : t h ep o i n tw h e r et h ep o w e r m a x s u p p l i e db y t h e p a n e l i s a t m a x i m u m , w h e r e P = I x V . m a x m a x m a x $e m a x i m u mp o w e r p o i n t o f a p a n e l i s m e a s u r e di nWa t t s ( W) o r p e a k Wa t t s ( Wp ) . I t i s i m p o r t a n t n o t t of o r g e t t h a t i nn o r m a l c o n d i t i o n s t h e p a n e l w i l l n o t w o r k a t p e a kc o n d i t i o n s , a s t h e v o l t a g e o f o p e r a t i o ni s 0 x e d b y t h e l o a do r t h e r e g u l a t o r . T y p i c a l v a l u e s o f V n dI h o u l db e a b i t m a xa m a xs s m a l l e r t h a nt h e I a n d V . S C O C 1 .F i l l F a c t o r ( F F ) : t h er e l a t i o nb e t w e e nt h em a x i m u mp o w e r t h a t t h ep a n e l c a na c t u a l l yp r o v i d ea n dt h ep r o d u c t I . V . $ i s S C O C g i v e sy o ua ni d e ao ft h eq u a l i t yo ft h ep a n e l b e c a u s ei t i sa n i n d i c a t i o no f t h e t y p e o f I Vc h a r a c t e r i s t i c c u r v e . $e c l o s e r F Fi s t o1 ,t h em o r ep o w e rap a n e lc a np r o v i d e .C o m m o nv a l u e s u s u a l l y a r e b e t w e e n0 . 7 a n d0 . 8 . 2 .E N c i e n c y( ) : t h er a t i ob e t w e e nt h em a x i m u me l e c t r i c a l p o w e r t h a t t h ep a n e l c a ng i v et ot h el o a da n dt h ep o w e r o f t h es o l a r r a d i a t i o n( p ) i n c i d e n t o n t h e p a n e l . $ i s i s n o r m a l l y a r o u n d 1 0 l 1 2 %, d e p e n d i n go n t h et y p eo fc e l l s( m o n o c r y s t a l l i n e , p o l y c r y s t a l l i n e , a m o r p h o u s o r t h i n0 l m ) . C o n s i d e r i n g t h e d e 0 n i t i o n s o f p o i n t o f m a x i m u mp o w e r a n dt h e 0 l l f a c t o r w e s e e t h a t : =P P F F. I V P m a x/ L= S C. O C/ L $e v a l u e s o f I , V , I n dV r ep r o v i d e db y t h e m a n u f a c t u r e r S C O C P m a xa P m a xa a n dr e f e rt os t a n d a r dc o n d i t i o n so fm e a s u r e m e n tw i t hi r r a d i a n c eG = 2 1 0 0 0 W/ m , a t s e a l e v e l , f o r a t e m p e r a t u r e o f c e l l s o f T = 2 5 C . c

248

PLANNING AND DEPLOYMENT

$e p a n e l p a r a m e t e r v a l u e s c h a n g e f o r o t h e r c o n d i t i o n s o f i r r a d i a n c e a n d t e m p e r a t u r e . Ma n u f a c t u r e r s w i l l s o m e t i m e s i n c l u d eg r a p h s o r t a b l e s w i t h v a l u e s f o r c o n d i t i o n s d i 1 e r e n t f r o mt h es t a n d a r d . Y o us h o u l dc h e c kt h e p e r f o r m a n c e v a l u e s a t t h e p a n e l t e m p e r a t u r e s t h a t a r e l i k e l y t o m a t c hy o u r p a r t i c u l a r i n s t a l l a t i o n . B ea w a r et h a tt w op a n e l sc a nh a v et h es a m eWp b u tv e r yd i 1 e r e n t b e h a v i o u r i nd i 1 e r e n t o p e r a t i n gc o n d i t i o n s . Wh e na c q u i r i n ga p a n e l , i t i s i m p o r t a n tt ov e r i f y , i f p o s s i b l e , t h a t t h e i rp a r a m e t e r s( a t l e a s t , I n d S C a V ) m a t c ht h e v a l u e s p r o m i s e db y t h e m a n u f a c t u r e r . O C P a n e l p a r a m e t e r s f o r s y s t e ms i z i n g T oc a l c u l a t e t h e n u m b e r o f p a n e l s r e q u i r e dt oc o v e r a g i v e nl o a d , y o uj u s t n e e dt ok n o wt h ec u r r e n t a n dv o l t a g ea t t h ep o i n t o f m a x i m u mp o w e r : I n dV . P m a xa P m a x Y o us h o u l da l w a y s b e a w a r e t h a t t h e p a n e l i s n o t g o i n gt op e r f o r mu n d e r p e r f e c t c o n d i t i o n s a s t h e l o a do r r e g u l a t i o ns y s t e mi s n o t a l w a y s g o i n gt o w o r ka t t h e p o i n t o f m a x i m u mp o w e r o f t h e p a n e l . Y o us h o u l da s s u m e a l o s s o f e N c i e n c y o f 5 %i ny o u r c a l c u l a t i o n s t o c o m p e n s a t e f o r t h i s . I n t e r c o n n e c t i o n o f p a n e l s As o l a rp a n e l a r r a yi sac o l l e c t i o no fs o l a rp a n e l st h a ta r ee l e c t r i c a l l y i n t e r c o n n e c t e da n di n s t a l l e do ns o m e t y p eo f s u p p o r t s t r u c t u r e . U s i n ga s o l a r p a n e l a r r a y a l l o w s y o ut og e n e r a t e g r e a t e r v o l t a g e a n dc u r r e n t t h a ni s p o s s i b l e w i t ha s i n g l e s o l a r p a n e l . $e p a n e l s a r e i n t e r c o n n e c t e di ns u c ha w a yt h a t t h ev o l t a g eg e n e r a t e di s c l o s e t o( b u t g r e a t e r t h a n ) t h el e v e l o f v o l t a g e o f t h e b a t t e r i e s , a n dt h a t t h e c u r r e n t g e n e r a t e di s s u N c i e n t t of e e d t h e e q u i p m e n t a n dt o c h a r g e t h e b a t t e r i e s . C o n n e c t i n gs o l a rp a n e l si ns e r i e si n c r e a s e st h eg e n e r a t e dv o l t a g e . C o n n e c t i n g p a n e l s i np a r a l l e l i n c r e a s e s t h e c u r r e n t . $e n u m b e r o f p a n e l s u s e ds h o u l db e i n c r e a s e du n t i l t h e a m o u n t o f p o w e r g e n e r a t e ds l i g h t l y e x c e e d s t h e d e m a n d s o f y o u r l o a d . I t i s v e r yi m p o r t a n t t h a t a l l o f t h e p a n e l s i ny o u r a r r a y a r e a s i d e n t i c a l a s p o s s i b l e .I na na r r a y ,y o us h o u l du s ep a n e l so ft h es a m eb r a n da n d c h a r a c t e r i s t i c sb e c a u s ea n yd i 1 e r e n c ei nt h e i ro p e r a t i n gc o n d i t i o n sw i l l h a v e a b i g i m p a c t o n t h e h e a l t ha n dp e r f o r m a n c e o f y o u r s y s t e m .

14. OFF-GRID POWER

249

E v e np a n e l s t h a t h a v ei d e n t i c a l p e r f o r m a n c er a t i n g s w i l l u s u a l l yd i s p l a y s o m e v a r i a n c e i nt h e i r c h a r a c t e r i s t i c s d u e t o m a n u f a c t u r i n g p r o c e s s e s . $e a c t u a lo p e r a t i n gc h a r a c t e r i s t i c so ft w op a n e l sf r o m t h es a m e m a n u f a c t u r e r c a nv a r y b y a s m u c ha s 1 0 %. Wh e n e v e r p o s s i b l e , i t i s a g o o di d e a t ot e s t t h e r e a l w o r l dp e r f o r m a n c e o f i n d i v i d u a l p a n e l s t ov e r i f y t h e i r o p e r a t i n g c h a r a c t e r i s t i c s b e f o r e a s s e m b l i n g t h e mi n t o a na r r a y .

F i g u r e O G P8 : I n t e r c o n n e c t i o no f p a n e l s i np a r a l l e l . e v o l t a g e r e m a i n s c o n s t a n t w h i l e t h e c u r r e n t d u p l i c a t e s . ( P h o t o : F a n t s u a mF o u n d a t i o n , N i g e r i a ) H o wt o c h o o s e a g o o dp a n e l O n e o b v i o u s m e t r i c t ou s e w h e ns h o p p i n gf o r s o l a r p a n e l s i s t oc o m p a r e t h e r a t i o o f t h e n o m i n a l p e a kp o w e r ( Wp ) t o t h e p r i c e . $i s w i l l g i v e y o u a r o u g hi d e ao ft h ec o s tp e rWa t tf o rd i 1 e r e n tp a n e l s . B u tt h e r ea r ea n u m b e r o f o t h e r c o n s i d e r a t i o n s t o k e e pi nm i n d a s w e l l . I f y o ua r e g o i n gt oi n s t a l l s o l a r p a n e l s i ng e o g r a p h i c a l a r e a s w h e r e s o i l i n g ( f r o md u s t , s a n d , o r g r i t ) w i l l l i k e l yb eap r o b l e m , c o n s i d e r p u r c h a s i n g p a n e l s w i t ha l o wa N n i t y f o r s o i l r e t e n t i o n .

250

PLANNING AND DEPLOYMENT

$e s ep a n e l s a r em a d eo f m a t e r i a l s t h a t i n c r e a s et h el i k e l i h o o dt h a t t h e p a n e l w i l l b e a u t o m a t i c a l l y c l e a n e d b y w i n d a n dr a i n . A l w a y s c h e c kt h em e c h a n i c a l c o n s t r u c t i o no f e a c hp a n e l . V e r i f yt h a t t h e g l a s s i s h a r d e n e da n dt h ea l u m i n u mf r a m ei s r o b u s t a n dw e l l b u i l t . $e s o l a r c e l l s i n s i d et h e p a n e l c a nl a s t f o r m o r e t h a n2 0y e a r s , b u t t h e ya r e v e r yf r a g i l ea n dt h ep a n e l m u s t p r o t e c t t h e mf r o mm e c h a n i c a l h a z a r d s . L o o kf o r t h e m a n u f a c t u r e r ' s q u a l i t yg u a r a n t e e i nt e r m s o f e x p e c t e dp o w e r o u t p u t a n dm e c h a n i c a l c o n s t r u c t i o n . F i n a l l y , b e s u r e t h a t t h e m a n u f a c t u r e r p r o v i d e s n o t o n l y t h e n o m i n a l p e a k p o w e ro ft h ep a n e l( Wp )b u ta l s ot h ev a r i a t i o no ft h ep o w e rw i t h i r r a d i a t i o na n dt e m p e r a t u r e . $i s i s p a r t i c u l a r l y i m p o r t a n t w h e np a n e l s a r e u s e di na r r a y s , a s v a r i a t i o n si nt h eo p e r a t i n gp a r a m e t e r s c a nh a v e ab i g i m p a c t o nt h eq u a l i t yo f p o w e r g e n e r a t e da n dt h eu s e f u l l i f e t i m e o f t h e p a n e l s .

The battery
$ eb a t t e r y h o s t s ac e r t a i nr e v e r s i b l ec h e m i c a lr e a c t i o nt h a ts t o r e s e l e c t r i c a l e n e r g y t h a t c a nl a t e r b e r e t r i e v e dw h e nn e e d e d . E l e c t r i c a l e n e r g y i s t r a n s f o r m e di n t oc h e m i c a l e n e r g yw h e nt h eb a t t e r yi s b e i n gc h a r g e d , a n dt h er e v e r s eh a p p e n sw h e nt h eb a t t e r yi sd i s c h a r g e d . Ab a t t e r yi s f o r m e db y a s e t o f e l e m e n t s o r c e l l s a r r a n g e di ns e r i e s . L e a d a c i db a t t e r i e s c o n s i s to ft w os u b m e r g e dl e a de l e c t r o d e si na ne l e c t r o l y t i cs o l u t i o no f w a t e ra n ds u l p h u r i ca c i d . Ap o t e n t i a l d i 1 e r e n c eo f a b o u t 2v o l t st a k e s p l a c e b e t w e e nt h e e l e c t r o d e s , d e p e n d i n g o nt h e i n s t a n t a n e o u s v a l u e o f t h e c h a r g e s t a t e o f t h e b a t t e r y . $ em o s tc o m m o nb a t t e r i e si np h o t o v o l t a i cs o l a ra p p l i c a t i o n sh a v ea n o m i n a l v o l t a g e o f 1 2o r 2 4v o l t s . A1 2V b a t t e r yt h e r e f o r ec o n t a i n s 6 c e l l s i ns e r i e s . $ eb a t t e r ys e r v e s t w oi m p o r t a n t p u r p o s e s i nap h o t o v o l t a i cs y s t e m : t o p r o v i d e e l e c t r i c a l e n e r g y t ot h e s y s t e mw h e ne n e r g y i s n o t s u p p l i e db y t h e a r r a yo f s o l a r p a n e l s , a n dt os t o r ee x c e s s e n e r g yg e n e r a t e db yt h ep a n e l s w h e n e v e r t h a t e n e r g ye x c e e d s t h e l o a d . $e b a t t e r ye x p e r i e n c e s ac y c l i c a l p r o c e s s o f c h a r g i n g a n dd i s c h a r g i n g , d e p e n d i n g o nt h e p r e s e n c e o r a b s e n c e o f s u n l i g h t . D u r i n gt h e h o u r s t h a t t h e r e i s s u n , t h e a r r a y o f p a n e l s p r o d u c e s e l e c t r i c a l e n e r g y . $e e n e r g y t h a t i s n o t c o n s u m e d i m m e d i a t e l y i s u s e dt oc h a r g e t h e b a t t e r y .

14. OFF-GRID POWER

251

D u r i n gt h eh o u r s o f a b s e n c e o f s u n , a n yd e m a n do f e l e c t r i c a l e n e r g yi s s u p p l i e db y t h e b a t t e r y , t h e r e b y d i s c h a r g i n g i t . $e s e c y c l e s o f c h a r g e a n dd i s c h a r g e o c c u r w h e n e v e r t h e e n e r g y p r o d u c e d b yt h ep a n e l s d o e s n o t m a t c ht h ee n e r g yr e q u i r e dt os u p p o r t t h el o a d . Wh e nt h e r e i s s u N c i e n t s u na n dt h e l o a di s l i g h t , t h e b a t t e r i e s w i l l c h a r g e . O b v i o u s l y , t h eb a t t e r i e s w i l l d i s c h a r g ea t n i g h t w h e n e v e r a n ya m o u n t o f p o w e r i s r e q u i r e d . $e b a t t e r i e s w i l l a l s od i s c h a r g e w h e nt h e i r r a d i a n c e i s i n s u N c i e n tt oc o v e rt h er e q u i r e m e n t so ft h el o a d( d u et ot h en a t u r a l v a r i a t i o no f c l i m a t o l o g i c a l c o n d i t i o n s , c l o u d s , d u s t , e t c . ) I f t h e b a t t e r yd o e s n o t s t o r ee n o u g he n e r g yt om e e t t h e d e m a n dd u r i n g p e r i o d s w i t h o u t s u n , t h e s y s t e mw i l l b e e x h a u s t e da n dw i l l b e u n a v a i l a b l e f o r c o n s u m p t i o n . O nt h e o t h e r h a n d , o v e r s i z i n g t h e s y s t e m( b y a d d i n g f a r t o om a n yp a n e l sa n db a t t e r i e s )i se x p e n s i v ea n di n e N c i e n t .Wh e n d e s i g n i n gas t a n d a l o n es y s t e mw e n e e dt or e a c hac o m p r o m i s eb e t w e e n t h e c o s t o f c o m p o n e n t s a n dt h e a v a i l a b i l i t y o f p o w e r f r o mt h e s y s t e m . O n ew a yt od ot h i si st oe s t i m a t et h er e q u i r e dn u m b e ro fd a y so f a u t o n o m y . I nt h ec a s eo f at e l e c o m m u n i c a t i o n s s y s t e m , t h en u m b e r o f d a y s o f a u t o n o m yd e p e n d s o ni t sc r i t i c a l f u n c t i o nw i t h i ny o u r n e t w o r k d e s i g n . I f t h e e q u i p m e n t i s g o i n gt os e r v e a s a r e p e a t e r a n di s p a r t o f t h e b a c k b o n eo fy o u rn e t w o r k ,y o uw i l ll i k e l yw a n tt od e s i g ny o u r p h o t o v o l t a i c s y s t e mw i t ha na u t o n o m y o f u p t o 5 7 d a y s . O nt h eo t h e rh a n d ,i f t h es o l a rs y s t e mi sr e s p o n s i b l ef o rap r o v i d i n g e n e r g yt oc l i e n t e q u i p m e n t y o uc a np r o b a b l yr e d u c en u m b e r o f d a y s o f a u t o n o m yt ot w oo r t h r e e . I na r e a s w i t hl o wi r r a d i a n c e , t h i s v a l u em a y n e e dt ob e i n c r e a s e de v e nm o r e . I na n yc a s e , y o uw i l l a l w a y s h a v e t o0 n d t h e p r o p e r b a l a n c e b e t w e e nc o s t a n dr e l i a b i l i t y . T y p e s o f b a t t e r i e s Ma n yd i 1 e r e n t b a t t e r yt e c h n o l o g i e s e x i s t , a n da r ei n t e n d e df o r u s ei na v a r i e t yo f d i 1 e r e n t a p p l i c a t i o n s . $ em o s t s u i t a b l et y p ef o r p h o t o v o l t a i c a p p l i c a t i o n s i s t h e s t a t i o n a r y b a t t e r y , d e s i g n e dt oh a v e a 0 x e dl o c a t i o na n d f o rs c e n a r i o sw h e r et h ep o w e rc o n s u m p t i o ni sm o r eo rl e s si r r e g u l a r . " S t a t i o n a r y "b a t t e r i e sc a na c c o m m o d a t ed e e pd i s c h a r g ec y c l e s , b u t t h e y a r e n o t d e s i g n e d t o p r o d u c e h i g hc u r r e n t s i nb r i e f p e r i o d s o f t i m e . S t a t i o n a r yb a t t e r i e s c a nu s e a ne l e c t r o l y t e t h a t i s a l k a l i n e ( s u c ha s N i c k e l C a d m i u m ) o r a c i d i c ( s u c ha s L e a d A c i d ) .

252

PLANNING AND DEPLOYMENT

S t a t i o n a r y b a t t e r i e s b a s e d o nN i c k e l C a d m i u ma r e r e c o m m e n d e df o r t h e i r h i g hr e l i a b i l i t y a n dr e s i s t a n c e w h e n e v e r p o s s i b l e . U n f o r t u n a t e l y , t h e yt e n dt ob em u c hm o r ee x p e n s i v ea n dd i N c u l tt o o b t a i nt h a ns e a l e d l e a d a c i db a t t e r i e s . I nm a n y c a s e s w h e ni t i s d i N c u l t t o0 n dl o c a l , g o o da n dc h e a ps t a t i o n a r y b a t t e r i e s( i m p o r t i n gb a t t e r i e si sn o tc h e a p ) , y o uw i l l b ef o r c e dt ou s e b a t t e r i e s t a r g e t e dt o t h e a u t o m o b i l e m a r k e t . U s i n g c a r b a t t e r i e s A u t o m o b i l eb a t t e r i e s a r en o t w e l l s u i t e df o r p h o t o v o l t a i ca p p l i c a t i o n s a s t h e ya r ed e s i g n e dt op r o v i d eas u b s t a n t i a l c u r r e n tf o rj u s tf e ws e c o n d s ( w h e ns t a r t i n g t h e ne n g i n e ) r a t h e r t h a ns u s t a i n i n gal o wc u r r e n t f o r l o n g p e r i o do ft i m e .$ i sd e s i g nc h a r a c t e r i s t i co fc a rb a t t e r i e s( a l s oc a l l e d t r a c t i o nb a t t e r i e s )r e s u l t si n as h o r t e n e de 1 e c t i v el i f ew h e nu s e di n p h o t o v o l t a i c s y s t e m s . T r a c t i o nb a t t e r i e s c a nb eu s e di ns m a l l a p p l i c a t i o n s w h e r el o wc o s ti st h em o s ti m p o r t a n tc o n s i d e r a t i o n ,o rw h e no t h e r b a t t e r i e s a r e n o t a v a i l a b l e . T r a c t i o nb a t t e r i e sa r ed e s i g n e df o rv e h i c l e sa n de l e c t r i cw h e e l b a r r o w s . $e y a r e c h e a p e r t h a ns t a t i o n a r yb a t t e r i e s a n dc a ns e r v e i na p h o t o v o l t a i c i n s t a l l a t i o n ,a l t h o u g ht h e yr e q u i r ev e r yf r e q u e n tm a i n t e n a n c e .$ e s e b a t t e r i e s s h o u l dn e v e r b ed e e p l yd i s c h a r g e d , b e c a u s e d o i n g s ow i l l g r e a t l y r e d u c et h e i ra b i l i t yt oh o l d ac h a r g e .A t r u c kb a t t e r ys h o u l dn o tb e d i s c h a r g e dt om o r et h a n7 0 %o f i t s t o t a l c a p a c i t y . $i s m e a n s t h a t y o u c a no n l y u s e a m a x i m u mo f 3 0 %o f a l e a d a c i db a t t e r y ' s n o m i n a l c a p a c i t y b e f o r e i t m u s t b e r e c h a r g e d . Y o uc a ne x t e n dt h e l i f e o f a l e a d a c i db a t t e r yb y u s i n gd i s t i l l e dw a t e r . B y u s i n gad e n s i m e t e ro rh y d r o m e t e r , y o uc a nm e a s u r et h ed e n s i t yo f t h e b a t t e r y ' s e l e c t r o l y t e . At y p i c a l b a t t e r y h a s s p e c i 0 c g r a v i t y o f 1 . 2 8 . A d d i n g d i s t i l l e dw a t e r a n dl o w e r i n g t h e d e n s i t y t o1 . 2 c a nh e l pr e d u c e t h e a n o d e ' s c o r r o s i o n , a t a c o s t o f r e d u c i n g t h e o v e r a l l c a p a c i t yo f t h e b a t t e r y . I f y o ua d j u s tt h ed e n s i t yo fb a t t e r ye l e c t r o l y t e , y o um u s tu s ed i s t i l l e d w a t e r , a s t a pw a t e r o r w e l l w a t e r w i l l p e r m a n e n t l y d a m a g e t h e b a t t e r y . S t a t e s o f c h a r g e $e r e a r e t w o s p e c i a l s t a t e s o f c h a r g e t h a t c a nt a k e p l a c e d u r i n g t h e c y c l i c c h a r g e a n dd i s c h a r g e o f t h e b a t t e r y . $e y s h o u l db o t hb e a v o i d e d i no r d e r t o p r e s e r v e t h e u s e f u l l i f e o f t h e b a t t e r y .

14. OFF-GRID POWER

253

1 .1 . O v e r c h a r g e O v e r c h a r g e t a k e s p l a c e w h e nt h e b a t t e r y a r r i v e s a t t h e l i m i t o f i t s c a p a c i t y . I f e n e r g y i s a p p l i e dt oa b a t t e r y b e y o n di t s p o i n t o f m a x i m u mc h a r g e , t h e e l e c t r o l y t e b e g i n s t o b r e a k d o w n . $i s p r o d u c e s b u b b l e s o f o x y g e na n dh y d r o g e n , i nap r o c e s s i s k n o w na s g a s i 0 c a t i o n .$ i sr e s u l t si n al o s so fw a t e r ,o x i d a t i o no nt h ep o s i t i v e e l e c t r o d e , a n di ne x t r e m e c a s e s , a d a n g e r o f e x p l o s i o n . O nt h eo t h e r h a n d , t h ep r e s e n c eo f g a sa v o i d s t h es t r a t i 0 c a t i o no f t h e a c i d . A f t e rs e v e r a l c o n t i n u o u sc y c l e so fc h a r g ea n dd i s c h a r g e , t h ea c i d t e n d s t oc o n c e n t r a t e i t s e l f a t t h e b o t t o mo f t h e b a t t e r yt h e r e b yr e d u c i n g t h ee 1 e c t i v ec a p a c i t y . $ ep r o c e s s o f g a s i 0 c a t i o na g i t a t e st h ee l e c t r o l y t e a n da v o i d s s t r a t i 0 c a t i o n . A g a i n ,i ti sn e c e s s a r yt o0 n d ac o m p r o m i s eb e t w e e nt h ea d v a n t a g e s ( a v o i d i n g e l e c t r o l y t e s t r a t i 0 c a t i o n ) a n dt h e d i s a d v a n t a g e s ( l o s i n g w a t e r a n d p r o d u c t i o no fh y d r o g e n ) . O n es o l u t i o ni st oa l l o w as l i g h to v e r c h a r g e c o n d i t i o ne v e r y s oo f t e n . O n e t y p i c a l m e t h o d i s t oa l l o wa v o l t a g e o f 2 . 3 5 t o2 . 4V o l t s f o r e a c he l e m e n t o f t h e b a t t e r ye v e r y f e wd a y s , a t 2 5 C . $e r e g u l a t o r s h o u l de n s u r e a p e r i o d i c a n dc o n t r o l l e d o v e r c h a r g e s . 2 . O v e r d i s c h a r g e I nt h e s a m e w a y t h a t t h e r e i s a u p p e r l i m i t , t h e r e i s a l s o a l o w e r l i m i t t oa b a t t e r y ' ss t a t eo fc h a r g e .D i s c h a r g i n gb e y o n dt h a tl i m i tw i l l r e s u l ti n d e t e r i o r a t i o no ft h eb a t t e r y .Wh e nt h ee 1 e c t i v eb a t t e r ys u p p l yi s e x h a u s t e d , t h er e g u l a t o r p r e v e n t s a n ym o r ee n e r g yf r o mb e i n ge x t r a c t e d f r o mt h e b a t t e r y . Wh e nt h e v o l t a g eo f t h e b a t t e r yr e a c h e s t h e m i n i m u m l i m i t o f 1 . 8 5V o l t s p e r c e l l a t 2 5 C , t h er e g u l a t o r d i s c o n n e c t s t h el o a d f r o mt h e b a t t e r y . I ft h ed i s c h a r g eo ft h eb a t t e r yi sv e r yd e e pa n dt h eb a t t e r yr e m a i n s d i s c h a r g e df o ral o n gt i m e , t h r e ee 1 e c t st a k ep l a c e :t h ef o r m a t i o no f c r y s t a l l i s e ds u l p h a t eo nt h eb a t t e r yp l a t e s ,t h el o o s e n i n go ft h ea c t i v e m a t e r i a l o nt h e b a t t e r yp l a t e , a n dp l a t eb u c k l i n g . $e p r o c e s s o f f o r m i n g s t a b l es u l p h a t ec r y s t a l si sc a l l e dh a r ds u l p h a t i o n .$ i si sp a r t i c u l a r l y n e g a t i v ea s i t g e n e r a t e s b i gc r y s t a l s t h a t d on o t t a k e p a r t i na n y c h e m i c a l r e a c t i o na n dc a nm a k e y o u r b a t t e r y u n u s a b l e .

254

PLANNING AND DEPLOYMENT

B a t t e r y P a r a m e t e r s $e m a i np a r a m e t e r s t h a t c h a r a c t e r i s e a b a t t e r y a r e : N o m i n a l V o l t a g e , V : t h e m o s t c o m m o nv a l u e b e i n g 1 2 V . N B a t N o m i n a l C a p a c i t y , C : t h em a x i m u ma m o u n t o f e n e r g yt h a t N B a t c a nb ee x t r a c t e df r o m af u l l yc h a r g e db a t t e r y . I t i s e x p r e s s e di nA m p e r e h o u r s ( A h ) o r Wa t t h o u r s ( Wh ) . $e a m o u n t o f e n e r g y t h a t c a nb e o b t a i n e df r o ma b a t t e r y d e p e n d s o n t h e t i m ei nw h i c ht h ee x t r a c t i o np r o c e s s t a k e s p l a c e . D i s c h a r g i n gab a t t e r y o v e r al o n gp e r i o dw i l l y i e l dm o r ee n e r g yc o m p a r e dt od i s c h a r g i n gt h e s a m e b a t t e r yo v e r as h o r t p e r i o d . $ ec a p a c i t yo f ab a t t e r yi s t h e r e f o r e s p e c i 0 e da t d i 1 e r e n t d i s c h a r g i n gt i m e s . F o r p h o t o v o l t a i c a p p l i c a t i o n s , t h i s t i m e s h o u l db e l o n g e r t h a n1 0 0 h o u r s ( C 1 0 0 ) . Ma x i m u mD e p t ho f D i s c h a r g e , D o Dma : $e d e p t ho f d i s c h a r g e x i s t h e a m o u n t o f e n e r g y e x t r a c t e d f r o ma b a t t e r y i na s i n g l e d i s c h a r g e c y c l e , e x p r e s s e da s a p e r c e n t a g e . $e l i f e e x p e c t a n c y o f a b a t t e r y d e p e n d s o nh o wd e e p l yi t i s d i s c h a r g e di ne a c hc y c l e . $e m a n u f a c t u r e r s h o u l dp r o v i d e g r a p h s t h a t r e l a t e t h e n u m b e r o f c h a r g e d i s c h a r g e c y c l e s t o t h el i f eo f t h eb a t t e r y . A s ag e n e r a l r u l ey o us h o u l da v o i dd i s c h a r g i n ga d e e pc y c l eb a t t e r yb e y o n d5 0 %.T r a c t i o nb a t t e r i e ss h o u l do n l yb e d i s c h a r g e db y a s l i t t l e a s 3 0 %. U s e f u l C a p a c i t y , C : I t i s t h er e a l ( a s i nu s a b l e ) c a p a c i t yo f a U B a t b a t t e r y .I ti se q u a lt ot h ep r o d u c to ft h en o m i n a lc a p a c i t ya n dt h e m a x i m u mD o D . F o re x a m p l e , as t a t i o n a r yb a t t e r yo f n o m i n a l c a p a c i t y ( C 1 0 0 ) o f 1 2 0 A ha n dd e p t ho f d i s c h a r g e o f 7 0 %h a s a u s e f u l c a p a c i t y o f ( 1 2 0x 0 . 7 ) =8 4 A h . Me a s u r i n g t h e s t a t e o f c h a r g e o f t h e b a t t e r y As e a l e dl e a d a c i db a t t e r yo f 1 2V p r o v i d e s d i 1 e r e n t v o l t a g e s d e p e n d i n g o ni t ss t a t eo fc h a r g e . Wh e nt h eb a t t e r yi sf u l l yc h a r g e di na no p e n c i r c u i t , t h e o u t p u t v o l t a g e i s a b o u t 1 2 . 8 V . $e o u t p u t v o l t a g el o w e r s q u i c k l y t o1 2 . 6V w h e nl o a d s a r e a t t a c h e d . A s t h eb a t t e r yi sp r o v i d i n gc o n s t a n tc u r r e n td u r i n go p e r a t i o n , t h eb a t t e r y v o l t a g er e d u c e s l i n e a r l yf r o m1 2 . 6t o1 1 . 6V d e p e n d i n go nt h es t a t eo f c h a r g e .

14. OFF-GRID POWER

255

As e a l e dl e a d a c i db a t t e r i e s p r o v i d e s 9 5 %o f i t s e n e r g y w i t h i nt h i s v o l t a g e r a n g e . I f w e m a k e t h e b r o a da s s u m p t i o nt h a t af u l l yl o a d e db a t t e r yh a s a v o l t a g e o f 1 2 . 6 Vw h e n" f u l l " a n d1 1 . 6 Vw h e n" e m p t y " , w e c a ne s t i m a t e t h a t a b a t t e r y h a s d i s c h a r g e d7 0 %w h e ni t r e a c h e s a v o l t a g e o f 1 1 . 9 V . $e s e v a l u e s a r e o n l y a r o u g ha p p r o x i m a t i o ns i n c e t h e y d e p e n do nt h e l i f e a n dq u a l i t y o f t h e b a t t e r y , t h e t e m p e r a t u r e , e t c .


State of Charge 100% 90% 80% 70% 60% 50% 40% 30% 20% 10% 12V Battery Voltage 12.7 12.5 12.42 12.32 12.2 12.06 11.9 11.75 11.58 11.31 Volts per Cell 2.12 2.08 2.07 2.05 2.03 2.01 1.98 1.96 1.93 1.89

A c c o r d i n g t o t h i s t a b l e , a n dc o n s i d e r i n g t h a t a t r u c k b a t t e r y s h o u l dn o t b e d i s c h a r g e dm o r et h a n2 0 %t o3 0 %, w ec a nd e t e r m i n et h a t t h eu s e f u l c a p a c i t y o f a 1 7 0 A ht r u c k b a t t e r y i s 3 4 A h( 2 0 %) t o5 1 A h( 3 0 %) . U s i n g t h e s a m e t a b l e , w e 0 n dt h a t w e s h o u l dp r o g r a mt h e r e g u l a t o r t op r e v e n t t h e b a t t e r y f r o md i s c h a r g i n g b e l o w1 2 . 3 V . B a t t e r y a n dr e g u l a t o r p r o t e c t i o n $e r m o m a g n e t i cc i r c u i tb r e a k e r so ro n et i m ef u s e sm u s tb eu s e dt o p r o t e c tt h eb a t t e r i e sa n dt h ei n s t a l l a t i o nf r o m s h o r tc i r c u i ta n d m a l f u n c t i o n s . $e r ea r et w ot y p e s o f f u s e s : s l o wb l o w , a n dq u i c kb l o w . S l o wb l o wf u s e s s h o u l db e u s e dw i t hi n d u c t i v e o r c a p a c i t i v e l o a d s w h e r e a h i g hc u r r e n t c a no c c u r a t p o w e r u p . S l o wb l o wf u s e s w i l l a l l o w ah i g h e r c u r r e n t t h a nt h e i r r a t i n gt op a s s f o r as h o r t t i m e . Q u i c kb l o wf u s e s w i l l i m m e d i a t e l y b l o wi f t h e c u r r e n t W o w i n g t h r o u g ht h e mi s h i g h e r t h a nt h e i r r a t i n g .

256

PLANNING AND DEPLOYMENT

$e r e g u l a t o r i s c o n n e c t e dt ot h e b a t t e r ya n dt h e l o a d s , s ot w od i 1 e r e n t k i n d s o f p r o t e c t i o nn e e dt o b e c o n s i d e r e d . O n ef u s es h o u l db ep l a c e db e t w e e nt h eb a t t e r ya n dt h er e g u l a t o r , t o p r o t e c t t h e b a t t e r y f r o ms h o r t c i r c u i t i nc a s e o f r e g u l a t o r f a i l u r e . As e c o n df u s ei sn e e d e dt op r o t e c tt h er e g u l a t o rf r o me x c e s s i v el o a d c u r r e n t . $i s s e c o n df u s e i s n o r m a l l y i n t e g r a t e d i n t o t h e r e g u l a t o r i t s e l f .

F i g u r e O G P9 : Ab a t t e r y b a n k o f 3 6 0 0 A h , c u r r e n t s r e a c h l e v e l s o f 4 5 A d u r i n g c h a r g i n g E v e r yf u s ei sr a t e dw i t h am a x i m u mc u r r e n ta n d am a x i m u mu s a b l e v o l t a g e . $e m a x i m u mc u r r e n t o f t h e f u s e s h o u l db e 2 0 %b i g g e r t h a nt h e m a x i m u mc u r r e n t e x p e c t e d . E v e ni f t h eb a t t e r i e s c a r r yal o wv o l t a g e , a s h o r t c i r c u i t c a nl e a dt oa v e r y h i g hc u r r e n t w h i c hc a ne a s i l y r e a c h s e v e r a l h u n d r e da m p e r e s . L a r g ec u r r e n t s c a nc a u s e0 r e , d a m a g et h ee q u i p m e n t a n db a t t e r i e s , a n d p o s s i b l yc a u s ee l e c t r i cs h o c kt oah u m a nb o d y . I f af u s eb r e a k s , n e v e r r e p l a c e a f u s e w i t ha w i r e o r a h i g h e r r a t e df u s e . F i r s t d e t e r m i n e t h e c a u s e o f t h ep r o b l e m , t h e nr e p l a c et h ef u s ew i t ha n o t h e r o n ew h i c hh a st h e s a m e c h a r a c t e r i s t i c s .

14. OFF-GRID POWER

257

Temperature effects
$e a m b i e n tt e m p e r a t u r eh a ss e v e r a li m p o r t a n te 1 e c t so n t h e c h a r a c t e r i s t i c s o f a b a t t e r y : $e n o m i n a l c a p a c i t yo f a b a t t e r y( t h a t t h e m a n u f a c t u r e r u s u a l l y g i v e s f o r2 5 C ) i n c r e a s e s w i t ht e m p e r a t u r ea t t h er a t eo f a b o u t 1 %/ C .B u t i f t h e t e m p e r a t u r e i s t o oh i g h , t h e c h e m i c a l r e a c t i o n t h a t t a k e s p l a c ei nt h eb a t t e r ya c c e l e r a t e s , w h i c hc a nc a u s et h e s a m e t y p e o f o x i d a t i o nt h a t t a k e s p l a c e d u r i n go v e r c h a r g i n g . $i s w i l lo b v i o u s l yr e d u c et h el i f ee x p e c t a n c yo fa b a t t e r y .$ i s p r o b l e mc a nb e c o m p e n s a t e dp a r t i a l l yi nc a r b a t t e r i e s b y u s i n ga l o wd e n s i t yo f d i s s o l u t i o n( as p e c i 0 cg r a v i t yo f 1 . 2 5w h e nt h e b a t t e r y i s t o t a l l y c h a r g e d ) . A st h et e m p e r a t u r ei sr e d u c e d ,t h eu s e f u ll i f eo ft h eb a t t e r y i n c r e a s e s . B u t i f t h e t e m p e r a t u r e i s t o ol o w , y o ur u nt h e t h e r i s k o f f r e e z i n gt h ee l e c t r o l y t e . $ ef r e e z i n gt e m p e r a t u r ed e p e n d s o n t h ed e n s i t yo f t h es o l u t i o n , w h i c hi s a l s or e l a t e dt ot h es t a t eo f c h a r g e o f t h e b a t t e r y . $e l o w e r t h e d e n s i t y , t h e g r e a t e r t h e r i s k o f f r e e z i n g . I na r e a s o f l o wt e m p e r a t u r e s , y o us h o u l da v o i dd e e p l y d i s c h a r g i n g t h e b a t t e r i e s ( t h a t i s , D o Dm a x i s e 1 e c t i v e l y r e d u c e d . ) $ et e m p e r a t u r ea l s oc h a n g e st h er e l a t i o nb e t w e e nv o l t a g ea n d c h a r g e . I t i s p r e f e r a b l et ou s ear e g u l a t o r w h i c ha d j u s t s t h el o w v o l t a g ed i s c o n n e c ta n d r e c o n n e c tp a r a m e t e r sa c c o r d i n gt o t e m p e r a t u r e . $ et e m p e r a t u r es e n s o r o f t h er e g u l a t o r s h o u l db e 0 x e d t ot h e b a t t e r y u s i n g t a p e o r s o m e o t h e r s i m p l e m e t h o d . I nh o ta r e a si ti si m p o r t a n tt ok e e pt h eb a t t e r i e sa sc o o la s p o s s i b l e . $e b a t t e r i e s m u s t b e s t o r e di na s h a d e da r e a a n dn e v e r g e t d i r e c t s u n l i g h t . I t ' s a l s od e s i r a b l et op l a c et h eb a t t e r i e s o na s m a l l s u p p o r t t oa l l o wa i r t oW o wu n d e r t h e m , t h u s i n c r e a s et h e c o o l i n g .

H o wt o c h o o s e a g o o db a t t e r y C h o o s i n g a g o o d b a t t e r y c a nb e v e r y c h a l l e n g i n g . H i g h c a p a c i t y b a t t e r i e s a r e h e a v y , b u l k y a n de x p e n s i v e t o i m p o r t .

258

PLANNING AND DEPLOYMENT

A2 0 0A hb a t t e r yw e i g h s a r o u n d5 0k g( 1 2 0p o u n d s ) a n di t c a n n o t b e t r a n s p o r t e d a s h a n dl u g g a g e . I f y o uw a n t l o n g l i f e( a s i n>5y e a r s ) a n dm a i n t e n a n c e f r e e b a t t e r i e s b e r e a d y t o p a y t h e p r i c e . Ag o o db a t t e r ys h o u l da l w a y sc o m ew i t hi t st e c h n i c a ls p e c i 0 c a t i o n s , i n c l u d i n gt h e c a p a c i t ya t d i 1 e r e n t d i s c h a r g e r a t e s ( C 2 0 , C 1 0 0 ) , o p e r a t i n g t e m p e r a t u r e , c u t o 1v o l t a g e p o i n t s , a n dr e q u i r e m e n t s f o r c h a r g e r s . $e b a t t e r i e s m u s t b e f r e e o f c r a c k s , l i q u i ds p i l l a g e o r a n y s i g no f d a m a g e , a n db a t t e r y t e r m i n a l s s h o u l db e f r e e o f c o r r o s i o n . A sl a b o r a t o r yt e s t sa r en e c e s s a r yt oo b t a i nc o m p l e t ed a t aa b o u tr e a l c a p a c i t y a n da g i n g , e x p e c t l o t s o f l o wq u a l i t y b a t t e r i e s ( i n c l u d i n g f a k e s ) i n t h e l o c a l m a r k e t s . At y p i c a l p r i c e ( n o t i n c l u d i n g t r a n s p o r t a n di m p o r t t a x ) i s $ 3 4 U S Dp e r A hf o r 1 2 Vl e a d a c i db a t t e r i e s . L i f e e x p e c t a n c y v e r s u s n u m b e r o f c y c l e s B a t t e r i e sa r et h eo n l yc o m p o n e n to fa s o l a rs y s t e m t h a ts h o u l db e a m o r t i s e do v e r a s h o r t p e r i o d a n dr e g u l a r l y r e p l a c e d . Y o uc a ni n c r e a s e t h e u s e f u l l i f e t i m e o f a b a t t e r yb y r e d u c i n g t h e d e p t ho f d i s c h a r g ep e rc y c l e .E v e nd e e pc y c l eb a t t e r i e sw i l lh a v ea ni n c r e a s e d b a t t e r y l i f e i f t h e n u m b e r o f d e e pd i s c h a r g e ( > 3 0 %) c y c l e s i s r e d u c e d . I f y o uc o m p l e t e l yd i s c h a r g e t h e b a t t e r ye v e r yd a y , y o uw i l l t y p i c a l l yn e e d t oc h a n g ei t a f t e r l e s s t h a no n ey e a r . I f y o uu s eo n l y1 / 3o f t h e c a p a c i t y t h eb a t t e r y , i t c a nl a s tm o r et h a n3y e a r s . I t c a nb ec h e a p e rt ob u ya b a t t e r y w i t h3 t i m e s t h e c a p a c i t y t h a nt o c h a n g e t h e b a t t e r y e v e r y y e a r .

The charge regulator


$ ec h a r g er e g u l a t o ri sa l s ok n o w na sac h a r g ec o n t r o l l e r ,av o l t a g e r e g u l a t o r , ac h a r g e d i s c h a r g ec o n t r o l l e ro rac h a r g e d i s c h a r g ea n dl o a d c o n t r o l l e r . $e r e g u l a t o r s i t s b e t w e e nt h e a r r a y o f p a n e l s , t h e b a t t e r i e s , a n d y o u r e q u i p m e n t o r l o a d s . R e m e m b e r t h a t t h e v o l t a g e o f a b a t t e r y , a l t h o u g ha l w a y s c l o s e t o2Vp e r c e l l , v a r i e s a c c o r d i n gt oi t s s t a t eo f c h a r g e . B ym o n i t o r i n gt h e v o l t a g eo f t h e b a t t e r y , t h e r e g u l a t o r p r e v e n t s o v e r c h a r g i n g o r o v e r d i s c h a r g i n g . R e g u l a t o r s u s e di ns o l a r a p p l i c a t i o n s s h o u l db ec o n n e c t e di ns e r i e s : t h e y d i s c o n n e c t t h e a r r a y o f p a n e l s f r o mt h e b a t t e r y t oa v o i d o v e r c h a r g i n g , a n d t h e y d i s c o n n e c t t h e b a t t e r y f r o mt h e l o a dt o a v o i do v e r d i s c h a r g i n g .

14. OFF-GRID POWER

259

$ ec o n n e c t i o na n dd i s c o n n e c t i o ni s d o n eb ym e a n s o f s w i t c h e sw h i c h c a nb eo ft w ot y p e s :e l e c t r o m e c h a n i c a l( r e l a y s )o rs o l i ds t a t e( b i p o l a r t r a n s i s t o r , MO S F E T ) . R e g u l a t o r s s h o u l dn e v e r b e c o n n e c t e d i np a r a l l e l . I no r d e rt op r o t e c t t h eb a t t e r yf r o mg a s i 0 c a t i o n , t h es w i t c ho p e n st h e c h a r g i n gc i r c u i t w h e nt h ev o l t a g ei nt h eb a t t e r yr e a c h e s i t s h i g hv o l t a g e d i s c o n n e c t ( HV D ) o r c u t o 1s e t p o i n t . $e l o wv o l t a g e d i s c o n n e c t ( L V D ) p r e v e n t st h eb a t t e r yf r o mo v e r d i s c h a r g i n gb yd i s c o n n e c t i n go r s h e d d i n g t h el o a d .T op r e v e n tc o n t i n u o u sc o n n e c t i o n sa n dd i s c o n n e c t i o n st h e r e g u l a t o r w i l l n o t c o n n e c t b a c kt h el o a d s u n t i l t h eb a t t e r y r e a c h e s al o w r e c o n n e c t v o l t a g e ( L R V ) . T y p i c a l v a l u e s f o r a 1 2 Vl e a d a c i db a t t e r y a r e :
Voltage Point LVD LRV Constant Voltage Regulated Equalisation HVD Voltage 11.5 12.6 14.3 14.6 15.5

$e m o s t m o d e r nr e g u l a t o r s a r e a l s oa b l e t oa u t o m a t i c a l l yd i s c o n n e c t t h e p a n e l s d u r i n g t h e n i g h t t o a v o i dd i s c h a r g i n g o f t h e b a t t e r y . $e y c a na l s op e r i o d i c a l l yo v e r c h a r g et h e b a t t e r yt oi m p r o v e i t s l i f e , a n d t h e y m a yu s e a m e c h a n i s mk n o w na s p u l s e w i d t hm o d u l a t i o n( P WM) t o p r e v e n t e x c e s s i v e g a s s i n g . A s t h ep e a kp o w e r o p e r a t i n gp o i n t o f t h ea r r a yo f p a n e l s w i l l v a r yw i t h t e m p e r a t u r ea n ds o l a ri l l u m i n a t i o n ,n e w r e g u l a t o r sa r ec a p a b l eo f c o n s t a n t l yt r a c k i n gt h e m a x i m u mp o i n t o f p o w e r o f t h e s o l a r a r r a y . $i s f e a t u r e i s k n o w na s m a x i m u mp o w e r p o i n t t r a c k i n g ( MP P T ) . R e g u l a t o r P a r a m e t e r s Wh e ns e l e c t i n g a r e g u l a t o r f o r y o u r s y s t e m , y o us h o u l da t l e a s t k n o wt h e o p e r a t i n g v o l t a g e a n dt h e m a x i m u mc u r r e n t t h a t t h e r e g u l a t o r c a n h a n d l e . $e o p e r a t i n g v o l t a g e w i l l b e 1 2 , 2 4 , o r 4 8 V . $e m a x i m u mc u r r e n t m u s t b e 2 0 %b i g g e r t h a nt h e c u r r e n t p r o v i d e db y t h e a r r a y o f p a n e l s c o n n e c t e d t ot h e r e g u l a t o r .

260

PLANNING AND DEPLOYMENT

O t h e r f e a t u r e s a n dd a t a o f i n t e r e s t i n c l u d e : S p e c i 0 c v a l u e s f o r L V D , L R Va n dHV D . S u p p o r t f o r t e m p e r a t u r e c o m p e n s a t i o n . $e v o l t a g e t h a t i n d i c a t e s t h e s t a t e o f c h a r g e o f t h e b a t t e r y v a r i e s w i t ht e m p e r a t u r e . F o r t h a t r e a s o n s o m er e g u l a t o r sa r ea b l et o m e a s u r et h eb a t t e r y t e m p e r a t u r ea n dc o r r e c tt h ed i 1 e r e n tc u t o 1a n dr e c o n n e c t i o n v a l u e s . I n s t r u m e n t a t i o na n dg a u g e s .$ e m o s tc o m m o ni n s t r u m e n t s m e a s u r e t h e v o l t a g e o f t h e p a n e l s a n db a t t e r i e s , t h e s t a t e o f c h a r g e ( S o C ) o rD e p t ho fD i s c h a r g e( D o D ) . S o m er e g u l a t o r si n c l u d e s p e c i a la l a r m st oi n d i c a t et h a tt h ep a n e l so rl o a d sh a v eb e e n d i s c o n n e c t e d , L V Do r HV Dh a s b e e nr e a c h e d , e t c .

Converters
$e r e g u l a t o r p r o v i d e s D Cp o w e r a t a s p e c i 0 c v o l t a g e . C o n v e r t e r sa n di n v e r t e r sa r eu s e dt oa d j u s tt h ev o l t a g et om a t c ht h e r e q u i r e m e n t s o f y o u r l o a d . D C / D CC o n v e r t e r s D C / D Cc o n v e r t e r s t r a n s f o r ma c o n t i n u o u s v o l t a g e t oa n o t h e r c o n t i n u o u s v o l t a g e o f a d i 1 e r e n t v a l u e . $e r e a r e t w oc o n v e r s i o nm e t h o d s w h i c hc a n b eu s e dt oa d a p t t h ev o l t a g ef r o mt h eb a t t e r i e s : l i n e a rc o n v e r s i o na n d s w i t c h i n gc o n v e r s i o n . L i n e a rc o n v e r s i o nl o w e r st h ev o l t a g ef r o m t h e b a t t e r i e s b y c o n v e r t i n ge x c e s s e n e r g yt oh e a t . $i s m e t h o di s v e r ys i m p l e b u t i s o b v i o u s l y i n e N c i e n t . S w i t c h i n g c o n v e r s i o ng e n e r a l l y u s e s a m a g n e t i c c o m p o n e n t t ot e m p o r a r i l ys t o r et h ee n e r g ya n dt r a n s f o r mi t t oa n o t h e r v o l t a g e .$er e s u l t i n gv o l t a g ec a nb eg r e a t e r , l e s st h a n , o rt h ei n v e r s e ( n e g a t i v e )o ft h ei n p u tv o l t a g e . $e e N c i e n c yo fa l i n e a rr e g u l a t o r d e c r e a s e sa st h ed i 1 e r e n c eb e t w e e nt h ei n p u tv o l t a g ea n dt h eo u t p u t v o l t a g ei n c r e a s e s . F o r e x a m p l e , i f w e w a n t t oc o n v e r t f r o m1 2V t o6V , t h e l i n e a r r e g u l a t o r w i l l h a v e a ne N c i e n c y o f o n l y 5 0 %. As t a n d a r ds w i t c h i n g r e g u l a t o r h a s a ne N c i e n c y o f a t l e a s t 8 0 %. D C / A CC o n v e r t e r o r I n v e r t e r I n v e r t e r sa r eu s e dw h e ny o u re q u i p m e n tr e q u i r e sA Cp o w e r . I n v e r t e r s c h o pa n di n v e r t t h eD Cc u r r e n t t og e n e r a t eas q u a r ew a v et h a t i s l a t e r 0 l t e r e dt oa p p r o x i m a t eas i n ew a v ea n de l i m i n a t eu n d e s i r e dh a r m o n i c s .

14. OFF-GRID POWER

261

V e r y f e wi n v e r t e r s a c t u a l l y s u p p l y a p u r e s i n e w a v e a s o u t p u t . Mo s t m o d e l s a v a i l a b l e o nt h e m a r k e t p r o d u c e w h a t i s k n o w na s " m o d i 0 e ds i n e w a v e " , a s t h e i r v o l t a g e o u t p u t i s n o t a p u r e s i n u s o i d . Wh e ni t c o m e s t oe N c i e n c y , m o d i 0 e ds i n e w a v e i n v e r t e r s p e r f o r mb e t t e r t h a np u r e s i n u s o i d a l i n v e r t e r s . B e a w a r et h a t n o t a l l t h e e q u i p m e n t w i l l a c c e p t am o d i 0 e ds i n e w a v e a s v o l t a g ei n p u t . Mo s t c o m m o n l y , s o m e l a s e r p r i n t e r s w i l l n o t w o r kw i t ha m o d i 0 e ds i n ew a v ei n v e r t e r . Mo t o r sw i l l w o r k , b u tt h e ym a yc o n s u m e m o r e p o w e r t h a ni f t h e ya r e f e dw i t hap u r e s i n e w a v e . I na d d i t i o n , D C p o w e r s u p p l i e s t e n dt ow a r mu pm o r e , a n da u d i oa m p l i 0 e r s c a ne m i t a b u z z i n g s o u n d . A s i d ef r o mt h et y p eo f w a v e f o r m , s o m ei m p o r t a n t f e a t u r e s o f i n v e r t e r s i n c l u d e : R e l i a b i l i t yi nt h ep r e s e n c eo fs u r g e s . I n v e r t e r s h a v et w op o w e r r a t i n g s : o n ef o r c o n t i n u o u sp o w e r , a n dah i g h e r r a t i n gf o r p e a kp o w e r . $e y a r e c a p a b l e o f p r o v i d i n gt h e p e a kp o w e r f o r a v e r ys h o r t a m o u n t o f t i m e , a s w h e ns t a r t i n g am o t o r . $e i n v e r t e r s h o u l da l s ob e a b l e t os a f e l y i n t e r r u p ti t s e l f ( w i t hac i r c u i t b r e a k e ro rf u s e ) i nt h ee v e n t o f as h o r t c i r c u i t , o r i f t h e r e q u e s t e dp o w e r i s t o o h i g h . C o n v e r s i o ne N c i e n c y . I n v e r t e r s a r e m o s t e N c i e n t w h e np r o v i d i n g 5 0 %t o 9 0 %o f t h e i r c o n t i n u o u s p o w e r r a t i n g . Y o us h o u l ds e l e c ta ni n v e r t e rt h a tm o s tc l o s e l ym a t c h e sy o u rl o a d r e q u i r e m e n t s . $e m a n u f a c t u r e r u s u a l l y p r o v i d e s t h e p e r f o r m a n c e o f t h e i n v e r t e r a t 7 0 % o f i t s n o m i n a l p o w e r . B a t t e r yc h a r g i n g .Ma n yi n v e r t e r sa l s oi n c o r p o r a t et h ei n v e r s e f u n c t i o n :t h ep o s s i b i l i t yo fc h a r g i n gb a t t e r i e si nt h ep r e s e n c eo fa n a l t e r n a t i v e s o u r c e o f c u r r e n t ( g r i d , g e n e r a t o r , e t c ) . $i s t y p e o f i n v e r t e r i s k n o w na s a c h a r g e r / i n v e r t e r . A u t o m a t i cf a l l o v e r .S o m ei n v e r t e r sc a ns w i t c ha u t o m a t i c a l l y b e t w e e nd i 1 e r e n t s o u r c e s o f p o w e r ( g r i d , g e n e r a t o r , s o l a r ) d e p e n d i n go n w h a t i s a v a i l a b l e . Wh e nu s i n gt e l e c o m m u n i c a t i o ne q u i p m e n t , i t i s b e s t t oa v o i dt h e u s e o f D C / A Cc o n v e r t e r sa n df e e dt h e md i r e c t l yf r o m aD Cs o u r c e .Mo s t c o m m u n i c a t i o n s e q u i p m e n t c a na c c e p t a w i d e r a n g e o f i n p u t v o l t a g e .

262

PLANNING AND DEPLOYMENT

Equipment or load
I t s h o u l db eo b v i o u s t h a t a s p o w e r r e q u i r e m e n t s i n c r e a s e , t h e e x p e n s e o f t h e p h o t o v o l t a i c s y s t e ma l s oi n c r e a s e s . I t i s t h e r e f o r e c r i t i c a l t om a t c ht h e s i z e o f t h e s y s t e ma s c l o s e l y a s p o s s i b l e t o t h e e x p e c t e d l o a d . Wh e nd e s i g n i n g t h e s y s t e my o um u s t 0 r s t m a k e a r e a l i s t i c e s t i m a t e o f t h e m a x i m u mc o n s u m p t i o n . O n c e t h e i n s t a l l a t i o ni s i np l a c e , t h e e s t a b l i s h e dm a x i m u mc o n s u m p t i o n m u s t b e r e s p e c t e di no r d e r t o a v o i d f r e q u e n t p o w e r f a i l u r e s . H o m e A p p l i a n c e s
$e u s eo f p h o t o v o l t a i c s o l a r e n e r g yi s n o t r e c o m m e n d e df o r h e a t e x c h a n g e a p p l i c a t i o n s ( e l e c t r i c a l h e a t i n g , r e f r i g e r a t o r s , t o a s t e r s , e t c . ) . Wh e n e v e r p o s s i b l e , e n e r g y s h o u l db e u s e ds p a r i n g l y u s i n g l o wp o w e r a p p l i a n c e s . H e r ea r es o m ep o i n t st ok e e pi nm i n dw h e nc h o o s i n ga p p r o p r i a t e e q u i p m e n t f o r u s e w i t ha s o l a r s y s t e m : $e p h o t o v o l t a i c s o l a r e n e r g y i s s u i t a b l e f o r i l l u m i n a t i o n . I nt h i s c a s e , t h e u s e o f h a l o g e nl i g h t b u l b s o r W u o r e s c e n t l a m p si sm a n d a t o r y .A l t h o u g ht h e s el a m p sa r em o r e e x p e n s i v e , t h e yh a v em u c hb e t t e r e n e r g ye N c i e n c yt h a n i n c a n d e s c e n tl i g h tb u l b s .L E Dl a m p sa r ea l s o ag o o d c h o i c e a s t h e y a r e v e r y e N c i e n t a n da r e f e dw i t hD C . I t i s p o s s i b l e t o u s e p h o t o v o l t a i c p o w e r f o r a p p l i a n c e s t h a t r e q u i r el o wa n dc o n s t a n tc o n s u m p t i o n( a si nat y p i c a l c a s e ,t h eT V ) .S m a l l e rt e l e v i s i o n su s el e s sp o w e rt h a n l a r g e rt e l e v i s i o n s . A l s oc o n s i d e rt h a tab l a c k a n d w h i t e T Vc o n s u m e s a b o u t h a l f t h e p o w e r o f a c o l o u r T V . P h o t o v o l t a i cs o l a re n e r g yi sn o tr e c o m m e n d e df o ra n y a p p l i c a t i o nt h a tt r a n s f o r m se n e r g yi n t oh e a t( t h e r m a l e n e r g y ) . U s e s o l a r h e a t i n g o r b u t a n e a s a na l t e r n a t i v e . C o n v e n t i o n a l a u t o m a t i c w a s h i n g m a c h i n e s w i l l w o r k , b u t y o us h o u l da v o i dt h eu s eo f a n yw a s h i n gp r o g r a m s t h a t i n c l u d e c e n t r i f u g a l w a t e r h e a t i n g . I f y o um u s t u s e a r e f r i g e r a t o r s , i t s h o u l dc o n s u m e a s l i t t l e p o w e r a s p o s s i b l e . $e r ea r es p e c i a l i s e dr e f r i g e r a t o r s t h a t w o r ko nD C , a l t h o u g ht h e i r c o n s u m p t i o nc a nb eq u i t e h i g h( a r o u n d1 0 0 0 Wh / d a y ) .

14. OFF-GRID POWER

263

$e e s t i m a t i o no f t o t a l c o n s u m p t i o ni s a f u n d a m e n t a l s t e pi ns i z i n gy o u r s o l a rs y s t e m . H e r ei s at a b l et h a t g i v e s y o uag e n e r a l i d e ao f t h e p o w e r c o n s u m p t i o nt h a t y o u c a ne x p e c t f r o md i 1 e r e n t a p p l i a n c e s .
Equipment Portable Computer Low Power Lamp Router with one radio VSAT modem PC without LCD PC with LCD 16 port Network switch Consumption (Watts) 30-50 6-10 4-10 15-30 20-30 200-300 6-8

Wi r e l e s s t e l e c o m m u n i c a t i o n s e q u i p m e n t S a v i n g p o w e r b y c h o o s i n g t h e r i g h t g e a r s a v e s a l o t o f m o n e y a n dt r o u b l e . F o r e x a m p l e , a l o n g d i s t a n c e l i n k d o e s n ' t n e c e s s a r i l y n e e da s t r o n g a m p l i 0 e r t h a t d r a w s a l o t o f p o w e r . AWi F i c a r dw i t hg o o dr e c e i v e r s e n s i t i v i t ya n daF r e s n e l z o n et h a t i s a t l e a s t6 0 % c l e a rw i l lw o r kb e t t e rt h a na na m p l i 0 e r ,a n ds a v ep o w e r c o n s u m p t i o na s w e l l . Aw e l l k n o w ns a y i n g o f r a d i o a m a t e u r s a p p l i e s h e r e , t o o : t h e b e s t a m p l i 0 e r i s a g o o da n t e n n a . F u r t h e r m e a s u r e s t or e d u c e p o w e r c o n s u m p t i o ni n c l u d e t h r o t t l i n g t h e C P Us p e e d , r e d u c i n g t r a n s m i t p o w e r t ot h e m i n i m u mv a l u e t h a t i s n e c e s s a r yt op r o v i d e as t a b l el i n k , i n c r e a s i n gt h e l e n g t ho f b e a c o n i n t e r v a l s , a n ds w i t c h i n g t h e s y s t e mo 1d u r i n g t i m e s i t i s n o t n e e d e d . Mo s ta u t o n o m o u ss o l a rs y s t e m sw o r ka t1 2o r2 4v o l t s .P r e f e r a b l y , a w i r e l e s s d e v i c e t h a t r u n s o nD Cv o l t a g es h o u l db eu s e d , o p e r a t i n ga t t h e 1 2 V o l t s t h a t m o s t l e a da c i db a t t e r i e s p r o v i d e . T r a n s f o r m i n g t h e v o l t a g e p r o v i d e d b y t h e b a t t e r y t oA Co r u s i n g a v o l t a g e a t t h e i n p u t o f t h e a c c e s s p o i n t d i 1 e r e n t f r o mt h e v o l t a g eo f t h e b a t t e r y w i l l c a u s e u n n e c e s s a r y e n e r g y l o s s . Ar o u t e r o r a c c e s s p o i n t t h a t a c c e p t s 8 2 0 V o l t s D Ci s p e r f e c t . Mo s t c h e a pA c c e s s P o i n t s h a v eas w i t c h e dm o d e v o l t a g er e g u l a t o r i n s i d e a n dw i l l w o r kt h r o u g hs u c h av o l t a g er a n g ew i t h o u tm o d i 0 c a t i o no r b e c o m i n gh o t ( e v e ni f t h e d e v i c e w a s s h i p p e dw i t ha5o r 1 2V o l t p o w e r s u p p l y ) .

264

PLANNING AND DEPLOYMENT

WA R N I N G : O p e r a t i n g y o u r A c c e s s P o i n t w i t ha p o w e r s u p p l y o t h e r t h a n t h eo n ep r o v i d e db yy o u r m a n u f a c t u r e r w i l l c e r t a i n l yv o i da n y w a r r a n t y , a n dm a y c a u s e d a m a g e t oy o u r e q u i p m e n t . Wh i l e t h e f o l l o w i n gt e c h n i q u e w i l l t y p i c a l l y w o r k a s d e s c r i b e d , r e m e m b e r t h a t s h o u l d y o ua t t e m p t i t , y o u d o s oa t y o u r o w nr i s k . O p e ny o u r A c c e s s P o i n t a n dl o o k n e a r t h e D Ci n p u t f o r t w o r e l a t i v e l y b i g c a p a c i t o r sa n da ni n d u c t o r( af e r r i t et o r o i dw i t hc o p p e rw i r ew r a p p e d a r o u n di t ) . I f t h e y a r e p r e s e n t t h e nt h e d e v i c e h a s a s w i t c h e dm o d e i n p u t , a n dt h em a x i m u mi n p u t v o l t a g es h o u l db es o m e w h a t b e l o wt h ev o l t a g e p r i n t e do n t h e c a p a c i t o r s . U s u a l l y t h e r a t i n g o f t h e s e c a p a c i t o r s i s 1 6 o r 2 5 v o l t s . B e a w a r et h a t a nu n r e g u l a t e dp o w e r s u p p l yh a s ar i p p l ea n dm a yf e e da m u c hh i g h e rv o l t a g ei n t oy o u rA c c e s sP o i n tt h a nt h et y p i c a lv o l t a g e p r i n t e do ni t m a ys u g g e s t . S o , c o n n e c t i n ga nu n r e g u l a t e dp o w e r s u p p l y w i t h2 4 V o l t s t o a d e v i c e w i t h2 5 V o l t c a p a c i t o r s i s n o t a g o o d i d e a . O f c o u r s e , o p e n i n g y o u r d e v i c e w i l l v o i da n y e x i s t i n g w a r r a n t y . D o n o t t r y t oo p e r a t e a nA c c e s s P o i n t a t h i g h e r v o l t a g ei f i t d o e s n ' t h a v e a s w i t c h e d m o d e r e g u l a t o r . I t w i l l g e t h o t , m a l f u n c t i o n , o r b u r n . E q u i p m e n tb a s e do nt r a d i t i o n a l I n t e l x 8 6C P U sa r ep o w e rh u n g r yi n c o m p a r i s o nw i t hR I S C b a s e da r c h i t e c t u r e s a s A R Mo r MI P S . O n e o f t h e b o a r d s w i t hl o w e s t p o w e r c o n s u m p t i o n s i s t h e S o e k r i s p l a t f o r m t h a t u s e sa nA MD E l a n S C 5 2 0p r o c e s s o r . A n o t h e ra l t e r n a t i v et oA MD ( E l a n S C o rG e o d eS C 1 1 0 0 )i st h eu s eo fe q u i p m e n tw i t h MI P S p r o c e s s o r s . MI P Sp r o c e s s o r sh a v eab e t t e rp e r f o r m a n c et h a na nA MD G e o d e a t t h e p r i c e o f c o n s u m i n g b e t w e e n2 0 3 0 %o f m o r e e n e r g y . $e a m o u n t o f p o w e r r e q u i r e db yw i r e l e s s e q u i p m e n t d e p e n d s n o t o n l y o nt h e a r c h i t e c t u r e b u t o nt h e n u m b e r o f n e t w o r ki n t e r f a c e s , r a d i o s , t y p e o f m e m o r y / s t o r a g e a n dt r a N c . A s ag e n e r a l r u l e , aw i r e l e s s b o a r do f l o wc o n s u m p t i o nc o n s u m e s 2t o3 W, a n da2 0 0m Wr a d i oc a r dc o n s u m e sa s m u c ha s 3W. H i g hp o w e r c a r d s ( s u c ha s t h e 4 0 0m WU b i q u i t i ) c o n s u m e a r o u n d6W. Ar e p e a t i n g s t a t i o nw i t ht w o r a d i o s c a n r a n g e b e t w e e n8 a n d1 0 W. A l t h o u g ht h es t a n d a r dI E E E8 0 2 . 1 1i n c o r p o r a t e sap o w e r s a v i n gm o d e ( P S ) m e c h a n i s m , i t s b e n e 0 t i s n o t a s g o o da s y o um i g h t h o p e . $e m a i n m e c h a n i s mf o r e n e r g ys a v i n gi s t oa l l o ws t a t i o n s t op e r i o d i c a l l yp u t t h e i r w i r e l e s s c a r d s t o " s l e e p " b y m e a n s o f a t i m i n g c i r c u i t .

14. OFF-GRID POWER

265

Wh e nt h ew i r e l e s s c a r dw a k e s u pi t v e r i 0 e s i f ab e a c o ne x i s t s , i n d i c a t i n g p e n d i n gt r a N c . $e e n e r g y s a v i n g t h e r e f o r e o n l yt a k e s p l a c e o nt h e c l i e n t s i d e , a s t h ea c c e s s p o i n t a l w a y s n e e d s t or e m a i na w a k et os e n db e a c o n s a n ds t o r et r a N cf o r t h e c l i e n t s . P o w e r s a v i n gm o d e m a yb e i n c o m p a t i b l e b e t w e e ni m p l e m e n t a t i o n s f r o md i 1 e r e n t m a n u f a c t u r e r s , w h i c hc a nc a u s e u n s t a b l e w i r e l e s s c o n n e c t i o n s . I t i s n e a r l y a l w a y s b e s t t o l e a v e p o w e r s a v i n g m o d ed i s a b l e do na l l e q u i p m e n t , a st h ed i N c u l t i e sc r e a t e dw i l l l i k e l y o u t w e i g ht h e m e a g r e a m o u n t o f s a v e dp o w e r . S e l e c t i n g t h e v o l t a g e Mo s t l o wp o w e r s t a n d a l o n e s y s t e m s u s e 1 2 Vb a t t e r y p o w e r a s t h a t i s t h e m o s t c o m m o no p e r a t i o n a l v o l t a g e i ns e a l e d l e a d a c i db a t t e r i e s . Wh e nd e s i g n i n gaw i r e l e s s c o m m u n i c a t i o ns y s t e my o un e e dt ot a k e i n t o c o n s i d e r a t i o nt h em o s t e N c i e n t v o l t a g eo f o p e r a t i o no f y o u r e q u i p m e n t . Wh i l et h ei n p u t v o l t a g ec a na c c e p t aw i d er a n g eo f v a l u e s , y o un e e dt o e n s u r e t h a t t h e o v e r a l l p o w e r c o n s u m p t i o no f t h e s y s t e mi s m i n i m a l . Wi r i n g A ni m p o r t a n tc o m p o n e n to ft h ei n s t a l l a t i o ni st h ew i r i n g ,a sp r o p e r w i r i n gw i l l e n s u r e e N c i e n t e n e r g yt r a n s f e r . S o m eg o o dp r a c t i c e s t h a t y o u s h o u l dc o n s i d e r i n c l u d e : U s eas c r e wt of a s t e nt h ec a b l et ot h eb a t t e r yt e r m i n a l . L o o s e c o n n e c t i o n s w i l l w a s t e p o w e r . S p r e a dV a s e l i n e o r m i n e r a l j e l l yo nt h e b a t t e r yt e r m i n a l s . C o r r o d e dc o n n e c t i o n sh a v ea n i n c r e a s e dr e s i s t a n c e , r e s u l t i n g i nl o s s . Wi r e s i z e i s n o r m a l l y g i v e ni nA m e r i c a nWi r e G a u g e ( A WG ) . D u r i n gy o u rc a l c u l a t i o n sy o uw i l l n e e dt oc o n v e r t b e t w e e nA WG a n d 2 m m t oe s t i m a t ec a b l er e s i s t a n c e . F o r e x a m p l e , a nA WG # 6c a b l eh a s a d i a m e t e r o f 4 . 1 1 m ma n dc a nh a n d l e u p t o 5 5 A . Ac o n v e r s i o nc h a r t ,i n c l u d i n ga ne s t i m a t eo fr e s i s t a n c ea n dc u r r e n t c a r r y i n gc a p a c i t y , i s a v a i l a b l e i nA p p e n d i x D : C a b l e s S i z e s . K e e pi nm i n d t h a t t h e c u r r e n t c a r r y i n gc a p a c i t yc a na l s ov a r yd e p e n d i n g o nt h e t y p e o f i n s u l a t i o na n da p p l i c a t i o n . Wh e ni nd o u b t , c o n s u l t t h e m a n u f a c t u r e r f o r m o r e i n f o r m a t i o n .

266

PLANNING AND DEPLOYMENT

Orientation of the panels


Mo s t o f t h ee n e r g yc o m i n gf r o mt h es u na r r i v e s i nas t r a i g h t l i n e . $e s o l a rm o d u l ew i l lc a p t u r em o r ee n e r g yi fi ti s f a c i n g t h es u n , p e r p e n d i c u l a r t ot h e s t r a i g h t l i n e b e t w e e nt h e p o s i t i o no f t h e i n s t a l l a t i o n a n dt h e s u n . O f c o u r s e , t h e s u n ' s p o s i t i o ni s c o n s t a n t l yc h a n g i n g r e l a t i v e t ot h e e a r t h , s ow e n e e dt o0 n da no p t i m a l p o s i t i o nf o r o u r p a n e l s . $e o r i e n t a t i o no f t h e p a n e l s i s d e t e r m i n e db y t w oa n g l e s , t h e a z i m u t ha a n d t h e i n c l i n a t i o no r e l e v a t i o n . $e a z i m u t hi s t h e a n g l e t h a t m e a s u r e s t h e d e v i a t i o nw i t hr e s p e c t t ot h e s o u t hi nt h e n o r t h e r nh e m i s p h e r e , a n dw i t h r e s p e c t t ot h en o r t hi nt h es o u t h e r nh e m i s p h e r e . $ ei n c l i n a t i o ni s t h e a n g l e f o r m e db y t h e s u r f a c e o f t h e m o d u l e a n d t h e h o r i z o n t a l p l a n e . A z i m u t h Y o us h o u l dh a v e t h e m o d u l e t u r n e dt o w a r d s t h e t e r r e s t r i a l e q u a t o r ( f a c i n g s o u t hi nt h en o r t h e r nh e m i s p h e r e , a n dn o r t hi nt h es o u t h e r n )s ot h a t d u r i n g t h e d a yt h e p a n e l c a t c h e s t h e g r e a t e s t p o s s i b l e a m o u n t o f r a d i a t i o n o ( a =0 ) . I t i s v e r yi m p o r t a n t t h a t n op a r t o f t h e p a n e l s a r e e v e r i ns h a d e ! S t u d y t h e e l e m e n t s t h a t s u r r o u n d t h e p a n e l a r r a y ( t r e e s , b u i l d i n g s , w a l l s , o t h e r p a n e l s , e t c . ) t o b e s u r e t h a t t h e y w i l l n o t c a s t a s h a d o wo n t h e p a n e l s a t a n y t i m e o f t h e d a y o r y e a r . I t i s a c c e p t a b l e t o t u r nt h e p a n e l s 2 0 t o w a r d s t h e e a s t o r t h e w e s t i f n e e d e d( a = 2 0 ) . I n c l i n a t i o n O n c ey o uh a v e0 x e dt h ea z i m u t h ,t h ep a r a m e t e rt h a ti sk e yi no u r c a l c u l a t i o n s i s t h ei n c l i n a t i o no f t h ep a n e l , w h i c hw ew i l l e x p r e s s a s t h e a n g l e b e t a( ) . $e m a x i m u mh e i g h t t h a t t h e s u nr e a c h e s e v e r yd a yw i l l v a r y ,w i t ht h em a x i m u mo nt h ed a yo ft h es u m m e rs o l s t i c ea n dt h e m i n i m u mo n t h e d a y o f t h e w i n t e r s o l s t i c e . I d e a l l y ,t h ep a n e l ss h o u l dt r a c kt h i sv a r i a t i o n , b u tt h i si su s u a l l yn o t p o s s i b l ef o rc o s tr e a s o n s .I ni n s t a l l a t i o n sw i t ht e l e c o m m u n i c a t i o n s e q u i p m e n t i t i s n o r m a l t oi n s t a l l t h e p a n e l s a t a 0 x e di n c l i n a t i o n . I nm o s t t e l e c o m m u n i c a t i o n ss c e n a r i o st h ee n e r g yd e m a n d so ft h es y s t e m a r e c o n s t a n t t h r o u g h o u t t h ey e a r . P r o v i d i n gf o r s u N c i e n t p o w e r d u r i n gt h e " w o r s t m o n t h " w i l l w o r k w e l l f o r t h e r e s t o f t h e y e a r . $ ev a l u eo fs h o u l dm a x i m i s et h er a t i ob e t w e e nt h eo 1 e ra n dt h e d e m a n d f o r e n e r g y .

14. OFF-GRID POWER

267

F o ri n s t a l l a t i o n sw i t hc o n s i s t e n t( o rn e a r l yc o n s i s t e n t )c o n s u m p t i o n t h r o u g h o u t t h e y e a r , i t i s p r e f e r a b l e t oo p t i m i s e t h e i n s t a l l a t i o nt o c a p t u r e t h e m a x i m u mr a d i a t i o nd u r i n g " t h e w i n t e r " m o n t h s . Y o us h o u l du s et h ea b s o l u t ev a l u eo f t h el a t i t u d eo f t h ep l a c e( a n g l eF ) i n c r e a s e db y 1 0 ( =| F | +1 0 ) . F o r i n s t a l l a t i o n s w i t hl e s s c o n s u m p t i o nd u r i n g t h e w i n t e r , t h e v a l u e o f t h e l a t i t u d e o f t h e p l a c e c a nb e u s e da s t h e s o l a r p a n e l i n c l i n a t i o n . $i s w a y t h e s y s t e mi s o p t i m i s e df o r t h e m o n t h s o f s p r i n g a n da u t u m n ( =| F| ) . F o r i n s t a l l a t i o n st h a t a r eo n l yu s e dd u r i n gs u m m e r , y o us h o u l du s et h e a b s o l u t e v a l u e o f t h e l a t i t u d e o f t h e p l a c e ( a n g l e F ) d e c r e a s e db y 1 0 ( =| F | 1 0 ) . $ ei n c l i n a t i o no f t h ep a n e l s h o u l dn e v e r b el e s s t h a n1 5 t oa v o i dt h e a c c u m u l a t i o no f d u s t a n d / o r h u m i d i t y o nt h e p a n e l . I na r e a s w h e r e s n o w a n di c eo c c u r , i t i s v e r yi m p o r t a n t t op r o t e c t t h ep a n e l s a n dt oi n c l i n e t h e ma t a na n g l e o f 6 5 o r g r e a t e r . I f t h e r e i s a c o n s i d e r a b l e i n c r e a s e i nc o n s u m p t i o nd u r i n g t h e s u m m e r , y o u m i g h t c o n s i d e r a r r a n g i n gf o r t w o0 x e di n c l i n a t i o n s , o n ep o s i t i o nf o r t h e m o n t h s o f s u m m e r a n da n o t h e r f o r t h e m o n t h s o f w i n t e r . $i s w o u l dr e q u i r es p e c i a l s u p p o r t s t r u c t u r e s a n dar e g u l a r s c h e d u l ef o r c h a n g i n g t h e p o s i t i o no f t h e p a n e l s .

How to size your photovoltaic system


Wh e nc h o o s i n ge q u i p m e n t t om e e t y o u r p o w e r n e e d s , y o uw i l l n e e dt o d e t e r m i n e t h e f o l l o w i n g , a t a m i n i m u m : $e n u m b e r a n dt y p e o f s o l a r p a n e l s r e q u i r e dt oc a p t u r ee n o u g h s o l a r e n e r g y t o s u p p o r t y o u r l o a d . $ em i n i m u mc a p a c i t yo f t h eb a t t e r y . $ eb a t t e r yw i l l n e e dt o s t o r ee n o u g he n e r g yt op r o v i d e p o w e r a t n i g h t a n dt h r o u g hd a y s w i t hl i t t l es u n ,a n dw i l ld e t e r m i n ey o u rn u m b e ro fd a y so f a u t o n o m y . $e c h a r a c t e r i s t i c s o f a l l o t h e r c o m p o n e n t s ( t h e r e g u l a t o r , w i r i n g , e t c . )n e e d e dt os u p p o r tt h ea m o u n to fp o w e rg e n e r a t e da n d s t o r e d .

268

PLANNING AND DEPLOYMENT

S y s t e m s i z i n gc a l c u l a t i o n sa r ei m p o r t a n t ,b e c a u s eu n l e s st h es y s t e m c o m p o n e n t s a r eb a l a n c e d , e n e r g y( a n du l t i m a t e l y , m o n e y ) i s w a s t e d . F o r e x a m p l e ,i fw ei n s t a l lm o r es o l a rp a n e l st op r o d u c em o r ee n e r g y , t h e b a t t e r i e ss h o u l dh a v ee n o u g hc a p a c i t yt os t o r et h ea d d i t i o n a le n e r g y p r o d u c e d . I f t h e b a n ko f b a t t e r i e s i s t o os m a l l a n dt h e l o a di s n o t u s i n g t h ee n e r g ya si ti sg e n e r a t e d ,t h e ne n e r g ym u s tb et h r o w na w a y .A r e g u l a t o r o f as m a l l e r a m p e r a g et h a nn e e d e d , o r o n es i n g l ec a b l et h a t i s t o os m a l l ,c a nb eac a u s eo ff a i l u r e( o re v e n0 r e )a n dr e n d e rt h e i n s t a l l a t i o nu n u s a b l e . N e v e r f o r g e t t h a t t h ea b i l i t yo f t h ep h o t o v o l t a i ce n e r g yt op r o d u c ea n d s t o r ee l e c t r i c a le n e r g yi sl i m i t e d .A c c i d e n t a l l yl e a v i n go n al i g h tb u l b d u r i n gt h ed a yc a ne a s i l yd r a i ny o u r r e s e r v e s b e f o r e n i g h t t i m e , a t w h i c h p o i n t n o a d d i t i o n a l p o w e r w i l l b e a v a i l a b l e . $e a v a i l a b i l i t yo f " f u e l " f o r p h o t o v o l t a i c s y s t e m s ( i . e . s o l a r r a d i a t i o n ) c a n b e d i N c u l t t o p r e d i c t . I nf a c t , i t i s n e v e r p o s s i b l e t o b e a b s o l u t e l y s u r e t h a t a s t a n d a l o n e s y s t e mi s g o i n g t ob e a b l e t op r o v i d e t h e n e c e s s a r ye n e r g y a t a n yp a r t i c u l a rm o m e n t .S o l a rs y s t e m sa r ed e s i g n e df o ra c e r t a i n c o n s u m p t i o n , a n di f t h e u s e r e x c e e d s t h e p l a n n e dl i m i t s t h e p r o v i s i o no f e n e r g y w i l l f a i l . $e d e s i g nm e t h o d t h a t w e p r o p o s e c o n s i s t s o f c o n s i d e r i n g t h ee n e r g yr e q u i r e m e n t s , a n db a s e do nt h e mt oc a l c u l a t eas y s t e mt h a t w o r k s f o r t h e m a x i m u ma m o u n t o f t i m e s oi t i s a s r e l i a b l e a s p o s s i b l e . O f c o u r s e , i f m o r e p a n e l s a n db a t t e r i e s a r e i n s t a l l e d , m o r e e n e r g yw i l l b e a b l e t o b e c o l l e c t e d a n ds t o r e d . $i s i n c r e a s e o f r e l i a b i l i t y w i l l a l s o h a v e a ni n c r e a s e i nc o s t . I ns o m ep h o t o v o l t a i ci n s t a l l a t i o n s( s u c ha st h ep r o v i s i o no fe n e r g yf o r t e l e c o m m u n i c a t i o n se q u i p m e n to n an e t w o r kb a c k b o n e )t h er e l i a b i l i t y f a c t o r i s m o r e i m p o r t a n t t h a t t h e c o s t . I na c l i e n t i n s t a l l a t i o n , l o wc o s t i s l i k e l yt ob e t h e m o s t i m p o r t a n t f a c t o r . F i n d i n gab a l a n c eb e t w e e nc o s ta n dr e l i a b i l i t yi sn o tae a s yt a s k , b u t w h a t e v e ry o u rs i t u a t i o n ,y o us h o u l db ea b l et od e t e r m i n ew h a ti ti s e x p e c t e d f r o my o u r d e s i g n c h o i c e s , a n da t w h a t p r i c e . $e m e t h o dw e w i l l u s ef o r s i z i n gt h e s y s t e mi s k n o w na s t h e m e t h o do f t h ew o r s t m o n t h . Wes i m p l yc a l c u l a t et h ed i m e n s i o n s o f t h es t a n d a l o n e s y s t e ms oi t w i l l w o r ki nt h em o n t hi nw h i c ht h ed e m a n df o r e n e r g yi s g r e a t e s t w i t hr e s p e c t t ot h e a v a i l a b l e s o l a r e n e r g y . I t i s t h e w o r s t m o n t ho f t h e y e a r , a s t h i s m o n t hw i l l h a v e t h e l a r g e s t r a t i oo f d e m a n d e de n e r g y t o a v a i l a b l e e n e r g y .

14. OFF-GRID POWER

269

U s i n gt h i sm e t h o d , r e l i a b i l i t yi st a k e ni n t oc o n s i d e r a t i o nb y0 x i n gt h e m a x i m u mn u m b e r o f d a y st h a t t h es y s t e mc a nw o r kw i t h o u t r e c e i v i n g s o l a rr a d i a t i o n( t h a ti s ,w h e na l lc o n s u m p t i o ni sm a d es o l e l ya tt h e e x p e n s eo ft h ee n e r g ys t o r e di nt h eb a t t e r y . )$ i si sk n o w na st h e m a x i m u mn u m b e r o f d a y s o f a u t o n o m y ( N ) , a n dc a nb e t h o u g h t o f a s t h e n u m b e r o f c o n s e c u t i v ec l o u d yd a y s w h e nt h ep a n e l s d on o t c o l l e c t a n y s i g n i 0 c a n t a m o u n t o f e n e r g y . Wh e nc h o o s i n g N , i t i s n e c e s s a r y t ok n o wt h e c l i m a t o l o g yo f t h e p l a c e , a s w e l l a s t h e e c o n o m i c a n ds o c i a l r e l e v a n c e o f t h e i n s t a l l a t i o n . Wi l l i t b e u s e dt oi l l u m i n a t e h o u s e s , a h o s p i t a l , a f a c t o r y , f o r a r a d i ol i n k , o r f o rs o m eo t h e ra p p l i c a t i o n ?R e m e m b e rt h a t a sN i n c r e a s e s , s od o e s t h e i n v e s t m e n t i ne q u i p m e n t a n dm a i n t e n a n c e . I t i s a l s oi m p o r t a n t t oe v a l u a t ea l l p o s s i b l el o g i s t i c sc o s t s o f e q u i p m e n t r e p l a c e m e n t . I t i s n o t t h e s a m e t oc h a n g e ad i s c h a r g e db a t t e r yf r o ma ni n s t a l l a t i o ni n t h e m i d d l e o f ac i t y v e r s u s o n ea t t h e t o po f at e l e c o m m u n i c a t i o nt o w e r t h a t i s s e v e r a l h o u r s o r d a y s o f w a l k i n gd i s t a n c e . F i x i n g t h e v a l u e o f Ni s n o t a ne a s yt a s ka s t h e r e a r em a n yf a c t o r s i n v o l v e d , a n dm a n yo f t h e m c a n n o t b e e v a l u a t e de a s i l y . Y o u r e x p e r i e n c e w i l l p l a ya ni m p o r t a n t r o l e i n t h i sp a r to ft h es y s t e ms i z i n g .O n ec o m m o n l yu s e dv a l u ef o rc r i t i c a l t e l e c o m m u n i c a t i o n se q u i p m e n ti sN = 5 , w h e r e a sf o rl o wc o s tc l i e n t e q u i p m e n t i t i s p o s s i b l e t o r e d u c e t h e a u t o n o m y t o N =3 . I nA p p e n d i x E : S o l a r D i m e n s i o n i n g , w e h a v e i n c l u d e ds e v e r a l t a b l e s t h a t w i l l f a c i l i t a t e t h e c o l l e c t i o no f r e q u i r e dd a t a f o r s i z i n gt h e s y s t e m . $e r e s t o f t h i s c h a p t e r w i l l e x p l a i ni nd e t a i l w h a t i n f o r m a t i o ny o un e e dt oc o l l e c t a n de x p l a i nh o wt o u s e t h e m e t h o d o f t h e " w o r s t m o n t h " .

Data to collect
L a t i t u d eo ft h ei n s t a l l a t i o n .R e m e m b e rt ou s ea p o s i t i v es i g ni nt h e n o r t h e r nh e m i s p h e r e a n dn e g a t i v e i nt h e s o u t h . S o l a r r a d i a t i o nd a t a . F o r t h e m e t h o do f t h e " w o r s t m o n t h " i t i s e n o u g ht o k n o wj u s t t w e l v e v a l u e s , o n e f o r e v e r y m o n t h . $e t w e l v e n u m b e r s a r e t h e m o n t h l ya v e r a g e v a l u e s o f d a i l y g l o b a l i r r a d i a t i o no nt h e h o r i z o n t a l p l a n e , 2 G 0 ) , i nk Wh / m p e r d a y . $e m o n t h l y v a l u e i s t h e s u mo f t h e v a l u e s o f d m( g l o b a l i r r a d i a t i o nf o r e v e r yd a yo f t h e m o n t h , d i v i d e db yt h e n u m b e r o f d a y s o f t h e m o n t h .

270

PLANNING AND DEPLOYMENT

I f y o u h a v e t h e d a t a i nJ o u l e s ( J ) , y o u c a na p p l y t h e f o l l o w i n g c o n v e r s i o n :
7 1 J =2 . 7 8 Y1 0 k Wh

$ ei r r a d i a t i o nd a t aG 0 ) o f m a n yp l a c e s o f t h ew o r l di s g a t h e r e di n d m( t a b l e s a n dd a t a b a s e s . Y o us h o u l dc h e c k f o r t h i s i n f o r m a t i o nf r o ma w e a t h e r s t a t i o nc l o s e t o y o u r i m p l e m e n t a t i o ns i t e , b u t d on o t b e s u r p r i s e di f y o uc a n n o t 0 n dt h e d a t a i ne l e c t r o n i c f o r m a t . I t i s a g o o di d e a t o a s kc o m p a n i e s t h a t i n s t a l l p h o t o v o l t a i c s y s t e m s i nt h e r e g i o n , a s t h e i r e x p e r i e n c e c a nb e o f g r e a t v a l u e . D o n o t c o n f u s e " s u nh o u r s " w i t ht h e n u m b e r o f " p e a k s u nh o u r s " . $ en u m b e r o f p e a ks u nh o u r s h a s n o t h i n gt od ow i t ht h en u m b e r o f h o u r s w i t h o u t c l o u d s , b u t r e f e r s t o t h e a m o u n t o f d a i l y i r r a d i a t i o n . Ad a y o f 5 h o u r s o f s u nw i t h o u t c l o u d s d o e s n o t n e c e s s a r i l y h a v e a l l t h o s e h o u r s w i t ht h e s u na t i t s z e n i t h . 2 Ap e a ks u nh o u r i s a n o r m a l i s e dv a l u e o f s o l a r r a d i a t i o no f 1 0 0 0 W/ m a t 2 5 d e g C . S ow h e nw e r e f e r t o5p e a ks u nh o u r s , t h i s i m p l i e s a d a i l y s o l a r 2 r a d i a t i o no f 5 0 0 0 W/ m .

Electrical characteristics of system components


$e e l e c t r i c a l c h a r a c t e r i s t i c s o f t h e c o m p o n e n t s o f y o u r s y s t e ms h o u l db e p r o v i d e db yt h em a n u f a c t u r e r .I ti sa d v i s a b l et om a k ey o u ro u ro w n m e a s u r e m e n t st oc h e c kf o ra n yd e v i a t i o nf r o m t h en o m i n a lv a l u e s . U n f o r t u n a t e l y , d e v i a t i o nf r o mp r o m i s e dv a l u e s c a nb e l a r g e a n ds h o u l db e e x p e c t e d . $e s e a r e t h e m i n i m u mv a l u e s t h a t y o u n e e dt o g a t h e r b e f o r e s t a r t i n g y o u r s y s t e ms i z i n g : P a n e l s Y o un e e dt ok n o wt h e v o l t a g eV n dt h e c u r r e n t I t t h e p o i n t o f P m a xa P m a xa m a x i m u mp o w e r i ns t a n d a r dc o n d i t i o n s . B a t t e r i e s N o m i n a l c a p a c i t y( f o r1 0 0h o u r sd i s c h a r g e )C o p e r a t i o n a l v o l t a g e N B a t, V a n de i t h e rt h em a x i m u md e p t ho fd i s c h a r g eD o Dma r u s e f u l N B a t, xo c a p a c i t y C . U B a t

14. OFF-GRID POWER

271

Y o ua l s on e e dt ok n o wt h e t y p e o f b a t t e r yt h a t y o up l a nt ou s e , w h e t h e r s e a l e d l e a d a c i d , g e l , A G M, m o d i 0 e dt r a c t i o n e t c . $e t y p e o f b a t t e r yi s i m p o r t a n t w h e nd e c i d i n gt h e c u t o 1p o i n t s i nt h e r e g u l a t o r . R e g u l a t o r Y o un e e dt ok n o wt h en o m i n a lv o l t a g eV ,a n dt h em a x i m u m N R e g o p e r a t i o n a l c u r r e n t I . m a x R e g D C / A CC o n v e r t e r / I n v e r t e r I f y o u a r e g o i n g t ou s e a c o n v e r t e r , y o u n e e dt ok n o wt h e n o m i n a l v o l t a g e V , i n s t a n t a n e o u s p o w e r P n dp e r f o r m a n c e a t 7 0 %o f m a x i m u m N C o n v I C o n va l o a dH7 . 0 E q u i p m e n t o r l o a d I t i s n e c e s s a r yt ok n o wt h e n o m i n a l v o l t a g eV n dt h e n o m i n a l p o w e r N C a o f o p e r a t i o nP Cf o r e v e r y p i e c e o f e q u i p m e n t p o w e r e db y t h e s y s t e m . I no r d e rt ok n o wt h et o t a le n e r g yt h a to u ri n s t a l l a t i o ni sg o i n gt o c o n s u m e , i t i s a l s ov e r yi m p o r t a n t t oc o n s i d e r t h e a v e r a g e t i m e e a c hl o a d w i l l b e u s e d . I s i t c o n s t a n t ? O r w i l l i t b e u s e dd a i l y , w e e k l y , m o n t h l y o r a n n u a l l y ? C o n s i d e ra n yc h a n g e si nt h eu s a g et h a tm i g h ti m p a c tt h ea m o u n to f e n e r g y n e e d e d( s e a s o n a l u s a g e , t r a i n i n g o r s c h o o l p e r i o d s , e t c . ) . O t h e r v a r i a b l e s A s i d e f r o mt h e e l e c t r i c a l c h a r a c t e r i s t i c s o f t h e c o m p o n e n t s a n dl o a d , i t i s n e c e s s a r y t o d e c i d e o n t w o m o r e p i e c e s o f i n f o r m a t i o nb e f o r e b e i n g a b l e t o s i z e a p h o t o v o l t a i c s y s t e m . $e s e t w o d e c i s i o n s a r e t h e r e q u i r e dn u m b e r o f d a y s o f a u t o n o m y a n dt h e o p e r a t i o n a l v o l t a g e o f t h e s y s t e m . N , n u m b e r o f d a y s o f a u t o n o m y Y o un e e dt od e c i d eo nav a l u ef o rN t h a t w i l l b a l a n c em e t e o r o l o g i c a l c o n d i t i o n s w i t ht h e t y p e o f i n s t a l l a t i o na n do v e r a l l c o s t s . I t i s i m p o s s i b l e t og i v eac o n c r e t ev a l u eo f Nt h a t i s v a l i df o r e v e r yi n s t a l l a t i o n , b u t t h e n e x t t a b l e g i v e s s o m e r e c o m m e n d e d v a l u e s . T a k et h e s ev a l u e sa sa r o u g ha p p r o x i m a t i o n ,a n dc o n s u l tw i t ha n e x p e r i e n c e dd e s i g n e r t o r e a c ha 0 n a l d e c i s i o n .

272

PLANNING AND DEPLOYMENT Domestic Installation 5 4 3 Critical Installation 10 8 6

Available Sunlight Very Cloudy Variable Sunny

V n o m i n a l v o l t a g e o f t h e i n s t a l l a t i o n N, $ ec o m p o n e n t so fy o u rs y s t e mn e e dt ob ec h o s e nt oo p e r a t ea ta n o m i n a l v o l t a g eV . $ i s v o l t a g e i s u s u a l l y 1 2 o r 2 4 V o l t s f o r s m a l l N s y s t e m s , a n di ft h et o t a lp o w e ro fc o n s u m p t i o ns u r p a s s e s3 k W,t h e v o l t a g e w i l l b e 4 8 V . $e s e l e c t i o no f V s n o t a r b i t r a r y , a n dd e p e n d s o n N i t h ea v a i l a b i l i t yo f e q u i p m e n t . I f t h ee q u i p m e n t a l l o w s i t , t r yt o0 xt h e n o m i n a l v o l t a g et o1 2o r2 4V . Ma n yw i r e l e s s c o m m u n i c a t i o n sb o a r d s a c c e p t a w i d e r a n g e o f i n p u t v o l t a g e a n dc a nb e u s e dw i t h o u t a c o n v e r t e r . I f y o un e e dt op o w e r s e v e r a l t y p e s o f e q u i p m e n t t h a t w o r ka t d i 1 e r e n t n o m i n a l v o l t a g e s , c a l c u l a t et h ev o l t a g et h a t m i n i m i s e s t h e o v e r a l l p o w e r c o n s u m p t i o ni n c l u d i n gt h el o s s e s f o r p o w e r c o n v e r s i o ni nD C / D Ca n d D C / A Cc o n v e r t e r s .

Procedure of calculation
$e r e a r e t h r e e m a i ns t e p s t h a t n e e dt ob e f o l l o w e dt oc a l c u l a t e t h e p r o p e r s i z e o f a s y s t e m : 1 . C a l c u l a t et h ea v a i l a b l es o l a r e n e r g y( t h eo 1 e r ) . B a s e do ns t a t i s t i c a l d a t a o f s o l a r r a d i a t i o n , a n dt h e o r i e n t a t i o na n do p t i m a l i n c l i n a t i o no f t h e s o l a r p a n e l s , w e c a nc a l c u l a t e t h e s o l a r e n e r g y a v a i l a b l e . $e e s t i m a t i o no f s o l a r e n e r g ya v a i l a b l e i s d o n ei nm o n t h l y i n t e r v a l s , r e d u c i n gt h es t a t i s t i c a l d a t at o1 2v a l u e s . $i s e s t i m a t i o ni s ag o o d c o m p r o m i s e b e t w e e np r e c i s i o na n ds i m p l i c i t y . 2 . E s t i m a t et h er e q u i r e de l e c t r i c a l e n e r g y( t h ed e m a n d ) . R e c o r dt h e p o w e r c o n s u m p t i o nc h a r a c t e r i s t i c s o f t h e e q u i p m e n t c h o s e na s w e l l a s e s t i m a t e du s a g e . $e nc a l c u l a t et h e e l e c t r i c a l e n e r g yr e q u i r e do na m o n t h l yb a s i s . Y o u s h o u l dc o n s i d e rt h ee x p e c t e d W u c t u a t i o n so fu s a g ed u et ot h e v a r i a t i o n s b e t w e e nw i n t e r a n ds u m m e r , t h e r a i n y p e r i o d/ d r ys e a s o n , s c h o o l / v a c a t i o np e r i o d s , e t c . $e r e s u l t w i l l b e1 2v a l u e s o f e n e r g y d e m a n d , o n e f o r e a c hm o n t h o f t h e y e a r .

14. OFF-GRID POWER

273

3 . C a l c u l a t e t h e i d e a l s y s t e ms i z e ( t h e r e s u l t ) . Wi t ht h e d a t a f r o mt h e w o r s t m o n t h , w h e nt h e r e l a t i o nb e t w e e nt h e s o l a rd e m a n d e de n e r g ya n dt h ee n e r g ya v a i l a b l ei sg r e a t e s t ,w e c a l c u l a t e : $ ec u r r e n tt h a t t h ea r r a yo fp a n e l sn e e d st op r o v i d e , w h i c hw i l l d e t e r m i n e t h e m i n i m u mn u m b e r o f p a n e l s . $e n e c e s s a r ye n e r g ys t o r a g ec a p a c i t yt oc o v e rt h e m i n i m u m n u m b e ro fd a y so fa u t o n o m y ,w h i c hw i l l d e t e r m i n e t h e r e q u i r e dn u m b e r o f b a t t e r i e s . $e r e q u i r e de l e c t r i c a l c h a r a c t e r i s t i c s o f t h e r e g u l a t o r . $ el e n g t ha n dt h en e c e s s a r ys e c t i o n so f c a b l e s f o rt h e e l e c t r i c a l c o n n e c t i o n s . R e q u i r e d c u r r e n t i n t h e w o r s t m o n t h F o re a c hm o n t hy o un e e dt oc a l c u l a t et h ev a l u eo fI w h i c hi st h e m, m a x i m u md a i l yc u r r e n tt h a ta na r r a yo fp a n e l so p e r a t i n ga tn o m i n a l v o l t a g eo f V e e d s t op r o v i d e , i nad a yw i t hai r r a d i a t i o no f G o r N n d m f m o n t h " m " , f o r p a n e l s w i t ha ni n c l i n a t i o no f d e g r e e s . $e I WO R S TMO N T H) w i l l b e t h e l a r g e s t v a l u e o f I a n dt h e s y s t e m m( m, s i z i n g i s b a s e do n t h e d a t a o f t h a t w o r s t m o n t h . $ ec a l c u l a t i o n so f G ( ) f o r a c e r t a i n p l a c ec a nb em a d eb a s e do n d m G ( 0 ) u s i n g c o m p u t e r s o f t w a r e s u c h a s P V S Y S T d m ( h t t p : / / w w w . p v s y s t . c o m / ) o r P V S O L( h t t p : / / w w w . s o l a r d e s i g n . c o . u k / ) . D u e t ol o s s e s i nt h e r e g u l a t o r a n db a t t e r i e s , a n dd u et ot h e f a c t t h a t t h e p a n e l s d on o t a l w a y s w o r ka t t h e p o i n t o f m a x i m u mp o w e r , t h e r e q u i r e d c u r r e n t I s c a l c u l a t e da s : m MA Xi I . 2 1 I WO R S TMO N T H ) m MA X =1 m( O n c e y o uh a v e d e t e r m i n e dt h e w o r s t m o n t h , t h e v a l u e o f I , a n dt h e m MA X t o t a l e n e r g y t h a t y o ur e q u i r e E ( WO R S T MO N T H) y o u c a n p r o c e e d T O T A L t ot h e0 n a l c a l c u l a t i o n s . E s t h es u mo f a l l D Ca n dA Cl o a d s , i n T O T A Li Wa t t s . T o c a l c u l a t e E e e A p p e n d i x E : S o l a r D i m e n s i o n i n g . T O T A Ls N u m b e r o f p a n e l s B y c o m b i n i n g s o l a r p a n e l s i ns e r i e s a n dp a r a l l e l , w e c a no b t a i nt h e d e s i r e d v o l t a g e a n dc u r r e n t .

274

PLANNING AND DEPLOYMENT

Wh e np a n e l s a r e c o n n e c t e di ns e r i e s , t h e t o t a l v o l t a g e i s e q u a l t ot h e s u m o ft h ei n d i v i d u a l v o l t a g e so fe a c hm o d u l e , w h i l et h ec u r r e n tr e m a i n s u n c h a n g e d . Wh e nc o n n e c t i n gp a n e l s i np a r a l l e l , t h e c u r r e n t s a r e s u m m e d t o g e t h e r w h i l e t h e v o l t a g e r e m a i n s u n c h a n g e d . I t i s v e r yi m p o r t a n t , t ou s e p a n e l s o f n e a r l y i d e n t i c a l c h a r a c t e r i s t i c s w h e n b u i l d i n g a na r r a y . Y o us h o u l dt r y t oa c q u i r e p a n e l s w i t hV b i t b i g g e r t h a nt h e n o m i n a l P m a xa v o l t a g e o f t h e s y s t e m( 1 2 , 2 4 o r 4 8 V ) . R e m e m b e r t h a t y o un e e dt op r o v i d e af e wv o l t s m o r e t h a nt h en o m i n a l v o l t a g eo f t h e b a t t e r yi no r d e r t oc h a r g e i t . I f i t i s n o t p o s s i b l e t o0 n da s i n g l ep a n e l t h a t s a t i s 0 e s y o u r r e q u i r e m e n t s , y o un e e dt oc o n n e c t s e v e r a l p a n e l s i ns e r i e s t o r e a c hy o u r d e s i r e dv o l t a g e . $e n u m b e r o f p a n e l s i ns e r i e s N s e q u a l t ot h e n o m i n a l v o l t a g e o f t h e p si s y s t e md i v i d e db y t h e v o l t a g e o f a s i n g l e p a n e l , r o u n d e du pt ot h e n e a r e s t i n t e g e r . N V p s=V N/ P m a x I no r d e r t oc a l c u l a t e t h e n u m b e r o f p a n e l s i np a r a l l e l ( N ) , y o un e e dt o p p d i v i d e t h e I y t h e c u r r e n t o f a s i n g l e p a n e l a t t h e p o i n t o f m a x i m u m m MA Xb p o w e r I , r o u n d e d u p t o t h e n e a r e s t i n t e g e r . p m a x N I p p=I m MA X/ P m a x $ et o t a l n u m b e r o f p a n e l s i s t h er e s u l t o f m u l t i p l y i n gt h en u m b e r o f p a n e l s i ns e r i e s ( t os e t t h e v o l t a g e ) b y t h e n u m b e r o f p a n e l s i np a r a l l e l ( t o s e t t h e c u r r e n t ) . N N T O T A L =N p s* p p C a p a c i t y o f t h e b a t t e r y o r a c c u m u l a t o r $e b a t t e r y d e t e r m i n e s t h e o v e r a l l v o l t a g e o f t h e s y s t e ma n dn e e d s t o h a v e e n o u g hc a p a c i t yt op r o v i d e e n e r g yt ot h e l o a dw h e nt h e r e i s n o t e n o u g h s o l a r r a d i a t i o n . T oe s t i m a t et h ec a p a c i t yo f o u rb a t t e r y , w e0 r s t c a l c u l a t et h er e q u i r e d e n e r g y c a p a c i t y o f o u r s y s t e m( n e c e s s a r y c a p a c i t y , C N E C ) .

14. OFF-GRID POWER

275

$e n e c e s s a r yc a p a c i t yd e p e n d s o nt h e e n e r g y a v a i l a b l e d u r i n gt h e " w o r s t m o n t h " a n dt h e d e s i r e dn u m b e r o f d a y s o f a u t o n o m y ( N ) . C A h ) =E ( WO R S TMO N T H ) ( Wh ) / V ( V ) * N N E C( T O T A L N $ en o m i n a l c a p a c i t yo f t h eb a t t e r yC e e d s t ob eb i g g e r t h a nt h e N O M n C a s w e c a n n o t f u l l y d i s c h a r g e a b a t t e r y . N E C T oc a l c u l a t et h es i z eo f t h eb a t t e r yw en e e dt oc o n s i d e rt h em a x i m u m d e p t ho f d i s c h a r g e ( D o D ) t h a t t h e b a t t e r y a l l o w s : C A h ) =C ( A h ) / D o D N O M( N E C MA X I no r d e r t oc a l c u l a t e t h e n u m b e r o f b a t t e r i e s i ns e r i e s ( N ) , w e d i v i d e t h e b s n o m i n a l v o l t a g e o f o u r i n s t a l l a t i o n( V b y t h e n o m i n a l v o l t a g e o f a s i n g l e N) b a t t e r y ( V ) : N B a t N =V V b s N/ N B a t R e g u l a t o r O n e i m p o r t a n t w a r n i n g : a l w a y s u s e r e g u l a t o r s i ns e r i e s , n e v e r i np a r a l l e l . I f y o u r r e g u l a t o r d o e s n o t s u p p o r t t h ec u r r e n t r e q u i r e db yy o u r s y s t e m , y o u w i l l n e e dt o b u y a n e wr e g u l a t o r w i t ha l a r g e r w o r k i n g c u r r e n t . F o r s e c u r i t y r e a s o n s , a r e g u l a t o r n e e d s t ob e a b l e t oo p e r a t e w i t ha c u r r e n t I t l e a s t 2 0 %g r e a t e r t h a nt h e m a x i m u mi n t e n s i t y t h a t i s p r o v i d e d b y m a x R e ga t h e a r r a y o f p a n e l s : I . 2 N m a x R e g=1 p pI P Ma x D C / A CI n v e r t e r $e t o t a l e n e r g y n e e d e df o r t h e A Ce q u i p m e n t i s c a l c u l a t e di n c l u d i n ga l l t h e l o s s e s t h a t a r e i n t r o d u c e db y t h e D C / A Cc o n v e r t e r o r i n v e r t e r . Wh e nc h o o s i n ga ni n v e r t e r , k e e pi nm i n dt h a t t h ep e r f o r m a n c eo f t h e i n v e r t e r v a r i e s a c c o r d i n g t o t h e a m o u n t o f r e q u e s t e dp o w e r . A ni n v e r t e r h a s b e t t e r p e r f o r m a n c e c h a r a c t e r i s t i c s w h e no p e r a t i n gc l o s e t o i t s r a t e d p o w e r . U s i n g a1 5 0 0 Wa t ti n v e r t e rt op o w e ra 2 5 Wa t tl o a di se x t r e m e l y i n e N c i e n t .

276

PLANNING AND DEPLOYMENT

I no r d e r t oa v o i dt h i s w a s t e de n e r g y , i t i s i m p o r t a n t t oc o n s i d e r n o t t h e p e a kp o w e r o f a l l y o u r e q u i p m e n t , b u t t h e p e a k p o w e r o f t h e e q u i p m e n t t h a t i s e x p e c t e d t o o p e r a t e s i m u l t a n e o u s l y .

Cables
O n c ey o uk n o wt h en u m b e r so fp a n e l sa n db a t t e r i e s ,a n dt y p eo f r e g u l a t o r s a n di n v e r t e r s t h a t y o uw a n t t ou s e , i t i s n e c e s s a r yt oc a l c u l a t e t h el e n g t ha n dt h et h i c k n e s so ft h ec a b l e sn e e d e dt oc o n n e c tt h e c o m p o n e n t s t o g e t h e r . $e l e n g t hd e p e n d s o nt h el o c a t i o no f y o u r t h ei n s t a l l a t i o n . Y o us h o u l d t r y t om i n i m i s e t h e l e n g t ho f t h e c a b l e s b e t w e e nt h e r e g u l a t o r , p a n e l s , a n d b a t t e r i e s . U s i n g s h o r t c a b l e s w i l l m i n i m i s e l o s t p o w e r a n dc a b l e c o s t s . $ et h i c k n e s sc h o s e ni sb a s e do nt h el e n g t ho ft h ec a b l ea n dt h e m a x i m u mc u r r e n t i t m u s t c a r r y . $e g o a l i s t o m i n i m i s e v o l t a g e d r o p s . I n o r d e r t o c a l c u l a t e t h e t h i c k n e s s S o f t h e c a b l e i t i s n e c e s s a r y t o k n o w : t h e m a x i m u mc u r r e n t I h a t i s g o i n g t oc i r c u l a t e i nt h e MC t c a b l e . I nt h ec a s eo ft h ep a n e l b a t t e r ys u b s y s t e m , i t i s I c a l c u l a t e d f o r e v e r y m o n t h . I n t h e b a t t e r y l o a d m MA X s u b s y s t e mi td e p e n d so nt h ew a yt h a tt h el o a d sa r e c o n n e c t e d ; t h ev o l t a g ed r o p( V V ) t h a t w ec o n s i d e r a c c e p t a b l ei n a b t h ec a b l e . $ ev o l t a g ed r o pt h a t r e s u l t s f r o ma d d i n ga l l p o s s i b l e i n d i v i d u a l d r o p s i s e x p r e s s e da s ap e r c e n t o f t h e n o m i n a l v o l t a g e o f t h e i n s t a l l a t i o n .

T y p i c a l m a x i m u mv a l u e s a r e :
Component Panel Array -> Battery Battery -> Converter Main Line Main Line (Illumination) Main Line (Equipment) Voltage Drop (%of VN) 1,00% 1,00% 3,00% 3,00% 5,00%

14. OFF-GRID POWER

277

T y p i c a l a c c e p t a b l e v o l t a g e d r o p s i n c a b l e s $e s e c t i o no f t h e c a b l e i s d e t e r m i n e d b y O h m ' s L a w :
2 2 S ( m m ) =r ( Z m m / m ) L ( m ) I ( A ) / ( V V ) ( V ) m MA X a b

w h e r e S i s t h e s e c t i o n , r i s r e s i s t i v i t y ( i n t r i n s i c p r o p e r t y o f t h e m a t e r i a l : f o r 2 c o p p e r , 0 . 0 1 2 8 6 b m m/ m ) , a n dLt h e l e n g t h . S i s c h o s e nt a k i n g i n t o c o n s i d e r a t i o nt h e c a b l e s a v a i l a b l e i nt h e m a r k e t . Y o us h o u l dc h o o s et h ei m m e d i a t e l ys u p e r i o rs e c t i o nt ot h eo n et h a t i s o b t a i n e df r o mt h e f o r m u l a . F o r s e c u r i t y r e a s o n s t h e r e a r e s o m e m i n i m u m v a l u e s ,f o rt h ec a b l et h a tc o n n e c t st h ep a n e l sa n db a t t e r y ,t h i si sa 2 2 m i n i m u mo f 6 m m. F o r t h e o t h e r s e c t i o n s , t h e m i n i m u mi s 4 m m.

Cost of a solar installation


Wh i l es o l a re n e r g yi t s e l f i sf r e e , t h ee q u i p m e n t n e e d e dt ot u r ni t i n t o u s e f u l e l e c t r i c e n e r g y i s n o t . Y o un o t o n l yn e e dt ob u ye q u i p m e n t t ot r a n s f o r mt h es o l a re n e r g yi n e l e c t r i c i t ya n ds t o r ei t f o r u s e , b u t y o um u s t a l s or e p l a c ea n dm a i n t a i n v a r i o u s c o m p o n e n t s o f t h e s y s t e m . $e p r o b l e mo f e q u i p m e n t r e p l a c e m e n t i s o f t e no v e r l o o k e d , a n das o l a r s y s t e mi s s o m e t i m e s i m p l e m e n t e dw i t h o u t a p r o p e r m a i n t e n a n c e p l a n . I no r d e rt oc a l c u l a t et h er e a l c o s to fy o u ri n s t a l l a t i o n ,w ei n c l u d ea n i l l u s t r a t i v e e x a m p l e . $e 0 r s t t h i n g t o d o i t i s t o c a l c u l a t e t h e i n i t i a l i n v e s t m e n t c o s t s .
Description 60W Solar (about $4/W) 30A Regulator Wiring (metres) Number Panel 4 1 25 Unit Cost $300 $100 $1/metre $150 Total Subtotal $1,200 $100 $25z $900 $2,225

50 Ah Deep Cycle Batteries 6

278

PLANNING AND DEPLOYMENT

$e c a l c u l a t i o no f t h ei n v e s t m e n t c o s t i s r e l a t i v e l ye a s yo n c et h es y s t e m h a s b e e nd i m e n s i o n e d . Y o uj u s t n e e dt oa d dt h e p r i c e f o r e a c hp i e c e e q u i p m e n t a n dt h e l a b o u r c o s t t o i n s t a l l a n dw i r e t h e e q u i p m e n t t o g e t h e r . F o r s i m p l i c i t y , w ed on o t i n c l u d et h ec o s t s o f t r a n s p o r t a n di n s t a l l a t i o n b u t y o u s h o u l dn o t o v e r l o o k t h e m . T o0 g u r eo u th o wm u c has y s t e mw i l l r e a l l yc o s t t oo p e r a t ew em u s t e s t i m a t e h o wl o n ge a c hp a r t w i l l l a s t a n dh o wo f t e ny o um u s t r e p l a c ei t . I na c c o u n t i n g t e r m i n o l o g y t h i s i s k n o w na s a m o r t i s a t i o n . O u r n e wt a b l e w i l l l o o k l i k e t h i s :
Description 60W Panel Number Unit Cost $300 $100 $1/ metre $150 Total Subtotal $1,200 $100 $25 $900 $2,225 Lifetime(yrs) 20 5 10 5 Annual Cost Yearly Cost $60 $20 $2.50 $180 $262.50

Solar 4 1 25

30A Regulator Wiring (metres)

50Ah Deep 6 cycle batteries

A s y o us e e , o n c et h e0 r s t i n v e s t m e n t h a s b e e nd o n e , a na n n u a l c o s t o f $ 2 6 2 . 5 0 i s e x p e c t e d . $e a n n u a l c o s t i s a ne s t i m a t i o no f t h e r e q u i r e d c a p i t a l p e r y e a r t or e p l a c e t h e s y s t e mc o m p o n e n t s o n c e t h e y r e a c ht h e e n do f t h e i r u s e f u l l i f e .

MAINTENANCE, MONITORING AND SUSTAINABILITY

280

MAINTENANCE, MONITORING AND SUSTAINABILITY

15. MAINTENANCE AND TROUBLESHOOTING


Introduction
H o wy o ue s t a b l i s ht h es u p p o r ti n f r a s t r u c t u r ef o ry o u rn e t w o r ki sa s i m p o r t a n t a s w h a t t y p e o f e q u i p m e n t y o uu s e . U n l i k e w i r e dc o n n e c t i o n s , p r o b l e m s w i t ha w i r e l e s s n e t w o r k a r e o f t e ni n v i s i b l e , a n dc a nr e q u i r e m o r e s k i l l a n dm o r e t i m e t od i a g n o s e a n dr e m e d y . I n t e r f e r e n c e , w i n d , a n dn e w p h y s i c a lo b s t r u c t i o n sc a nc a u s eal o n g r u n n i n gn e t w o r kt of a i l .$i s c h a p t e rd e t a i l sas e r i e s o f s t r a t e g i e st oh e l py o ub u i l dat e a mt h a t c a n s u p p o r t y o u r n e t w o r k e 1 e c t i v e l y . Wea l s od e s c r i b es o m es t a n d a r dt r o u b l e s h o o t i n gt e c h n i q u e st h a th a v e p r o v e ns u c c e s s f u l i ns o l v i n g p r o b l e m s i nn e t w o r k s i ng e n e r a l .

Building your team


E v e r yv i l l a g e , c o m p a n yo rf a m i l yh a si n d i v i d u a l sw h oa r ei n t r i g u e db y t e c h n o l o g y . $e y a r e t h e o n e s f o u n ds p l i c i n gt h e t e l e v i s i o nc a b l e , r e w i r i n g a b r o k e n t e l e v i s i o no rw e l d i n gan e wp i e c et oab i c y c l e . $e s ep e o p l ew i l l t a k e i n t e r e s t i ny o u r n e t w o r ka n dw a n t t ol e a r na s m u c ha b o u t i t a s p o s s i b l e . $o u g ht h e s e p e o p l ea r ei n v a l u a b l er e s o u r c e s , y o um u s t a v o i di m p a r t i n g a l l o f t h e s p e c i a l i s e dk n o w l e d g e o f w i r e l e s s n e t w o r k i n g t o o n l y o n e p e r s o n . I f y o u r o n l y s p e c i a l i s t l o s e s i n t e r e s t o r 0 n d s b e t t e r p a y i n g w o r k s o m e w h e r e e l s e , t h e y t a k e t h e k n o w l e d g e w i t ht h e mw h e nt h e y g o . $e r em a ya l s ob em a n ya m b i t i o u s y o u n ga d u l t s w h ow i l l b ei n t e r e s t e d a n dh a v e t h e t i m e t o l i s t e n , h e l p , a n dl e a r n a b o u t t h e n e t w o r k . A g a i n , t h e ya r ev e r yh e l p f u l a n dw i l l l e a r nq u i c k l y , b u t t h e p r o j e c t t e a m m u s t f o c u s t h e i r a t t e n t i o no nt h o s ew h oa r eb e s t p l a c e dt os u p p o r t t h e n e t w o r k i nt h e c o m i n g m o n t h s a n dy e a r s . Y o u n ga d u l t s a n dt e e n a g e r s w i l l g oo 1t ou n i v e r s i t yo r 0 n de m p l o y m e n t t a k i n g t h e i r k n o w l e d g e a n ds k i l l s a b o u t t h e n e t w o r k w i t ht h e m . $e s ey o u n g s t e r s m a ya l s oh a v el i t t l ei n W u e n c e i nt h e c o m m u n i t y , w h e r e a no l d e r i n d i v i d u a l i s l i k e l yt ob em o r ew e l l k n o w na n dl e s s i m p u l s i v e r e g a r d i n g m a k i n g d e c i s i o n s t h a t a 1 e c t t h e n e t w o r k a s a w h o l e .

15. MAINTENANCE AND TROUBLESHOOTING

281

E v e nt h o u g ht h e s ei n d i v i d u a l sm i g h t h a v el e s s t i m et ol e a r na n dm i g h t a p p e a r t ob e l e s s i n t e r e s t e d , t h e i r i n v o l v e m e n t a n dp r o p e r e d u c a t i o na b o u t t h e s y s t e mc a nb e c r i t i c a l . $e r e f o r e , a k e ys t r a t e g y i nb u i l d i n gas u p p o r t t e a mi s t ob a l a n c e a n dt o d i s t r i b u t e t h e k n o w l e d g e a m o n gt h o s e t h a t a r e b e s t p l a c e dt os u p p o r t t h e n e t w o r k f o r t h e l o n g t e r m . Y o us h o u l di n v o l v ey o u n gp e o p l e , b u t a l o n g s i d et h e mi n v o l v eam i xo f m o r em a t u r ec o n t r i b u t o r s .F i n dp e o p l ew h oa r ec o m m i t t e dt ot h e c o m m u n i t y , w h o h a v e r o o t s i nt h e c o m m u n i t y , w h o a r e m o t i v a t e d t o l e a r n a n dt e a c h .A c o m p l e m e n t a r ys t r a t e g yi st od i v i d eu pt h ed u t i e sa n d f u n c t i o n s , a n dt od o c u m e n t a l l m e t h o d o l o g ya n dp r o c e d u r e s . I nt h i s w a y , p e o p l e c a nb e t r a i n e de a s i l y , a n ds u b s t i t u t e dw i t hl i t t l e e 1 o r t . O no n ep r o j e c tt h et r a i n i n gt e a ms e l e c t e d ab r i g h ty o u n gu n i v e r s i t y g r a d u a t ew h oh a dr e t u r n e dt oh i sv i l l a g e . H ew a sv e r ym o t i v a t e da n d l e a r n e dq u i c k l y . S o o nh e w a s a ne x p e r t i nI Ta n dn e t w o r k i n g s k i l l s a s w e l l a s t h e l o c a l n e t w o r k . H e w a s a b l e t od e a l w i t hm a n yd i 1 e r e n t p r o b l e m s , f r o m0 x i n gaP Ct or e w i r i n gE t h e r n e t c a b l e . U n f o r t u n a t e l y , t w om o n t h s a f t e rt h ep r o j e c tl a u n c hh ew a s o 1 e r e dag o v e r n m e n t j o ba n dl e f tt h e c o m m u n i t y . E v e nab e t t e r s a l a r yc o u l dn o t k e e ph i m , s i n c et h ep r o s p e c t o f as t a b l e g o v e r n m e n tj o bw a st o oa p p e a l i n g .A l lo ft h ek n o w l e d g ea b o u tt h e n e t w o r ka n dh o wt os u p p o r t i t l e f t w i t hh i m . $e t r a i n i n gt e a mh a dt o r e t u r na n db e g i nt h e t r a i n i n g a g a i n , t h i s t i m e w i t hl o c a l p e o p l e w h ow e r e k n o w nt ob e r e m a i n i n g i nt h e v i l l a g e . A l t h o u g ht h i s r e t r a i n i n g t o o km u c h l o n g e r , t h ec o m m u n i t yc o u l db ea s s u r e dt h a t t h ek n o w l e d g ea n ds k i l l s w o u l d r e m a i ni nt h e v i l l a g e f o r a l o n g e r t i m e . I t i s o f t e nb e s t t o0 n da l o c a l p a r t n e r o r g a n i s a t i o no r a l o c a l m a n a g e r , a n d w o r kw i t ht h e mt o0 n dt h er i g h t t e c h n i c a l t e a m . V a l u e s , h i s t o r y , l o c a l p o l i t i c s ,a n dm a n yo t h e rf a c t o r sw i l lb ei m p o r t a n tt ot h e m ,w h i l e r e m a i n i n gc o m p l e t e l yu n f a t h o m a b l et op e o p l ew h oa r en o tf r o mt h a t c o m m u n i t y . $e b e s t a p p r o a c hi s t oc o a c hy o u r l o c a l p a r t n e r , p r o v i d i n g t h e mw i t hs o u n dc r i t e r i a , m a k es u r et h a t t h e yu n d e r s t a n dt h a t c r i t e r i a , a n ds e t0 r mb o u n d a r i e s .S u c hb o u n d a r i e ss h o u l di n c l u d er u l e sa b o u t n e p o t i s ma n dp a t r o n a g e , c o n s i d e r i n g , o f c o u r s e , y o u r o w nl o c a l s i t u a t i o n . I t m a yb ei m p o s s i b l et os a yt h a t y o uc a n n o t h i r ek i n , b u t i t i s b e s t t o p r o v i d e a m e a n s o f c h e c k s a n db a l a n c e s . Wh e r eac a n d i d a t ei s k i n , t h e r es h o u l db ec l e a rc r i t e r i aa n d as e c o n d a u t h o r i t y i nd e c i d i n g u p o nt h e i r c a n d i d a c y .

282

MAINTENANCE, MONITORING AND SUSTAINABILITY

I t i s a l s oi m p o r t a n t t h a t t h el o c a l p a r t n e ri s g i v e na u t h o r i t ya n di s n o t u n d e r m i n e db y t h e p r o j e c t o r g a n i s e r s , t h u s c o m p r o m i s i n gt h e i r a b i l i t yt o m a n a g e . $e y w i l l b e b e s t a b l e t o j u d g e w h o w i l l w o r k b e s t w i t ht h e m . I f t h e y a r e w e l l e d u c a t e d i nt h i s p r o c e s s , t h e ny o u r r e q u i r e m e n t s s h o u l db e s a t i s 0 e d . T r o u b l e s h o o t i n g a n ds u p p o r t o f t e c h n o l o g y i s a na b s t r a c t a r t . $e 0 r s t t i m e y o u l o o k a t a na b s t r a c t p a i n t i n g , i t m a y j u s t l o o kt o y o u l i k e a b u n c ho f r a n d o mp a i n t s p l a t t e r s . A f t e r r e W e c t i n g o nt h e c o m p o s i t i o nf o r at i m e ,y o um a yc o m et oa p p r e c i a t et h ew o r ka saw h o l e ,a n dt h e i n v i s i b l e c o h e r e n c e b e c o m e s v e r y r e a l . $ en e o p h y t el o o k i n ga t aw i r e l e s sn e t w o r km a ys e et h ea n t e n n a s a n d w i r e s a n dc o m p u t e r s , b u t i t c a nt a k eaw h i l ef o r t h e mt oa p p r e c i a t e t h e p o i n t o f t h e i n v i s i b l e n e t w o r k . I nr u r a l a r e a s , i t c a no f t e nt a k eah u g e l e a po f u n d e r s t a n d i n gb e f o r el o c a l sw i l l a p p r e c i a t ea ni n v i s i b l en e t w o r k t h a t i s s i m p l yd r o p p e di n t ot h e i r v i l l a g e . $e r e f o r e , ap h a s e da p p r o a c hi s n e e d e dt oe a s e p e o p l e i n t o s u p p o r t i n g t e c h n o l o g y s y s t e m s . A g a i n , t h e b e s t m e t h o d i s i n v o l v e m e n t . O n c et h ep a r t i c i p a n t s a r ec h o s e na n dc o m m i t t e dt ot h ep r o j e c t , i n v o l v e t h e ma s m u c ha s p o s s i b l e . L e t t h e m" d r i v e " . G i v e t h e mt h e c a b l e c r i m p e r o r k e y b o a r da n ds h o wt h e mh o wt od o t h e w o r k . E v e ni f y o ud o n o t h a v e t i m e t oe x p l a i ne v e r y d e t a i l a n de v e ni f i t w i l l t a k e l o n g e r , t h e y n e e dt ob e i n v o l v e dp h y s i c a l l y a n ds e e n o t o n l yw h a t h a s b e e nd o n e , b u t h o wm u c h w o r k w a s d o n e . $e s c i e n t i 0 c m e t h o d i s t a u g h t i nm a n y s c h o o l s a n du n i v e r s i t i e s . Ma n yp e o p l el e a r na b o u t i t b yt h et i m et h e yr e a c hh i g h s c h o o l s c i e n c e c l a s s . S i m p l yp u t , a n s w e r s a r ea c h i e v e da n dp r o b l e m s s o l v e db yt a k i n ga s e t o f p o s s i b i l i t i e s , t h e ns l o w l y e l i m i n a t i n g t h e mt h r o u g hb i n a r y t e s t s u n t i l y o u a r e l e f t w i t ho n e o r o n l y a f e wp o s s i b i l i t i e s . Wi t h t h o s e p o s s i b i l i t i e s i nm i n d , y o u c o m p l e t e t h e e x p e r i m e n t . Y o ut h e nt e s tt os e ei f t h ee x p e r i m e n t y i e l d ss o m e t h i n gs i m i l a rt ot h e e x p e c t e dr e s u l t . I f i t d i dn o t , y o ur e c a l c u l a t e y o u r e x p e c t e dr e s u l t a n dt r y a g a i n .A y o u n gp e r s o ny o um i g h tb et h i n k i n go fe m p l o y i n gi ny o u r p r o j e c t m a y h a v e b e e ni n t r o d u c e dt ot h e c o n c e p t , b u t l i k e l y w i l l n o t h a v e h a dt h e o p p o r t u n i t y t o t r o u b l e s h o o t c o m p l e x p r o b l e m s . E v e ni f t h e y a r e f a m i l i a r w i t ht h e s c i e n t i 0 c m e t h o d , t h e y m i g h t n o t t h i n k t oa p p l yi tt or e s o l v i n gr e a lp r o b l e m s .$ i sm e t h o di sv e r ye 1 e c t i v e , a l t h o u g ht i m ec o n s u m i n g .I tc a nb es p e du pb ym a k i n gl o g i c a l a s s u m p t i o n s . F o r e x a m p l e , i f al o n g r u n n i n ga c c e s s p o i n t s u d d e n l ys t o p s w o r k i n ga f t e r a s t o r m , y o um i g h t s u s p e c t a p o w e r s u p p l y r e l a t e dp r o b l e m a n dt h u s s k i p m o s t o f t h e p r o c e d u r e .

15. MAINTENANCE AND TROUBLESHOOTING

283

P e o p l ec h a r g e dw i t hs u p p o r t i n gt e c h n o l o g ys h o u l db et a u g h th o wt o t r o u b l e s h o o t u s i n g t h i s m e t h o d , a s t h e r e w i l l b e t i m e s w h e nt h e p r o b l e mi s n e i t h e r k n o w nn o r e v i d e n t . S i m p l ed e c i s i o nt r e e s o r W o wc h a r t s c a nb e m a d e t h a t t e s t v a r i a b l e s , a n dt h e n e l i m i n a t i o n o f t h e v a r i a b l e s t o i s o l a t e t h e p r o b l e mc a nb e s u g g e s t e d . O f c o u r s e , t h e s e c h a r t s s h o u l dn o t b e f o l l o w e d b l i n d l y . I t i s o f t e ne a s i e r t ot e a c ht h i s m e t h o du s i n gan o nt e c h n o l o g i c a l p r o b l e m 0 r s t .F o re x a m p l e ,h a v ey o u rs t u d e n td e v e l o p ap r o b l e m r e s o l u t i o n p r o c e d u r eo ns o m e t h i n gs i m p l ea n df a m i l i a r ,l i k ea b a t t e r yp o w e r e d t e l e v i s i o n . S t a r t b ys a b o t a g i n gt h et e l e v i s i o n . G i v et h e m ab a t t e r yt h a t i s n o t c h a r g e d . D i s c o n n e c t t h e a e r i a l . I n s e r t a b r o k e nf u s e . T e s t t h e s t u d e n t , m a k i n g i t c l e a r t h a t e a c hp r o b l e mw i l l s h o ws p e c i 0 c s y m p t o m s , a n dp o i n t t h e w a ya s t oh o wt op r o c e e d . O n c e t h e yh a v e0 x e dt h et e l e v i s i o n , h a v e t h e ma p p l y t h i s p r o c e d u r e t oa m o r e c o m p l i c a t e dp r o b l e m . I na n e t w o r k , y o uc a nc h a n g ea nI Pa d d r e s s , s w i t c ho rd a m a g ec a b l e s , u s e t h ew r o n g S S I D , o r o r i e n t t h e a n t e n n a i nt h e w r o n gd i r e c t i o n . I t i s i m p o r t a n t t h a t t h e y d e v e l o pa m e t h o d o l o g y a n dp r o c e d u r e t o r e s o l v e t h e s e p r o b l e m s .

Proper troubleshooting techniques


N ot r o u b l e s h o o t i n gm e t h o d o l o g yc a nc o m p l e t e l yc o v e r a l l p r o b l e m s y o u w i l l e n c o u n t e r w h e nw o r k i n gw i t hw i r e l e s s n e t w o r k s . B u t o f t e n , p r o b l e m s c o m ed o w nt oo n eo f af e wc o m m o nm i s t a k e s . H e r ea r eaf e ws i m p l e p o i n t s t ok e e pi nm i n dt h a t c a ng e t y o u r t r o u b l e s h o o t i n g e 1 o r t w o r k i n g i nt h e r i g h t d i r e c t i o n . D o n ' t p a n i c . I f y o ua r e t r o u b l e s h o o t i n ga s y s t e m , i t m e a n s t h a t i t w a s w o r k i n ga t o n et i m e , p r o b a b l y v e r yr e c e n t l y . B e f o r e j u m p i n g i na n d m a k i n g c h a n g e s , s u r v e y t h e s c e n e a n da s s e s s e x a c t l y w h a t i s b r o k e n . I f y o uh a v eh i s t o r i c a l l o g s o r s t a t i s t i c s t ow o r kf r o m , a l l t h eb e t t e r .I fo t h e r sw e r eu s i n gi tb e f o r ei ts t a r t e dh a v i n g p r o b l e m s , a s kt h e mt oh e l py o ub y h a v i n g t h e mt e l l y o uw h a t w a s h a p p e n i n gb e f o r ei ts t o p p e dw o r k i n g .B et h o r o u g h , b u td o n ' t m a k e i t s o u n dl i k e y o u a r e a c c u s i n g t h e mo f b r e a k i n g i t . $e ym a yh a v ei m p o r t a n ti n f o r m a t i o nt h a tw i l lh e l py o u0 x t h i n g s a n dy o uw a n t t h e mt ob eo ny o u r s i d e . B e s u r e t oc o l l e c t i n f o r m a t i o n0 r s t , s oy o uc a nm a k ea ni n f o r m e dd e c i s i o nb e f o r e m a k i n g c h a n g e s .

284

MAINTENANCE, MONITORING AND SUSTAINABILITY

Ma k ea b a c k u p . $i s a p p l i e s b e f o r e y o un o t i c ep r o b l e m s , a s w e l l a s a f t e r . I f y o um a k e ac o m p l i c a t e ds o f t w a r ec h a n g e t oas y s t e m , h a v i n gab a c k u pm e a n st h a t y o uc a nq u i c k l yr e s t o r ei t t ot h e p r e v i o u ss e t t i n g sa n ds t a r ta g a i n .Wh e nt r o u b l e s h o o t i n gv e r y c o m p l e xp r o b l e m s , h a v i n gac o n 0 g u r a t i o nt h a t s o r t o f w o r k s c a nb em u c hb e t t e r t h a nh a v i n gam e s s t h a t d o e s n t w o r ka t a l l ( a n dt h a t y o u c a n t e a s i l y r e s t o r e f r o mm e m o r y ) . E v e ni na b r o k e nc o n 0 g u r a t i o n , m a k e a b a c k u pc o p yo f t h e p a r t s o ft h es y s t e my o uw i l lb ec h a n g i n gb e f o r ey o ut r yt om a k e s i g n i 0 c a n t c h a n g e s . I f y o u r c h a n g e s r e s u l t i na ne v e nw o r s e s t a t e t h a nw h e ny o u0 r s t s t a r t e dw o r k i n go ni t , y o uw i l l a t l e a s t h a v e a k n o w n s i t u a t i o nt o g o b a c kt o . I s i t p l u g g e di n ? $i s s t e pi s o f t e no v e r l o o k e du n t i l m a n yo t h e r a v e n u e s a r ee x p l o r e d . P l u g s c a nb ea c c i d e n t a l l y( o r i n t e n t i o n a l l y ) u n p l u g g e dv e r ye a s i l y . I st h el e a dc o n n e c t e dt oag o o dp o w e r s o u r c e ? I s t h eo t h e r e n dc o n n e c t e dt oy o u r d e v i c e ? I s t h ep o w e r l i g h t o n ? I t m a ys o u n ds i l l y , b u t y o uw i l l f e e l e v e ns i l l i e r i f y o u s p e n dal o t o f t i m ec h e c k i n go u t a na n t e n n af e e dl i n eo n l yt o r e a l i s et h a t t h eA Pw a s u n p l u g g e dt h ee n t i r et i m e . T r u s t m e , i t h a p p e n s m o r e o f t e nt h a nm o s t o f u s w o u l d c a r e t o a d m i t . Wh a t w a s t h e l a s t t h i n g c h a n g e d ? I f y o ua r e t h e o n l y p e r s o nw i t h a c c e s s t ot h e s y s t e m , w h a t i s t h e l a s t c h a n g e y o um a d e ? I f o t h e r s h a v e a c c e s s t oi t , w h a t i s t h el a s t c h a n g et h e ym a d ea n dw h e n ? Wh e nw a st h el a s tt i m et h es y s t e m w o r k e d ?O f t e n ,s y s t e m c h a n g e sh a v eu n i n t e n d e d c o n s e q u e n c e st h a tm a yn o tb e i m m e d i a t e l y n o t i c e d . R o l l b a c kt h a t c h a n g e a n ds e e w h a t e 1 e c t i t h a s o n t h e p r o b l e m . L o o ka td a t e / t i m e s t a m p so n0 l e s .E v e r y0 l eo n am o d e r n c o m p u t e r s y s t e mh a s ad a t e& t i m ea s s o c i a t e dw i t hi t s h o w i n g w h e ni tw a sc r e a t e do rl a s tc h a n g e d .O n ap r o p e r l yr u n n i n g s y s t e m , m o s t o f t h es y s t e m0 l e s w i l l h a v ed a t e / t i m e s t a m p s f r o m m o n t h s o r e v e ny e a r s a g o . I f t h e s y s t e mo r n e t w o r kw a s r u n n i n g 0 n e u n t i l a nh o u r o r s oa g o , 0 l e s w h i c hh a v e a t i m e s t a m pw i t h i n t h ep a s t f e wm i n u t e s t oa nh o u r a g oc o u l dp r o v i d ec l u e s a b o u t w h a t c h a n g e d .

15. MAINTENANCE AND TROUBLESHOOTING

285

$ ek n o w ng o o d .$ i si d e aa p p l i e st oh a r d w a r e ,a sw e l la s s o f t w a r e . Ak n o w ng o o d i s a n y c o m p o n e n t t h a t y o u c a nr e p l a c e i n a c o m p l e x s y s t e mt o v e r i f y t h a t i t s c o u n t e r p a r t i s i ng o o d , w o r k i n g c o n d i t i o n . F o r e x a m p l e , y o um a y c a r r y a t e s t e dE t h e r n e t c a b l e i n at o o l k i t . I f y o us u s p e c t p r o b l e m s w i t hac a b l e i nt h e 0 e l d , y o u c a ne a s i l ys w a po u t t h es u s p e c t c a b l e w i t ht h ek n o w ng o o da n d s e ei f t h i n g si m p r o v e . $i si s m u c hf a s t e ra n dl e s s e r r o r p r o n e t h a nr e c r i m p i n g a c a b l e , a n di m m e d i a t e l y t e l l s y o ui f t h e c h a n g e 0 x e s t h e p r o b l e m . L i k e w i s e , y o um a ya l s o p a c ka b a c k u pb a t t e r y , a n t e n n a c a b l e , o r aC DR O Mw i t hak n o w ng o o dc o n 0 g u r a t i o n f o rt h es y s t e m . Wh e n0 x i n gc o m p l i c a t e dp r o b l e m s , s a v i n gy o u r w o r ka t a g i v e np o i n t l e t s y o ur e t u r nt oi t a s a k n o w ng o o d , e v e n i f t h e p r o b l e mi s n o t y e t c o m p l e t e l y s o l v e d . D e t e r m i n ew h a ts t i l lw o r k s .$ i sw i l lh e l py o u" p u taf e n c e a r o u n dt h ep r o b l e m " .Wh i l ec o m p l e xs y s t e m sl i k ea w i r e l e s s n e t w o r kc a nb em a d eu po fm a n yd i 1 e r e n tc o m p o n e n t s , i t i s l i k e l y t h a t t h e p r o b l e mi s o n l y w i t ha v e r y s m a l l n u m b e r o f t h e m . I f , f o r e x a m p l e , s o m e b o d y i na l a bc o m p l a i n s t h e y c a n ' t a c c e s s t h e I n t e r n e t , c h e c kt os e ei f o t h e r s i nt h es a m e l a ba r ee x p e r i e n c i n g t h es a m ep r o b l e m .I st h e r ec o n n e c t i v i t yi na n o t h e rl a bo r e l s e w h e r e i nt h e b u i l d i n g ? I f t h e p r o b l e mi s j u s t w i t ho n e u s e r o r w i t h i no n e r o o m , y o uw o u l dw a n t t oc o n c e n t r a t e y o u r e 1 o r t s o n t h ee q u i p m e n t i nj u s t t h a t o n es p a c e . I f t h eo u t a g ew e r em o r e w i d e s p r e a d , p e r h a p s l o o k i n g a t t h e e q u i p m e n t w h e r e y o u r o u t s i d e c o n n e c t i o n s c o m e i ni s m o r e a p p r o p r i a t e . D on oh a r m . I f y o ud o n ' t f u l l yu n d e r s t a n dh o wa s y s t e mw o r k s , d o n ' tb ea f r a i dt oc a l li na ne x p e r t . I fy o ua r en o ts u r ei fa p a r t i c u l a r c h a n g ew i l l d a m a g ea n o t h e r p a r t o f t h es y s t e m , t h e n e i t h e r 0 n ds o m e o n e w i t hm o r e e x p e r i e n c e t oh e l py o uo r d e v i s e a w a yt ot e s t y o u r c h a n g ew i t h o u t d o i n gd a m a g e . P u t t i n gap e n n y i np l a c e o f af u s e m a ys o l v e t h e i m m e d i a t ep r o b l e m , b u t i t m a y a l s o b u r nd o w nt h e b u i l d i n g . Y o u r t r o u b l e s h o o t i n gt e a mw i l l n e e dt oh a v eg o o dt r o u b l e s h o o t i n gs k i l l s , b u t m a yn o t b ec o m p e t e n t e n o u g ht oc o n 0 g u r e ar o u t e r f r o ms c r a t c ho r c r i m pa p i e c e o f L MR 4 0 0 .

286

MAINTENANCE, MONITORING AND SUSTAINABILITY

I t i s o f t e nm u c hm o r e e N c i e n t t oh a v e an u m b e r o f b a c k u pc o m p o n e n t s o n h a n d , a n dt r a i ny o u r t e a mt ob ea b l et os w a po u t t h ee n t i r eb r o k e n p a r t . $i s c o u l dm e a nh a v i n g a na c c e s s p o i n t o r r o u t e r p r e c o n 0 g u r e da n d s i t t i n gi na l o c k e dc a b i n e t , p l a i n l yl a b e l l e da n ds t o r e dw i t hb a c k u pc a b l e s a n dp o w e r s u p p l i e s . Y o u r t e a mc a ns w a po u t t h e f a i l e dc o m p o n e n t , a n d e i t h e rs e n dt h eb r o k e np a r t t oa ne x p e r t f o rr e p a i r , o ra r r a n g et oh a v e a n o t h e r b a c k u ps e n t i n . A s s u m i n gt h a t t h eb a c k u p s a r ek e p t s e c u r ea n da r er e p l a c e dw h e nu s e d , t h i s c a ns a v e a l o t o f t i m e f o r e v e r y o n e .

Common network problems


N o ww e w i l l t a k e a l o o ka t s o m e c o m m o nn e t w o r kp r o b l e m s t h a t y o ua r e a l m o s t c e r t a i nt o f a c e . O f t e n ,c o n n e c t i v i t yp r o b l e m sc o m ef r o m f a i l e dc o m p o n e n t s ,a d v e r s e w e a t h e r , o r s i m p l e m i s c o n 0 g u r a t i o n . O n c ey o u rn e t w o r ki sc o n n e c t e dt ot h eI n t e r n e t o ro p e n e du pt ot h e g e n e r a lp u b l i c , c o n s i d e r a b l et h r e a t sw i l l c o m ef r o mt h en e t w o r ku s e r s t h e m s e l v e s . $e s et h r e a t s c a nr a n g e f r o mt h e b e n i g nt ot h e o u t r i g h t m a l e v o l e n t , b u t a l l w i l l h a v e i m p a c t o ny o u r n e t w o r ki f i t i s n o t p r o p e r l yc o n 0 g u r e d . $i s s e c t i o nl o o k s a t s o m e c o m m o np r o b l e m s f o u n do n c ey o u r n e t w o r ki s i n u s e . L o c a l l y h o s t e d w e b s i t e s I f a u n i v e r s i t y h o s t s i t s w e b s i t e l o c a l l y , v i s i t o r s t ot h e w e b s i t e f r o mo u t s i d e t h ec a m p u s a n dt h er e s t o f t h ew o r l dw i l l c o m p e t ew i t ht h e u n i v e r s i t y ' s s t a 1f o r I n t e r n e t b a n d w i d t h . $i si n c l u d e sa u t o m a t e da c c e s sf r o m s e a r c he n g i n e st h a tp e r i o d i c a l l y s p i d e r y o u r e n t i r e s i t e . O n e s o l u t i o nt o t h i s p r o b l e mi s t o u s e s p l i t D N Sa n dm i r r o r i n g . T h eu n i v e r s i t ym i r r o r sac o p yo fi t sw e b s i t e st o as e r v e ra t ,s a y ,a E u r o p e a nh o s t i n gc o m p a n y , a n du s e s s p l i t D N St od i r e c t a l l u s e r s f r o m o u t s i d et h eu n i v e r s i t yn e t w o r kt ot h em i r r o rs i t e ,w h i l eu s e r so nt h e u n i v e r s i t y n e t w o r k a c c e s s t h e s a m e s i t e l o c a l l y .

15. MAINTENANCE AND TROUBLESHOOTING

287

F i g u r e MT1 : I nE x a m p l e 1 , a l l w e b s i t e t r a M c c o m i n g f r o mt h e I n t e r n e t m u s t t r a v e r s e t h e V S A T . I nE x a m p l e 2 , t h e p u b l i c w e b s i t e i s h o s t e d o n a f a s t E u r o p e a n s e r v i c e , w h i l e a c o p y i s k e p t o n a n i n t e r n a l s e r v e r f o r v e r y f a s t l o c a l a c c e s s . i s i m p r o v e s t h e V S A Tc o n n e c t i o na n d r e d u c e s l o a d t i m e s f o r w e b s i t e u s e r s .

O p e np r o x i e s Ap r o x y s e r v e r s h o u l db e c o n 0 g u r e dt oa c c e p t o n l yc o n n e c t i o n s f r o mt h e u n i v e r s i t y n e t w o r k , n o t f r o mt h e r e s t o f t h e I n t e r n e t . $i s i s b e c a u s e p e o p l e e l s e w h e r e w i l l c o n n e c t a n du s eo p e np r o x i e s f o r a v a r i e t yo f r e a s o n s , s u c ha s t oa v o i dp a y i n gf o r i n t e r n a t i o n a l b a n d w i d t h . $e w a y t oc o n 0 g u r e t h i s d e p e n d s o nt h e p r o x y s e r v e r y o ua r e u s i n g . F o r e x a m p l e , y o uc a ns p e c i f yt h e I Pa d d r e s s r a n g e o f t h e c a m p u s n e t w o r ki n y o u r s q u i d . c o n f 0 l e a s t h e o n l y n e t w o r k t h a t c a nu s e S q u i d . A l t e r n a t i v e l y , i f y o u r p r o x ys e r v e r l i e s b e h i n dab o r d e r 0 r e w a l l , y o uc a n c o n 0 g u r e t h e 0 r e w a l l t oo n l y a l l o wi n t e r n a l h o s t s t oc o n n e c t t ot h e p r o x y p o r t .

288

MAINTENANCE, MONITORING AND SUSTAINABILITY

O p e nr e l a y h o s t s A ni n c o r r e c t l yc o n 0 g u r e dm a i ls e r v e rw i l lb ef o u n db yu n s c r u p u l o u s p e o p l e o nt h e I n t e r n e t , a n db e u s e da s a r e l a y h o s t t os e n db u l ke m a i l a n d s p a m . $e yd ot h i st oh i d et h et r u es o u r c eo ft h es p a m , a n da v o i dg e t t i n g c a u g h t . T o t e s t f o r a no p e nr e l a y h o s t , t h e f o l l o w i n g t e s t s h o u l d b e c a r r i e d o u t o ny o u r m a i l s e r v e r ( o r o nt h e S MT Ps e r v e r t h a t a c t s a s ar e l a y h o s t o nt h e p e r i m e t e r o f t h e c a m p u s n e t w o r k ) . U s e t e l n e t t o o p e na c o n n e c t i o n t o p o r t 2 5 o f t h e s e r v e r i nq u e s t i o n . t e l n e t m a i l . u z z . a c . z z 2 5 $e n , i f a ni n t e r a c t i v ec o m m a n d l i n ec o n v e r s a t i o nc a nt a k ep l a c e( f o r e x a m p l e , a s f o l l o w s ) , t h e s e r v e r i s a no p e nr e l a y h o s t : MA I LF R O M: s p a m m e r @ w a s t e . c o m 2 5 0 O Km a i l f r o m R C P TT O : i n n o c e n t @ u n i v e r s i t y . a c . z z 2 5 0 O Kr c p t t o s p a m m e r @ w a s t e . c o m I n s t e a d , t h e r e p l y a f t e r t h e 0 r s t MA I LF R O Ms h o u l db e s o m e t h i n g l i k e : 5 5 0 R e l a y i n g i s p r o h i b i t e d . A no n l i n e t e s t e r i s a v a i l a b l e a t s i t e s s u c ha s h t t p : / / w w w . m a i l r a d a r . c o m / o p e n r e l a y / o r h t t p : / / w w w . c h e c k o r . c o m / S i n c eb u l ke m a i l e r sh a v ea u t o m a t e dm e t h o d st o0 n ds u c ho p e nr e l a y h o s t s , a ni n s t i t u t i o nt h a td o e sn o tp r o t e c ti t sm a i ls y s t e m si sa l m o s t g u a r a n t e e dt o b e f o u n da n d a b u s e d . C o n 0 g u r i n gt h e m a i l s e r v e r n o t t ob e a no p e nr e l a y c o n s i s t s o f s p e c i f y i n g t h e n e t w o r k s a n dh o s t s t h a t a r e a l l o w e dt or e l a y m a i l t h r o u g ht h e mi nt h e MT A( e g . , S e n d m a i l , P o s t 0 x , E x i m , o r E x c h a n g e ) . $i s w i l l l i k e l y b e t h e I Pa d d r e s s r a n g e o f t h e c a m p u s n e t w o r k .

15. MAINTENANCE AND TROUBLESHOOTING

289

P e e r t o p e e r n e t w o r k i n g B a n d w i d t ha b u s e t h r o u g hp e e r t o p e e r ( P 2 P ) 0 l e s h a r i n g p r o g r a m s c a nb e p r e v e n t e di nt h e f o l l o w i n g w a y . Ma k e i t i m p o s s i b l e t oi n s t a l l n e wp r o g r a m s o nc a m p u s c o m p u t e r s . B y n o t g i v i n g r e g u l a r u s e r s a d m i n i s t r a t i v e a c c e s s t oP Cw o r k s t a t i o n s , i t i s p o s s i b l e t op r e v e n tt h ei n s t a l l a t i o no fb a n d w i d t hh u n g r ya p p l i c a t i o n s .Ma n y i n s t i t u t i o n sa l s os t a n d a r d i s eo nad e s k t o pb u i l d , w h e r et h e yi n s t a l l t h e r e q u i r e do p e r a t i n gs y s t e mo no n eP C . $e yt h e ni n s t a l l a l l t h e n e c e s s a r y a p p l i c a t i o n s o ni t , a n dc o n 0 g u r et h e s e i na no p t i m a l w a y . $e P Ci s a l s o c o n 0 g u r e di na w a y t h a t p r e v e n t s u s e r s f r o mi n s t a l l i n g n e wa p p l i c a t i o n s . A d i s ki m a g e o f t h i s P Ci s t h e nc l o n e dt oa l l o t h e r P C s u s i n g s o f t w a r e s u c h a sP a r t i t i o nI m a g e( s e eh t t p : / / w w w . p a r t i m a g e . o r g / ) o rD r i v eI m a g eP r o ( s e e h t t p : / / w w w . p o w e r q u e s t . c o m / ) . F r o mt i m et ot i m e ,u s e r sm a ys u c c e e di ni n s t a l l i n gn e ws o f t w a r eo r o t h e r w i s ed a m a g i n gt h es o f t w a r eo nt h ec o m p u t e r( c a u s i n gi t t oh a n g o f t e n , f o r e x a m p l e ) . Wh e nt h i s h a p p e n s , a na d m i n i s t r a t o r c a ns i m p l y p u t t h e d i s ki m a g e b a c k , c a u s i n g t h e o p e r a t i n g s y s t e ma n da l l s o f t w a r e o nt h e c o m p u t e r t o b e e x a c t l y a s s p e c i 0 e d . P r o g r a m s t h a t i n s t a l l t h e m s e l v e s ( f r o mt h e I n t e r n e t ) $e r e a r e p r o g r a m s t h a t a u t o m a t i c a l l yi n s t a l l t h e m s e l v e s a n dt h e nk e e po n u s i n g b a n d w i d t h . S o m ep r o g r a m sa r es p y w a r e , w h i c hk e e ps e n d i n gi n f o r m a t i o na b o u ta u s e r ' s b r o w s i n g h a b i t s t o a c o m p a n y s o m e w h e r e o nt h e I n t e r n e t . $e s ep r o g r a m sa r ep r e v e n t a b l et os o m ee x t e n t b yu s e re d u c a t i o na n d l o c k i n gd o w nP C s t op r e v e n t a d m i n i s t r a t i v ea c c e s s f o r n o r m a l u s e r s . I n o t h e r c a s e s , t h e r e a r e s o f t w a r e s o l u t i o n s t o0 n d a n dr e m o v e t h e s e p r o b l e m p r o g r a m s , s u c ha s S p y c h e c k e r ( h t t p : / / w w w . s p y c h e c k e r . c o m / ) . Wi n d o w s u p d a t e s Mi c r o s o f tWi n d o w so p e r a t i n gs y s t e m sa s s u m et h a t ac o m p u t e rw i t ha L A Nc o n n e c t i o nh a sag o o dl i n kt ot h eI n t e r n e t ,a n da u t o m a t i c a l l y d o w n l o a d s s e c u r i t y p a t c h e s , b u g 0 x e s a n df e a t u r e e n h a n c e m e n t s f r o mt h e Mi c r o s o f t We bs i t e . $i s c a nc o n s u m e m a s s i v e a m o u n t s o f b a n d w i d t ho n a ne x p e n s i v e I n t e r n e t l i n k .

290

MAINTENANCE, MONITORING AND SUSTAINABILITY

$e t w o p o s s i b l e a p p r o a c h e s t o t h i s p r o b l e ma r e : D i s a b l eWi n d o w su p d a t e s o na l l w o r k s t a t i o nP C s . $ es e c u r i t y u p d a t e s a r ev e r yi m p o r t a n t f o r s e r v e r s , b u t w h e t h e r w o r k s t a t i o n s i nap r o t e c t e dp r i v a t en e t w o r ks u c ha s ac a m p u s n e t w o r kn e e d t h e mi s d e b a t a b l e . I n s t a l l aS o f t w a r eU p d a t eS e r v e r . $i si saf r e ep r o g r a mf r o m Mi c r o s o f tt h a te n a b l e sy o ut od o w n l o a da l l t h eu p d a t e sf r o m Mi c r o s o f t o v e r n i g h t o n t o a l o c a l s e r v e r a n dd i s t r i b u t e t h e u p d a t e s t oc l i e n t w o r k s t a t i o n s f r o mt h e r e . I nt h i s w a y , Wi n d o w s u p d a t e s n e e dn o t u s e a n yb a n d w i d t ho nt h e I n t e r n e t l i n kd u r i n gt h e d a y . U n f o r t u n a t e l y , a l l c l i e n tP C s n e e dt ob ec o n 0 g u r e dt ou s et h e S o f t w a r e U p d a t e S e r v e r f o r t h i s t o h a v e a ne 1 e c t . I f y o uh a v eaW e x i b l eD N Ss e r v e r , y o uc a na l s oc o n 0 g u r ei t t o a n s w e r r e q u e s t s f o r w i n d o w s u p d a t e . m i c r o s o f t . c o ma n dd i r e c t t h e u p d a t e r t oy o u r u p d a t e s e r v e r . $i s i s o n l y a g o o do p t i o nf o r l a r g e n e t w o r k s , b u t c a ns a v e u n t o l d a m o u n t s o f I n t e r n e t b a n d w i d t h .

P r o g r a m s t h a t a s s u m e a h i g h b a n d w i d t hl i n k I na d d i t i o nt o Wi n d o w su p d a t e s ,m a n yo t h e rp r o g r a m sa n ds e r v i c e s a s s u m et h a tb a n d w i d t hi sn o ta p r o b l e m ,a n dt h e r e f o r ec o n s u m e b a n d w i d t hf o r r e a s o n s t h e u s e r m i g h t n o t p r e d i c t . F o r e x a m p l e , a n t i v i r u s p a c k a g e s( s u c ha sN o r t o nA n t i V i r u s )p e r i o d i c a l l yu p d a t et h e m s e l v e s a u t o m a t i c a l l ya n dd i r e c t l yf r o mt h eI n t e r n e t . I t i s b e t t e r i f t h e s e u p d a t e s a r e d i s t r i b u t e df r o ma l o c a l s e r v e r . O t h e rp r o g r a m s , s u c ha st h eR e a l N e t w o r k sv i d e op l a y e r , a u t o m a t i c a l l y d o w n l o a du p d a t e s a n da d v e r t i s e m e n t s , a sw e l l a su p l o a du s a g ep a t t e r n s b a c kt oas i t eo nt h eI n t e r n e t .I n n o c u o u sl o o k i n ga p p l e t s( l i k e K o n f a b u l a t o r a n dD a s h b o a r dw i d g e t s ) c o n t i n u a l l yp o l l I n t e r n e t h o s t s f o r u p d a t e di n f o r m a t i o n . $e s ec a nb el o wb a n d w i d t hr e q u e s t s ( l i k ew e a t h e r o rn e w s u p d a t e s ) , o rv e r yh i g hb a n d w i d t hr e q u e s t s( s u c ha s w e b c a m s ) . $e s e a p p l i c a t i o n s m a y n e e dt o b e t h r o t t l e do r b l o c k e da l t o g e t h e r . $ el a t e s tv e r s i o n so fWi n d o w sa n d Ma cO SX a l s oh a v eat i m e s y n c h r o n i s a t i o ns e r v i c e .$ i sk e e p st h ec o m p u t e rc l o c ka c c u r a t eb y c o n n e c t i n gt ot i m e s e r v e r s o nt h e I n t e r n e t . I t i s m o r e e N c i e n t t oi n s t a l l a l o c a l t i m es e r v e r a n dd i s t r i b u t ea c c u r a t et i m ef r o mt h e r e , r a t h e r t h a nt o t i e u p t h e I n t e r n e t l i n k w i t ht h e s e r e q u e s t s .

15. MAINTENANCE AND TROUBLESHOOTING

291

Wo r m s a n d v i r u s e s Wo r m sa n dv i r u s e sc a ng e n e r a t ee n o r m o u sa m o u n t so ft r a N c .I ti s t h e r e f o r ee s s e n t i a lt h a ta n t i v i r u sp r o t e c t i o ni si n s t a l l e do na l lP C s . F u r t h e r m o r e , u s e r e d u c a t i o na b o u t e x e c u t i n ga t t a c h m e n t s a n dr e s p o n d i n g t ou n s o l i c i t e de m a i l i se s s e n t i a l . I nf a c t , i t s h o u l db eap o l i c yt h a t n o w o r k s t a t i o no r s e r v e r s h o u l dr u nu n u s e ds e r v i c e s . AP Cs h o u l dn o t h a v e s h a r e s u n l e s s i t i s a 0 l e s e r v e r ; a n da s e r v e r s h o u l d n o t r u n u n n e c e s s a r y s e r v i c e s e i t h e r . F o r e x a m p l e , Wi n d o w s a n dU n i x s e r v e r s t y p i c a l l y r u na w e bs e r v e r s e r v i c e b y d e f a u l t . $i s s h o u l db e d i s a b l e di f t h a t s e r v e r h a s a d i 1 e r e n t f u n c t i o n ; t h e f e w e r s e r v i c e s a c o m p u t e r r u n s , t h e l e s s t h e r e i s t o e x p l o i t . E m a i l f o r w a r d i n g l o o p s O c c a s i o n a l l y , as i n g l eu s e r m a k i n gam i s t a k ec a nc a u s eap r o b l e m . F o r e x a m p l e , a u s e r w h o s e u n i v e r s i t y a c c o u n t i s c o n 0 g u r e dt of o r w a r da l l m a i l t o h e r Y a h o o a c c o u n t . $ eu s e r g o e s o nh o l i d a y . A l l e m a i l s s e n t t oh e r i nh e r a b s e n c ea r es t i l l f o r w a r d e dt o h e r Y a h o o a c c o u n t , w h i c h c a ng r o wt o o n l y 2 MB . Wh e nt h e Y a h o oa c c o u n t b e c o m e s f u l l , i t s t a r t s b o u n c i n g t h e e m a i l s b a c k t ot h eu n i v e r s i t ya c c o u n t ,w h i c hi m m e d i a t e l yf o r w a r d si tb a c kt ot h e Y a h o o a c c o u n t . A ne m a i l l o o pi s f o r m e dt h a t m i g h t s e n dh u n d r e d s o f t h o u s a n d s o f e m a i l s b a c ka n df o r t h , g e n e r a t i n g m a s s i v e t r a N c a n dc r a s h i n g m a i l s e r v e r s . $e r e a r e f e a t u r e s o f m a i l s e r v e r p r o g r a m s t h a t c a nr e c o g n i s e l o o p s . $e s e s h o u l db e t u r n e d o n b y d e f a u l t . A d m i n i s t r a t o r s m u s t a l s o t a k e c a r e t h a t t h e y d o n o t t u r nt h i s f e a t u r e o 1b y m i s t a k e , o r i n s t a l l a nS MT Pf o r w a r d e r t h a t m o d i 0 e s m a i l h e a d e r s i ns u c h a w a y t h a t t h e m a i l s e r v e r d o e s n o t r e c o g n i s e t h e m a i l l o o p . L a r g e d o w n l o a d s Au s e r m a ys t a r t s e v e r a l s i m u l t a n e o u s d o w n l o a d s , o r d o w n l o a dl a r g e 0 l e s s u c ha s 6 5 0 MBI S Oi m a g e s . I nt h i s w a y , a s i n g l e u s e r c a nu s e u p m o s t o f t h e b a n d w i d t h . $e s o l u t i o n s t ot h i s k i n do f p r o b l e ml i e i nt r a i n i n g , o k i n e d o w n l o a d i n g , a n dm o n i t o r i n g .

292

MAINTENANCE, MONITORING AND SUSTAINABILITY

O k i n e d o w n l o a d i n g c a nb e i m p l e m e n t e d i na t l e a s t t w o w a y s : A t t h e U n i v e r s i t yo f Mo r a t u w a , as y s t e mw a s i m p l e m e n t e du s i n g U R Lr e d i r e c t i o n .U s e r sa c c e s s i n gf t p : / /U R L sa r es e r v e da d i r e c t o r y l i s t i n gi nw h i c he a c h0 l e h a s t w ol i n k s : o n ef o r n o r m a l d o w n l o a d i n g , a n dt h e o t h e r f o r o k i n e d o w n l o a d i n g . I f t h e o k i n e l i n k i s s e l e c t e d , t h e s p e c i 0 e d0 l e i s q u e u e df o r l a t e r d o w n l o a da n d t h eu s e r n o t i 0 e db ye m a i l w h e nt h ed o w n l o a di s c o m p l e t e . $e s y s t e mk e e p s ac a c h eo f r e c e n t l yd o w n l o a d e d0 l e s , a n dr e t r i e v e s s u c h0 l e s i m m e d i a t e l y w h e nr e q u e s t e da g a i n . $e d o w n l o a dq u e u e i s s o r t e db y 0 l e s i z e . $e r e f o r e , s m a l l 0 l e s a r e d o w n l o a d e d0 r s t . A s s o m eb a n d w i d t hi sa l l o c a t e dt ot h i ss y s t e me v e nd u r i n gp e a k h o u r s ,u s e r sr e q u e s t i n gs m a l l0 l e sm a yr e c e i v et h e m w i t h i n m i n u t e s , s o m e t i m e s e v e nf a s t e r t h a na no n l i n e d o w n l o a d . A n o t h e r a p p r o a c hw o u l db e t oc r e a t e a w e bi n t e r f a c e w h e r e u s e r s e n t e r t h eU R Lo f t h e0 l et h e yw a n t t od o w n l o a d . $i s i s t h e n d o w n l o a d e do v e r n i g h t u s i n gac r o nj o bo rs c h e d u l e dt a s k . $i s s y s t e mw o u l do n l y w o r kf o r u s e r s w h oa r e n o t i m p a t i e n t , a n da r e f a m i l i a r w i t hw h a t 0 l e s i z e s w o u l db ep r o b l e m a t i cf o r d o w n l o a d d u r i n g t h e w o r k i n g d a y . S e n d i n g l a r g e 0 l e s Wh e nu s e r s n e e dt ot r a n s f e r l a r g e 0 l e s t oc o l l a b o r a t o r s e l s e w h e r e o nt h e I n t e r n e t , t h e y s h o u l db e s h o w nh o wt os c h e d u l e t h e u p l o a d . I nWi n d o w s , a nu p l o a dt oar e m o t e F T Ps e r v e r c a nb ed o n eu s i n ga nF T Ps c r i p t 0 l e , w h i c hi s a t e x t 0 l e c o n t a i n i n g F T Pc o m m a n d s . U s e r s s e n d i n ge a c ho t h e r 0 l e s U s e r s o f t e nn e e dt os e n de a c ho t h e r l a r g e 0 l e s . I t i s a w a s t e o f b a n d w i d t h t os e n dt h e s e v i a t h e I n t e r n e t i f t h e r e c i p i e n t i s l o c a l . A0 l e s h a r e s h o u l d b ec r e a t e do nt h el o c a l Wi n d o w s / S a mb a / Ma cw e bs e r v e r , w h e r ea u s e r c a np u t t h e l a r g e 0 l e f o r o t h e r s t oa c c e s s . A l t e r n a t i v e l y , a w e bf r o n t e n dc a nb e u s e df o r a l o c a l w e bs e r v e r t oa c c e p t a l a r g e 0 l e a n dp l a c e i t i na d o w n l o a da r e a . A f t e r u p l o a d i n g i t t o t h e w e b s e r v e r , t h e u s e r r e c e i v e s a U R Lf o r t h e 0 l e . H e c a nt h e ng i v e t h a t U R Lt oh i s l o c a l o r i n t e r n a t i o n a l c o l l a b o r a t o r s , a n d w h e nt h e y a c c e s s t h a t U R Lt h e y c a nd o w n l o a di t .

15. MAINTENANCE AND TROUBLESHOOTING

293

$i s i s w h a t t h e U n i v e r s i t y o f B r i s t o l h a s d o n e w i t ht h e i r F L U F Fs y s t e m . $ eU n i v e r s i t yo 1 e r saf a c i l i t yf o rt h eu p l o a do fl a r g e0 l e s( F L U F F ) a v a i l a b l e f r o mh t t p : / / w w w . b r i s . a c . u k / i t s e r v i c e s / a p p l i c a t i o n s / E u > / $e r e a r e a l s ot o o l s l i k e S p a r k l e S h a r e ( h t t p : / / s p a r k l e s h a r e . o r g / ) a n dL i p S y n c ( h t t p s : / / g i t h u b . c o m / p h i l c r y e r / l i p s y n c ) w h i c ha r eO p e nS o u r c ep a c k a g e s t h a t y o u c a n i n s t a l l a n d s e t u p y o u r s e l f t o d o m u c h t h e s a m e t h i n g . $e r e a r e a l s on e wo n l i n e f r e e s e r v i c e s s u c ha s G o o g l e D r i v e w h i c hc a nb e s e t u p f o r 0 l e s h a r i n g a n d c o m m o n e d i t i n g . C o n s i d e r u s i n g r s y n c ( h t t p : / / r s y n c . s a m b a . o r g / ) f o r t h o s e u s e r s w h o n e e dt o s e n d e a c h o t h e r t h e s a m e / s i m i l a r l a r g e 0 l e s o n a r e g u l a r b a s i s . $e R s y n c p r o t o c o l i s a s y n c h r o n i s a t i o nr a t h e r t h a na s t r a i g h t f o r w a r d0 l e t r a n s f e r p r o t o c o l . R a t h e r t h a ns i m p l y s e n d i n g a 0 l e f r o ms t a r t t o e n d , i t c h e c k s w i t ha nr s y n c s e r v e r o n t h e d e s t i n a t i o n h o s t t o s e e i f t h e 0 l e b e i n g s e n t a l r e a d y e x i s t s . I f i t d o e s , b o t hs i d e s c o m p a r et h e i r c o p i e s a n dt h e s e n d e r t r a n s m i t s o v e r o n l y t h e d i 1 e r e n c e s t o t h e d e s t i n a t i o n . F o r e x a m p l e , i f a 1 0MBd a t a b a s e o f r e s e a r c hd a t a o n l y h a s 2 3K Bo f n e w d a t a v s . t h e l a s t v e r s i o n , o n l y t h e 2 3 K Bo f c h a n g e s w i l l b e t r a n s m i t t e d . R s y n c c a na l s o u s e t h e S S Hp r o t o c o l , p r o v i d i n g a s e c u r e t r a n s p o r t l a y e r f o r s y n c a c t i o n s .

Trouble tracking and reporting


T r o u b l e s h o o t i n gi so n l yo n eh a l fo ft h et a s ko fp r o b l e m s o l v i n go na w i r e l e s s n e t w o r k . O n c e a p r o b l e mh a s b e e nd i a g n o s e da n d0 x e d , i t n e e d s t ob e d o c u m e n t e d i na p e r m a n e n t w a y s o t h a t o t h e r s w h o w o r k o nt h e n e t w o r k e i t h e r n o wo r i n t h e f u t u r e , w i l l b e a b l e t o l e a r n f r o mt h e i n c i d e n t . K e e p i n g a r e c o r d o f p r o b l e m s a n d i n c i d e n t s t h a t o c c u r i s a l s o a g o o d w a y t o t r a c ka n d0 xl o n g t e r mp r o b l e m st h a tm a yo c c u r , s a y , o n c ee v e r yf e w m o n t h s b u t f o l l o wa d e 0 n i t e p a t t e r n . Y o uc a na l s or e d u c et h ec o m p l e x i t ya n df r u s t r a t i o no f t r o u b l e s h o o t i n ga p r o b l e mi f y o u k e e p a l o g o f e v e r y c h a n g e m a d e t o t h e n e t w o r k .

294

MAINTENANCE, MONITORING AND SUSTAINABILITY

$e L o g b o o k i s w h e r e y o u a n d y o u r t e a mw r i t e d o w n e v e r y c h a n g e m a d e t o a s y s t e m , a l o n g w i t h t h e d a t e a n d t i m e t h e c h a n g e w a s m a d e . F o r e x a m p l e : 2 3 J u l y 1 0 : 1 5 A MC h a n g e d d e f a u l t r o u t e o n h o s t a l p h a f r o m1 2 3 . 4 5 . 6 7 . 8 9 t o 1 2 3 . 5 6 . 7 8 . 1 b e c a u s e u p s t r e a mI S Pm o v e d o u r g a t e w a y . A s y o u r n e t w o r kg r o w s , c o n s i d e r i n s t a l l i n ga t r o u b l e t r a c k i n gs y s t e ml i k e J I R Ao r B u g z i l l at oh e l pb e t t e r k e e pt r a c ko f w h oi s w o r k i n go nw h a t p r o b l e ma n dw h a t h a p p e n e dd u r i n gt h a t w o r k . $i s p r o v i d e s a h i s t o r yo f w h a t w a s w o r k e do na n dh o wi t w a s0 x e da n da l s op r o v i d e s a no r d e r l y m e t h o df o r a s s i g n i n gt a s k s a n dh e l p i n gt op r e v e n t t h i n g s l i k e t w op e o p l e s t e p p i n g o n e a c h o t h e r ' s w o r k w h i l e t h e y b o t h t r y t o 0 x t h e s a m e p r o b l e m . T r o u b l e t i c k e t i n gs y s t e m s a r eas u b j e c t t h a t w o u l d0 l l a ne n t i r es e p a r a t e b o o k , s ow ew i l l o n l ym e n t i o nt h e mb r i e W yh e r et om a k ey o ua w a r eo f t h e m . $e y c a na l s ob e q u i t e c o m p l e x t os e t u p , s of o r s i m p l e n e t w o r k s , a l o g b o o k w i l l d o .

16. NETWORK MONITORING

295

16. NETWORK MONITORING


Introduction
N e t w o r km o n i t o r i n gi s t h e u s e o f l o g g i n ga n da n a l y s i s t o o l s t oa c c u r a t e l y d e t e r m i n e t r a N cW o w s , u t i l i s a t i o n , a n do t h e r p e r f o r m a n c e i n d i c a t o r s o na n e t w o r k . G o o d m o n i t o r i n g t o o l s g i v e y o u b o t h h a r d n u m b e r s a n d g r a p h i c a l a g g r e g a t er e p r e s e n t a t i o n s o f t h es t a t eo f t h en e t w o r k . $i s h e l p s y o ut o v i s u a l i s e p r e c i s e l y w h a t i s h a p p e n i n g , s o y o uk n o ww h e r e a d j u s t m e n t s m a y b e n e e d e d . $e s e t o o l s c a n h e l p y o u a n s w e r c r i t i c a l q u e s t i o n s , s u c h a s : Wh a t a r e t h e m o s t p o p u l a r s e r v i c e s u s e d o n t h e n e t w o r k ? Wh o a r e t h e h e a v i e s t n e t w o r k u s e r s ? Wh a t o t h e r w i r e l e s s c h a n n e l s a r e i n u s e i n m y a r e a ? A r eu s e r si n s t a l l i n gw i r e l e s sa c c e s sp o i n t so nm yp r i v a t ew i r e d n e t w o r k ? A t w h a t t i m e o f t h e d a y i s t h e n e t w o r k m o s t u t i l i s e d ? Wh a t s i t e s d o y o u r u s e r s f r e q u e n t ? I s t h e a m o u n t o f i n b o u n d o r o u t b o u n d t r a N c c l o s e t o t h e a v a i l a b l e n e t w o r k c a p a c i t y ? A r et h e r ei n d i c a t i o n so fa nu n u s u a ln e t w o r ks i t u a t i o nt h a ti s c o n s u m i n g b a n d w i d t h o r c a u s i n g o t h e r p r o b l e m s ? I s o u r I n t e r n e t S e r v i c e P r o v i d e r ( I S P ) p r o v i d i n g t h e l e v e l o f s e r v i c e t h a t w e a r e p a y i n g f o r ?

$i ss h o u l db ea n s w e r e di nt e r m so f a v a i l a b l eb a n d w i d t h , p a c k e tl o s s , l a t e n c y , a n d o v e r a l l a v a i l a b i l i t y . A n d p e r h a p s t h e m o s t i m p o r t a n t q u e s t i o n o f a l l : D o t h e o b s e r v e d t r a N c p a t t e r n s 0 t o u r e x p e c t a t i o n s ?

Mo n i t o r i n ga n dm e t r i c s t o o l s a r ev i t a l l yi m p o r t a n t p r o g r a m s t oh a v eo n h a n dt oc h e c ko nt h e h e a l t ho f y o u r n e t w o r ka n dd i a g n o s e / t r o u b l e s h o o t p r o b l e m s .

296

MAINTENANCE, MONITORING AND SUSTAINABILITY

$r o u g h o u t p r e v i o u s c h a p t e r s i nt h i s b o o k w e ' v e m e n t i o n e do r g i v e nb r i e f e x a m p l e s o f u s i n gc e r t a i nt o o l sf o rs p e c i 0 ct a s k s l i k ec o n 0 g u r a t i o na n d s e t u p ,t r o u b l e s h o o t i n g ,g a t h e r i n gs t a t i s t i c sa n dm e t r i c sd a t aa b o u tt h e h e a l t ho f y o u r n e t w o r k , e t c . $i s s e c t i o nd i s c u s s e s s o m e o f t h e s e t o o l s i na m o r ed e t a i l e dm a n n e r . I t s h o u l db en o t e dt h a t t h i s i s b yn om e a n s a n e x h a u s t i v e l i s t o f a l l t h e t o o l s a v a i l a b l e f o r w i r e d a n d w i r e l e s s n e t w o r k s . I t i s a l s oi m p o r t a n t t or e a l i s e t h a t d i a g n o s t i c a n dm o n i t o r i n g t o o l s c h a n g e j u s t l i k e a l l o t h e r s o f t w a r e a n dh a r d w a r e d o e s . S t a y i n gu pt od a t e o nt h e l a t e s t v e r s i o n s , b u g s i ne x i s t i n g v e r s i o n s , n e wt o o l s i nt h e 0 e l d , e t c . c a nb e a n a l m o s t f u l l t i m e j o b i n i t s e l f . F o r t h i s b o o k , w h e r ew e ' v ef o u n dt h a t ac e r t a i nt o o l i s n ol o n g e r b e i n g a c t i v e l y m a i n t a i n e d b e t w e e nt h e p r e v i o u s e d i t i o na n d t h i s o n e , w e h a v e l e f t i t o u t o f t h i s t e x t . $e t o o l s d i s c u s s e di nt h i s s e c t i o na r e a l l b e i n g c u r r e n t l y d e v e l o p e da s o f t h i s w r i t i n g , b u t i t i s l e f t a s a ne x e r c i s et ot h e r e a d e r t o d e t e r m i n e i f a p a r t i c u l a r t o o l i s s u i t a b l e f o r t h e i r s i t u a t i o n .

Network monitoring example


L e t ' s l o o ka t h o w at y p i c a l s y s t e ma d m i n i s t r a t o r c a nm a k eg o o du s eo f n e t w o r k m o n i t o r i n g t o o l s . A n e 1 e c t i v e n e t w o r k m o n i t o r i n g e x a m p l e F o r t h e p u r p o s e s o f e x a m p l e , l e t ' s a s s u m e t h a t w e a r e i n c h a r g e o f a n e t w o r k t h a t h a s b e e nr u n n i n gf o r t h r e e m o n t h s . I t c o n s i s t s o f 5 0c o m p u t e r s a n d t h r e e s e r v e r s : e m a i l , w e b , a n d p r o x y s e r v e r s . Wh i l ei n i t i a l l yt h i n g sa r eg o i n gw e l l , u s e r sb e g i nt oc o m p l a i no fs l o w n e t w o r k s p e e d s a n d a n i n c r e a s e i n s p a me m a i l s . A s t i m e g o e s o n , c o m p u t e r p e r f o r m a n c e s l o w s t oa c r a w l ( e v e nw h e nn o t u s i n g t h e n e t w o r k ) , c a u s i n g c o n s i d e r a b l e f r u s t r a t i o n i n y o u r u s e r s . Wi t hf r e q u e n tc o m p l a i n t sa n dv e r yl o wc o m p u t e ru s a g e , t h eB o a r di s q u e s t i o n i n g t h e n e e d f o r s o m u c h n e t w o r k h a r d w a r e . $e B o a r da l s ow a n t s e v i d e n c e t h a t t h e b a n d w i d t ht h e ya r e p a y i n gf o r i s a c t u a l l y b e i n g u s e d . A st h en e t w o r ka d m i n i s t r a t o r ,y o ua r eo nt h er e c e i v i n ge n do ft h e s e c o m p l a i n t s .

16. NETWORK MONITORING

297

H o wc a ny o ud i a g n o s et h es u d d e nd r o pi nn e t w o r ka n dc o m p u t e r p e r f o r m a n c e a n d a l s o j u s t i f y t h e n e t w o r k h a r d w a r e a n d b a n d w i d t h c o s t s ? Mo n i t o r i n g t h e L A N( l o c a l t r a N c ) T og e t a ni d e a o f e x a c t l y w h a t i s c a u s i n g t h e s l o wd o w n , y o us h o u l db e g i n b yl o o k i n ga t t r a N co nt h el o c a l L A N .$e r ea r es e v e r a l a d v a n t a g e s t o m o n i t o r i n g l o c a l t r a N c : 1 . T r o u b l e s h o o t i n gi s g r e a t l y s i m p l i 0 e d . V i r u s e s c a nb e d e t e c t e da n d e l i m i n a t e d . 2 . Ma l i c i o u s u s e r s c a n b e d e t e c t e d a n d d e a l t w i t h . 3 . N e t w o r k h a r d w a r e a n d r e s o u r c e s c a n b e j u s t i 0 e d w i t h r e a l s t a t i s t i c s . A s s u m e t h a t a l l o f t h e s w i t c h e s s u p p o r t t h e S i m p l e N e t w o r kMa n a g e m e n t P r o t o c o l ( S N MP ) . S N MP i sa na p p l i c a t i o n l a y e rp r o t o c o l d e s i g n e dt o f a c i l i t a t et h ee x c h a n g eo fm a n a g e m e n ti n f o r m a t i o nb e t w e e nn e t w o r k d e v i c e s . B y a s s i g n i n g a nI Pa d d r e s s t oe a c hs w i t c h , y o ua r e a b l e t om o n i t o r a l l t h e i n t e r f a c e s o nt h a t s w i t c h , o b s e r v i n g t h e e n t i r e n e t w o r k f r o ma s i n g l e p o i n t . $i s i s m u c h e a s i e r t h a n e n a b l i n g S N MP o n a l l c o m p u t e r s i n a n e t w o r k . B yu s i n gaf r e et o o l s u c ha s MR T G , h t t p : / / o s s . o e t i k e r . c h / m r t g / , y o uc a n m o n i t o re a c hp o r to nt h es w i t c ha n dp r e s e n td a t ag r a p h i c a l l y ,a sa n a g g r e g a t e a v e r a g e o v e r t i m e . $e g r a p h s a r e a c c e s s i b l e f r o mt h e w e b , s oy o ua r e a b l e t ov i e wt h e g r a p h s f r o ma n y m a c h i n e a t a n y t i m e . Wi t hMR T Gm o n i t o r i n gi np l a c e , i t b e c o m e s o b v i o u s t h a t t h ei n t e r n a l L A Ni s s w a m p e dw i t hf a r m o r et r a N ct h a nt h e I n t e r n e t c o n n e c t i o nc a n s u p p o r t , e v e nw h e nt h e l a bi s u n o c c u p i e d . $i s i s a p r e t t y c l e a r i n d i c a t i o n t h a t s o m e o f t h e c o m p u t e r s a r e i n f e s t e d w i t h a n e t w o r k v i r u s . A f t e ri n s t a l l i n gg o o da n t i v i r u sa n da n t i s p y w a r es o f t w a r eo na l l o f t h e m a c h i n e s , t h e i n t e r n a l L A Nt r a N c s e t t l e s d o w n t o e x p e c t e d l e v e l s . $e m a c h i n e s r u nm u c hm o r e q u i c k l y , s p a me m a i l s a r e r e d u c e d , a n dt h e u s e r s ' m o r a l e q u i c k l y i m p r o v e s .

298

MAINTENANCE, MONITORING AND SUSTAINABILITY

Mo n i t o r i n g t h e WA N( e x t e r n a l t r a N c ) I na d d i t i o nt ow a t c h i n gt h et r a N co nt h ei n t e r n a l L A N , y o un e e dt o d e m o n s t r a t e t h a t t h e b a n d w i d t ht h e o r g a n i s a t i o ni s p a y i n gf o r i s a c t u a l l y w h a t t h e y a r e g e t t i n g f r o mt h e i r I S P . Y o u c a n a c h i e v e t h i s b y m o n i t o r i n g e x t e r n a l t r a N c . E x t e r n a l t r a N ci s g e n e r a l l yc l a s s i 0 e da s a n y t h i n gs e n t o v e r aWi d eA r e a N e t w o r k ( WA N ) . A n y t h i n g r e c e i v e d f r o m( o r s e n t t o ) a n e t w o r k o t h e r t h a n y o u r i n t e r n a l L A Na l s o q u a l i 0 e s a s e x t e r n a l t r a N c . $e a d v a n t a g e s o f m o n i t o r i n g e x t e r n a l t r a N c i n c l u d e : I n t e r n e t b a n d w i d t h c o s t s a r e j u s t i 0 e d b y s h o w i n g a c t u a l u s a g e , a n d w h e t h e r t h a t u s a g e a g r e e s w i t h y o u r I S P ' s b a n d w i d t h c h a r g e s . F u t u r ec a p a c i t yn e e d sa r ee s t i m a t e db yw a t c h i n gu s a g et r e n d sa n d p r e d i c t i n g l i k e l y g r o w t hp a t t e r n s . I n t r u d e r s f r o mt h e I n t e r n e t a r e d e t e c t e d a n d 0 l t e r e d b e f o r e t h e y c a n c a u s e p r o b l e m s . Mo n i t o r i n g t h i s t r a N c i s e a s i l y d o n e w i t ht h e u s e o f MR T Go na nS N MP e n a b l e dd e v i c e , s u c ha s a r o u t e r . I f y o u r r o u t e r d o e s n o t s u p p o r t S N MP , t h e ny o uc a na d da s w i t c hb e t w e e ny o u r r o u t e r a n dy o u r I S Pc o n n e c t i o n , a n d m o n i t o r t h e p o r t t r a N c j u s t a s y o u w o u l d w i t h a n i n t e r n a l L A N .

Detecting network outages


Wi t hm o n i t o r i n g t o o l s i np l a c e , y o un o wh a v e a na c c u r a t e m e a s u r e m e n t o f h o wm u c h b a n d w i d t h t h e o r g a n i s a t i o n i s u s i n g . $i s m e a s u r e m e n t s h o u l d a g r e e w i t h y o u r I S P ' s b a n d w i d t h c h a r g e s . I t c a na l s oi n d i c a t et h ea c t u a l t h r o u g h p u t o f y o u r c o n n e c t i o ni f y o ua r e u s i n g c l o s e t o y o u r a v a i l a b l e c a p a c i t y a t p e a k t i m e s . A" W a t t o p " g r a p hi s a f a i r l y c l e a r i n d i c a t i o nt h a t y o ua r e o p e r a t i n g a t f u l l c a p a c i t y . $e f o l l o w i n g 0 g u r e N M 1s h o w s W a t t o p s i np e a k o u t b o u n dt r a N c i nt h e m i d d l e o f e v e r y d a y e x c e p t S u n d a y . I t i sc l e a rt h a t y o u rc u r r e n t I n t e r n e t c o n n e c t i o ni so v e r u t i l i s e da t p e a k t i m e s , c a u s i n g n e t w o r k l a g . A f t e r p r e s e n t i n gt h i s i n f o r m a t i o nt ot h e B o a r d , y o uc a nm a k e a p l a nf o r f u r t h e ro p t i m i s i n gy o u re x i s t i n gc o n n e c t i o n( b yu p g r a d i n gy o u rp r o x y s e r v e r a n d u s i n g o t h e r t e c h n i q u e s i nt h i s b o o k ) a n d e s t i m a t e h o ws o o ny o u w i l l n e e d t o u p g r a d e y o u r c o n n e c t i o n t o k e e p u p w i t h t h e d e m a n d .

16. NETWORK MONITORING

299

$i s i s a l s oa ne x c e l l e n t t i m et or e v i e wy o u r o p e r a t i o n a l p o l i c yw i t ht h e B o a r d , a n d d i s c u s s w a y s t o b r i n g a c t u a l u s a g e i n l i n e w i t h t h a t p o l i c y .

F i g u r e N M1 : Ag r a p h w i t h a " E a t t o p " i s o n e i n d i c a t i o n o f o v e r u t i l i s a t i o n . L a t e r i nt h ew e e k , y o ur e c e i v ea ne m e r g e n c yp h o n ec a l l i nt h ee v e n i n g . A p p a r e n t l y , n oo n e i nt h e l a bc a nb r o w s e t h e w e bo r s e n de m a i l . Y o ur u s h t o t h e l a b a n d h a s t i l y r e b o o t t h e p r o x y s e r v e r , w i t h n o r e s u l t s . B r o w s i n g a n d e m a i l a r es t i l l b r o k e n . Y o ut h e nr e b o o t t h er o u t e r , b u t t h e r ei s s t i l l n o s u c c e s s . Y o uc o n t i n u e e l i m i n a t i n g t h e p o s s i b l e f a u l t a r e a s o n e b y o n e u n t i l y o ur e a l i s e t h a t t h e n e t w o r k s w i t c hi s o 1a l o o s e p o w e r c a b l e i s t o b l a m e . A f t e r a p p l y i n g p o w e r , t h e n e t w o r k c o m e s t o l i f e a g a i n . H o wc a ny o ut r o u b l e s h o o t s u c ha no u t a g e w i t h o u t s u c ht i m e c o n s u m i n g t r i a l a n de r r o r ? I s i t p o s s i b l e t ob e n o t i 0 e do f o u t a g e s a s t h e y o c c u r , r a t h e r t h a n w a i t i n g f o r a u s e r t o c o m p l a i n ? O n ew a y t o d o t h i si st o u s eap r o g r a m s u c h a sN a g i o s ( h t t p : / / w w w . n a g i o s . o r g / ) t h a t c o n t i n u a l l y p o l l s n e t w o r k d e v i c e s a n d n o t i 0 e s y o uo f o u t a g e s . N a g i o s w i l l r e p o r t o nt h e a v a i l a b i l i t yo f v a r i o u s m a c h i n e s a n ds e r v i c e s , a n dw i l l a l e r ty o ut om a c h i n e st h a th a v eg o n ed o w n . I n a d d i t i o nt o d i s p l a y i n g t h e n e t w o r k s t a t u s g r a p h i c a l l y o na w e bp a g e , i t w i l l s e n dn o t i 0 c a t i o n sv i aS MS o re m a i l ,a l e r t i n gy o ui m m e d i a t e l yw h e n p r o b l e m s a r i s e .

300

MAINTENANCE, MONITORING AND SUSTAINABILITY

Wi t hg o o dm o n i t o r i n g t o o l s i np l a c e , y o u w i l l b e a b l e t o j u s t i f y t h e c o s t o f e q u i p m e n t a n d b a n d w i d t h b y e 1 e c t i v e l y d e m o n s t r a t i n g h o wi t i s b e i n g u s e d b y t h e o r g a n i s a t i o n . Y o u a r e n o t i 0 e d a u t o m a t i c a l l y w h e n p r o b l e m s a r i s e , a n d y o u h a v e h i s t o r i c a l s t a t i s t i c s o f h o wt h en e t w o r kd e v i c e s a r ep e r f o r m i n g . Y o uc a nc h e c kt h e c u r r e n t p e r f o r m a n c ea g a i n s t t h i s h i s t o r yt o0 n du n u s u a l b e h a v i o u r , a n d h e a do 1p r o b l e m s b e f o r e t h e yb e c o m e c r i t i c a l . Wh e np r o b l e m s d oc o m e u p , i t i s s i m p l e t o d e t e r m i n e t h e s o u r c e a n d n a t u r e o f t h e p r o b l e m . Y o u r j o b i s e a s i e r , t h e B o a r d i s s a t i s 0 e d , a n d y o u r u s e r s a r e m u c h h a p p i e r .

Monitoring your network


Ma n a g i n gan e t w o r kw i t h o u t m o n i t o r i n gi s s i m i l a r t od r i v i n gav e h i c l e w i t h o u t a s p e e d o m e t e r o r a f u e l g a u g e . H o wd oy o uk n o wh o wf a s t y o ua r e g o i n g ? I s t h e c a r c o n s u m i n gf u e l a s e N c i e n t l y a s p r o m i s e db y t h e d e a l e r s ? I f y o ud oa ne n g i n e o v e r h a u l s e v e r a l m o n t h s l a t e r , i s t h e c a r a n y f a s t e r o r m o r e e N c i e n t t h a n i t w a s b e f o r e ? S i m i l a r l y , h o wc a ny o up a yf o r a ne l e c t r i c i t yo r w a t e r b i l l w i t h o u t s e e i n g y o u r m o n t h l y u s a g e f r o ma m e t e r ? Y o um u s t h a v e a na c c o u n t o f y o u r n e t w o r kb a n d w i d t hu t i l i s a t i o ni no r d e r t oj u s t i f yt h e c o s t o f s e r v i c e s a n dh a r d w a r e p u r c h a s e s , a n dt oa c c o u n t f o r u s a g e t r e n d s . $e r e a r e s e v e r a l b e n e 0 t s t oi m p l e m e n t i n ga g o o dm o n i t o r i n gs y s t e mf o r y o u r n e t w o r k : N e t w o r k b u d g e t a n d r e s o u r c e s a r e j u s t i 0 e d . G o o d m o n i t o r i n g t o o l s c a nd e m o n s t r a t e w i t h o u t a d o u b t t h a t t h e n e t w o r ki n f r a s t r u c t u r e ( b a n d w i d t h , h a r d w a r e , a n d s o f t w a r e ) i s s u i t a b l e a n da b l e t o h a n d l e t h e r e q u i r e m e n t s o f n e t w o r k u s e r s . N e t w o r ki n t r u d e r sa r ed e t e c t e da n d0 l t e r e d . B yw a t c h i n gy o u r n e t w o r kt r a N c , y o uc a nd e t e c ta t t a c k e r sa n dp r e v e n ta c c e s st o c r i t i c a l i n t e r n a l s e r v e r s a n d s e r v i c e s . N e t w o r kv i r u s e sa r ee a s i l yd e t e c t e d . Y o uc a nb ea l e r t e dt ot h e p r e s e n c eo f n e t w o r kv i r u s e s , a n dt a k ea p p r o p r i a t ea c t i o nb e f o r e t h e y c o n s u m e I n t e r n e t b a n d w i d t h a n d d e s t a b i l i s e y o u r n e t w o r k .

16. NETWORK MONITORING

301

T r o u b l e s h o o t i n g o f n e t w o r kp r o b l e m s i s g r e a t l y s i m p l i 0 e d . R a t h e r t h a na t t e m p t i n g " t r i a l a n de r r o r " t o d e b u g n e t w o r k p r o b l e m s , y o u c a nb ei n s t a n t l yn o t i 0 e do fs p e c i 0 cp r o b l e m s .S o m ek i n d so f p r o b l e m s c a n e v e n b e r e p a i r e d a u t o m a t i c a l l y . N e t w o r kp e r f o r m a n c e c a nb e h i g h l yo p t i m i s e d . Wi t h o u t e 1 e c t i v e m o n i t o r i n g , i t i s i m p o s s i b l e t o 0 n e t u n e y o u r d e v i c e s a n d p r o t o c o l s t o a c h i e v e t h e b e s t p o s s i b l e p e r f o r m a n c e . C a p a c i t y p l a n n i n g i sm u c h e a s i e r . Wi t h s o l i d h i s t o r i c a l p e r f o r m a n c er e c o r d s ,y o ud on o th a v et o" g u e s s "h o wm u c h b a n d w i d t h y o u w i l l n e e d a s y o u r n e t w o r k g r o w s . P r o p e r n e t w o r k u s a g e c a n b e e n f o r c e d . Wh e n b a n d w i d t h i s a s c a r c e r e s o u r c e , t h e o n l yw a y t ob e f a i r t oa l l u s e r s i s t oe n s u r e t h a t t h e n e t w o r k i s b e i n g u s e d f o r i t s i n t e n d e d p u r p o s e .

F o r t u n a t e l y ,n e t w o r km o n i t o r i n gd o e sn o tn e e dt ob ea ne x p e n s i v e u n d e r t a k i n g . $e r ea r em a n yf r e e l ya v a i l a b l eo p e ns o u r c et o o l s t h a t w i l l s h o wy o u e x a c t l y w h a t i s h a p p e n i n g o n y o u r n e t w o r k i n c o n s i d e r a b l e d e t a i l . $i s s e c t i o nw i l l h e l py o ui d e n t i f y m a n y i n v a l u a b l e t o o l s a n dh o wb e s t t o u s e t h e m . $e d e d i c a t e d m o n i t o r i n g s e r v e r Wh i l e m o n i t o r i n g s e r v i c e s c a nb e a d d e dt o a ne x i s t i n g n e t w o r k s e r v e r , i t i s o f t e nd e s i r a b l e t od e d i c a t e o n e m a c h i n e ( o r m o r e , i f n e c e s s a r y ) t on e t w o r k m o n i t o r i n g . S o m e a p p l i c a t i o n s ( s u c h a s n t o p h t t p : / / w w w . n t o p . o r g / ) r e q u i r e c o n s i d e r a b l e r e s o u r c e s t o r u n , p a r t i c u l a r l y o n a b u s y n e t w o r k . B u t m o s t l o g g i n g a n d m o n i t o r i n g p r o g r a m s h a v e m o d e s t R A Ma n d s t o r a g e r e q u i r e m e n t s , t y p i c a l l y w i t hl i t t l e C P Up o w e r r e q u i r e d . S i n c e o p e ns o u r c e o p e r a t i n gs y s t e m s( s u c ha sL i n u xo rB S D )m a k ev e r ye N c i e n tu s eo f h a r d w a r er e s o u r c e s ,t h i sm a k e si tp o s s i b l et ob u i l d av e r yc a p a b l e m o n i t o r i n gs e r v e rf r o mr e c y c l e dP Cp a r t s .$e r ei s u s u a l l yn on e e dt o p u r c h a s e a b r a n d n e ws e r v e r t o r e l e g a t e t o m o n i t o r i n g d u t i e s . $e e x c e p t i o n t o t h i s r u l e i s i n v e r y l a r g e i n s t a l l a t i o n s . I fy o u rn e t w o r ki n c l u d e sm o r et h a n af e wh u n d r e dn o d e s , o ri fy o u c o n s u m e m o r e t h a n 5 0 Mb p s o f I n t e r n e t b a n d w i d t h , y o u w i l l l i k e l y n e e d t o s p l i t u p m o n i t o r i n g d u t i e s b e t w e e n a f e wd e d i c a t e d m a c h i n e s .

302

MAINTENANCE, MONITORING AND SUSTAINABILITY

$i sd e p e n d sl a r g e l yo ne x a c t l yw h a t y o uw a n t t om o n i t o r . I f y o ua r e a t t e m p t i n gt oa c c o u n t f o r a l l s e r v i c e s a c c e s s e dp e r MA Ca d d r e s s , t h i s w i l l c o n s u m e c o n s i d e r a b l y m o r e r e s o u r c e s t h a n s i m p l y m e a s u r i n g n e t w o r k W o w s o na s w i t c hp o r t . B u t f o r t h e m a j o r i t yo f i n s t a l l a t i o n s , a s i n g l e d e d i c a t e d m o n i t o r i n gm a c h i n ei su s u a l l ye n o u g h . Wh i l ec o n s o l i d a t i n gm o n i t o r i n g s e r v i c e s t o a s i n g l e m a c h i n e w i l l s t r e a m l i n e a d m i n i s t r a t i o na n du p g r a d e s , i t c a na l s oe n s u r eb e t t e ro n g o i n gm o n i t o r i n g . F o re x a m p l e ,i fy o ui n s t a l l m o n i t o r i n g s e r v i c e s o n a w e b s e r v e r , a n d t h a t w e b s e r v e r d e v e l o p s p r o b l e m s , t h e ny o u r n e t w o r k m a y n o t b e m o n i t o r e du n t i l t h e p r o b l e mi s r e s o l v e d . T o a n e t w o r ka d m i n i s t r a t o r , t h e d a t a c o l l e c t e da b o u t n e t w o r kp e r f o r m a n c e i s n e a r l y a s i m p o r t a n t a s t h e n e t w o r k i t s e l f . Y o u r m o n i t o r i n g s h o u l d b e r o b u s t a n dp r o t e c t e df r o ms e r v i c eo u t a g e s a s w e l l a s p o s s i b l e . Wi t h o u t n e t w o r k s t a t i s t i c s , y o u a r e e 1 e c t i v e l y b l i n d t o p r o b l e m s w i t h t h e n e t w o r k . Wh e r e d o e s t h e s e r v e r 0 t i n y o u r n e t w o r k ? I f y o u a r e o n l y i n t e r e s t e d i n c o l l e c t i n g n e t w o r k W o ws t a t i s t i c s f r o ma r o u t e r , y o u c a n d o t h i s f r o mj u s t a b o u t a n y w h e r e o n t h e L A N . $i s p r o v i d e s s i mp l e f e e d b a c ka b o u t u t i l i s a t i o n , b u t c a n n o t g i v e y o uc o mp r e h e n s i v e d e t a i l s a b o u t u s a g e p a t t e r n s . F i g u r e NM 2b e l o ws h o w s a t y p i c a l MR T Gg r a p hg e n e r a t e df r o m t h e I n t e r n e t r o u t e r . Wh i l e t h e i n b o u n da n do u t b o u n du t i l i s a t i o n a r e c l e a r , t h e r e i s n od e t a i l a b o u t w h i c hc o mp u t e r s , u s e r s , o r p r o t o c o l s a r e u s i n g b a n d w i d t h .

F i g u r e N M2 : P o l l i n g t h e e d g e r o u t e r c a ns h o wy o ut h e o v e r a l l n e t w o r k u t i l i s a t i o n , b u t y o uc a n n o t b r e a k t h e d a t a d o w n f u r t h e r i n t o m a c h i n e s , s e r v i c e s , a n d u s e r s .

16. NETWORK MONITORING

303

F o rm o r ed e t a i l , t h ed e d i c a t e dm o n i t o r i n gs e r v e rm u s th a v ea c c e s st o e v e r y t h i n g t h a t n e e d s t o b e w a t c h e d . T y p i c a l l y , t h i s m e a n s i t m u s t h a v e a c c e s s t o t h e e n t i r e n e t w o r k . T om o n i t o r a WA Nc o n n e c t i o n , s u c ha s t h e I n t e r n e t l i n k t oy o u r I S P , t h e m o n i t o r i n gs e r v e r m u s t b e a b l e t os e e t h e t r a N c p a s s i n g t h r o u g ht h e e d g e r o u t e r . T o m o n i t o r a L A N , t h e m o n i t o r i n g s e r v e r i s t y p i c a l l y c o n n e c t e dt o am o n i t o rp o r to nt h es w i t c h .I fm u l t i p l es w i t c h e sa r eu s e di na n i n s t a l l a t i o n , t h e m o n i t o r i n g s e r v e r m a y n e e da c o n n e c t i o nt o a l l o f t h e m . $a tc o n n e c t i o nc a ne i t h e rb eap h y s i c a lc a b l e ,o ri fy o u rn e t w o r k s w i t c h e s s u p p o r t i t , a V L A Ns p e c i 0 c a l l y c o n 0 g u r e df o r m o n i t o r i n g t r a N c .

F i g u r e N M3 : U s e t h e m o n i t o r p o r t o n y o u r s w i t c h t o o b s e r v e t r a M c c r o s s i n g a l l o f t h e n e t w o r k p o r t s . I fm o n i t o rp o r tf u n c t i o n a l i t yi sn o ta v a i l a b l eo ny o u rs w i t c h ,t h e m o n i t o r i n g s e r v e r m a y b e i n s t a l l e db e t w e e ny o u r i n t e r n a l L A Na n dt h e I n t e r n e t . Wh i l et h i s w i l l w o r k , i t i n t r o d u c e s as i n g l ep o i n t o f f a i l u r ef o r t h en e t w o r k , a s t h e n e t w o r kw i l l f a i l i f t h em o n i t o r i n gs e r v e r d e v e l o p s a p r o b l e m . I t i s a l s oa p o t e n t i a l p e r f o r m a n c e b o t t l e n e c k , i f t h e s e r v e r c a n n o t k e e pu p w i t ht h e d e m a n d s o f t h e n e t w o r k .

304

MAINTENANCE, MONITORING AND SUSTAINABILITY

F i g u r e N M4 : B y i n s e r t i n g a n e t w o r k m o n i t o r b e t w e e nt h e L A Na n d y o u r I n t e r n e t c o n n e c t i o n , y o uc a no b s e r v e a l l n e t w o r k t r a M c . Ab e t t e r s o l u t i o ni s t ou s eas i m p l en e t w o r kh u b( n o t as w i t c h ) w h i c h c o n n e c t s t h em o n i t o r i n gm a c h i n et ot h ei n t e r n a l L A N , e x t e r n a l r o u t e r , a n dt h e m o n i t o r i n g m a c h i n e . Wh i l et h i sd o e ss t i l li n t r o d u c ea na d d i t i o n a lp o i n to ff a i l u r et ot h e n e t w o r k( s i n c et h ee n t i r en e t w o r kw i l l b eu n r e a c h a b l ei f t h eh u bd i e s ) , h u b s a r e g e n e r a l l y c o n s i d e r e dt o b e m u c hm o r e r e l i a b l e t h a nr o u t e r s . $e y a r e a l s o v e r y e a s i l y r e p l a c e ds h o u l d t h e y f a i l .

16. NETWORK MONITORING

305

F i g u r e N M5 : I f y o u r s w i t c h d o e s n o t p r o v i d e m o n i t o r p o r t f u n c t i o n a l i t y , y o u c a ni n s e r t a n e t w o r k h u b b e t w e e ny o u r I n t e r n e t r o u t e r a n d t h e L A N , a n d c o n n e c t t h e m o n i t o r i n g s e r v e r t o t h e h u b . O n c e y o u r m o n i t o r i n gs e r v e r i s i np l a c e , y o ua r e r e a d yt os t a r t c o l l e c t i n g d a t a . Wh a t t o m o n i t o r I t i s p o s s i b l e t o p l o t j u s t a b o u t a n y n e t w o r k e v e n t a n dw a t c hi t s v a l u e o n a g r a p ho v e r t i m e . S i n c ee v e r yn e t w o r ki ss l i g h t l yd i 1 e r e n t , y o uw i l l h a v et od e c i d ew h a t i n f o r m a t i o ni si m p o r t a n ti no r d e rt og a u g et h ep e r f o r m a n c eo fy o u r n e t w o r k . H e r ea r es o m ei m p o r t a n ti n d i c a t o r st h a t m a n yn e t w o r ka d m i n i s t r a t o r s w i l l t y p i c a l l y t r a c k .

306

MAINTENANCE, MONITORING AND SUSTAINABILITY

Wi r e l e s s s t a t i s t i c s R e c e i v e ds i g n a l a n dn o i s e f r o ma l l b a c k b o n e n o d e s N u m b e r o f a s s o c i a t e ds t a t i o n s D e t e c t e da d j a c e n t n e t w o r k s a n dc h a n n e l s E x c e s s i v e r e t r a n s m i s s i o n s R a d i od a t a r a t e , i f u s i n g a u t o m a t i c r a t e s c a l i n g S w i t c hs t a t i s t i c s B a n d w i d t hu s a g e p e r s w i t c hp o r t B a n d w i d t hu s a g e b r o k e nd o w nb y p r o t o c o l B a n d w i d t hu s a g e b r o k e nd o w nb y MA Ca d d r e s s B r o a d c a s t s a s a p e r c e n t a g e o f t o t a l p a c k e t s P a c k e t l o s s a n de r r o r r a t e I n t e r n e t s t a t i s t i c s I n t e r n e t b a n d w i d t hu s e b y h o s t a n dp r o t o c o l P r o x y s e r v e r c a c h e h i t s T o p 1 0 0 s i t e s a c c e s s e d D N Sr e q u e s t s N u m b e r o f i n b o u n de m a i l s / s p a me m a i l s / e m a i l b o u n c e s O u t b o u n d e m a i l q u e u e s i z e A v a i l a b i l i t y o f c r i t i c a l s e r v i c e s ( w e b s e r v e r s , e m a i l s e r v e r s , e t c . ) . P i n g t i m e s a n dp a c k e t l o s s r a t e s t o y o u r I S P S t a t u s o f b a c k u p s S y s t e mh e a l t hs t a t i s t i c s Me m o r y u s a g e S w a p0 l e u s a g e P r o c e s s c o u n t / z o m b i e p r o c e s s e s S y s t e ml o a d U n i n t e r r u p t i b l e P o w e r S u p p l y ( U P S ) v o l t a g e a n dl o a d T e m p e r a t u r e , f a ns p e e d , a n ds y s t e mv o l t a g e s D i s kS MA R Ts t a t u s R A I Da r r a y s t a t u s

Y o us h o u l du s et h i sl i s ta sas u g g e s t i o no fw h e r et ob e g i n .A sy o u r n e t w o r km a t u r e s ,y o uw i l ll i k e l y0 n dn e wk e yi n d i c a t o r so fn e t w o r k p e r f o r m a n c e , a n dy o u s h o u l do f c o u r s e t r a c k t h o s e a s w e l l .

16. NETWORK MONITORING

307

$e r e a r e m a n y f r e e l ya v a i l a b l e t o o l s t h a t w i l l s h o wy o ua s m u c hd e t a i l a s y o u l i k e a b o u t w h a t i s h a p p e n i n g o n y o u r n e t w o r k . Y o us h o u l dc o n s i d e rm o n i t o r i n gt h ea v a i l a b i l i t yo fa n yr e s o u r c ew h e r e u n a v a i l a b i l i t y w o u l d a d v e r s e l y a 1 e c t y o u r n e t w o r k u s e r s . D o n ' t f o r g e t t om o n i t o r t h em o n i t o r i n gm a c h i n ei t s e l f , f o r e x a m p l ei t s C P Uu s a g ea n dd i s ks p a c e , i no r d e rt or e c e i v ea d v a n c ew a r n i n gi f i t b e c o m e so v e r l o a d e do rf a u l t y . Am o n i t o r i n gm a c h i n et h a ti sl o wo n r e s o u r c e s c a na 1 e c t y o u r a b i l i t y t o m o n i t o r t h e n e t w o r k e 1 e c t i v e l y .

Types of monitoring tools


We w i l l n o wl o o k a t s e v e r a l d i 1 e r e n t c l a s s e s o f m o n i t o r i n g t o o l s . 1 .N e t w o r kd e t e c t i o nt o o l s l i s t e nf o r t h e b e a c o n s s e n t b y w i r e l e s s a c c e s s p o i n t s , a n dd i s p l a yi n f o r m a t i o ns u c ha s t h e n e t w o r kn a m e , r e c e i v e d s i g n a l s t r e n g t h , a n dc h a n n e l .
2 .S p o tc h e c kt o o l sa r ed e s i g n e df o rt r o u b l e s h o o t i n ga n dn o r m a l l yr u n i n t e r a c t i v e l y f o r s h o r t p e r i o d s o f t i m e . Ap r o g r a ms u c ha s p i n gm a yb e c o n s i d e r e da na c t i v e s p o t c h e c kt o o l , s i n c e i t g e n e r a t e s t r a N cb y p o l l i n g a p a r t i c u l a r m a c h i n e . 3 .P a s s i v e s p o t c h e c kt o o l s i n c l u d ep r o t o c o l a n a l y s e r s , w h i c hi n s p e c t e v e r y p a c k e t o nt h en e t w o r ka n dp r o v i d e c o m p l e t e d e t a i l a b o u t a n y n e t w o r k c o n v e r s a t i o n( i n c l u d i n gs o u r c ea n dd e s t i n a t i o na d d r e s s e s ,p r o t o c o l i n f o r m a t i o n , a n de v e na p p l i c a t i o nd a t a ) . 4 .T r e n d i n gt o o l s p e r f o r mu n a t t e n d e dm o n i t o r i n go v e r l o n gp e r i o d s , a n d t y p i c a l l y p l o t t h e r e s u l t s o n a g r a p h .

5 . $r o u g h p u tt e s t i n gt o o l st e l ly o ut h ea c t u a lb a n d w i d t ha v a i l a b l e b e t w e e nt w o p o i n t s o n a n e t w o r k . 6 .R e a l t i m em o n i t o r i n gt o o l sp e r f o r ms i m i l a rm o n i t o r i n g , b u tn o t i f y a d m i n i s t r a t o r si m m e d i a t e l yi ft h e yd e t e c ta p r o b l e m .I n t r u s i o n d e t e c t i o nt o o l s w a t c hf o r u n d e s i r a b l e o r u n e x p e c t e dn e t w o r kt r a N c , a n dt a k ea p p r o p r i a t ea c t i o n( t y p i c a l l yd e n y i n ga c c e s sa n d / o r n o t i f y i n g a n e t w o r k a d m i n i s t r a t o r ) .

308

MAINTENANCE, MONITORING AND SUSTAINABILITY

Network detection
$ es i m p l e s tw i r e l e s sm o n i t o r i n gt o o l ss i m p l yp r o v i d eal i s to fa v a i l a b l e n e t w o r k s , a l o n g w i t hb a s i c i n f o r m a t i o n( s u c ha s s i g n a l s t r e n g t ha n d c h a n n e l ) . $e yl e t y o uq u i c k l yd e t e c tn e a r b yn e t w o r k sa n dd e t e r m i n ei f t h e ya r ei n r a n g e o r a r e c a u s i n g i n t e r f e r e n c e .

$e b u i l t i nc l i e n t . A l lm o d e r no p e r a t i n gs y s t e m sp r o v i d eb u i l t i ns u p p o r tf o rw i r e l e s s n e t w o r k i n g . $i st y p i c a l l yi n c l u d e st h ea b i l i t yt os c a nf o ra v a i l a b l e n e t w o r k s ,a l l o w i n gt h eu s e rt oc h o o s ea n e t w o r kf r o m al i s t . Wh i l e v i r t u a l l ya l l w i r e l e s sd e v i c e sa r eg u a r a n t e e dt oh a v eas i m p l es c a n n i n g u t i l i t y , f u n c t i o n a l i t y c a nv a r y w i d e l y b e t w e e ni m p l e m e n t a t i o n s . $e s e t o o l s a r et y p i c a l l yo n l yu s e f u l f o r c o n 0 g u r i n gac o m p u t e r i nah o m eo r o N c e s e t t i n g . $e y t e n dt op r o v i d e l i t t l e i n f o r m a t i o na p a r t f r o mn e t w o r k n a m e s a n dt h e a v a i l a b l e s i g n a l t o t h e a c c e s s p o i n t c u r r e n t l y i nu s e . N e t s t u m b l e r ( h t t p : / / w w w . w i r e l e s s d e f e n c e . o r g / C o n t e n t s / N e t s t u m b l e r Ma i n . h t m) .$i si s t h em o s tp o p u l a rt o o l f o rd e t e c t i n gw i r e l e s s n e t w o r k su s i n gMi c r o s o f t Wi n d o w s . I t s u p p o r t s a v a r i e t y o f w i r e l e s s c a r d s , a n di s v e r y e a s y t ou s e . I t w i l ld e t e c to p e na n de n c r y p t e dn e t w o r k s ,b u tc a n n o td e t e c t c l o s e d w i r e l e s sn e t w o r k s . I ta l s of e a t u r e sas i g n a l / n o i s em e t e rt h a t p l o t sr a d i o r e c e i v e r d a t a a s a g r a p ho v e r t i m e . I t a l s oi n t e g r a t e s w i t ha v a r i e t y o f G P S d e v i c e s , f o r l o g g i n g p r e c i s e l o c a t i o na n ds i g n a l s t r e n g t hi n f o r m a t i o n . $i s m a k e s N e t s t u m b l e r a h a n d y t o o l t o h a v e f o r a ni n f o r m a l s i t e s u r v e y . Ma c s t u m b l e r ( h t t p : / / w w w . m a c s t u m b l e r . c o m / ) . Wh i l e n o t d i r e c t l y r e l a t e dt o t h eN e t s t u m b l e r , Ma c s t u m b l e r p r o v i d e s m u c ho f t h es a m e f u n c t i o n a l i t yb u t f o r t h e Ma c O SXp l a t f o r m . I t w o r k s w i t ha l l A p p l e A i r p o r t c a r d s .

Spot check tools


Wh a t d oy o ud ow h e nt h e n e t w o r kb r e a k s ? I f y o uc a n t a c c e s s a w e bp a g e o r e m a i l s e r v e r , a n dc l i c k i n gt h er e l o a db u t t o nd o e s n t 0 xt h ep r o b l e m , t h e ny o u l l n e e dt o b e a b l e t o i s o l a t e t h e e x a c t l o c a t i o no f t h e p r o b l e m . $e s et o o l s w i l l h e l py o ut od e t e r m i n e j u s t w h e r ea c o n n e c t i o np r o b l e m e x i s t s .

16. NETWORK MONITORING

309

$i s s e c t i o ni s s i m p l y a ni n t r o d u c t i o nt oc o m m o n l y u s e dt r o u b l e s h o o t i n g t o o l s . F o r m o r e d i s c u s s i o no f c o m m o nn e t w o r kp r o b l e m s a n dh o wt od i a g n o s e t h e m , s e e t h e c h a p t e r c a l l e dMa i n t e n a n c e a n dT r o u b l e s h o o t i n g . p i n g J u s t a b o u t e v e r y o p e r a t i n g s y s t e m( i n c l u d i n g Wi n d o w s , Ma c O S X , a n do f c o u r s eL i n u xa n dB S D )i n c l u d e sav e r s i o no ft h ep i n gu t i l i t y . I t u s e s I C MPp a c k e t s t oa t t e m p t t oc o n t a c t as p e c i 0 e dh o s t , a n dt e l l s y o uh o w l o n g i t t a k e s t o g e t a r e s p o n s e . K n o w i n gw h a t t op i n gi s j u s t a s i m p o r t a n t a s k n o w i n gh o wt op i n g . I f y o u0 n dt h a t y o uc a n n o tc o n n e c tt oap a r t i c u l a rs e r v i c ei ny o u rw e b b r o w s e r ( s a y , h t t p : / / y a h o o . c o m / ) , y o u c o u l dt r y t o p i n g i t : $ p i n g y a h o o . c o m P I N Gy a h o o . c o m( 6 6 . 9 4 . 2 3 4 . 1 3 ) : 5 6 d a t a b y t e s 6 4 b y t e s f r o m6 6 . 9 4 . 2 3 4 . 1 3 : i c m p _ s e q = 0t t l = 5 7t i m e = 2 9 . 3 7 5m s 6 4 b y t e s f r o m6 6 . 9 4 . 2 3 4 . 1 3 : i c m p _ s e q = 1t t l = 5 6t i m e = 3 5 . 4 6 7m s 6 4 b y t e s f r o m6 6 . 9 4 . 2 3 4 . 1 3 : i c m p _ s e q = 2t t l = 5 6t i m e = 3 4 . 1 5 8m s ^ C y a h o o . c o mp i n g s t a t i s t i c s 3 p a c k e t s t r a n s m i t t e d , 3 p a c k e t s r e c e i v e d , 0 %p a c k e t l o s s r o u n d t r i p m i n / a v g / m a x / s t d d e v =2 9 . 3 7 5 / 3 3 . 0 0 0 / 3 5 . 4 6 7 / 2 . 6 1 8m s H i t c o n t r o l Cw h e ny o u a r e 0 n i s h e dc o l l e c t i n g d a t a . I fp a c k e t st a k ea l o n gt i m et oc o m eb a c k ,t h e r em a yb en e t w o r k c o n g e s t i o n . I f r e t u r np i n gp a c k e t s h a v ea nu n u s u a l l yl o wT i m eT oL i v e( T T L ) , y o u m a yh a v er o u t i n gp r o b l e m s b e t w e e ny o u r m a c h i n ea n dt h er e m o t ee n d . B u t w h a t i f t h e p i n g d o e s n t r e t u r na n y d a t a a t a l l ? I f y o ua r e p i n g i n gan a m e i n s t e a do f a nI Pa d d r e s s , y o um a yb e r u n n i n g i n t o D N Sp r o b l e m s .

310

MAINTENANCE, MONITORING AND SUSTAINABILITY

T r yp i n g i n g a nI Pa d d r e s s o nt h e I n t e r n e t . I f y o uc a n t r e a c hi t , i t s a g o o d i d e a t o s e e i f y o u c a np i n g y o u r d e f a u l t r o u t e r : $ p i n g 6 9 . 9 0 . 2 3 5 . 2 3 0 P I N G6 9 . 9 0 . 2 3 5 . 2 3 0 ( 6 9 . 9 0 . 2 3 5 . 2 3 0 ) : 5 6 d a t a b y t e s 6 4 b y t e s f r o m6 9 . 9 0 . 2 3 5 . 2 3 0 : i c m p _ s e q = 0t t l = 1 2 6t i m e = 1 2 . 9 9 1m s 6 4 b y t e s f r o m6 9 . 9 0 . 2 3 5 . 2 3 0 : i c m p _ s e q = 1t t l = 1 2 6t i m e = 1 4 . 8 6 9m s 6 4 b y t e s f r o m6 9 . 9 0 . 2 3 5 . 2 3 0 : i c m p _ s e q = 2t t l = 1 2 6t i m e = 1 3 . 8 9 7m s ^ C 2 1 6 . 2 3 1 . 3 8 . 1 p i n g s t a t i s t i c s 3 p a c k e t s t r a n s m i t t e d , 3 p a c k e t s r e c e i v e d , 0 %p a c k e t l o s s r o u n d t r i pm i n / a v g / m a x / s t d d e v =1 2 . 9 9 1 / 1 3 . 9 1 9 / 1 4 . 8 6 9 / 0 . 7 6 7m s I f y o u c a n t p i n g y o u r d e f a u l t r o u t e r , t h e nc h a n c e s a r e y o u w o n t b e a b l e t o g e t t ot h e I n t e r n e t e i t h e r . I f y o u c a n t e v e np i n g o t h e r I P a d d r e s s e s o ny o u r l o c a lL A N ,t h e ni t st i m et oc h e c ky o u rc o n n e c t i o n . I fy o u r eu s i n g E t h e r n e t , i s i t p l u g g e di n ? I f y o u r e u s i n g w i r e l e s s , a r e y o u c o n n e c t e d t o t h e p r o p e r w i r e l e s s n e t w o r k , a n di s i t i nr a n g e ? Wh i l ei t i sg e n e r a l l ya c c u r a t et oa s s u m et h a t am a c h i n et h a t d o e sn o t r e s p o n dt oa p i n g i s l i k e l y t ob e d o w no r c u t o 1f r o mt h e n e t w o r kt h i s i s n o t a l w a y s 1 0 0 %t h e c a s e . P a r t i c u l a r l yo naWA No r t h e I n t e r n e t i t s e l f , i t i s a l s op o s s i b l e t h a t s o m e r o u t e r / 0 r e w a l l b e t w e e ny o ua n dt h e t a r g e t h o s t ( e v e nt h et a r g e t i t s e l f ) i s b l o c k i n gp i n g s . I f y o u0 n dam a c h i n ei sn o tr e s p o n d i n gt op i n g s , t r y a n o t h e r w e l l k n o w ns e r v i c e l i k e s s h o r h t t p . I f y o uc a nr e a c ht h e t a r g e t t h r o u g he i t h e r o f t h e s e s e r v i c e s t h e ny o uk n o w t h e m a c h i n e i s u pa n ds i m p l y b l o c k i n g p i n g s . I t i s a l s o w o r t hn o t i n g t h a t d i 1 e r e n t s y s t e m s t r e a t p i n g d i 1 e r e n t l y . $e c l a s s i c U N I Xp i n g u t i l i t y s e n d s a nI C MP E C HO p r o t o c o lp a c k e tt ot h et a r g e th o s t . S o m en e t w o r k d e v i c e s w i l l r e s p o n dt oap i n ga u t o m a t i c a l l yr e g a r d l e s s o f w h e t h e r I C MP i s b e i n g b l o c k e df u r t h e r u p t h e p r o t o c o l s t a c k . $i sc a na l s ob em i s l e a d i n gb e c a u s ei t c a ni n d i c a t eah o s t i s u pw h e n a c t u a l l y a l l t h a t ' s r e a l l y g o i n g o ni s t h a t t h e N I C( N e t w o r kI n t e r f a c e C a r d )

16. NETWORK MONITORING

311

i s p o w e r e da n dt h e m a c h i n ei t s e l f i s n o t a c t u a l l yu pa n dr u n n i n g . A s w e s t a t e da b o v e ,i t ' sa l w a y sg o o dt oc h e c kc o n n e c t i v i t yw i t hm u l t i p l e m e t h o d s . N e t w o r kd e b u g g i n gw i t hp i n gi s ab i t o f a na r t , b u t i t i s u s e f u l t ol e a r n . S i n c ey o uw i l l l i k e l y0 n dp i n go nj u s t a b o u t a n ym a c h i n ey o u w i l l w o r k o n , i t s a g o o d i d e a t o l e a r n h o wt o u s e i t w e l l . t r a c e r o u t e a n dm t r h t t p : / / w w w . b i t w i z a r d . n l / m t r / A s w i t hp i n g , t r a c e r o u t ei s f o u n do nm o s t o p e r a t i n gs y s t e m s ( i t s c a l l e d t r a c e r t i ns o m ev e r s i o n s o f Mi c r o s o f t Wi n d o w s ) . B yr u n n i n gt r a c e r o u t e , y o uc a n0 n dt h el o c a t i o no f p r o b l e m s b e t w e e ny o u r c o m p u t e r a n da n y p o i n t o n t h e I n t e r n e t :
$ t r a c e r o u t e n g o o g l e . c o m t r a c e r o u t e t o g o o g l e . c o m( 7 2 . 1 4 . 2 0 7 . 9 9 ) , 6 4 h o p s m a x , 4 0 b y t e p a c k e t s 1 1 0 . 1 5 . 6 . 1 4 . 3 2 2 m s 1 . 7 6 3 m s 1 . 7 3 1 m s 2 2 1 6 . 2 3 1 . 3 8 . 1 3 6 . 1 8 7 m s 1 4 . 6 4 8 m s 1 3 . 5 6 1 m s 3 6 9 . 1 7 . 8 3 . 2 3 3 1 4 . 1 9 7 m s 1 3 . 2 5 6 m s 1 3 . 2 6 7 m s 4 6 9 . 1 7 . 8 3 . 1 5 0 3 2 . 4 7 8 m s 2 9 . 5 4 5 m s 2 7 . 4 9 4 m s 5 1 9 8 . 3 2 . 1 7 6 . 3 1 4 0 . 7 8 8 m s 2 8 . 1 6 0 m s 2 8 . 1 1 5 m s 6 6 6 . 2 4 9 . 9 4 . 1 4 2 8 . 6 0 1 m s 2 9 . 9 1 3 m s 2 8 . 8 1 1 m s 7 1 7 2 . 1 6 . 2 3 6 . 8 2 3 2 8 . 8 0 9 m s 2 5 2 8 . 9 4 4 m s 2 4 2 8 . 7 1 9 m s 8 * * *

$e ns w i t c ht e l l s t r a c e r o u t e n o t t ob o t h e r r e s o l v i n g n a m e s i nD N S , a n d m a k e s t h et r a c er u nm o r eq u i c k l y . Y o uc a ns e et h a t a th o ps e v e n , t h e r o u n dt r i pt i m e s h o o t s u pt om o r e t h a nt w os e c o n d s , w h i l e p a c k e t s s e e m t o b e d i s c a r d e da t h o p e i g h t . $i s m i g h t i n d i c a t e a p r o b l e ma t t h a t p o i n t i nt h e n e t w o r k . I f t h i s p a r t o f t h e n e t w o r ki s i ny o u r c o n t r o l , i t m i g h t b ew o r t hs t a r t i n g y o u r t r o u b l e s h o o t i n g e 1 o r t t h e r e .

312

MAINTENANCE, MONITORING AND SUSTAINABILITY

My T r a c e R o u t e( m t r )i sa h a n d yp r o g r a m t h a tc o m b i n e sp i n ga n d t r a c e r o u t ei n t oas i n g l et o o l . B yr u n n i n gm t r , y o uc a ng e t a no n g o i n g a v e r a g eo fl a t e n c ya n dp a c k e tl o s st o as i n g l eh o s t ,i n s t e a do ft h e m o m e n t a r y s n a p s h o t t h a t p i n g a n dt r a c e r o u t e p r o v i d e . My t r a c e r o u t e [ v 0 . 6 9 ] t e s l a . r o b . s w n( 0 . 0 . 0 . 0 ) ( t o s = 0 x 0 p s i z e = 6 4b i t p a t S u nJ a n 8 2 0 : 0 1 : 2 6 2 0 0 6 ) K e y s : H e l p D i s p l a y m o d e R e s t a r t s t a t i s t i c s O r d e r o f C e l d s q u i t
Packets Host 1. gremlin.rob.swn 2. er1.sea1.speakeasy.net 3. 220.ge-0-1-0.cr2.sea1. Speakeasy.net 4. fe-0-3-0.cr2.sfo1. speakeasy.net 5. bas1-m.pao.yahoo.com 6. so-1-1-0.pat1.dce. yahoo.com 7. ae1.p400.msr1.dcn. yahoo.com 8. ge5-2.bas1-m.dcn. yahoo.com Loss% Snt 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 0.0% 4 4 4 4 4 4 4 4 3 Last 1.9 15.5 11.0 36.0 27.9 89.7 91.2 89.3 91.2 Avg 2.0 14.0 11.7 34.7 29.6 91.0 93.1 91.0 93.1 Pings Best Wrst StDev 1.7 12.7 10.7 28.7 27.9 89.7 90.8 89.3 90.8 2.6 15.5 14.0 38.1 33.0 93.0 99.2 93.4 99.2 0.4 1.3 1.6 4.1 2.4 1.4 4.1 1.9 4.1

9.w2.rc.vip.dcn.yahoo.com 0.0%

$e d a t a w i l l b e c o n t i n u o u s l y u p d a t e da n da v e r a g e d o v e r t i m e . A s w i t hp i n g , y o us h o u l dh i t c o n t r o l Cw h e ny o ua r e 0 n i s h e dl o o k i n ga t t h e d a t a . N o t e t h a t y o u m u s t h a v e r o o t p r i v i l e g e s t o r u nm t r . Wh i l e t h e s e t o o l s w i l l n o t r e v e a l p r e c i s e l y w h a t i s w r o n g w i t ht h e n e t w o r k , t h e yc a ng i v ey o ue n o u g hi n f o r m a t i o nt ok n o ww h e r et oc o n t i n u e t r o u b l e s h o o t i n g .

16. NETWORK MONITORING

313

Protocol analysers
N e t w o r kp r o t o c o la n a l y s e r sp r o v i d ea g r e a td e a lo fd e t a i la b o u t i n f o r m a t i o nW o w i n gt h r o u g h an e t w o r k ,b ya l l o w i n gy o ut oi n s p e c t i n d i v i d u a l p a c k e t s . F o rw i r e dn e t w o r k s , y o uc a ni n s p e c tp a c k e t s a tt h e d a t a l i n kl a y e ro ra b o v e .F o rw i r e l e s sn e t w o r k s ,y o uc a ni n s p e c t i n f o r m a t i o na l l t h ew a yd o w nt oi n d i v i d u a l8 0 2 . 1 1f r a m e s . H e r ea r e s e v e r a l p o p u l a r ( a n df r e e ) n e t w o r k p r o t o c o l a n a l y s e r s : K i s m e t h t t p : / / w w w . k i s m e t w i r e l e s s . n e t / K i s m e ti sa p o w e r f u lw i r e l e s sp r o t o c o la n a l y s e rf o rm a n yp l a t f o r m s i n c l u d i n gL i n u x , Ma cO SX , a n de v e nt h ee m b e d d e dO p e n WR TL i n u x d i s t r i b u t i o n . I t w o r k s w i t ha n yw i r e l e s s c a r dt h a t s u p p o r t s p a s s i v e m o n i t o r m o d e . I na d d i t i o nt ob a s i c n e t w o r kd e t e c t i o n , K i s m e t w i l l p a s s i v e l y l o g a l l 8 0 2 . 1 1f r a m e s t od i s ko r t ot h en e t w o r ki ns t a n d a r dP C A Pf o r m a t , f o r l a t e ra n a l y s i sw i t ht o o l sl i k eWi r e s h a r k . K i s m e ta l s of e a t u r e sa s s o c i a t e d c l i e n ti n f o r m a t i o n , A Ph a r d w a r e0 n g e r p r i n t i n g , N e t s t u m b l e rd e t e c t i o n , a n dG P Si n t e g r a t i o n . S i n c ei t i s ap a s s i v en e t w o r km o n i t o r , i t c a ne v e n d e t e c t c l o s e d w i r e l e s sn e t w o r k sb ya n a l y s i n gt r a N cs e n tb yw i r e l e s s c l i e n t s . Y o uc a nr u nK i s m e t o ns e v e r a l m a c h i n e s a t o n c e , a n dh a v e t h e m a l l r e p o r t o v e r t h e n e t w o r kb a c kt oa c e n t r a l u s e r i n t e r f a c e . $i s a l l o w s f o r w i r e l e s s m o n i t o r i n go v e ral a r g ea r e a , s u c ha sau n i v e r s i t yo rc o r p o r a t e c a m p u s . S i n c e K i s m e t u s e s t h e r a d i oc a r d ' s p a s s i v e m o n i t o r m o d e , i t d o e s a l l o f t h i s w i t h o u t t r a n s m i t t i n g a n y d a t a . K i s m e t i s a ni n v a l u a b l e t o o l f o r d i a g n o s i n g w i r e l e s s n e t w o r kp r o b l e m s . K i s MA C h t t p : / / k i s m a c n g . o r g E x c l u s i v e l yf o rt h eMa cO SX p l a t f o r m , K i s MA Cd o e sm u c ho f w h a t K i s m e t c a nd o , b u t w i t has l i c kMa cO SX g r a p h i c a l i n t e r f a c e . I t i s a p a s s i v e s c a n n e r t h a t w i l l l o g d a t a t od i s k i nP C A Pf o r m a t c o m p a t i b l e w i t h Wi r e s h a r k . I t s u p p o r t s p a s s i v e s c a n n i n g w i t hA i r p o r t E x t r e m e c a r d s a s w e l l a s a v a r i e t y o f U S Bw i r e l e s s a d a p t e r s . t c p d u m p h t t p : / / w w w . t c p d u m p . o r g / t c p d u m p i s a c o m m a n d l i n e t o o l f o r m o n i t o r i n g n e t w o r k t r a N c .

314

MAINTENANCE, MONITORING AND SUSTAINABILITY

I t d o e s n o t h a v ea l l t h eb e l l sa n dw h i s t l e s o f w i r e s h a r kb u t i t d o e s u s e f e w e r r e s o u r c e s . T c p d u m pc a nc a p t u r ea n dd i s p l a ya l l n e t w o r kp r o t o c o l i n f o r m a t i o nd o w nt ot h e l i n kl a y e r . I t c a ns h o wa l l o f t h e p a c k e t h e a d e r s a n dd a t a r e c e i v e d , o r j u s t t h e p a c k e t s t h a t m a t c hp a r t i c u l a r c r i t e r i a . P a c k e t s c a p t u r e dw i t ht c p d u m pc a nb el o a d e di n t ow i r e s h a r kf o r v i s u a l a n a l y s i s a n df u r t h e r d i a g n o s t i c s . $i s i s v e r y u s e f u l i f y o uw i s ht om o n i t o r a ni n t e r f a c eo nar e m o t es y s t e ma n db r i n gt h e0 l eb a c kt oy o u rl o c a l m a c h i n ef o r a n a l y s i s . $e t c p d u m pt o o l i s a v a i l a b l e a s as t a n d a r dt o o l i n U n i x d e r i v a t i v e s ( L i n u x , B S D , a n dMa c O SX ) . $e r e i s a l s oaWi n d o w s p o r t c a l l e dWi n D u m pa v a i l a b l e a t h t t p : / / w w w . w i n p c a p . o r g / w i n d u m p / Wi r e s h a r k h t t p : / / w w w . w i r e s h a r k . o r g / F o r m e r l y k n o w na s E t h e r e a l , Wi r e s h a r k i s a f r e e n e t w o r k p r o t o c o l a n a l y s e r f o r U n i x a n dWi n d o w s .

F i g u r e N M6 : Wi r e s h a r k ( f o r m e r l y E t h e r e a l ) i s a p o w e r f u l n e t w o r k p r o t o c o l a n a l y s e r t h a t c a ns h o wy o ua s m u c h d e t a i l a s y o ul i k e a b o u t a n y p a c k e t . Wi r e s h a r ka l l o w sy o ut oe x a m i n ed a t af r o m al i v en e t w o r ko rf r o ma c a p t u r e0 l eo nd i s k , a n di n t e r a c t i v e l y b r o w s ea n ds o r t t h e c a p t u r e dd a t a . B o t hs u m m a r ya n dd e t a i l e di n f o r m a t i o ni sa v a i l a b l ef o re a c hp a c k e t , i n c l u d i n g t h e f u l l h e a d e r a n dd a t a p o r t i o n s .

16. NETWORK MONITORING

315

Wi r e s h a r kh a ss e v e r a l p o w e r f u l f e a t u r e s , i n c l u d i n gar i c hd i s p l a y0 l t e r l a n g u a g ea n dt h ea b i l i t yt ov i e wt h er e c o n s t r u c t e ds t r e a mo faT C P s e s s i o n . I t c a nb e d a u n t i n g t ou s e f o r 0 r s t t i m e u s e r s o r t h o s e t h a t a r e n o t f a m i l i a r w i t ht h e O S I l a y e r s . I t i s t y p i c a l l yu s e dt oi s o l a t e a n da n a l y s e s p e c i 0 c t r a N ct oo r f r o ma nI P a d d r e s s , b u t i t c a nb e a l s o u s e da s a g e n e r a l p u r p o s e f a u l t 0 n d i n g t o o l . F o r e x a m p l e ,am a c h i n ei n f e c t e dw i t h an e t w o r kw o r mo rv i r u sc a nb e i d e n t i 0 e db y l o o k i n g f o r t h e m a c h i n e t h a t i s s e n d i n g o u t t h e s a m e s o r t o f T C P / I Pp a c k e t s t o l a r g e g r o u p s o f I Pa d d r e s s e s .

Trending tools
T r e n d i n gt o o l sa r eu s e dt os e eh o wy o u rn e t w o r ki su s e do v e ral o n g p e r i o do ft i m e .$ e yw o r kb yp e r i o d i c a l l ym o n i t o r i n gy o u rn e t w o r k a c t i v i t y , a n dd i s p l a y i n gas u m m a r yi nah u m a n r e a d a b l ef o r m( s u c ha s a g r a p h ) . T r e n d i n g t o o l s c o l l e c t d a t a a s w e l l a s a n a l y s e a n dr e p o r t o n i t . B e l o wa r e s o m e e x a m p l e s o f t r e n d i n g t o o l s . S o m e o f t h e mn e e dt o b e u s e d i nc o n j u n c t i o nw i t he a c ho t h e r , a s t h e y a r e n o t s t a n d a l o n e p r o g r a m s . MR T G h t t p : / / o s s . o e t i k e r . c h / m r t g / $e Mu l t i R o u t e r T r a N cG r a p h e r ( MR T G ) m o n i t o r s t h et r a N cl o a do n n e t w o r kl i n k s u s i n g S N MP . MR T Gg e n e r a t e s g r a p h s t h a t p r o v i d e a v i s u a l r e p r e s e n t a t i o no fi n b o u n da n do u t b o u n dt r a N c . $e s ea r et y p i c a l l y d i s p l a y e do n a w e b p a g e . MR T Gc a nb e a l i t t l e c o n f u s i n g t o s e t u p , e s p e c i a l l y i f y o u a r e n o t f a m i l i a r w i t hS N MP .B u to n c ei ti si n s t a l l e d ,MR T G r e q u i r e sv i r t u a l l yn o m a i n t e n a n c e , u n l e s s y o uc h a n g es o m e t h i n go nt h es y s t e mt h a t i s b e i n g m o n i t o r e d( s u c ha s i t s I Pa d d r e s s ) .

316

MAINTENANCE, MONITORING AND SUSTAINABILITY

g r a p h e r . R R D t o o l R R Di s s h o r t f o r R o u n dR o b i nD a t a b a s e . R R Di s ad a t a b a s et h a t s t o r e s i n f o r m a t i o ni n av e r yc o m p a c tw a yt h a td o e sn o te x p a n do v e rt i m e . R R D t o o l r e f e r s t oas u i t eo f t o o l st h a t a l l o wy o ut oc r e a t ea n dm o d i f y R R Dd a t a b a s e s , a s w e l l a s g e n e r a t e u s e f u l g r a p h s t o p r e s e n t t h e d a t a . I t i s u s e dt ok e e pt r a c ko f t i m e s e r i e s d a t a( s u c ha s n e t w o r kb a n d w i d t h , m a c h i n er o o mt e m p e r a t u r e , o r s e r v e r l o a da v e r a g e ) a n dc a nd i s p l a yt h a t d a t a a s a na v e r a g e o v e r t i m e . N o t et h a t R R D t o o l i t s e l f d o e sn o tc o n t a c tn e t w o r kd e v i c e s t or e t r i e v e d a t a . I t i s m e r e l y a d a t a b a s e m a n i p u l a t i o nt o o l . Y o uc a nu s e a s i m p l e w r a p p e r s c r i p t ( t y p i c a l l yi ns h e l l o r P e r l ) t od ot h a t w o r kf o r y o u . R R D t o o l i s a l s ou s e db y m a n y f u l l f e a t u r e df r o n t e n d s t h a t p r e s e n t y o uw i t haf r i e n d l yw e bi n t e r f a c ef o r c o n 0 g u r a t i o na n dd i s p l a y . R R Dg r a p h s g i v e y o um o r e c o n t r o l o v e r d i s p l a yo p t i o n s a n dt h e n u m b e r o f i t e m s a v a i l a b l e o n a g r a p ha s c o m p a r e dt o MR T G .

F i g u r e N M8 : R R D t o o l g i v e s y o ua l o t o f E e x i b i l i t y i n h o wy o u r c o l l e c t e d n e t w o r k d a t a m a y b e d i s p l a y e d .

16. NETWORK MONITORING

317

R R D t o o l i s i n c l u d e di nv i r t u a l l y a l l m o d e r nL i n u x d i s t r i b u t i o n s , a n dc a n b e d o w n l o a d e df r o mh t t p : / / o s s . o e t i k e r . c h / r r d t o o l / n t o p F o rh i s t o r i c a lt r a N ca n a l y s i sa n du s a g e ,y o uw i l lc e r t a i n l yw a n tt o i n v e s t i g a t e n t o p . $i sp r o g r a m b u i l d sa d e t a i l e dr e a l t i m er e p o r to fo b s e r v e dn e t w o r k t r a N c ,d i s p l a y e di ny o u rw e bb r o w s e r . I ti n t e g r a t e sw i t hr r d t o o l ,a n d m a k e s g r a p h s a n dc h a r t s v i s u a l l y d e p i c t i n g h o wt h e n e t w o r k i s b e i n g u s e d . O nv e r y b u s y n e t w o r k s , n t o pc a nu s e a l o t o f C P Ua n dd i s ks p a c e , b u t i t g i v e s y o u e x t e n s i v e i n s i g h t i n t o h o wy o u r n e t w o r k i s b e i n g u s e d . I t r u n s o n L i n u x , B S D , Ma c O S X , a n dWi n d o w s . S o m e o f i t s m o r e u s e f u l f e a t u r e s i n c l u d e : T r a N cd i s p l a yc a nb es o r t e db yv a r i o u sc r i t e r i a( s o u r c e ,d e s t i n a t i o n , p r o t o c o l , MA Ca d d r e s s , e t c . ) . T r a N c s t a t i s t i c s g r o u p e db y p r o t o c o l a n dp o r t n u m b e r . A nI Pt r a N c m a t r i x w h i c hs h o w s c o n n e c t i o n s b e t w e e nm a c h i n e s N e t w o r k W o w sf o rr o u t e r so rs w i t c h e st h a ts u p p o r tt h eN e t F l o wp r o t o c o l H o s t o p e r a t i n gs y s t e m i d e n t i 0 c a t i o n ,P 2 Pt r a N c ,i d e n t i 0 c a t i o n ,n u m e r o u s g r a p h i c a l c h a r t s , P e r l , P HP , a n dP y t h o nA P I . n t o pi sa v a i l a b l ef r o mh t t p : / / w w w . n t o p . o r g /a n di sa v a i l a b l ef o rm o s t o p e r a t i n g s y s t e m s . I t i s o f t e ni n c l u d e di nm a n y o f t h e p o p u l a r L i n u x d i s t r i b u t i o n s , i n c l u d i n g R e d H a t , D e b i a n , a n dU b u n t u . Wh i l ei t c a nb el e f t r u n n i n gt oc o l l e c t h i s t o r i c a l d a t a , n t o pc a nb ef a i r l y C P Ui n t e n s i v e , d e p e n d i n g o n t h e a m o u n t o f t r a N c o b s e r v e d . I f y o ua r e g o i n gt or u ni t f o r l o n gp e r i o d s y o us h o u l dm o n i t o r t h e C P U u t i l i s a t i o no f t h e m o n i t o r i n gm a c h i n e .

318

MAINTENANCE, MONITORING AND SUSTAINABILITY

F i g u r e N M9 : n t o p d i s p l a y s a w e a l t h o f i n f o r m a t i o n a b o u t h o wy o u r n e t w o r k i s u t i l i s e d b y v a r i o u s c l i e n t s a n d s e r v e r s . $e m a i nd i s a d v a n t a g eo f n t o pi s t h a t i t d o e s n o t p r o v i d e i n s t a n t a n e o u s i n f o r m a t i o n , o n l y l o n g t e r mt o t a l s a n da v e r a g e s . $i sc a nm a k ei td i N c u l tt ou s et od i a g n o s ea p r o b l e m t h a ts t a r t s s u d d e n l y . C a c t i h t t p : / / w w w . c a c t i . n e t / C a c t i i s a f r o n t e n df o r R R D t o o l . I t s t o r e s a l l o f t h e n e c e s s a r y i n f o r m a t i o n t o c r e a t e g r a p h s i na My S Q Ld a t a b a s e . $e f r o n t e n di s w r i t t e ni nP HP . C a c t i d o e s t h e w o r ko f m a i n t a i n i n gg r a p h s , d a t a s o u r c e s , a n dh a n d l e s t h e a c t u a l d a t a g a t h e r i n g . $e r ei ss u p p o r t f o rS N MP d e v i c e s , a n dc u s t o ms c r i p t sc a ne a s i l yb e w r i t t e nt o p o l l v i r t u a l l y a n y c o n c e i v a b l e n e t w o r k e v e n t .

16. NETWORK MONITORING

319

F i g u r e N M1 0 : C a c t i c a nm a n a g e t h e p o l l i n g o f y o u r n e t w o r k d e v i c e s , a n d c a nb u i l d v e r y c o m p l e x a n d i n f o r m a t i v e v i s u a l i s a t i o n s o f n e t w o r k b e h a v i o u r . C a c t ic a nb es o m e w h a tc o n f u s i n gt oc o n 0 g u r e ,b u to n c ey o uw o r k t h r o u g ht h ed o c u m e n t a t i o na n de x a m p l e s , i t c a ny i e l dv e r yi m p r e s s i v e g r a p h s . $e r e a r e h u n d r e d s o f t e m p l a t e s f o r v a r i o u s s y s t e m s a v a i l a b l e o nt h e c a c t i w e b s i t e , a n dt h e c o d e i s u n d e r r a p i d d e v e l o p m e n t . N e t F l o w N e t F l o wi s ap r o t o c o l f o rc o l l e c t i n gI Pt r a N ci n f o r m a t i o ni n v e n t e db y C i s c o . F r o mt h e C i s c o w e b s i t e : C i s c oI O SN e t F l o we N c i e n t l yp r o v i d e sa k e ys e to fs e r v i c e sf o rI P a p p l i c a t i o n s , i n c l u d i n gn e t w o r kt r a N ca c c o u n t i n g , u s a g e b a s e dn e t w o r k b i l l i n g ,n e t w o r kp l a n n i n g ,s e c u r i t y ,D e n i a lo fS e r v i c em o n i t o r i n g c a p a b i l i t i e s , a n dn e t w o r k m o n i t o r i n g . N e t F l o w p r o v i d e sv a l u a b l ei n f o r m a t i o n a b o u tn e t w o r ku s e r sa n d a p p l i c a t i o n s , p e a ku s a g e t i m e s , a n dt r a N c r o u t i n g .

320

MAINTENANCE, MONITORING AND SUSTAINABILITY

C i s c or o u t e r s c a ng e n e r a t eN e t F l o wi n f o r m a t i o nw h i c hi s a v a i l a b l ef r o m t h er o u t e ri nt h ef o r mo fU D Pp a c k e t s . N e t F l o wi sa l s ol e s sC P U i n t e n s i v eo nC i s c or o u t e r st h a nu s i n gS N MP .I ta l s op r o v i d e sm o r e g r a n u l a r i n f o r m a t i o nt h a nS N MP , l e t t i n gy o ug e t am o r e d e t a i l e dp i c t u r e o f p o r t a n dp r o t o c o l u s a g e . $i si n f o r m a t i o ni sc o l l e c t e db yaN e t F l o w c o l l e c t o r t h a t s t o r e s a n dp r e s e n t s t h e d a t a a s a na g g r e g a t e o v e r t i m e . B ya n a l y s i n gW o wd a t a , o n e c a nb u i l dap i c t u r e o f t r a N cW o wa n dt r a N c v o l u m ei nan e t w o r ko r o nac o n n e c t i o n . $e r ea r es e v e r a l c o m m e r c i a l a n df r e e N e t F l o wc o l l e c t o r s a v a i l a b l e . N t o pi s o n e f r e e t o o l t h a t c a na c t a s aN e t F l o wc o l l e c t o r a n dp r o b e . A n o t h e r i s F l o w c ( s e e b e l o w ) . I t c a na l s o b e d e s i r a b l e t o u s e N e t W o wa s a s p o t c h e c kt o o l , b y j u s t l o o k i n g a t a q u i c k s n a p s h o to fd a t ad u r i n gan e t w o r kc r i s i s .$ i n ko fN e t F l o wa sa n a l t e r n a t i v et oS N MP f o rC i s c od e v i c e s . F o rm o r ei n f o r m a t i o na b o u t N e t F l o w , s e e h t t p : / / e n . w i k i p e d i a . o r g / w i k i / N e t W o w. F l o w c h t t p : / / n e t a c a d . k i e v . u a / W o w c / . F l o w ci s a no p e ns o u r c eN e t F l o wc o l l e c t o r ( s e e N e t F l o wa b o v e ) . I t i s l i g h t w e i g h t a n de a s yt oc o n 0 g u r e . F l o w c u s e s a My S Q Ld a t a b a s et os t o r ea g g r e g a t e dt r a N ci n f o r m a t i o n . $e r e f o r e , i t i s p o s s i b l e t og e n e r a t e y o u r o w nr e p o r t s f r o mt h e d a t a u s i n g S Q L , o r u s e t h e i n c l u d e dr e p o r t g e n e r a t o r s . $e b u i l t i nr e p o r t g e n e r a t o r s p r o d u c e r e p o r t s i nHT ML , p l a i nt e x t o r a g r a p h i c a l f o r m a t .

F i g u r e N M1 1 : At y p i c a l E o wc h a r t g e n e r a t e d b y F l o w c . $e l a r g e g a pi nd a t a p r o b a b l y i n d i c a t e s a n e t w o r ko u t a g e . T r e n d i n g t o o l s t y p i c a l l y w i l l n o t n o t i f y y o u o f o u t a g e s , b u t m e r e l y l o g t h e o c c u r r e n c e .

16. NETWORK MONITORING

321

T ob en o t i 0 e dw h e nn e t w o r kp r o b l e m s o c c u r , u s ear e a l t i m em o n i t o r i n g t o o l s u c ha s N a g i o s . S m o k e P i n g h t t p : / / o s s . o e t i k e r . c h / s m o k e p i n g / . S m o k e P i n g i s a d e l u x e l a t e n c y m e a s u r e m e n t t o o l w r i t t e ni nP e r l . I t c a nm e a s u r e , s t o r ea n dd i s p l a yl a t e n c y , l a t e n c yd i s t r i b u t i o na n dp a c k e t l o s s a l l o n a s i n g l e g r a p h . S m o k e P i n gu s e st h eR R D t o o lf o rd a t as t o r a g e ,a n dc a nd r a wv e r y i n f o r m a t i v e g r a p h s t h a t p r e s e n t u pt ot h e m i n u t e i n f o r m a t i o no nt h e s t a t e o f y o u r n e t w o r k c o n n e c t i o n . I t i s v e r yu s e f u l t or u nS m o k e P i n go nah o s t w i t hg o o dc o n n e c t i v i t yt o y o u r e n t i r en e t w o r k . O v e r t i m e , t r e n d s a r er e v e a l e dt h a t c a np o i n t t oa l l s o r t s o f n e t w o r k p r o b l e m s . C o m b i n e dw i t hMR T Go r C a c t i , y o uc a no b s e r v e t h e e 1 e c t t h a t n e t w o r k c o n g e s t i o nh a s o n p a c k e t l o s s a n d l a t e n c y . S m o k e P i n gc a no p t i o n a l l ys e n da l e r t sw h e nc e r t a i nc o n d i t i o n sa r em e t , s u c ha s w h e ne x c e s s i v e p a c k e t l o s s i s s e e no na l i n k f o r a n e x t e n d e dp e r i o d o f t i m e . A ne x a m p l e o f S m o k e P i n g i na c t i o ni s s h o w ni nF i g u r e N M1 2 .

F i g u r e N M1 2 : S m o k e P i n g c a ns i m u l t a n e o u s l y d i s p l a y p a c k e t l o s s a n d l a t e n c y s p r e a d s i na s i n g l e g r a p h .

322

MAINTENANCE, MONITORING AND SUSTAINABILITY

E t h e r A p e h t t p : / / e t h e r a p e . s o u r c e f o r g e . n e t / E t h e r A p e d i s p l a y s a g r a p h i c a l r e p r e s e n t a t i o no f n e t w o r kt r a N c . H o s t s a n d l i n k s c h a n g es i z ed e p e n d i n go nt h ea m o u n t o f t r a N cs e n t a n dr e c e i v e d . $e c o l o u r s c h a n g e t o r e p r e s e n t t h e p r o t o c o l m o s t u s e d . A s w i t hw i r e s h a r k a n dt c p d u m p , d a t ac a nb ec a p t u r e d" o 1t h ew i r e "f r o m al i v en e t w o r k c o n n e c t i o no r r e a df r o m at c p d u m pc a p t u r e0 l e . E t h e r A p ed o e s n ' t s h o w q u i t e a s m u c hd e t a i l a s n t o p , b u t i t s r e s o u r c e r e q u i r e m e n t s a r e m u c hl i g h t e r . i p t r a f h t t p : / / i p t r a f . s e u l . o r g / I P T r a fi sal i g h t w e i g h tb u tp o w e r f u l L A Nm o n i t o r . I th a sa nn c u r s e s i n t e r f a c e a n dr u n s i na c o m m a n ds h e l l . I P T r a f t a k e s a m o m e n t t om e a s u r e o b s e r v e dt r a N c ,a n dt h e nd i s p l a y sv a r i o u sn e t w o r ks t a t i s t i c si n c l u d i n g T C Pa n dU D Pc o n n e c t i o n s , I C MPa n dO S P Fi n f o r m a t i o n , t r a N c W o w s , I Pc h e c k s u me r r o r s , a n dm o r e . I t i s as i m p l et ou s ep r o g r a mt h a t u s e s m i n i m a l s y s t e mr e s o u r c e s . Wh i l e i t d o e s n o t k e e ph i s t o r i c a l d a t a , i t i s v e r y u s e f u l f o r d i s p l a y i n g a ni n s t a n t a n e o u s u s a g e r e p o r t .

F i g u r e N M1 3 : i p t r a f ' s s t a t i s t i c a l b r e a k d o w no f t r a M c b y p o r t .

16. NETWORK MONITORING

323

A r g u s h t t p : / / q o s i e n t . c o m / a r g u s / . A r g u s s t a n d s f o r A u d i t R e c o r dG e n e r a t i o na n dU t i l i s a t i o nS y s t e m . A r g u s i s a l s o t h e n a m e o f t h e m y t h o l o g i c a l G r e e kg o d w h o h a dh u n d r e d s o f e y e s . F r o mt h e A r g u s w e b s i t e : A r g u s g e n e r a t e s W o ws t a t i s t i c s s u c ha s c o n n e c t i v i t y , c a p a c i t y , d e m a n d , l o s s , d e l a y , a n dj i t t e r o nap e r t r a n s a c t i o nb a s i s . A r g u s c a nb eu s e dt oa n a l y s e a n dr e p o r to nt h ec o n t e n t so fp a c k e tc a p t u r e0 l e so ri t c a nr u na sa c o n t i n u o u s m o n i t o r , e x a m i n i n gd a t af r o m al i v ei n t e r f a c e ; g e n e r a t i n ga n a u d i t l o g o f a l l t h e n e t w o r k a c t i v i t y s e e ni nt h e p a c k e t s t r e a m . A r g u sc a nb ed e p l o y e dt om o n i t o r i n d i v i d u a l e n d s y s t e m s , o ra ne n t i r e e n t e r p r i s e sn e t w o r ka c t i v i t y . A sac o n t i n u o u sm o n i t o r ,A r g u sp r o v i d e s b o t hp u s ha n dp u l l d a t ah a n d l i n gm o d e l s , t oa l l o wW e x i b l e s t r a t e g i e s f o r c o l l e c t i n gn e t w o r ka u d i td a t a .A r g u sd a t ac l i e n t ss u p p o r ta r a n g eo f o p e r a t i o n s ,s u c ha ss o r t i n g ,a g g r e g a t i o n ,a r c h i v a la n dr e p o r t i n g . A r g u s c o n s i s t s o f t w o p a r t s : a m a s t e r c o l l e c t o r t h a t r e a d s p a c k e t s f r o ma n e t w o r k d e v i c e , a n dac l i e n t t h a t c o n n e c t s t ot h em a s t e r a n dd i s p l a y s t h eu s a g e s t a t i s t i c s . A r g u s r u n s o n B S D , L i n u x , a n dm o s t o t h e r U N I Xs y s t e m s . N e T r a Me t h t t p : / / w w w . c a i d a . o r g / t o o l s / m e a s u r e m e n t / n e t r a m e t / N e T r a Me t i s a n o t h e r p o p u l a r W o wa n a l y s i s t o o l . L i k e A r g u s , N e T r a Me tc o n s i s t so ft w op a r t s :ac o l l e c t o rt h a tg a t h e r ss t a t i s t i c sv i a S N MP , a n da m a n a g e r t h a t s p e c i 0 e s w h i c hW o w s s h o u l db e w a t c h e d . F l o w s a r e s p e c i 0 e du s i n g a s i m p l e p r o g r a m m i n gl a n g u a g e t h a t d e 0 n e s t h e a d d r e s s e su s e do ne i t h e re n d ,a n dc a ni n c l u d eE t h e r n e t ,I P ,p r o t o c o l i n f o r m a t i o n ,o ro t h e ri d e n t i 0 e r s . N e T r a Me tr u n so nD O Sa n dm o s t U N I Xs y s t e m s , i n c l u d i n g L i n u x a n dB S D . Throughput testing H o wf a s t c a nt h e n e t w o r k g o ? Wh a t i s t h e a c t u a l u s a b l e c a p a c i t y o f a p a r t i c u l a r n e t w o r k l i n k ? Y o uc a ng e t a v e r y g o o de s t i m a t e o f y o u r t h r o u g h p u t c a p a c i t yb y W o o d i n g t h e l i n k w i t ht r a N c a n dm e a s u r i n g h o wl o n g i t t a k e s t o t r a n s f e r t h e d a t a .

324

MAINTENANCE, MONITORING AND SUSTAINABILITY

a l w a y s g i v e y o ua n a c c u r a t e p i c t u r e o f n e t w o r k p e r f o r m a n c e . Wh i l et h e r e a r e w e bp a g e s a v a i l a b l e t h a t w i l l p e r f o r m a s p e e dt e s t i ny o u r b r o w s e r ( s u c ha s h t t p : / / w w w . d s l r e p o r t s . c o m / s t e s t o r h t t p : / / s p e e d t e s t . n e t / ) , t h e s e t e s t s a r ei n c r e a s i n g l yi n a c c u r a t ea s y o ug e t f u r t h e r f r o mt h e t e s t i n g s o u r c e . E v e n w o r s e , t h e y d o n o t a l l o wy o u t o t e s t t h e s p e e do f a g i v e nl i n k , b u t o n l y t h e s p e e d o f y o u r l i n k t o a p a r t i c u l a r s i t e o n t h e I n t e r n e t . H e r e a r e a f e wt o o l s t h a t w i l l a l l o wy o ut o p e r f o r mt h r o u g h p u t t e s t i n g o n y o u r o w nn e t w o r k s .

t t c p N o wa s t a n d a r dp a r t o f m o s t U n i x l i k e s y s t e m s , t t c pi s as i m p l e n e t w o r k p e r f o r m a n c e t e s t i n g t o o l . O n e i n s t a n c e i s r u no n e i t h e r s i d e o f t h e l i n k y o u w a n t t o t e s t . $e 0 r s t n o d e r u n s i nr e c e i v e m o d e , a n dt h e o t h e r t r a n s m i t s : n o d e _ a $t t c p r s n o d e _ b $t t c p t s n o d e _ a t t c p t : b u E e n = 8 1 9 2 , n b u f = 2 0 4 8 , a l i g n = 1 6 3 8 4 / 0 , p o r t = 5 0 0 1 t c p >n o d e _ a t t c p t : s o c k e t t t c p t : c o n n e c t t t c p t : 1 6 7 7 7 2 1 6 b y t e s i n2 4 9 . 1 4 r e a l s e c o n d s =6 5 . 7 6 K B / s e c + + +

16. NETWORK MONITORING

325

t t c p t : 2 0 4 8 I / Oc a l l s , m s e c / c a l l =1 2 4 . 5 7 , c a l l s / s e c =8 . 2 2 t t c p t : 0 . 0 u s e r 0 . 2 s y s 4 : 0 9 r e a l 0 %0 i + 0 d 0 m a x r s s 0 + 0 p f 7 5 3 3 + 0 c s w A f t e r c o l l e c t i n gd a t a i no n e d i r e c t i o n , y o us h o u l dr e v e r s e t h e t r a n s m i t a n d r e c e i v e p a r t n e r s t ot e s t t h e l i n ki nt h e o t h e r d i r e c t i o n . I t c a nt e s t U D Pa s w e l l a s T C Ps t r e a m s , a n dc a na l t e r v a r i o u sT C Pp a r a m e t e r s a n db u 1 e r l e n g t h st og i v et h en e t w o r kag o o dw o r k o u t . I tc a ne v e nu s eau s e r s u p p l i e dd a t a s t r e a mi n s t e a do f s e n d i n g r a n d o md a t a . R e m e m b e r t h a t t h e s p e e dr e a d o u t i s i nk i l o b y t e s , n o t k i l o b i t s . Mu l t i p l yt h e r e s u l t b y 8t o0 n d t h e s p e e di nk i l o b i t s p e r s e c o n d . $e o n l y r e a l d i s a d v a n t a g e t ot t c pi s t h a t i t h a s n t b e e nd e v e l o p e di ny e a r s . F o r t u n a t e l y , t h e c o d eh a s b e e nr e l e a s e d i nt h e p u b l i c d o m a i na n d i s f r e e l y a v a i l a b l e . L i k e p i n g a n dt r a c e r o u t e , t t c p i s f o u n da s a s t a n d a r dt o o l o n m a n y s y s t e m s . i p e r f h t t p : / / i p e r f . s o u r c e f o r g e . n e t / . Mu c hl i k e t t c p , i p e r f i s ac o m m a n dl i n et o o l f o r e s t i m a t i n gt h e t h r o u g h p u t o f a n e t w o r kc o n n e c t i o n . I t s u p p o r t s m a n y o f t h e s a m e f e a t u r e s a s t t c p , b u t u s e s a c l i e n t a n d s e r v e r m o d e l i n s t e a d o f a r e c e i v e a n d t r a n s m i t p a i r . T o r u ni p e r f , l a u n c ha s e r v e r o n o n e s i d e a n da c l i e n t o n t h e o t h e r : n o d e _ a $i p e r f s n o d e _ b $i p e r f c n o d e _ a C l i e n t c o n n e c t i n g t o n o d e _ a , T C Pp o r t 5 0 0 1 T C Pw i n d o ws i z e : 1 6 . 0 K B y t e ( d e f a u l t ) [ 5 ] l o c a l 1 0 . 1 5 . 6 . 1 p o r t 1 2 1 2 c o n n e c t e d w i t h 1 0 . 1 5 . 6 . 2 3 p o r t 5 0 0 1 [ I D ] I n t e r v a l T r a n s f e r B a n d w i d t h [ 5 ] 0 . 0 1 1 . 3 s e c 7 6 8 K B y t e s 5 5 8 K b i t s / s e c $ es e r v e r s i d ew i l l c o n t i n u et ol i s t e na n da c c e p t c l i e n t c o n n e c t i o n s o n p o r t 5 0 0 1 u n t i l y o uh i t c o n t r o l Ct ok i l l i t . $i s c a nm a k e i t h a n d y w h e n r u n n i n g m u l t i p l e t e s t r u n s f r o ma v a r i e t y o f l o c a t i o n s . $e b i g g e s t d i 1 e r e n c e b e t w e e nt t c pa n di p e r f i s t h a t i p e r f i s u n d e r a c t i v e d e v e l o p m e n t , a n dh a s m a n yn e wf e a t u r e s ( i n c l u d i n gI P v 6s u p p o r t ) . $i s m a k e si ta g o o dc h o i c ea sa p e r f o r m a n c et o o lw h e nb u i l d i n gn e w n e t w o r k s .

326

MAINTENANCE, MONITORING AND SUSTAINABILITY

b i n g h t t p : / / f g o u g e t . f r e e . f r / b i n g / i n d x e n . s h t m l R a t h e r t h a nW o o dac o n n e c t i o nw i t hd a t a a n ds e e h o wl o n gt h e t r a n s f e r t a k e s t oc o m p l e t e , b i n g a t t e m p t s t oe s t i m a t e t h e a v a i l a b l e t h r o u g h p u t o f a p o i n t t o p o i n t c o n n e c t i o nb y a n a l y s i n gr o u n dt r i pt i m e s f o r v a r i o u s s i z e d I C MPp a c k e t s . Wh i l ei t i s n o t a l w a y s a s a c c u r a t ea s aW o o dt e s t , i t c a n p r o v i d e a g o o d e s t i m a t e w i t h o u t t r a n s m i t t i n g a l a r g e n u m b e r o f b y t e s . S i n c eb i n gw o r k su s i n gs t a n d a r dI C MP e c h or e q u e s t s , i t c a ne s t i m a t e a v a i l a b l e b a n d w i d t hw i t h o u t t h e n e e dt or u na s p e c i a l c l i e n t o nt h e o t h e r e n d , a n dc a ne v e na t t e m p t t oe s t i m a t et h et h r o u g h p u t o f l i n k so u t s i d e y o u r n e t w o r k . S i n c e i t u s e s r e l a t i v e l y l i t t l e b a n d w i d t h , b i n g c a ng i v e y o ua r o u g hi d e a o f n e t w o r kp e r f o r m a n c e w i t h o u t r u n n i n g u pt h e c h a r g e s t h a t a W o o d t e s t w o u l d c e r t a i n l y i n c u r .

Realtime tools and intrusion detection


I ti sd e s i r a b l et o0 n do u tw h e np e o p l ea r et r y i n gt ob r e a ki n t oy o u r n e t w o r k , o r w h e ns o m e p a r t o f t h e n e t w o r k h a s f a i l e d . B e c a u s en os y s t e ma d m i n i s t r a t o rc a nb em o n i t o r i n gan e t w o r ka l l t h e t i m e , t h e r e a r e p r o g r a m s t h a t c o n s t a n t l y m o n i t o r t h e s t a t u s o f t h e n e t w o r k a n dc a ns e n d a l e r t s w h e nn o t a b l e e v e n t s o c c u r . $e f o l l o w i n g a r e s o m e o p e ns o u r c e t o o l s t h a t c a nh e l pp e r f o r mt h i s t a s k . S n o r t S n o r t ( h t t p : / / w w w . s n o r t . o r g / ) i s ap a c k e t s n i 1 e r a n dl o g g e r w h i c hc a nb e u s e da s a l i g h t w e i g h t n e t w o r k i n t r u s i o nd e t e c t i o ns y s t e m . I t f e a t u r e s r u l e b a s e dl o g g i n ga n dc a np e r f o r mp r o t o c o l a n a l y s i s , c o n t e n t s e a r c h i n g , a n dp a c k e t m a t c h i n g . I t c a nb eu s e dt od e t e c t av a r i e t yo f a t t a c k s a n dp r o b e s , s u c ha s s t e a l t h p o r t s c a n s , C G Ia t t a c k s , S MB p r o b e s , O S0 n g e r p r i n t i n ga t t e m p t s , a n d m a n y o t h e r k i n d s o f a n o m a l o u s t r a N c p a t t e r n s . S n o r t h a s a r e a l t i m e a l e r t c a p a b i l i t yt h a t c a nn o t i f ya d m i n i s t r a t o r s a b o u t p r o b l e m s a s t h e y o c c u r w i t ha v a r i e t y o f m e t h o d s . I n s t a l l i n ga n dr u n n i n g S n o r t i s n o t t r i v i a l , a n dd e p e n d i n g o nt h e a m o u n t o f n e t w o r k t r a N c , w i l l l i k e l y r e q u i r e a d e d i c a t e dm o n i t o r i n g m a c h i n e w i t h c o n s i d e r a b l e r e s o u r c e s .

16. NETWORK MONITORING

327

F o r t u n a t e l y ,S n o r ti sv e r yw e l ld o c u m e n t e da n dh a sa s t r o n gu s e r c o m m u n i t y . B yi m p l e m e n t i n g ac o m p r e h e n s i v eS n o r tr u l es e t ,y o uc a ni d e n t i f y u n e x p e c t e db e h a v i o u rt h a tw o u l do t h e r w i s em y s t e r i o u s l ye a tu py o u r I n t e r n e t b a n d w i d t h . S e eh t t p : / / s n o r t . o r g / d o c s /f o ra ne x t e n s i v el i s to fi n s t a l l a t i o na n d c o n 0 g u r a t i o nr e s o u r c e s . A p a c h e : m o d _ s e c u r i t y Mo d S e c u r i t y( h t t p : / / w w w . m o d s e c u r i t y . o r g / )i sa no p e ns o u r c ei n t r u s i o n d e t e c t i o na n dp r e v e n t i o ne n g i n e f o r w e ba p p l i c a t i o n s . $i s k i n do f s e c u r i t y t o o l i s a l s o k n o w na s a w e b a p p l i c a t i o n0 r e w a l l . Mo d S e c u r i t yi n c r e a s e sw e ba p p l i c a t i o ns e c u r i t yb yp r o t e c t i n gw e b a p p l i c a t i o n s f r o mk n o w na n du n k n o w na t t a c k s . I t c a nb eu s e do ni t so w n , o ra sam o d u l ei nt h eA p a c h ew e bs e r v e r ( h t t p : / / w w w . a p a c h e . o r g / ) . $e r e a r e s e v e r a l s o u r c e s f o r u p d a t e dm o d _ s e c u r i t yr u l e s t h a t h e l pp r o t e c t a g a i n s t t h e l a t e s t s e c u r i t y e x p l o i t s . O n ee x c e l l e n tr e s o u r c ei sG o t R o o t ,w h i c hm a i n t a i n sa h u g ea n d f r e q u e n t l y u p d a t e dr e p o s i t o r y o f r u l e s : h t t p : / / w w w . a t o m i c o r p . c o m / w i k i / i n d e x . p h p / A t o m i c _ Mo d S e c u r i t y _ R u l e s We ba p p l i c a t i o ns e c u r i t y i s i m p o r t a n t i nd e f e n d i n g a g a i n s t a t t a c k s o ny o u r w e bs e r v e r , w h i c hc o u l dr e s u l t i nt h e t h e f t o f v a l u a b l e o r p e r s o n a l d a t a , o r i nt h e s e r v e r b e i n gu s e dt ol a u n c ha t t a c k s o r s e n ds p a mt oo t h e r I n t e r n e t u s e r s .A sw e l la sb e i n gd a m a g i n gt ot h eI n t e r n e ta sa w h o l e ,s u c h i n t r u s i o n s c a ns e r i o u s l y r e d u c e y o u r a v a i l a b l e b a n d w i d t h . N a g i o s N a g i o s ( h t t p : / / n a g i o s . o r g / ) i s ap r o g r a mt h a t m o n i t o r s h o s t s a n ds e r v i c e s o ny o u r n e t w o r k , n o t i f y i n g y o u i m m e d i a t e l y w h e np r o b l e m s a r i s e . I t c a ns e n dn o t i 0 c a t i o n s v i a e m a i l , S MS , o r b y r u n n i n g as c r i p t , a n dw i l l s e n dn o t i 0 c a t i o n s t o t h e r e l e v a n t p e r s o no r g r o u pd e p e n d i n g o nt h e n a t u r e o ft h ep r o b l e m . N a g i o sr u n so nL i n u xo rB S D ,a n dp r o v i d e saw e b i n t e r f a c et os h o wu p t o t h e m i n u t es y s t e ms t a t u s . N a g i o si se x t e n s i b l e , a n dc a nm o n i t o r t h es t a t u s o f v i r t u a l l ya n yn e t w o r ke v e n t . I t p e r f o r m s c h e c k s b y r u n n i n g s m a l l s c r i p t s a t r e g u l a r i n t e r v a l s , a n dc h e c k s t h e r e s u l t s a g a i n s t a ne x p e c t e d r e s p o n s e .

328

MAINTENANCE, MONITORING AND SUSTAINABILITY

$i sc a ny i e l dm u c hm o r es o p h i s t i c a t e dc h e c k st h a nas i m p l en e t w o r k p r o b e . F o r e x a m p l e , p i n gm a yt e l l y o ut h a t am a c h i n ei s u p , a n dn m a p m a y r e p o r t t h a t a T C Pp o r t r e s p o n d s t or e q u e s t s , b u t N a g i o s c a na c t u a l l y r e t r i e v eaw e bp a g eo rm a k ead a t a b a s er e q u e s t ,a n dv e r i f yt h a tt h e r e s p o n s e i s n o t a ne r r o r .

F i g u r e N M1 5 : N a g i o s k e e p s y o ui n f o r m e d t h e m o m e n t a n e t w o r k f a u l t o r s e r v i c e o u t a g e o c c u r s . N a g i o s c a ne v e nn o t i f yy o uw h e nb a n d w i d t hu s a g e , p a c k e t l o s s , m a c h i n e r o o mt e m p e r a t u r e , o r o t h e r n e t w o r kh e a l t hi n d i c a t o r c r o s s e s a p a r t i c u l a r t h r e s h o l d . $i s c a ng i v ey o ua d v a n c ew a r n i n go f n e t w o r kp r o b l e m s , o f t e na l l o w i n g y o u t o r e s p o n dt o t h e p r o b l e mb e f o r e u s e r s h a v e a c h a n c e t o c o m p l a i n . Z a b b i x Z a b b i x( h t t p : / / w w w . z a b b i x . o r g / )i sa no p e ns o u r c er e a l t i m em o n i t o r i n g t o o l t h a t i s s o m e t h i n go f ah y b r i db e t w e e nC a c t i a n dN a g i o s . I t u s e s a S Q Ld a t a b a s e f o r d a t a s t o r a g e , h a s i t s o w ng r a p hr e n d e r i n gp a c k a g e , a n d p e r f o r m s a l l o f t h ef u n c t i o n s y o uw o u l de x p e c t f r o m am o d e r nr e a l t i m e m o n i t o r( s u c ha sS N MP p o l l i n ga n di n s t a n tn o t i 0 c a t i o no fe r r o r c o n d i t i o n s ) . Z a b b i x i s r e l e a s e du n d e r t h e G N UG e n e r a l P u b l i c L i c e n s e .

16. NETWORK MONITORING

329

Other useful tools


$e r ea r et h o u s a n d so ff r e en e t w o r km o n i t o r i n gt o o l st h a t0 l lv e r y s p e c i a l i s e dn e e d s . H e r e a r e a f e wo f o u r f a v o u r i t e s t h a t d o n ' t q u i t e 0 t i n t o t h e a b o v e c a t e g o r i e s . n g r e p N g r e pp r o v i d e sm o s to fG N Ug r e p ' sp a t t e r nm a t c h i n gf e a t u r e s ,b u t a p p l i e st h e mt on e t w o r kt r a N c . I t c u r r e n t l yr e c o g n i s e sI P v 4a n dI P v 6 , T C P , U D P ,I C MP ,I G MP ,P P P , S L I P , F D D I , T o k e nR i n g ,a n dm u c h m o r e . A s i t m a k e s e x t e n s i v e u s e o f r e g u l a r e x p r e s s i o nm a t c h e s , i t i s a t o o l s u i t e dt oa d v a n c e du s e r s o r t h o s e t h a t h a v eag o o dk n o w l e d g eo f r e g u l a r e x p r e s s i o n s . Y o ud o n ' t n e c e s s a r i l yn e e dt ob e a r e g e xe x p e r t t ob e a b l e t o m a k e b a s i c u s e o f n g r e p . F o r e x a m p l e , t ov i e wa l l p a c k e t s t h a t c o n t a i nt h e s t r i n g G E T( p r e s u m a b l y HT T Pr e q u e s t s ) , t r y t h i s : #n g r e pq G E T P a t t e r nm a t c h e s c a nb e c o n s t r a i n e df u r t h e r t om a t c hp a r t i c u l a r p r o t o c o l s , p o r t s , o r o t h e r c r i t e r i a u s i n g B P F0 l t e r s . $i s i s t h e 0 l t e r l a n g u a g e u s e db y c o m m o np a c k e t s n i N n g t o o l s , s u c ha s t c p d u m pa n ds n o o p . T ov i e wG E T o r P O S Ts t r i n g s s e n t t o d e s t i n a t i o np o r t 8 0 , u s e t h i s c o m m a n dl i n e : #n g r e pq ' G E T | P O S T ' p o r t 8 0 B yu s i n gn g r e pc r e a t i v e l y , y o uc a nd e t e c t a n y t h i n gf r o mv i r u s a c t i v i t yt o s p a me m a i l . Y o uc a nd o w n l o a dn g r e pa t h t t p : / / n g r e p . s o u r c e f o r g e . n e t / . n m a p / Z e n m a p n m a pi s an e t w o r kd i a g n o s t i ct o o l f o r s h o w i n gt h es t a t ea n da v a i l a b i l i t yo f n e t w o r kp o r t s o nan e t w o r ki n t e r f a c e . Ac o m m o nu s ei s t os c a na n e t w o r k h o s t o naT C P / I Pn e t w o r kf o r w h a t p o r t s a r e o p e n , t h e r e b y a l l o w i n go n e t o c r e a t e a " m a p " o f t h e n e t w o r ks e r v i c e s t h a t t h e m a c h i n e p r o v i d e s . $e n m a p t o o l d o e s t h i s b ys e n d i n gs p e c i a l l yc r a f t e dp a c k e t s t oat a r g e t n e t w o r kh o s t a n dn o t i c i n g t h e r e s p o n s e ( s ) . F o r e x a m p l e , a w e bs e r v e r w i t ha no p e np o r t 8 0 b u t n or u n n i n gw e bs e r v e r w i l l r e s p o n dd i 1 e r e n t l yt oa nn m a pp r o b et h a n o n e t h a t n o t o n l y h a s t h e p o r t o p e nb u t i s r u n n i n g h t t p d . S i m i l a r l y , y o uw i l l g e t a d i 1 e r e n t r e s p o n s e t oa p o r t t h a t i s s i m p l y s h u t o 1 v s . o n e t h a t i s o p e no n a h o s t b u t b l o c k e db y a 0 r e w a l l .

330

MAINTENANCE, MONITORING AND SUSTAINABILITY

O v e rt i m e ,n m a ph a se v o l v e df r o m b e i n g as i m p l ep o r t s c a n n e rt o s o m e t h i n g t h a t c a nd e t e c t O Sv e r s i o n s , n e t w o r k d r i v e r s , t h e t y p e o f N I C h a r d w a r eb e i n gu s e db ya ni n t e r f a c e , d r i v e r v e r s i o n s , e t c . I na d d i t i o nt o s c a n n i n gi n d i v i d u a l m a c h i n e s , i t c a na l s os c a ne n t i r en e t w o r k s o f h o s t s . $i s d o e s m e a nt h a t n m a pi s p o t e n t i a l l ya l s ou s e f u l b y m a l i c i o u s n e t w o r k u s e r s a saw a yt o" s c o p eo u t "as y s t e mb e f o r ea t t a c k i n gi t . L i k em a n y d i a g n o s t i ct o o l s ,n m a pc a nb eu s e df o rg o o do ri l la n dn e t w o r k a d m i n i s t r a t o r s w o u l dd ow e l l t ob e a w a r e o f b o t hs i d e s . $e n m a pt o o l i s r e l e a s e du n d e rt h eG P Ll i c e n s ea n dt h el a t e s t v e r s i o nc a nb ef o u n da t h t t p : / / w w w . n m a p . o r g . Z e n m a p Z e n ma pi sac r o s s p l a t f o r mG U If o rn m a pw h i c hr u n su n d e rL i n u x , Wi n d o w s ,Ma cO SX ,B S D ,e t c .a n dc a nb ed o w n l o a d e df r o mt h e n m a p . o r g s i t e a s w e l l . n e t c a t S o m e w h a t b e t w e e nn m a pa n dt c p d u m p , n e t c a t i s a n o t h e r d i a g n o s t i c t o o l f o r p o k i n ga n dp r o d d i n ga t p o r t s a n dc o n n e c t i o n s o na n e t w o r k . I t t a k e s i t s n a m e f r o mt h e U N I Xc a t ( 1 ) u t i l i t y , w h i c hs i m p l yr e a d s o u t w h a t e v e r 0 l ey o ua s ki tt o .S i m i l a r l y ,n e t c a tr e a d sa n dw r i t e sd a t aa c r o s sa n y a r b i t r a r y T C Po r U D Pp o r t . $e n e t c a t u t i l i t y i s n o t a p a c k e t a n a l y s e r b u t w o r k s o n t h e d a t a ( p a y l o a d ) c o n t a i n e di nt h e p a c k e t s . F o r e x a m p l e , h e r e i s h o wt or u nav e r ys i m p l e 1 l i n e , 1 t i m ew e bs e r v e r w i t hn e t c a t : { e c h o n e " H T T P / 1 . 02 0 0O K \ r \ n \ r \ n " ; c a t s o m e . C l e ; } | n c l 8 0 8 0 $e 0 l es o m e . C l e w i l l b es e n t t ot h e 0 r s t h o s t t h a t c o n n e c t s t op o r t 8 0 8 0 o n t h e s y s t e mr u n n i n g n e t c a t . $e l c o m m a n dt e l l s n e t c a t t o " l i s t e n " o np o r t 8 0 8 0 a n dw a i t u n t i l i t g e t s a c o n n e c t i o n . O n c e i t d o e s , i t s t o p s b l o c k i n g , r e a d s t h e d a t a o 1t h e p i p e a n ds e n d s i t t o t h e c l i e n t c o n n e c t e do np o r t 8 0 8 0 . S o m eo t h e r g o o de x a m p l e s o f n e t c a t u s a g e c a nb e f o u n di nt h e Wi k i p e d i a e n t r y f o r n e t c a t : h t t p s : / / s e c u r e . w i k i m e d i a . o r g / w i k i p e d i a / e n / w i k i / N e t c a t # E x a m p l e s Y o uc a nd o w n l o a dt h e l a t e s t v e r s i o no f n e t c a t f r o m h t t p : / / n c 1 1 0 . s o u r c e f o r g e . n e t / I t i s a v a i l a b l e u n d e r a P e r m i s s i v e F r e e S o f t w a r e L i c e n s e .

16. NETWORK MONITORING

331

What is normal?
I f y o ua r e l o o k i n gf o r ad e 0 n i t i v e a n s w e r a s t ow h a t y o u r t r a N cp a t t e r n s s h o u l dl o o kl i k e , y o ua r eg o i n gt ob ed i s a p p o i n t e d . $e r ei s n oa b s o l u t e r i g h t a n s w e rt ot h i sq u e s t i o n , b u t g i v e ns o m ew o r ky o uc a nd e t e r m i n e w h a t i s n o r m a l f o r y o u r n e t w o r k . Wh i l ee v e r ye n v i r o n m e n t i s d i 1 e r e n t , s o m eo ft h ef a c t o r st h a tc a ni n W u e n c et h ea p p e a r a n c eo fy o u rt r a N c p a t t e r n s a r e : $e c a p a c i t y o f y o u r I n t e r n e t c o n n e c t i o n $e n u m b e r o f u s e r s t h a t h a v e a c c e s s t o t h e n e t w o r k $e s o c i a l p o l i c y ( b y t e c h a r g i n g , q u o t a s , h o n o u r s y s t e m , e t c . ) . $e n u m b e r , t y p e s , a n dl e v e l o f s e r v i c e s o 1 e r e d $e h e a l t ho ft h en e t w o r k( p r e s e n c eo fv i r u s e s ,e x c e s s i v e b r o a d c a s t s ,r o u t i n gl o o p s ,o p e ne m a i lr e l a y s ,d e n i a lo fs e r v i c e a t t a c k s , e t c . ) . $e c o m p e t e n c e o f y o u r c o m p u t e r u s e r s $ el o c a t i o na n dc o n 0 g u r a t i o no fc o n t r o ls t r u c t u r e s( 0 r e w a l l s , p r o x y s e r v e r s , c a c h e s , a n ds oo n )

$i s i s n o t ad e 0 n i t i v el i s t , b u t s h o u l dg i v ey o ua ni d e ao f h o w aw i d e r a n g e o f f a c t o r s c a na 1 e c t y o u r b a n d w i d t hp a t t e r n s . Wi t h t h i s i nm i n d , l e t ' s l o o k a t t h e t o p i c o f b a s e l i n e s .

Establishing a baseline
S i n c ee v e r ye n v i r o n m e n t i s d i 1 e r e n t , y o un e e dt od e t e r m i n e f o r y o u r s e l f w h a t y o u r t r a N c p a t t e r n s l o o kl i k e u n d e r n o r m a l s i t u a t i o n s . $i s i s u s e f u l b e c a u s ei ta l l o w sy o ut oi d e n t i f yc h a n g e so v e rt i m e , e i t h e rs u d d e no r g r a d u a l . $e s ec h a n g e sm a yi nt u r ni n d i c a t eap r o b l e m , o rap o t e n t i a l f u t u r e p r o b l e m , w i t hy o u r n e t w o r k . F o r e x a m p l e , s u p p o s e t h a t y o u r n e t w o r kg r i n d s t oa h a l t , a n dy o ua r e n o t s u r eo ft h ec a u s e . F o r t u n a t e l y ,y o uh a v ed e c i d e dt ok e e p ag r a p ho f b r o a d c a s t sa sap e r c e n t a g eo ft h eo v e r a l l n e t w o r kt r a N c . I f t h i sg r a p h s h o w s as u d d e ni n c r e a s e i nt h e a m o u n t o f b r o a d c a s t t r a N c , i t m a y m e a n t h a t y o u r n e t w o r k h a s b e e ni n f e c t e dw i t ha v i r u s . Wi t h o u t a ni d e a o f w h a t i s " n o r m a l "f o r y o u r n e t w o r k( ab a s e l i n e ) , y o u w o u l dn o t b ea b l et os e et h a t t h en u m b e r o f b r o a d c a s t s h a di n c r e a s e d ,

332

MAINTENANCE, MONITORING AND SUSTAINABILITY

o n l y t h a t i t w a s r e l a t i v e l y h i g h , w h i c hm a y n o t i n d i c a t e a p r o b l e m . B a s e l i n eg r a p h s a n d0 g u r e s a r ea l s ou s e f u l w h e na n a l y s i n gt h ee 1 e c t s o f c h a n g e s m a d e t ot h e n e t w o r k . I t i s o f t e nv e r yu s e f u l t oe x p e r i m e n t w i t h s u c hc h a n g e sb yt r y i n gd i 1 e r e n tp o s s i b l ev a l u e s .K n o w i n gw h a tt h e b a s e l i n el o o k sl i k ew i l l s h o wy o uw h e t h e ry o u rc h a n g e sh a v ei m p r o v e d m a t t e r s , o r m a d e t h e mw o r s e .

F i g u r e N M1 6 : B y c o l l e c t i n g d a t a o v e r a l o n g p e r i o d o f t i m e , y o uc a np r e d i c t t h e g r o w t h o f y o u r n e t w o r k a n d m a k e c h a n g e s b e f o r e p r o b l e m s d e v e l o p . I nF i g u r eN M1 6 , w e c a ns e et h ee 1 e c t o f t h ei m p l e m e n t a t i o no f d e l a y p o o l s o n I n t e r n e t u t i l i s a t i o na r o u n dt h e p e r i o d o f Ma y . I f w e d i dn o t k e e pag r a p ho f t h e l i n e u t i l i s a t i o n , w e w o u l dn e v e r k n o w w h a t t h e e 1 e c t o f t h e c h a n g e o v e r t h e l o n g t e r mw a s . Wh e nw a t c h i n gat o t a l t r a N c g r a p ha f t e r m a k i n gc h a n g e s , d o n ' t a s s u m e t h a t j u s t b e c a u s e t h e g r a p hd o e s n o t c h a n g e r a d i c a l l y t h a t y o u r e 1 o r t s w e r e w a s t e d . Y o um i g h t h a v er e m o v e df r i v o l o u s u s a g ef r o my o u r l i n eo n l yt o h a v e i t r e p l a c e db y g e n u i n e l e g i t i m a t e t r a N c . Y o uc o u l dt h e nc o m b i n et h i sb a s e l i n ew i t ho t h e r s ,s a yt h et o p1 0 0s i t e s a c c e s s e do r t h ea v e r a g e u t i l i s a t i o nb yy o u r t o pt w e n t yu s e r s , t od e t e r m i n e i f h a b i t s h a v e s i m p l y c h a n g e d . A s w e w i l l s e e l a t e r , MR T G , R R D t o o l , a n dC a c t i a r e e x c e l l e n t t o o l s y o u c a nu s e t o k e e pa b a s e l i n e .

F i g u r e N M1 7 : e t r a M c t r e n d a t A i d w o r l d l o g g e d o v e r a s i n g l e d a y .

16. NETWORK MONITORING

333

F i g u r e N M1 7s h o w s t r a N co na nA i d w o r l d0 r e w a l l o v e r ap e r i o do f 2 4 h o u r s . $e r e i s n o t h i n g a p p a r e n t l yw r o n g w i t ht h i s g r a p h , b u t u s e r s w e r e c o m p l a i n i n g a b o u t s l o wI n t e r n e t a c c e s s . F i g u r eN M1 8s h o w s t h a t t h eu p l o a db a n d w i d t hu s e( b l u e )w a s h i g h e r d u r i n gw o r k i n gh o u r s o nt h e l a s t d a yt h a no np r e v i o u s d a y s . Ap e r i o do f h e a v yu p l o a du s a g es t a r t e de v e r ym o r n i n ga t0 3 : 0 0 , a n dw a s n o r m a l l y 0 n i s h e db y 0 9 : 0 0 , b u t o n t h e l a s t d a y i t w a s s t i l l r u n n i n g a t 1 6 : 3 0 . F u r t h e r i n v e s t i g a t i o nr e v e a l e dap r o b l e mw i t ht h e b a c k u ps o f t w a r e , w h i c hr a na t 0 3 : 0 0e v e r y d a y .

F i g u r e N M1 8 : e s a m e n e t w o r k l o g g e d o v e r a n e n t i r e w e e k r e v e a l s a p r o b l e mw i t h b a c k u p s , w h i c hc a u s e d u n e x p e c t e d c o n g e s t i o nf o r n e t w o r k u s e r s . F i g u r e N M1 9s h o w s m e a s u r e m e n t s o f l a t e n c yo nt h e s a m e c o n n e c t i o na s m e a s u r e db yt h ep r o g r a mc a l l e dS m o k e P i n g . $ ep o s i t i o no ft h ed o t s s h o w s t h e a v e r a g e l a t e n c y , w h i l e t h e g r e ys m o k e i n d i c a t e s t h e d i s t r i b u t i o n o f l a t e n c y( j i t t e r ) . $ ec o l o u ro f t h ed o t si n d i c a t e s t h en u m b e r o f l o s t p a c k e t s . $i s g r a p ho v e r ap e r i o do f f o u r h o u r s d o e s n o t h e l pt oi d e n t i f y w h e t h e r t h e r e a r e a n y p r o b l e m s o n t h e n e t w o r k .

F i g u r e N M1 9 : F o u r h o u r s o f j i t t e r a n d p a c k e t l o s s .

334

MAINTENANCE, MONITORING AND SUSTAINABILITY

$e n e x t g r a p h( F i g u r e N M2 0 ) s h o w s t h e s a m e d a t a o v e r a p e r i o do f 1 6 h o u r s . $i s i n d i c a t e s t h a t t h ev a l u e s i nt h eg r a p ha b o v ea r ec l o s et ot h e n o r m a l l e v e l ( b a s e l i n e ) , b u t t h a t t h e r e w e r e s i g n i 0 c a n t i n c r e a s e s i nl a t e n c y a t s e v e r a l t i m e s d u r i n gt h ee a r l ym o r n i n g , u pt o3 0t i m e s t h eb a s e l i n e v a l u e . $i si n d i c a t e st h a ta d d i t i o n a l m o n i t o r i n gs h o u l db ep e r f o r m e dd u r i n g t h e s e p e r i o d s t oe s t a b l i s ht h e c a u s e o f t h e h i g hl a t e n c y t oa v o i dp r o b l e m s s u c ha s t h e b a c k u pn o t c o m p l e t i n g i nt h e f u t u r e .

F i g u r e N M2 0 : Ah i g h e r s p r e a d o f j i t t e r i s r e v e a l e di nt h e 1 6 h o u r l o g . F i g u r e N M2 1 s h o w s t h a t T u e s d a yw a s s i g n i 0 c a n t l y w o r s e t h a nS u n d a y o r Mo n d a y f o r l a t e n c y , e s p e c i a l l y d u r i n g t h e e a r l y m o r n i n g p e r i o d . $i s m i g h t i n d i c a t e t h a t s o m e t h i n g h a s c h a n g e do n t h e n e t w o r k .

r e p e t i t i o no f i n c r e a s e d l a t e n c y a n d p a c k e t l o s s i n t h e e a r l y m o r n i n g h o u r s .

16. NETWORK MONITORING

335

H o wd oI i n t e r p r e t t h e t r a N c g r a p h ? I nab a s i cn e t w o r kW o wg r a p h( s u c ha st h a t g e n e r a t e db yt h en e t w o r k m o n i t o r t o o l MR T G ) , t h e g r e e na r e a i n d i c a t e s i n b o u n dt r a N c , w h i l e t h e b l u el i n ei n d i c a t e so u t b o u n dt r a N c .I n b o u n dt r a N ci st r a N ct h a t o r i g i n a t e s f r o ma n o t h e r n e t w o r k( t y p i c a l l yt h e I n t e r n e t ) a n di s a d d r e s s e d t oac o m p u t e ri n s i d ey o u rn e t w o r k .O u t b o u n dt r a N ci st r a N ct h a t o r i g i n a t e s f r o my o u r n e t w o r k , a n di s a d d r e s s e dt oa c o m p u t e r s o m e w h e r e o nt h eI n t e r n e t . D e p e n d i n go nw h a ts o r t o f n e t w o r ke n v i r o n m e n t y o u h a v e , t h eg r a p hw i l l h e l py o uu n d e r s t a n dh o wy o u rn e t w o r ki s a c t u a l l y b e i n gu s e d . F o re x a m p l e ,m o n i t o r i n go fs e r v e r su s u a l l yr e v e a l sl a r g e r a m o u n t s o f o u t b o u n dt r a N ca s t h es e r v e r s r e s p o n dt or e q u e s t s ( s u c ha s s e n d i n gm a i l o rs e r v i n gw e bp a g e s ) , w h i l em o n i t o r i n gc l i e n tm a c h i n e s m i g h t r e v e a l h i g h e r a m o u n t s o f i n b o u n dt r a N ct ot h em a c h i n e s a s t h e y r e c e i v e d a t a f r o mt h e s e r v e r s .

F i g u r e N M2 2 : e c l a s s i c n e t w o r k E o wg r a p h . e g r e e na r e a r e p r e s e n t s i n b o u n d t r a M c , w h i l e t h e b l u e l i n e r e p r e s e n t s o u t b o u n d t r a M c . e r e p e a t i n g a r c s o f o u t b o u n d t r a M c s h o ww h e n t h e n i g h t l y b a c k u p s h a v e r u n . T r a N c p a t t e r n s w i l l v a r y w i t hw h a t y o u a r e m o n i t o r i n g . Ar o u t e r w i l l n o r m a l l y s h o wm o r e i n c o m i n g t r a N c t h a no u t g o i n g t r a N c a s u s e r s d o w n l o a dd a t a f r o mt h e I n t e r n e t . A ne x c e s s o f o u t b o u n dt r a N ct h a t i sn o t t r a n s m i t t e db yy o u rn e t w o r k s e r v e r s m a yi n d i c a t eap e e r t o p e e r c l i e n t , u n a u t h o r i s e ds e r v e r , o r e v e na v i r u s o n o n e o r m o r e o f y o u r c l i e n t s . $e r ea r en os e t m e t r i c s t h a t i n d i c a t ew h a t o u t g o i n gt r a N ct oi n c o m i n g t r a N c s h o u l dl o o k l i k e . I t i s u pt oy o ut oe s t a b l i s ha b a s e l i n e t ou n d e r s t a n dw h a t n o r m a l n e t w o r k t r a N c p a t t e r n s l o o k l i k e o n y o u r n e t w o r k .

336

MAINTENANCE, MONITORING AND SUSTAINABILITY

D e t e c t i n g n e t w o r k o v e r l o a d F i g u r e N M2 3 s h o w s t r a N c o n a no v e r l o a d e dI n t e r n e t c o n n e c t i o n .

F i g u r e N M2 3 : F l a t t o p p e d g r a p h s i n d i c a t e o v e r l o a d i n g o f a v a i l a b l e b a n d w i d t h . $e m o s t a p p a r e n t s i g no f o v e r l o a d i n g i s t h e W a t t o p s o no u t b o u n dt r a N c d u r i n g t h e m i d d l e o f e v e r y d a y . F l a tt o p sm a yi n d i c a t eo v e r l o a d i n g ,e v e ni ft h e ya r ew e l lb e l o wt h e m a x i m u mt h e o r e t i c a l c a p a c i t y o f t h e l i n k . I nt h i s c a s ei t m a yi n d i c a t e t h a t y o ua r en o t g e t t i n ga s m u c hb a n d w i d t h f r o my o u r s e r v i c e p r o v i d e r a s y o u e x p e c t . Me a s u r i n g 9 5 t h p e r c e n t i l e $e 9 5 t hp e r c e n t i l e i s a w i d e l yu s e dm a t h e m a t i c a l c a l c u l a t i o nt oe v a l u a t e r e g u l a r a n ds u s t a i n e du t i l i s a t i o no f a n e t w o r k p i p e . I t s v a l u e s h o w s t h e h i g h e s t c o n s u m p t i o no f t r a N c f o r a g i v e np e r i o d . C a l c u l a t i n gt h e 9 5 t hp e r c e n t i l em e a n s t h a t 9 5 %o f t h e t i m e t h e u s a g e i s b e l o wa c e r t a i n a m o u n t , a n d5 %o f t h e t i m e u s a g e i s a b o v e t h a t a m o u n t . $e 9 5 t hp e r c e n t i l e i s a g o o dg u i d e l i n e t os h o wb a n d w i d t ht h a t i s a c t u a l l y u s e da t l e a s t 9 5 %o f t h e t i m e .

16. NETWORK MONITORING

337

F i g u r e N M2 4 : e h o r i z o n t a l l i n e s h o w s t h e 9 5 t h p e r c e n t i l e a m o u n t . MR T Ga n dC a c t i w i l l c a l c u l a t e t h e 9 5 t hp e r c e n t i l e f o r y o u . $i si s as a m p l eg r a p ho f a9 6 0k b p sc o n n e c t i o n . $ e9 5 t hp e r c e n t i l e c a m e t o 9 4 5 k b p s a f t e r d i s c a r d i n g t h e h i g h e s t 5 %o f t r a N c .

Monitoring RAM and CPU usage


B yd e 0 n i t i o n ,s e r v e r sp r o v i d ec r i t i c a ls e r v i c e st h a ts h o u l da l w a y sb e a v a i l a b l e . S e r v e r s r e c e i v e a n dr e s p o n dt oc l i e n t m a c h i n e r e q u e s t s , p r o v i d i n g a c c e s s t o s e r v i c e s t h a t a r et h ew h o l ep o i n t o f h a v i n gan e t w o r ki nt h e0 r s t p l a c e . $e r e f o r e ,s e r v e r sm u s th a v e s u N c i e n th a r d w a r ec a p a b i l i t i e st o a c c o m m o d a t e t h e w o r k l o a d . $i s m e a n s t h e y m u s t h a v e a d e q u a t e R A M, s t o r a g e , a n dp r o c e s s i n g p o w e r t o a c c o m m o d a t e t h e n u m b e r o f c l i e n t r e q u e s t s . O t h e r w i s e , t h es e r v e rw i l l t a k el o n g e r t or e s p o n d , o r i nt h ew o r s t c a s e , m a y b e i n c a p a b l e o f r e s p o n d i n ga t a l l . S i n c e h a r d w a r e r e s o u r c e s a r e 0 n i t e , i t i s i m p o r t a n t t o k e e pt r a c k o f h o ws y s t e mr e s o u r c e s a r e b e i n g u s e d . I f a c o r e s e r v e r ( s u c ha s a p r o x y s e r v e r o r e m a i l s e r v e r ) i s o v e r w h e l m e db y r e q u e s t s , a c c e s s t i m e s b e c o m e s l o w .

338

MAINTENANCE, MONITORING AND SUSTAINABILITY

$i s i s o f t e np e r c e i v e db yu s e r s a s an e t w o r kp r o b l e m . $e r ea r es e v e r a l p r o g r a m s t h a t c a nb e u s e dt om o n i t o r r e s o u r c e s o na s e r v e r . $e s i m p l e s t m e t h o do naWi n d o w s m a c h i n ei s t oa c c e s s t h e T a s kMa n a g e r u s i n gt h e C t r l A l t +D e l k e y s , a n dt h e nc l i c ko nt h e P e r f o r m a n c e t a b . O naL i n u x o r B S Db o x , y o uc a nt y p et o pi nat e r m i n a l w i n d o w . T ok e e ph i s t o r i c a l l o g s o f s u c hp e r f o r m a n c e , MR T Go r R R D t o o l c a na l s o b e u s e d .

F i g u r e N M2 5 : R R D t o o l c a ns h o wa r b i t r a r y d a t a , s u c h a s m e m o r y a n d C P U u s a g e , e x p r e s s e da s a n a v e r a g e o v e r t i m e . Ma i l s e r v e r s r e q u i r ea d e q u a t es p a c e , a s s o m ep e o p l em a yp r e f e r t ol e a v e t h e i r e m a i l m e s s a g e s o n t h e s e r v e r f o r l o n g p e r i o d s o f t i m e . $e m e s s a g e s c a na c c u m u l a t e a n d0 l l t h e h a r dd i s k , e s p e c i a l l y i f q u o t a s a r e n o t i nu s e . I ft h ed i s ko rp a r t i t i o nu s e df o rm a i l s t o r a g e0 l l su p , t h em a i l s e r v e r c a n n o t r e c e i v em a i l . I f t h a t d i s ki s a l s ou s e db yt h es y s t e m , a l l k i n d s o f s y s t e mp r o b l e m sm a yo c c u ra st h eo p e r a t i n gs y s t e mr u n s o u to fs w a p s p a c e a n dt e m p o r a r y s t o r a g e . F i l e s e r v e r s n e e dt o b e m o n i t o r e d , e v e ni f t h e y h a v e l a r g e d i s k s . U s e r s w i l l 0 n daw a yt o0 l l a n ys i z ed i s km o r eq u i c k l yt h a ny o um i g h t t h i n k .

16. NETWORK MONITORING

339

D i s ku s a g ec a nb ee n f o r c e dt h r o u g ht h eu s eo fq u o t a s , o rb ys i m p l y m o n i t o r i n g u s a g e a n dt e l l i n g p e o p l e w h e nt h e y a r e u s i n g t o o m u c h . N a g i o s c a nn o t i f yy o uw h e nd i s ku s a g e , C P Uu t i l i s a t i o n , o r o t h e r s y s t e m r e s o u r c e s c r o s s a c r i t i c a l t h r e s h o l d . I f a m a c h i n e b e c o m e s u n r e s p o n s i v e o r s l o w , a n dm e a s u r e m e n t s s h o wt h a t a s y s t e mr e s o u r c e i s b e i n g h e a v i l yu s e d , t h i s m a y b e a ni n d i c a t i o nt h a t a n u p g r a d ei sr e q u i r e d .I fp r o c e s s o ru s a g ec o n s t a n t l ye x c e e d s6 0 %o ft h e t o t a l , i t m a yb e t i m e t ou p g r a d e t h e p r o c e s s o r . S l o ws p e e d s c o u l da l s ob e a s a r e s u l t o f i n s u N c i e n t R A M. B e s u r e t o c h e c k t h e o v e r a l l u s a g e o f C P U , R A M, a n dd i s k s p a c e b e f o r e d e c i d i n g t o u p g r a d e a p a r t i c u l a r c o m p o n e n t . As i m p l e w a y t o c h e c kw h e t h e r a m a c h i n e h a s i n s u N c i e n t R A Mi s t ol o o k a t t h e h a r dd i s k l i g h t . Wh e nt h el i g h ti so nc o n s t a n t l y , i t u s u a l l ym e a n st h a t t h em a c h i n ei s c o n s t a n t l y s w a p p i n g l a r g e a m o u n t s o f d a t a t o a n df r o mt h e d i s k . $i s i s k n o w na s t h r a s h i n g , a n di s e x t r e m e l y b a d f o r p e r f o r m a n c e . I t c a nu s u a l l yb e0 x e db yi n v e s t i g a t i n gw h i c hp r o c e s s i s u s i n gt h em o s t R A M, a n dk i l l i n go r r e c o n 0 g u r i n gt h a t p r o c e s s . F a i l i n gt h a t , t h es y s t e m n e e d s m o r eR A M. Y o us h o u l da l w a y s d e t e r m i n e w h e t h e r i t i s m o r ec o s t e 1 e c t i v et ou p g r a d ea ni n d i v i d u a l c o m p o n e n t o r p u r c h a s eaw h o l en e w m a c h i n e . S o m e c o m p u t e r s a r ed i N c u l t o r i m p o s s i b l et ou p g r a d e , a n di t o f t e nc o s t s m o r et or e p l a c ei n d i v i d u a l c o m p o n e n t st h a nt or e p l a c et h e e n t i r es y s t e m . S i n c et h ea v a i l a b i l i t yo fp a r t sa n ds y s t e m sv a r i e sw i d e l y a r o u n dt h ew o r l d , b es u r et ow e i g ht h ec o s t o f p a r t s v s . w h o l es y s t e m s , i n c l u d i n g s h i p p i n g a n dt a x e s , w h e nd e t e r m i n i n g t h e c o s t o f u p g r a d i n g .

Summary
I ns u m m a r y i nt h i s c h a p t e r w e ' v e t r i e dt og i v e y o ua ni n s i g h t i n t o h o wt o m o n i t o ry o u rn e t w o r ka n dc o m p u t i n gr e s o u r c e sc o s te 1 e c t i v e l ya n d e N c i e n t l y . We ' v ei n t r o d u c e dm a n yo f o u rf a v o u r i t et o o l st oa s s i s t y o u . Ma n y o f t h e ma r e t r i e da n dt e s t e db y m a n y n e t w o r k o p e r a t o r s . H o p e f u l l yy o uh a v eu n d e r s t o o dt h ei m p o r t a n c e o f m o n i t o r i n gt oe n a b l e y o ut ob o t hj u s t i f yu p g r a d e sw h e nn e c e s s a r yt ot h o s ef u n d i n gt h e u p g r a d e s , p l u s m i n i m i s e t h e i m p a c t o f p r o b l e m s a s t h e y o c c u r . $e e n dr e s u l t i s k e e p i n gy o u r n e t w o r ka n dc o m p u t i n gr e s o u r c e s h e a l t h y a n dk e e p i n ga l l o f y o u ru s e r s h a p p yw i t ht h es e r v i c ey o ua r ep r o v i d i n g t h e m .

340

MAINTENANCE, MONITORING AND SUSTAINABILITY

17. ECONOMIC SUSTAINABILITY


Introduction
A c h i e v i n g l o n g t e r ms u s t a i n a b i l i t yi s p e r h a p s t h e m o s t d i N c u l t g o a l w h e n d e s i g n i n g a n do p e r a t i n g w i r e l e s s n e t w o r k s . $e p r o h i b i t i v e c o s t o f I n t e r n e t c o n n e c t i v i t yi nm a n yc o u n t r i e s ,p a r t i c u l a r l yt h o s ew h oa r eh e a v i l y r e g u l a t e db y t h e g o v e r n m e n t , i m p o s e s a s u b s t a n t i a l o p e r a t i n g e x p e n s e t h a t m a k e s t h e s e n e t w o r k s s e n s i t i v e t oe c o n o m i cW u c t u a t i o n s a n dn e c e s s i t a t e s i n n o v a t i o nt oa t t a i nv i a b i l i t y . S u b s t a n t i a lp r o g r e s si n t h eu s eo fw i r e l e s sn e t w o r k sf o rr u r a l c o m m u n i c a t i o n s h a s b e e na c c o m p l i s h e do v e r t h ep a s t f e wy e a r s , d u ei n l a r g e p a r t t o t e c h n o l o g i c a l b r e a k t h r o u g h s . L o n g d i s t a n c el i n k sh a v eb e e nc o n s t r u c t e d , h i g hb a n d w i d t hd e s i g n s a r e p o s s i b l ea n ds e c u r em e a n s t oa c c e s s n e t w o r k s a r ea v a i l a b l e . I nc o n t r a s t , t h e r eh a v eb e e nf e w e rs u c c e s s e sw i t ht h ed e v e l o p m e n to fs u s t a i n a b l e b u s i n e s s m o d e l s f o r w i r e l e s s n e t w o r k s , p a r t i c u l a r l y f o r r e m o t e a r e a s . B a s e do ne x p e r i e n c e sa n do b s e r v a t i o n so fe x i s t i n gn e t w o r k s , a sw e l l a s k n o w l e d g ef r o me n t r e p r e n e u r i a l d e v e l o p m e n t b e s t p r a c t i c e s , t h i s c h a p t e r w i l lf o c u so nd o c u m e n t i n gm e t h o d sf o rb u i l d i n gs u s t a i n a b l ew i r e l e s s n e t w o r k s . I nt h e p a s t d e c a d e , t h e r e h a s b e e nt r e m e n d o u s g r o w t hi nI n t e r n e t a c c e s s a c r o s s t h e w o r l d . Mo s t c i t i e s n o wh a v e w i r e l e s s o r D S Ln e t w o r k s a n d0 b r e o p t i c c o n n e c t i o n s t o t h e I n t e r n e t , w h i c hi s a s u b s t a n t i a l i m p r o v e m e n t . N e v e r t h e l e s s ,o u t s i d eu r b a na r e a s ,I n t e r n e ta c c e s si ss t i l laf o r m i d a b l e c h a l l e n g e . $e r ei sl i t t l ew i r e di n f r a s t r u c t u r eb e y o n dp r i n c i p a l c i t i e si n m a n yc o u n t r i e s . $e r e f o r e , w i r e l e s sr e m a i n so n eo f t h ef e wc h o i c e s f o r p r o v i d i n g a 1 o r d a b l e I n t e r n e t a c c e s s . $e r ea r en o wp r o v e nm o d e l s f o r r u r a l a c c e s s u s i n gw i r e l e s s . $i s b o o k w a s w r i t t e nf o r t h o s e w i s h i n g t o c o n n e c t t h e i r c o m m u n i t i e s . $e m o d e l s d e s c r i b e dh e r e a r e s m a l l e r i ns c a l e a n du s e a 1 o r d a b l e d e s i g n s .

17. ECONOMIC SUSTAINABILITY

341

O u r a i mi s t op r o v i d e e x a m p l e s o f h o ww i r e l e s s n e t w o r k s c a nb e d e s i g n e d t oe x p a n ds u s t a i n a b l ea c c e s sw h e r el a r g et e l e c o m m u n i c a t i o n so p e r a t o r s h a v en o t y e t i n s t a l l e dt h e i r n e t w o r k s i n t oa r e a s t h a t w o u l do t h e r w i s en o t b e e c o n o m i c a l l y f e a s i b l e b y t r a d i t i o n a l m o d e l s . T w oc o m m o nm i s c o n c e p t i o n sm u s tb ed i s p e l l e d .F i r s t ,m a n yp e o p l e a s s u m e t h a t t h e r e i s o n e p r e f e r r e db u s i n e s s m o d e l t h a t w i l l w o r ki ne v e r y c o m m u n i t y , a n dt h e k e y t o s u c c e s s i s t o 0 n d t h a t o n e e u r e k a s o l u t i o n . I np r a c t i c e , t h i si sn o tt h ec a s e . E a c hc o m m u n i t y , t o w no rv i l l a g ei s d i 1 e r e n t . $e r ei s n op r e s c r i b e dm o d e l t h a t m e e t s t h e n e e d s o f a l l a r e a s . D e s p i t e t h e f a c t t h a t s o m e p l a c e s m a yb es i m i l a r i ne c o n o m i ct e r m s , t h e c h a r a c t e r i s t i c s o f as u s t a i n a b l eb u s i n e s s m o d e l v a r yf r o mc o m m u n i t yt o c o m m u n i t y . A l t h o u g ho n e m o d e l m a y w o r ki no n e v i l l a g e , a n o t h e r v i l l a g e n e a r b y m a y n o t p o s s e s s t h e s a m e n e c e s s a r yq u a l i t i e s f o r t h i s m o d e l t ob es u s t a i n a b l e . I nt h i s c i r c u m s t a n c e , o t h e r i n n o v a t i v e m o d e l s m u s t b ec u s t o m i s e dt o0 t t h e c o n t e x t o f t h i s p a r t i c u l a r c o m m u n i t y . A n o t h e r m i s c o n c e p t i o ni s t h a t s u s t a i n a b i l i t y h a s t h e s a m e d e 0 n i t i o nf o r a l l p e o p l e . A l t h o u g ht h i s t e r mg e n e r a l l y m e a n s t h a t a s y s t e mi s b u i l t t o p e r s i s t i n d e 0 n i t e l y , t h i s c h a p t e r f o c u s e s m o r e o nt h e d i s c u s s i o no f t h e e c o n o m i c c o n d i t i o n s ( 0 n a n c i a l a n dm a n a g e r i a l ) t h a no t h e r a s p e c t s o f s u s t a i n a b i l i t y . A l s o , i n s t e a do ft h eh o r i z o nb e i n gi n d e t e r m i n a t e , i t c e n t r e so nat i m e p e r i o do f 0 v ey e a r s t h ep e r i o di nw h i c ht h e s eI C Ti n f r a s t r u c t u r ea n d w i r e l e s s t e c h n o l o g i e s a r e e x p e c t e d t o b e u s e f u l . $u s , t h e t e r ms u s t a i n a b i l i t y w i l l b e u s e dt o e n c a p s u l a t e a s y s t e md e s i g n e d t op e r s i s t f o r a p p r o x i m a t e l y 0 v e y e a r s . A s w e e x p l a i n e de a r l i e r i nt h e b o o k , w i r e l e s sn e t w o r k si nl o c a lc o m m u n i t i e so f t e ns t i m u l a t et h eg r o w t ho f c o n n e c t i v i t ya n du s a g e , a n dt h ei n s t a l l a t i o no f 0 b r eb e g i n s t ob e c o m e a r e a l i t y . S oc r e a t i n gas u s t a i n a b l em o d e l f o ry o u rw i r e l e s s n e t w o r km a yl e a dt o g r o w t ho fo t h e rn e t w o r k sa n di n s t a l l a t i o no fl o n g e rt e r m g r e a t e r b a n d w i d t h0 b r e l i n k s . Wi r e l e s sw i l l t h e nl i k e l yc o n t i n u et oc o h a b i ta l o n g s i d e0 b r ei ny o u r n e t w o r k a s i t g r o w s i ns i z e a n dr e a c h .

342

MAINTENANCE, MONITORING AND SUSTAINABILITY

Wh e nd e t e r m i n i n ga n di m p l e m e n t i n gt h eb e s tm o d e lf o ra w i r e l e s s n e t w o r k , s e v e r a l k e y f a c t o r s w i l l h e l pt o e n s u r e i t s s u c c e s s . $i s c h a p t e r i s n o t m e a n t t ob e a g u i d e f o r m a n a g i n gs u s t a i n a b l e w i r e l e s s n e t w o r k s . R a t h e r , t h i s i s a h o w t o g u i d e s e e k i n gt op r e s e n t a na p p r o a c ht h a t w i l l e n a b l e y o u t o 0 n d t h e m o d e l t h a t b e s t 0 t s y o u r s i t u a t i o n . $e t o o l s a n di n f o r m a t i o nc o n t a i n e dw i t h i nt h i s c h a p t e r w i l l h e l pp e o p l e s t a r t i n gw i r e l e s sn e t w o r k st oa s kt h er i g h tq u e s t i o n sa n dg a t h e rt h e n e c e s s a r y d a t a t od e 0 n e t h e m o s t a p p r o p r i a t e c o m p o n e n t s o f t h e i r m o d e l . K e e pi nm i n dt h a t d e t e r m i n i n g t h e b e s t m o d e l i s n o t a s e q u e n t i a l p r o c e s s w h e r e e a c hs t e p i s f o l l o w e d u n t i l c o m p l e t i o n . I nf a c t , t h e p r o c e s s i s o n g o i n g a n di t e r a t i v e . A l l o f t h e s t e p s a r e i n t e g r a l l yc o n n e c t e dt oe a c ho t h e r , a n do f t e ny o uw i l l r e v i s i t s t e p s s e v e r a l t i m e s a s y o u p r o g r e s s .

Create a mission statement


Wh a t d o y o u w a n t t o a c c o m p l i s hb y s e t t i n g u p y o u r n e t w o r k ? I ts e e m sl i k eas i m p l eq u e s t i o n . H o w e v e r , m a n yw i r e l e s sn e t w o r k sa r e i n s t a l l e d w i t h o u t a c l e a r v i s i o no f w h a t t h e y a r e d o i n g a n dw h a t t h e y h o p e t oa c c o m p l i s hi nt h ef u t u r e .$ e0 r s ts t e pi n v o l v e sd o c u m e n t i n gt h i s v i s i o n w i t ht h e i n p u t o f y o u r e n t i r e t e a mo r s t a 1 . Wh a t i s t h e p u r p o s e o f t h e w i r e l e s s n e t w o r k ? Wh od o e s t h e n e t w o r k s e e k t o s e r v e ? Wh a t d o e st h en e t w o r kd ot oa d d r e s s t h ec o m m u n i t y s n e e d s a n dt o c r e a t e v a l u e ? Wh a t a r e t h e p r i n c i p l e s t h a t g u i d e t h e n e t w o r k ?

Ag o o dm i s s i o ns t a t e m e n t e x p r e s s e st h ep u r p o s eo fy o u rn e t w o r ki na c o n c i s e , m e a n i n g f u l w a y w h i l e a r t i c u l a t i n g y o u r v a l u e s a n ds e r v i c e s . A b o v ea l l , y o u rm i s s i o np r o v i d e sav i s i o no ft h ea s p i r a t i o n sf o ry o u r w i r e l e s s n e t w o r k .

17. ECONOMIC SUSTAINABILITY

343

I t i si m p o r t a n tt h a t e v e r yt e a mm e m b e rw o r k i n gt ob u i l dt h ew i r e l e s s n e t w o r ki si n c l u d e di nt h ep r o c e s so fd e v e l o p i n gy o u rm i s s i o n , w h i c h h e l p s c r e a t ef u r t h e r b u y i n . I t w i l l g a r n e r s u p p o r t a n dc o m m i t m e n t n o t o n l y f r o my o u r s t a 1 , b u t a l s o f r o mc u s t o m e r s , p a r t n e r s a n dd o n o r s , w h i c h w i l l f u r t h e r y o u r o v e r a l l o b j e c t i v e s . I nt h e d y n a m i c w o r l do f t e c h n o l o g y , t h e n e e d s o f c u s t o m e r s a n dt h e b e s t w a yt os a t i s f yt h o s e n e e d s c h a n g er a p i d l y ; t h e r e f o r e , t h ed e v e l o p m e n t o f y o u r m i s s i o ni s a no n g o i n g p r o c e s s . A f t e rd e 0 n i n gt h ei n i t i a lm i s s i o nw i t hy o u rt e a m , y o um u s tc o n d u c t r e s e a r c ht od e t e r m i n ew h e t h e rt h i s0 r s t c o n c e p t i o ni s a l i g n e dw i t ht h e r e a l i t i e so fy o u re n v i r o n m e n t .B a s e do na na n a l y s i so ft h ee x t e r n a l e n v i r o n m e n t a n dy o u r i n t e r n a l c o m p e t e n c i e s , y o um u s t c o n s t a n t l y m o d i f y t h e m i s s i o nt h r o u g h o u t t h e l i f e c y c l e o f t h e w i r e l e s s n e t w o r k .

Evaluate the demand for potential offerings


$ en e x ts t e pi nd e r i v i n gy o u rb u s i n e s sm o d e l i n v o l v e sa s s e s s i n gt h e c o m m u n i t y sd e m a n df o rt h en e t w o r k sp r o d u c t sa n ds e r v i c e s .F i r s t , i d e n t i f yt h e i n d i v i d u a l s , g r o u p s a n do r g a n i s a t i o n s i nt h e c o m m u n i t yt h a t h a v e a n e e df o r i n f o r m a t i o na n dw o u l d b e n e 0 t f r o mt h e w i r e l e s s n e t w o r k s o 1 e r i n g s . P o t e n t i a l u s e r s c o u l dc o n s i s t o f a w i d e v a r i e t y o f i n d i v i d u a l s a n d o r g a n i s a t i o n s t h a t i n c l u d e , b u t a r e n o t l i m i t e dt o : F a r m e r s a s s o c i a t i o n s a n dc o o p e r a t i v e s Wo m e n s g r o u p s S c h o o l s a n du n i v e r s i t i e s B u s i n e s s e s a n dl o c a l e n t r e p r e n e u r s H e a l t hc l i n i c s a n dh o s p i t a l s R e l i g i o u s g r o u p s I n t e r n a t i o n a l a n dl o c a l n o n g o v e r n m e n t a l o r g a n i z a t i o n s ( N G O s ) L o c a l a n dn a t i o n a l g o v e r n m e n t a g e n c i e s R a d i os t a t i o n s O r g a n i s a t i o n s i nt h e t o u r i s t i n d u s t r y

O n c e y o ue s t a b l i s hal i s t o f a l l t h e p o t e n t i a l u s e r g r o u p s o f t h e n e t w o r k , y o um u s td e t e r m i n et h e i rn e e d sf o ra c c e s st oi n f o r m a t i o n a n d c o m m u n i c a t i o n . O f t e n , p e o p l e c o n f u s e s e r v i c e s w i t hn e e d s .

344

MAINTENANCE, MONITORING AND SUSTAINABILITY

Af a r m e r m a yn e e dt og a t h e r i n f o r m a t i o no nm a r k e t p r i c e s a n dc l i m a t i c c o n d i t i o n s t oi m p r o v e h i s c r o py i e l da n ds a l e s . P e r h a p s t h e w a yi nw h i c h h e g e t s t h i s i n f o r m a t i o ni s t h r o u g ht h e I n t e r n e t ; h o w e v e r , t h e f a r m e r c o u l d a l s or e c e i v et h i si n f o r m a t i o nt h r o u g hS MS o v e ra m o b i l ep h o n eo r t h r o u g hV o i c eo v e rI n t e r n e tP r o t o c o l( V o I P ) .I ti si m p o r t a n tt o d i 1 e r e n t i a t eb e t w e e nn e e d sa n ds e r v i c e sb e c a u s et h e r em a yb ev a r i o u s w a y s t os a t i s f yt h e f a r m e r s n e e d s . Y o u r w i r e l e s s n e t w o r ks h o u l dl o o kf o r t h eb e s t w a yt of u l 0 l l t h ef a r m e r sn e e d s , t h e r e b yc r e a t i n gv a l u ea t t h e l o w e s t c o s t f o r t h e u s e r . Wh e na s s e s s i n g t h e n e e d s o f t h e c o m m u n i t y , i t i s i m p o r t a n t t o0 g u r e o u t w h e r e t h e n e t w o r k c a nb r i n g t h e m o s t v a l u e t o i t s u s e r s . F o r i n s t a n c e , i nt h e s m a l l t o w no f D o u e n t z a , Ma l i , at e l e c e n t r em a n a g e r e v a l u a t e dt h e p o t e n t i a l b e n e 0 t s o f e s t a b l i s h i n ga w i r e l e s s n e t w o r k t h r o u g h d i s c u s s i o n sw i t hs e v e r a ll o c a lo r g a n i s a t i o n s .H ei n t e r v i e w e do n el o c a l N G Ot h a t d i s c u s s e di t s n e e dt os e n dm o n t h l yr e p o r t s t oi t s h e a d q u a r t e r s o N c e i nB a m a k o . A t t h a t t i m e , t h e r e w a s n oI n t e r n e t a c c e s s i nD o u e n t z a . I no r d e r t o e m a i l a c o p y o f t h e r e p o r t , t h e N G Os e n t o n e o f i t s e m p l o y e e s t oMo p t i o n c eam o n t h , r e s u l t i n g i nt r a n s p o r t a t i o na n dl o d g i n gc o s t s , a s w e l l a s t h e o p p o r t u n i t yc o s t o f h a v i n gt h e e m p l o y e eo u t o f t h e o N c ef o r s e v e r a l d a y s e a c hm o n t h . Wh e nt h e t e l e c e n t r e m a n a g e r c a l c u l a t e dt h e t o t a l m o n t h l yc o s t s i n c u r r e d b yt h eN G O ,h ew a sa b l et od e m o n s t r a t et h ev a l u eo fa nI n t e r n e t c o n n e c t i o nt h r o u g hc o s t s a v i n g s t o t h e o r g a n i s a t i o n . A s s i s t a n c e f r o mk e y p a r t n e r s m a y a l s ob e n e c e s s a r y t os e c u r e s u s t a i n a b i l i t y f o r y o u rw i r e l e s s n e t w o r k . D u r i n gt h i sp h a s e , y o us h o u l dc o n n e c t w i t h p o t e n t i a l p a r t n e r s a n de x p l o r e m u t u a l l y b e n e 0 c i a l c o l l a b o r a t i o n s . Y o uc a ne v a l u a t et h ed e m a n di ny o u rc o m m u n i t yb yc o n t a c t i n gy o u r p o t e n t i a l c u s t o m e r s a n da s k i n g q u e s t i o n s d i r e c t l y o r t h r o u g hs u r v e y s , f o c u s g r o u p s , i n t e r v i e w s o r t o w nh a l l m e e t i n g s . C o n d u c t i n gr e s e a r c ht h r o u g ha r e v i e wo f s t a t i s t i c a l d o c u m e n t a t i o n , i n d u s t r yr e p o r t s , c e n s u s e s , m a g a z i n e s , n e w s p a p e r s a n do t h e r s e c o n d a r yd a t a s o u r c e s w i l l a l s oh e l pt og i v e y o ua b e t t e r p i c t u r e o f y o u r l o c a l e n v i r o n m e n t . $e g o a l o f t h i s d a t a c o l l e c t i o ni s t oo b t a i nat h o r o u g hu n d e r s t a n d i n go f t h ed e m a n df o r i n f o r m a t i o na n dc o m m u n i c a t i o ni ny o u r c o m m u n i t ys o t h a t t h e n e t w o r k b e i n g c r e a t e dr e s p o n d s t o t h o s e n e e d s . O f t e n , w i r e l e s s n e t w o r k s t h a t d o n o t s u c c e e df o r g e t t h i s k e y s t e p . Y o u r e n t i r e n e t w o r k s h o u l d b e b a s e do n t h e d e m a n d i nt h e c o m m u n i t y . I f y o us e t u paw i r e l e s s n e t w o r ki nw h i c ht h e c o m m u n i t yd o e s n o t 0 n d v a l u e o r c a n n o t a 1 o r di t s s e r v i c e s , i t w i l l u l t i m a t e l y f a i l .

17. ECONOMIC SUSTAINABILITY

345

Establish appropriate incentives


O f t e n , t h e r ei s l i t t l ee c o n o m i ci n c e n t i v ef o r s u b s i s t e n c e b a s e de c o n o m i c p a r t i c i p a n t s t oa c c e s s t h e I n t e r n e t . I na d d i t i o n , t h ec o s t o f a c q u i r i n gac o m p u t e ro rm o b i l es m a r t p h o n e , l e a r n i n gt ou s ei t , a n dg e t t i n ga nI n t e r n e t c o n n e c t i o nf a r o u t w e i g h s t h e e c o n o m i c r e t u r n s t h a t i t c a np r o v i d e . $e r eh a sr e c e n t l yb e e ns o m ed e v e l o p m e n t o f a p p l i c a t i o n st h a t a d d r e s s t h i sl a c ko fi n c e n t i v e ,s u c ha sm a r k e ti n f o r m a t i o ns y s t e m s ,q u a l i t y s t a n d a r d s i m p o s e db yi m p o r t i n gc o u n t r i e s , a n dc o m m o d i t i e s e x c h a n g e s . I n t e r n e t a c c e s s b e c o m e s a no b v i o u s a d v a n t a g e i ns i t u a t i o n s w h e r e k n o w i n g t h ed a y t o d a yp r i c e so fp r o d u c t sc a nm a k eas i g n i 0 c a n td i 1 e r e n c ei n i n c o m e . E s t a b l i s h i n ga p p r o p r i a t e e c o n o m i c i n c e n t i v e s i s p a r a m o u n t t ot h e s u c c e s s o f t h e n e t w o r k . $e n e t w o r km u s t p r o v i d e e c o n o m i cv a l u e t oi t s u s e r s i na w a y t h a t o u t w e i g h s i t s c o s t s , o r i t m u s t b e c h e a pe n o u g ht h a t i t s c o s t sa r em a r g i n a l a n da 1 o r d a b l et oi t su s e r s . I ti sc r u c i a l t od e s i g na n e t w o r kw i t hv i a b l ee c o n o m i cu s e s a n dw i t hc o s t s t h a t a r el e s s t h a nt h e e c o n o m i c v a l u e p r o v i d e d b y i t . A d d i t i o n a l l y , t oc r e a t ea p r o p e r i n c e n t i v e s t r u c t u r e , y o um u s t i n v o l v e t h e c o m m u n i t yi nt h ec r e a t i o no ft h en e t w o r kf r o mt h eb e g i n n i n go ft h e p r o j e c t , m a k i n gs u r e t h a t t h i s i n i t i a t i v e i s o r g a n i c a n dn o t i m p o s e df r o m t h e o u t s i d e . T o b e g i n , y o u s h o u l dt r y t o a n s w e r t h e f o l l o w i n g q u e s t i o n s : 1 . Wh a te c o n o m i cv a l u ec a nt h i sn e t w o r kg e n e r a t ef o rt h el o c a l e c o n o m y a n df o r w h o m ? 2 . H o wm u c hp e r c e i v a b l e e c o n o m i c v a l u e c a nb e g e n e r a t e d ? 3 . C a np r e s e n t i m p e d i m e n t s b eo v e r c o m et oa l l o wt h e a c h i e v e m e n t o f t h e s e e c o n o m i c r e t u r n s ? B y a n s w e r i n g t h e s e q u e s t i o n s , t h e n e t w o r kw i l l b e a b l e t oc l e a r l y a r t i c u l a t e i t s v a l u e p r o p o s i t i o nf o r i t s u s e r s . F o r e x a m p l e , B y u s i n g t h i s n e t w o r k y o u c a ni m p r o v e y o u r m a r g i n s o n c o m m o d i t y s a l e s b y 2 %, o r I n t e r n e t a c c e s s w i l l a l l o wy o ut os a v e$ Xi np h o n ec h a r g e s a n dt r a n s p o r t a t i o nc o s t s p e r m o n t h . Y o um u s t 0 g u r e o u t h o wy o u r n e t w o r kc a ni m p r o v e e N c i e n c i e s , r e d u c e c o s t s , o r i n c r e a s e r e v e n u e s f o r t h e s e c u s t o m e r s . F o r e x a m p l e , i f p r o v i d i n g m a r k e t i n f o r m a t i o nf o r t h e l o c a l m a i z e i n d u s t r y , t h e n e t w o r ks h o u l db e l o c a t e dn e a r t ow h e r e f a r m e r s b r i n g t h e i r c r o pf o r s a l e t o m e r c h a n t s .

346

MAINTENANCE, MONITORING AND SUSTAINABILITY

Y o u rn e t w o r kw o u l dt h e nl i k e l yn e e dt ot i e i n t om a r k e ti n f o r m a t i o n s y s t e m s , p r o v i d i n gd a i l y p r i c e s h e e t s ( $ 1e a c h ) , o r t e r m i n a l s t os e l l e r s a n d m e r c h a n t s ( $ 2 / h r ) . Y o u r n e t w o r k m i g h t a l s o p r o v i d e t h e m e a n s f o r f a r m e r s t or e a da b o u t n e wt e c h n i q u e s a n dt ob u yn e wp r o d u c t s . Y o um i g h t a l s o p r o v i d ew i r e l e s sc o n n e c t i o n st om e r c h a n t sa n dr e n tt h e mt h i n c l i e n t t e r m i n a l s f o r I n t e r n e t a c c e s s . I f t h em a r k e t w a s s m a l l , y o um i g h t b ea b l et or e d u c ec o s t s b yl i m i t i n g a c c e s s t oi m a g e s a n do t h e r b a n d w i d t hi n t e n s i v e s e r v i c e s . A g a i n , k n o w i n g h o wm u c hv a l u ey o u r n e t w o r kw i l l c r e a t ef o r t h e s e m e r c h a n t s w i l l a l l o w y o u t o g a u g e h o wm u c ht h e y w i l l b e a b l e t o a 1 o r df o r y o u r s e r v i c e s .

Research the regulatory environment for wireless


$e r e g u l a t o r ye n v i r o n m e n t f o r w i r e l e s s n e t w o r k s a l s oa 1 e c t s t h e t y p eo f b u s i n e s s m o d e l t h a t c a nb e i m p l e m e n t e d . F i r s t , r e s e a r c hw h e t h e r a n yo r g a n i s a t i o nh a st h er i g h tt ou s e2 . 4G Hz f r e q u e n c i e s w i t h o u t a l i c e n s e . I nm o s ts i t u a t i o n s , 2 . 4G Hzi sf r e et ou s ew o r l d w i d e ; h o w e v e r , s o m e c o u n t r i e s r e s t r i c t w h oc a no p e r a t e a n e t w o r ko r r e q u i r e e x p e n s i v e l i c e n s e s t o d o s o . S o a l t h o u g hw i r e l e s s n e t w o r k s m i g h t b e l e g a l i na c o u n t r y , t h e o p e r a t o r o f an e t w o r km i g h t h a v et oa c q u i r eal i c e n s et ou s e2 . 4G Hzf r e q u e n c i e s , w h i c hr e n d e r st h i su s a g ep r o h i b i t i v ef o r a n y o n eo t h e rt h a ne s t a b l i s h e d I n t e r n e t S e r v i c e P r o v i d e r s w h oh a v e s u N c i e n t c a s hW o wt op a yt h e l i c e n s e f e e s . $i s r e s t r i c t i o nm a k e s i t d i N c u l t f o r s m a l l c o m m u n i t i e s t os h a r ea w i r e l e s s n e t w o r k w i t ho t h e r p o t e n t i a l l y i n t e r e s t e dp a r t i e s o r o r g a n i s a t i o n s . O t h e r c o u n t r i e s a r e m o r e p e r m i s s i v e w i t hn os u c hr e s t r i c t i o n s o nw i r e l e s s n e t w o r k s ,s ot h ep o s s i b i l i t yt os h a r eI n t e r n e tc o n n e c t i v i t yi ns m a l l c o m m u n i t i e s i s a v i a b l e s o l u t i o n . $e l e s s o ni s t od oy o u r r e s e a r c ha t t h e o n s e t , e n s u r i n gy o u r n e t w o r kw i l l c o m p l y w i t ht h e l a w s o f t h e c o u n t r ya n dl o c a l c o m m u n i t y . S o m e p r o j e c t m a n a g e r s h a v eb e e nf o r c e dt os h u t d o w nt h e i r w i r e l e s s n e t w o r k s s i m p l y b e c a u s e t h e y w e r e u n k n o w i n g l y b r e a k i n g t h e l a w . Y o us h o u l da l s oc h e c ki n t ot h el e g a l i t yo f V o i c eo v e rI n t e r n e t P r o t o c o l ( V o I P ) s e r v i c e s . I ns o m e c o u n t r i e s t h e r e a r e c o m p l i c a t e dr u l e s s u r r o u n d i n gV o I P . $e r u l e s f o r V o I Ps e r v i c e s a n dV o I Pg a t e w a y s v a r ya l o t s op l e a s ec h e c ki ny o u r o w nc o u n t r y w h a t i s l e g a l l y a l l o w e d . Y o uc a ns t a r t b y c h e c k i n g w i k i p e d i a h t t p : / / e n . w i k i p e d i a . o r g / w i k i / V o i c e _ o v e r _ I P

17. ECONOMIC SUSTAINABILITY

347

Analyse the competition


$e n e x t p h a s e i nt h e e v a l u a t i o no f y o u r c o m m u n i t y i n v o l v e s a na n a l y s i s o f t h ew i r e l e s s n e t w o r k s c o m p e t i t i o n . C o m p e t i t o r s i n c l u d e o r g a n i s a t i o n s t h a t p r o v i d e s i m i l a r p r o d u c t s a n ds e r v i c e s ( e . g . , a n o t h e r w i r e l e s s I n t e r n e t S e r v i c ep r o v i d e ro r WI S P ) ,o r g a n i s a t i o n sv i e w e da ss u b s t i t u t e so r a l t e r n a t i v e s t ot h ep r o d u c t sa n ds e r v i c e s y o u rn e t w o r kp r o v i d e s( e . g . , a c y b e r c a f ) ,a n do r g a n i s a t i o n sd e 0 n e da sn e we n t r a n t st ot h ew i r e l e s s m a r k e t . O n c ey o uh a v ei d e n t i 0 e dy o u rc o m p e t i t o r s , y o us h o u l dr e s e a r c ht h e m t h o r o u g h l y . Y o uc a no b t a i ni n f o r m a t i o na b o u t y o u r c o m p e t i t o r s t h r o u g h t h e I n t e r n e t , t e l e p h o n e c a l l s , t h e i r a d v e r t i s e m e n t s a n dm a r k e t i n g m a t e r i a l s , s u r v e y s o f t h e i r c u s t o m e r s a n dv i s i t s t ot h e i r s i t e . C r e a t ea0 l ef o r e a c h c o m p e t i t o r . $e c o m p e t i t i v e i n f o r m a t i o ny o ug a t h e r c a ni n c l u d eal i s t o f s e r v i c e s( i n c l u d i n gp r i c ea n dq u a l i t yi n f o r m a t i o n ) ,t h e i rt a r g e tc l i e n t s , c u s t o m e r s e r v i c e t e c h n i q u e s , r e p u t a t i o n , m a r k e t i n g , e t c . B e s u r e t oc o l l e c t a n y t h i n gt h a t w i l l h e l py o ud e t e r m i n e h o wt op o s i t i o n y o u r n e t w o r k i nt h e c o m m u n i t y . I t i s i m p o r t a n t t oe v a l u a t ey o u rc o m p e t i t i o nf o r m a n yr e a s o n s . F i r s t , i t h e l p s y o ud e t e r m i n e t h e l e v e l o f m a r k e t s a t u r a t i o n . K n o w i n g w h a t a l r e a d y e x i s t s w i l l a l l o wy o ut od e t e r m i n e h o wy o u r n e t w o r kc a nc o n t r i b u t e v a l u e t ot h ec o m m u n i t y . I na d d i t i o n , a n a l y s i n gt h ec o m p e t i t i o nc a ns t i m u l a t e i n n o v a t i v e i d e a s f o r y o u r s e r v i c e o 1 e r i n g s . I s t h e r e s o m e t h i n g t h a t y o uc a n d ob e t t e r t h a nt h ec o m p e t i t o r s t om a k ey o u r s e r v i c e s m o r e e 1 e c t i v e l y0 t t h e n e e d s o f t h e c o m m u n i t y ? F i n a l l y , b y a n a l y s i n gy o u r c o m p e t i t o r s f r o mt h e c u s t o m e r s p o i n t o f v i e w a n d u n d e r s t a n d i n g t h e i r s t r e n g t h s a n dw e a k n e s s e s , y o u c a nd e t e r m i n e y o u r c o m p e t i t i v e a d v a n t a g e s i nt h e c o m m u n i t y . C o m p e t i t i v e a d v a n t a g e s a r e t h o s e w h i c hc a n n o t b e e a s i l y r e p l i c a t e db y t h e c o m p e t i t i o n . F o r e x a m p l e , a w i r e l e s s n e t w o r kt h a t c a ne x c l u s i v e l y o 1 e r a f a s t e r I n t e r n e t c o n n e c t i o nt h a na c o m p e t i t o r i s a c o m p e t i t i v e a d v a n t a g e .

Determine initial and recurring costs and pricing


Wh e ny o ua r e p l a n n i n g t os e t u pa n do p e r a t e y o u r w i r e l e s s n e t w o r k , y o u m u s td e t e r m i n et h er e s o u r c e sn e e d e dt os t a r ty o u rp r o j e c ta n dt h e r e c u r r i n go p e r a t i n gc o s t s .S t a r t u pc o s t si n c l u d ee v e r y t h i n gy o um u s t p u r c h a s e t o s t a r t y o u r w i r e l e s s n e t w o r k .

348

MAINTENANCE, MONITORING AND SUSTAINABILITY

$e s ee x p e n s e sc a nr a n g ef r o mt h ei n i t i a li n v e s t m e n ty o um a k ei n h a r d w a r e , a c c e s s t ot o w e r s a n ds oo np l u s e q u i p m e n t f o r a c c e s s p o i n t s , h u b s , s w i t c h e s , c a b l e s , s o l a r e q u i p m e n t , U P S , e t c . t ot h e c o s t s t or e g i s t e r y o u r o r g a n i s a t i o na s a l e g a l e n t i t y . R e c u r r i n gc o s t sa r ew h a ty o um u s tp a yt oc o n t i n u et oo p e r a t ey o u r w i r e l e s s n e t w o r k , i n c l u d i n gt h e c o s t o f I n t e r n e t a c c e s s , t e l e p h o n e s , l o a n s , e l e c t r i c i t y , s a l a r i e s , o N c er e n t a l f e e s , e q u i p m e n t m a i n t e n a n c e a n dr e p a i r s , a n dr e g u l a r i n v e s t m e n t s t o r e p l a c e m a l f u n c t i o n i n g o r o b s o l e t e e q u i p m e n t . E v e r yp i e c e o f e q u i p m e n t w i l l e v e n t u a l l y b r e a kd o w no r b e c o m e o u t d a t e d a t s o m e p o i n t , a n dy o u s h o u l ds e t a s i d e e x t r a m o n e y f o r t h i s p u r p o s e . A na d v i s a b l ea n dv e r yc o m m o nm e t h o dt od e a l w i t ht h i s i s t ot a k et h e p r i c e o f t h e d e v i c e a n dd i v i d e i t b y t h e p e r i o do f t i m e y o u e s t i m a t e t h a t i t w i l l l a s t . $i sp r o c e s si sc a l l e dd e p r e c i a t i o n .H e r ei sa ne x a m p l e .A na v e r a g e c o m p u t e r i s s u p p o s e dt ol a s t f o r t w ot o0 v e y e a r s . I f t h ei n i t i a l c o s t t o p u r c h a s e t h e c o m p u t e r w a s $ 1 , 0 0 0U S D , a n dy o uw i l l b e a b l e t ou s e t h e c o m p u t e r f o r 0 v e y e a r s , y o u r a n n u a l d e p r e c i a t i o nw i l l b e$ 2 0 0U S D . I n o t h e rw o r d s , y o uw i l l l o s e$ 1 6 . 6 7U S De v e r ym o n t hs ot h a t y o uc a n e v e n t u a l l y r e p l a c e t h i s c o m p u t e r . T o m a k e y o u r p r o j e c t s u s t a i n a b l e , i t i s o f f u n d a m e n t a l i m p o r t a n c e t h a t y o us a v et h e m o n e yt oc o m p e n s a t e f o r t h e d e p r e c i a t i o no f e q u i p m e n t e a c h m o n t h . K e e pt h e s es a v i n g s u n t i l y o u0 n a l l yh a v et os p e n dt h e mf o r e q u i p m e n t r e p l a c e m e n t . S o m ec o u n t r i e s h a v et a xl a w s t h a t d e t e r m i n e t h e p e r i o do f d e p r e c i a t i o nf o r d i 1 e r e n t t y p e s o f d e v i c e s . I na n yc a s e , y o us h o u l dt r yt ob ev e r yr e a l i s t i c a b o u t t h e l i f e c y c l e o f a l l t h e i m p l e m e n t e d g e a r a n dp l a nf o r t h e i r d e p r e c i a t i o nc a r e f u l l y . I t i s i m p o r t a n t t or e s e a r c ha l l y o u r s t a r t u pc o s t s i na d v a n c e , a n dm a k e r e a l i s t i c e s t i m a t i o n s o f y o u r r e c u r r i n g e x p e n s e s . I t i s a l w a y s b e t t e r t o o v e r b u d g e t f o r e x p e n s e s t h a nt ou n d e r b u d g e t . Wi t he v e r yw i r e l e s s p r o j e c t , t h e r ea r ea l w a y s u n f o r e s e e nc o s t s , e s p e c i a l l y d u r i n g t h e 0 r s t y e a r o f o p e r a t i o n s a s y o ul e a r nh o wt ob e t t e r m a n a g e y o u r n e t w o r k . F o l l o w i n g , i s an o n e x h a u s t i v el i s t o f c a t e g o r i e s o f c o s t s t h a t y o us h o u l di n c l u d e , b o t hi ns t a r t u pp h a s ea n df o r y o u r r e c u r r i n gc o s t s , j u s t t o g i v e y o u a ni d e a o f h o wt o g e t s t a r t e d o n c a l c u l a t i n g y o u r c o s t s : -

17. ECONOMIC SUSTAINABILITY

349

Categories of Costs
L a b o u r c o s t s C h e c k u p s ( a n a l y s e s ) a n dc o n s u l t a n c i e s D e v e l o p m e n t c o s t s f o r p r o g r a m m i n g , t e s t i n g , i n t e g r a t i o ne t c . I n s t a l l a t i o nc o s t s R e c r u i t i n g c o s t s T r a i n i n g c o s t s ( i n t r o d u c t i o na n do n g o i n g ) H a n d l i n gc o s t s / s a l a r i e s f o r e m p l o y e e s o rf r e e l a n c e r s , i n c l u d i n g y o u r s e l f E q u i p m e n t m a i n t e n a n c e s t a 1c o s t s S o f t w a r e s u p p o r t s t a 1c o s t s S e c u r i t yp e r s o n n e l N o n l a b o u r c o s t s A c q u i s i t i o na n dp r o d u c t i o nc o s t s ( f o r h a r d w a r el i k e P C s , V S A T , r a d i o l i n k e q u i p m e n t a n ds o f t w a r e ) A n c i l l a r ye q u i p m e n t ( e . g . , s w i t c h e s , c a b l e s a n dc a b l i n g , g e n e r a t o r , U P S , e t c . ) D a t a p r o t e c t i o na n ds e c u r i t y S t a r t u pi n v e n t o r y( c h a i r s ,t a b l e s ,l i g h t i n g ,c u r t a i n s ,t i l e sa n d c a r p e t i n g ) P r e m i s e sc o s t s( n e wb u i l d i n g ,m o d i 0 c a t i o n ,a i rc o n d i t i o n i n g , e l e c t r i c a l w i r i n g a n db o x e s , s e c u r i t y g r i l l s ) L e g a l c o s t s , s u c ha s b u s i n e s s r e g i s t r a t i o n I n i t i a l l i c e n s e c o s t s ( V S A T ) I n i t i a l m a r k e t i n g c o s t s ( W y e r s , s t i c k e r s , p o s t e r s , o p e n i n g p a r t y ) O p e r a t i n gc o s t sf o rh a r d w a r ea n do p e r a t i n gs y s t e m s( I n t e r n e t a c c e s s , t e l e p h o n e , e t c . ) R e n t o r l e a s i n g r a t e s ( f o r t o w e r s p a c e f o r e x a m p l e ) D e p r e c i a t i o no f h a r d w a r e a n de q u i p m e n t L i c e n s e f e e s C o n s u m a b l e s a n do N c es u p p l i e s ( e . g . , d a t am e d i a , p a p e r , b i n d s , c l i p s ) O p e r a t i o n a l c o s t s t om a i n t a i nd a t a p r o t e c t i o na n ds e c u r i t y

350

MAINTENANCE, MONITORING AND SUSTAINABILITY

I n s u r a n c e p r e m i u m s C o s t s f o r e n e r g y a n dt o e n s u r e p o w e r s u p p l y L o a np a y m e n t s , c a p i t a l c o s t s f o r p a y i n g b a c ky o u r s e t u p c o s t s C o s t s f o r a d v e r t i s i n g L o c a l f e e s L e g a l a n da c c o u n t i n g s e r v i c e s

T oi m p r o v e y o u r c h a n c e s o f s u s t a i n a b i l i t y , i t i s g e n e r a l l yb e s t t om a i n t a i n t h e l o w e s t c o s t s t r u c t u r e f o r y o u r n e t w o r k . I no t h e r w o r d s , k e e p y o u r e x p e n s e s a s l o wa s p o s s i b l e . T a k et i m et ot h o r o u g h l yr e s e a r c ha l l o f y o u rs u p p l i e r s , p a r t i c u l a r l yt h e I S P s , a n ds h o pa r o u n df o r t h e b e s t d e a l s o nq u a l i t y s e r v i c e . O n c e a g a i n , b e c e r t a i nt h a tw h a ty o up u r c h a s ef r o m s u p p l i e r sc o r r e s p o n d sw i t ht h e d e m a n di nt h e c o m m u n i t y . B e f o r e i n s t a l l i n g a ne x p e n s i v e V S A T , e n s u r e t h e r e i s a s u N c i e n t n u m b e r o f i n d i v i d u a l s a n do r g a n i s a t i o n s i ny o u r c o m m u n i t y w i l l i n ga n da b l e t op a y f o r u s i n g i t . D e p e n d i n gu p o nd e m a n df o ri n f o r m a t i o na c c e s s a n da b i l i t yt op a y , a n a l t e r n a t i v em e t h o do f c o n n e c t i v i t ym a yb e m o r ea p p r o p r i a t e . D on o t b e a f r a i dt ot h i n k o u t s i d e t h e b o x a n db e c r e a t i v e w h e nd e t e r m i n i n g t h e b e s t s o l u t i o n . K e e p i n gy o u rc o s t s d o w ns h o u l dn o t b ea t t h ec o s t o f q u a l i t y . B e c a u s e l o w q u a l i t ye q u i p m e n ti sm o r el i k e l yt om a l f u n c t i o n ,y o uc o u l db e s p e n d i n g m o r e o n m a i n t e n a n c e i nt h e l o n g r u n . $e a m o u n t o f m o n e y y o u w i l l s p e n dt om a i n t a i ny o u r I C Ti n f r a s t r u c t u r e i sh a r dt og u e s s .$el a r g e ra n dm o r ec o m p l i c a t e dy o u ri n f r a s t r u c t u r e b e c o m e s , t h e m o r e 0 n a n c i a l a n dl a b o u r r e s o u r c e s y o um u s t a l l o c a t e f o r i t s m a i n t e n a n c e . Ma n yt i m e st h i sr e l a t i o ni sn o tl i n e a rb u te x p o n e n t i a l . I fy o uh a v ea q u a l i t y p r o b l e mw i t hy o u r e q u i p m e n t o n c e i t i s r o l l e do u t , i t c a nc o s t y o u a ne n o r m o u sa m o u n t o f m o n e yt o0 xi t . C o n c u r r e n t l y , y o u rs a l e sw i l l d e c r e a s e b e c a u s e t h e e q u i p m e n t i s n o t u p a n dr u n n i n g . $e r ei sa ni n t e r e s t i n ge x a m p l eo fa m a j o rw i r e l e s sI n t e r n e tS e r v i c e P r o v i d e r ( WI S P ) w h oh a dm o r e t h a n3 , 0 0 0a c c e s s p o i n t s i no p e r a t i o nf o r a w h i l e . H o w e v e r , t h e WI S Pn e v e r m a n a g e dt ob r e a k e v e nb e c a u s e i t h a d t o s p e n dt o o m u c hm o n e y t o m a i n t a i na l l t h e a c c e s s p o i n t s .

17. ECONOMIC SUSTAINABILITY

351

I na d d i t i o n ,t h ec o m p a n yu n d e r e s t i m a t e dt h es h o r tl i f e c y c l eo fs u c h d e v i c e s . I C Th a r d w a r e t e n d s t og e t c h e a p e r a n db e t t e r a s t i m e g o e s o n . A s s o o na s t h e c o m p a n yh a di n v e s t e dt i m e a n dm o n e yt oi n s t a l l t h e v e r s i o n o f e x p e n s i v e 0 r s t g e n e r a t i o n8 0 2 . 1 1 ba c c e s s p o i n t s , t h e n e w g s t a n d a r d w a s c r e a t e d . N e wc o m p e t i t o r s d e s i g n e db e t t e r a n dc h e a p e r a c c e s s p o i n t sa n do 1 e r e d f a s t e r I n t e r n e t a c c e s s f o r l e s s m o n e y . F i n a l l yt h e 0 r s t WI S Pw a s f o r c e dt o c l o s e d o w nt h e c o m p a n y , a l t h o u g hi t w a s i n i t i a l l y t h e m a r k e t l e a d e r . K e e pi nm i n dt h er a p i da d v a n c e m e n ta n dc h a n g e si nt e c h n o l o g ya n d t h i n ka b o u t h o wa n dw h e ni t m a yb et i m ef o r y o ut or e i n v e s t i nn e w e r a n dc h e a p e r( o rb e t t e r ) d e v i c e s t ok e e py o u ri n f r a s t r u c t u r ec o m p e t i t i v e a n du p t o d a t e . A s m e n t i o n e db e f o r e , i t i s h i g h l y i m p o r t a n t t h a t y o us a v e e n o u g ht o b e a b l e t o d o s o , w h e nn e c e s s a r y . O n c ey o uh a v ei d e n t i 0 e da n dm a p p e do u t y o u rc o s t s , y o us h o u l da l s o d e t e r m i n e w h a t a n dh o wt oc h a r g e f o r y o u r s e r v i c e s . $i s i s a c o m p l i c a t e d a n dt i m e c o n s u m i n gp r o c e s st od oc o r r e c t l y . $e s ek e yt i p sw i l l a s s i s t w h e nm a k i n g p r i c i n g d e c i s i o n s : C a l c u l a t et h ep r i c e sy o uc h a r g es ot h a ty o uc o v e ra l l c o s t st o p r o v i d e t h e s e r v i c e , i n c l u d i n g a l l r e c u r r i n g e x p e n s e s E x a m i n e t h e p r i c e s o f y o u r c o m p e t i t o r s . E v a l u a t e w h a t y o u r c u s t o m e r s a r e w i l l i n g a n da b l e t op a y f o r y o u r s e r v i c e s , a n dm a k e s u r e y o u r p r i c e s c o r r e s p o n dw i t ht h e s e

I t i s a b s o l u t e l ye s s e n t i a l t om a k e a0 n a n c i a l p l a nb e f o r e y o us t a r t t o0 n d o u t i f y o u r p r o j e c t c a nb e s u s t a i n a b l e .

Secure the 2nancing


O n c ey o uh a v ed e t e r m i n e dy o u ri n i t i a l a n dr e c u r r i n gc o s t s a n dc r e a t e d y o u r 0 n a n c i a l p l a n , y o uk n o wh o wm u c h0 n a n c i n g y o uw i l l n e e dt o r u na s u c c e s s f u l w i r e l e s s n e t w o r k . $e n e x t s t e pi s t or e s e a r c ha n ds e c u r e t h e a p p r o p r i a t e a m o u n t o f m o n e y t o s t a r t u p a n dr u ny o u r w i r e l e s s n e t w o r k . $e m o s t t r a d i t i o n a l m e t h o do f r e c e i v i n gf u n d i n g f o r w i r e l e s s n e t w o r k s i s t h r o u g hg r a n t s g i v e nb y d o n o r s . Ad o n o r t y p i c a l l y w i l l c o n t r i b u t e f u n d i n g a n do t h e rt y p e so fd o n a t i o n st oa no r g a n i s a t i o no rc o n s o r t i u m o f o r g a n i s a t i o n s t o h e l pt h e mm a n a g e p r o j e c t s o r s u p p o r t c a u s e s . B e c a u s e t h i s f u n d i n g i s p r o v i d e d i nt h e f o r mo f g r a n t s o r o t h e r d o n a t i o n s ,

352

MAINTENANCE, MONITORING AND SUSTAINABILITY

i t i sn o te x p e c t e dt ob er e p a i db yt h eo r g a n i s a t i o n si m p l e m e n t i n gt h e w i r e l e s s p r o j e c t s o r b y t h e p r o j e c t s b e n e 0 c i a r i e s . S u c hd o n o r si n c l u d el a r g ei n t e r n a t i o n a lo r g a n i s a t i o n sl i k et h eU n i t e d N a t i o n s( U N )a n dv a r i o u ss p e c i a l i s e dU N a g e n c i e sl i k et h eU n i t e d N a t i o n s D e v e l o p m e n t P r o g r a m ( U N D P ) a n d U n i t e d N a t i o n s E d u c a t i o n a l , S c i e n t i 0 c a n d C u l t u r a l O r g a n i z a t i o n ( U N E S C O ) . G o v e r n m e n t a g e n c i e s t h a t s p e c i a l i s e i ni n t e r n a t i o n a l d e v e l o p m e n t , s u c ha s t h eU n i t e dS t a t e sA g e n c yf o r I n t e r n a t i o n a l D e v e l o p m e n t( U S A I D ) , t h e U n i t e dK i n g d o m sD e p a r t m e n tf o rI n t e r n a t i o n a l D e v e l o p m e n t( D F I D ) , a n dt h eC a n a d i a nI n t e r n a t i o n a l D e v e l o p m e n tA g e n c y( C I D A ) , a r ea l s o c o n s i d e r e dd o n o r s . L a r g ef o u n d a t i o n s l i k e t h e G a t e s F o u n d a t i o na n dt h e S o r o s F o u n d a t i o na n dp r i v a t ec o m m e r c i a l c o m p a n i e sa r eo t h e r t y p e s o f d o n o r s . T y p i c a l l y , r e c e i v i n gf u n d i n gi n v o l v e s ac o m p e t i t i v eo r an o n c o m p e t i t i v e p r o c e s s . $e n o n c o m p e t i t i v e p r o c e s s i s m o r e i n f r e q u e n t , s ow e w i l l f o c u s o nt h ec o m p e t i t i v ep r o c e s sa ta v e r yh i g hl e v e l .Mo s td o n o r sh a v e c o m p l i c a t e dp r o c e d u r e s s u r r o u n d i n gt h ed i s t r i b u t i o no f f u n d i n g . D u r i n g t h ec o m p e t i t i v eb i dp r o c e s s , t h ed o n o rc r e a t e sar e q u e s tf o rp r o p o s a l ( R F P )o rar e q u e s tf o ra p p l i c a t i o n( R F A ) , w h i c hs o l i c i t sv a r i o u sn o n g o v e r n m e n t a lo r g a n i s a t i o n s ,p r i v a t ec o m p a n i e sa n dt h e i rp a r t n e r st o s u b m i t p r o p o s a l s o u t l i n i n gt h e i r p l a n s f o r p r o j e c t s w i t h i nt h e c o n s t r a i n t s o f t h e d o n o r s o b j e c t i v e s a n dg u i d e l i n e s . I nr e s p o n s e t ot h i s R F Po r R F A , N G O s a n do t h e r o r g a n i s a t i o n s c o m p e t e t h r o u g ht h e s u b m i t t a l o f t h e i r p r o p o s a l s , w h i c ha r e t h e ne v a l u a t e db y t h e d o n o r sb a s e d o ns p e c i 0 ce s t a b l i s h e d c r i t e r i a .F i n a l l y ,t h ed o n o r o r g a n i s a t i o ns e l e c t s t h e m o s t a p p r o p r i a t e a n dh i g h e s t r a n k i n gp r o p o s a l t o f u n dt h e p r o j e c t . S o m e t i m e sd o n o r sa l s os u p p l yf u n d i n gt os u p p o r ta no r g a n i s a t i o n s o p e r a t i o n s , b u t t h i s t y p e o f f u n d i n g i s m o r e u n u s u a l t h a nt h e c o m p e t i t i v e b i dp r o c e s s f o r a s p e c i 0 c p r o j e c t . A n o t h e rw a yo fa c c e s s i n gt h en e c e s s a r yf u n d st os t a r ta n dm a i n t a i na w i r e l e s sn e t w o r ki st h r o u g hm i c r o 0 n a n c e ,o rt h ep r o v i s i o no fl o a n s , s a v i n g s a n do t h e r b a s i c0 n a n c i a l s e r v i c e st ot h ew o r l d s p o o r e s tp e o p l e . P i o n e e r e di nt h e 1 9 7 0 s b y o r g a n i s a t i o n s l i k e A C C I O NI n t e r n a t i o n a l a n d G r a m e e nB a n k , m i c r o c r e d i t , a t y p e o f m i c r o 0 n a n c e , e n a b l e s e n t r e p r e n e u r s t o r e c e i v e l o a n s i ns m a l l a m o u n t s o f m o n e y t o s t a r t u p s m a l l e n t e r p r i s e s .

17. ECONOMIC SUSTAINABILITY

353

D e s p i t et h ef a c tt h a to f t e ni n d i v i d u a l sl a c km a n yo ft h et r a d i t i o n a l q u a l i 0 c a t i o n sn e e d e dt oo b t a i nl o a n sl i k ev e r i 0 a b l ec r e d i t , c o l l a t e r a l o r s t e a d ye m p l o y m e n t , m i c r o c r e d i t p r o g r a m s h a v eb e e nh i g h l ys u c c e s s f u l i n m a n y c o u n t r i e s . T y p i c a l l y , t h ep r o c e s s i n v o l v e sa ni n d i v i d u a l o r ag r o u pc o m p l e t i n ga n d s u b m i t t i n gal o a na p p l i c a t i o ni nt h eh o p e s o f r e c e i v i n gal o a n , a n dt h e l e n d e r , t h e i n d i v i d u a l o r o r g a n i s a t i o nt h a t p r o v i d e s t h e l o a n , g i v i n g m o n e y o nc o n d i t i o nt h a t i t i s r e t u r n e dw i t hi n t e r e s t . $e u s e o f m i c r o c r e d i t t o f u n dw i r e l e s s n e t w o r k s d o e s p o s e o n e c o n s t r a i n t . U s u a l l y , m i c r o c r e d i ti n v o l v e sv e r ys m a l l s u m s o fm o n e y . U n f o r t u n a t e l y , b e c a u s ea l a r g ea m o u n to fc a p i t a li sn e e d e dt op u r c h a s et h ei n i t i a l e q u i p m e n t f o r w i r e l e s s n e t w o r ks e t u p , s o m e t i m e s am i c r o c r e d i t l o a ni s n o t s u N c i e n t . H o w e v e r , t h e r e h a v e b e e nm a n y s u c c e s s f u l a p p l i c a t i o n s o f m i c r o c r e d i t t h a t h a v eb r o u g h t t e c h n o l o g yt oc o m m u n i t i e s . A ne x a m p l ei n c l u d e s t h e s t o r y o f v i l l a g e p h o n e o p e r a t o r s . $e s e e n t r e p r e n e u r s u s e t h e i r m i c r o c r e d i t l o a n s t op u r c h a s e m o b i l e p h o n e s a n dp h o n e c r e d i t s . $e y t h e nr e n t t h e u s e o f t h e i r m o b i l e p h o n e s t oc o m m u n i t y m e m b e r s o n ap e r c a l l b a s i s a n de a r ne n o u g hm o n e y t or e p a yt h e i r d e b t a n dm a k e a p r o 0 t f o r t h e m s e l v e s a n dt h e i r f a m i l i e s . A n o t h e rm e c h a n i s mf o rg e t t i n gf u n d i n gt os t a r taw i r e l e s sn e t w o r ki s a n g e lf u n d i n g .A n g e li n v e s t o r sa r en o r m a l l yw e a l t h yi n d i v i d u a l st h a t p r o v i d e c a p i t a l f o r b u s i n e s s s t a r t u pi ne x c h a n g e f o r ah i g hr a t e o f r e t u r n o n t h e i r i n v e s t m e n t . B e c a u s et h ev e n t u r e si nw h i c ht h e yi n v e s t a r es t a r t u p sa n d , t h e r e f o r e , o f t e nh i g hr i s k , a n g e l i n v e s t o r s t e n dt oe x p e c t d i 1 e r e n t t h i n g s i na d d i t i o n t o t h e i r r e t u r n . Ma n y e x p e c t a B o a r d p o s i t i o na n dm a y b e a r o l e i nt h e o r g a n i s a t i o n . S o m ea n g e l s w a n t t oh a v eas t a k ei nt h ec o m p a n y , w h i l eo t h e r sp r e f e r s h a r e s i nt h ec o m p a n yt h a t c a nb ee a s i l yr e d e e m a b l ea t f a c ev a l u e , t h u s p r o v i d i n g a c l e a r e x i t f o r t h e i n v e s t o r . T op r o t e c t t h e i r i n v e s t m e n t s , a n g e l s f r e q u e n t l ya s kt h e b u s i n e s s e s n o t t o m a k ec e r t a i nk e yd e c i s i o n s w i t h o u t t h e i ra p p r o v a l . B e c a u s eo f t h eh i g h r i s ki n v o l v e di nd e v e l o p i n gm a r k e t s , i t i s o f t e nc h a l l e n g i n gt o0 n da n g e l i n v e s t o r s t o h e l ps e t u p a w i r e l e s s n e t w o r k , b u t n o t i m p o s s i b l e . $ eb e s t w a yt o0 n dp o t e n t i a l i n v e s t o r s i s t h r o u g hy o u rs o c i a l n e t w o r k a n dt h r o u g hr e s e a r c ho n l i n e .

354

MAINTENANCE, MONITORING AND SUSTAINABILITY

Evaluate the strengths and weaknesses of the internal situation


An e t w o r k i s o n l y a s g o o d a s t h e p e o p l e w h o w o r k a n do p e r a t e i t . $e t e a my o up u t i np l a c e c a nm e a nt h e d i 1 e r e n c e b e t w e e ns u c c e s s a n d f a i l u r e . $a t i s w h yi t i s i m p o r t a n t t or e W e c t o ny o u rt e a m s q u a l i 0 c a t i o n sa n d s k i l l s ,i n c l u d i n gt h o s eo fs t a 1a n dv o l u n t e e r s ,i nc o m p a r i s o nt ot h e c o m p e t e n c i e s n e e d e df o r a w i r e l e s s p r o j e c t . F i r s t , m a k e a l i s t o f a l l t h e c o m p e t e n c i e s n e e d e dt or u na w i r e l e s s p r o j e c t s u c c e s s f u l l y . C a p a c i t ya r e a s s h o u l di n c l u d et e c h n o l o g y , h u m a nr e s o u r c e s , a c c o u n t i n g ,m a r k e t i n g , s a l e s , n e g o t i a t i o n , l e g a l ,a n do p e r a t i o n s , a m o n g o t h e r s . A f t e r w a r d s , i d e n t i f y l o c a l r e s o u r c e s t of u l 0 l l t h e s e s k i l l s . Ma py o u r t e a m s s k i l l s e t s t ot h ec o m p e t e n c i e s n e e d e d , a n di d e n t i f yk e yg a p s . O n e t o o lo f t e nu s e dt oa s s i s tw i t ht h i ss e l f e v a l u a t i o ni sa na n a l y s i so f s t r e n g t h s , w e a k n e s s e s , o p p o r t u n i t i e s a n dt h r e a t s , c a l l e dS WO T . T oc o n d u c t t h i s a n a l y s i s , s p e c i f yy o u r i n t e r n a l s t r e n g t h s a n dw e a k n e s s e s , a n de l a b o r a t eu p o nt h ee x t e r n a lo p p o r t u n i t i e sa n dt h r e a t si ny o u r c o m m u n i t y . I t i s i m p o r t a n t t ob e r e a l i s t i c a n dh o n e s t a b o u t w h a t y o ud o w e l l a n dw h a t y o u a r e l a c k i n g . B e s u r e t od i s t i n g u i s hb e t w e e nw h e r e y o u r o r g a n i s a t i o ni s a t t h e b e g i n n i n g o f t h i s e n d e a v o u r f r o mw h e r e i t c o u l db e i nt h e f u t u r e . Y o u r s t r e n g t h s a n d w e a k n e s s e sa l l o wy o ut oe v a l u a t ey o u rc a p a c i t i e si n t e r n a l l ya n db e t t e r u n d e r s t a n dw h a t y o u r o r g a n i s a t i o nc a nd o , a s w e l l a s i t s l i m i t s . B yu n d e r s t a n d i n gy o u r s t r e n g t h s a n dw e a k n e s s e s a n dc o m p a r i n gt h e mt o t h o s e o f y o u r c o m p e t i t o r s , y o u c a nd e t e r m i n e y o u r c o m p e t i t i v e a d v a n t a g e s i nt h em a r k e t .Y o uc a na l s on o t et h ea r e a sw h e r ey o uc a ni m p r o v e . O p p o r t u n i t i e s a n dt h r e a t s a r ee x t e r n a l , w h i c he n a b l ey o ut oa n a l y s er e a l w o r l dc o n d i t i o n s a n d h o wt h e s e c o n d i t i o n s i n W u e n c e y o u r n e t w o r k . $ ed i a g r a mo nt h en e x tp a g ew i l l h e l py o ui nc r e a t i n gy o u ro w n S WO Ta n a l y s i s f o r y o u r o r g a n i s a t i o n . B es u r et or e s p o n dt ot h eq u e s t i o n sa s k e da n dl i s ty o u rs t r e n g t h s , w e a k n e s s e s , o p p o r t u n i t i e s a n dt h r e a t s i nt h e s p a c e s d e s i g n a t e d .

17. ECONOMIC SUSTAINABILITY Strengths Weaknesses

355

What do you do well? What could you improve? What unique resources can you draw Where do you have fewer resources on? What do others see as your than others? strengths? What are others likely to see as weaknesses? Opportunities What good opportunities are open to you? What trends could you take advantage of? How can you turn your strengths into opportunities? Threats What trends could harm you? What is your competition doing? What threats do your weaknesses expose you to?

Putting it all together


O n c ey o uh a v eg a t h e r e da l l o ft h ei n f o r m a t i o n , y o ua r er e a d yt op u t e v e r y t h i n gt o g e t h e ra n dd e c i d eu p o nt h eb e s tm o d e l f o rt h ew i r e l e s s n e t w o r ki ny o u rc o m m u n i t y . B a s e do nt h er e s u l t s o f y o u re x t e r n a l a n d i n t e r n a l a n a l y s e s , y o um u s t r e 0 n ey o u r m i s s i o na n ds e r v i c eo 1 e r i n g s . A l l o f t h ef a c t o r s t h a t y o ur e s e a r c h e di nt h ep r e c e d i n gs t e p s c o m ei n t op l a y w h e nd e t e r m i n i n gy o u r o v e r a l l s t r a t e g y . I t i s e s s e n t i a l t oe m p l o y a m o d e l t h a t c a p i t a l i s e s o no p p o r t u n i t i e s a n dw o r k s w i t h i nt h e c o n s t r a i n t s o f t h e l o c a l e n v i r o n m e n t . T od ot h i s ,y o um u s to f t e n0 n di n n o v a t i v es o l u t i o n st oa t t a i n s u s t a i n a b i l i t y .B ye x p l o r i n g s e v e r a le x a m p l e sa n d d i s c u s s i n g t h e c o m p o n e n t s o f t h e m o d e l s i m p l e m e n t e di nt h o s e i n s t a n c e s , y o uw i l l b e t t e r u n d e r s t a n dh o wt o a r r i v e a t a na p p r o p r i a t e m o d e l . I nt h ed i s t a n t j u n g l e s o f t h eD e m o c r a t i cR e p u b l i co f C o n g o , t h e r ei s a r u r a l h o s p i t a l i na v i l l a g e c a l l e dV a n g a i nt h e p r o v i n c e o f B a n d u n d u . I t i s s or e m o t et h a tp a t i e n t st r a v e l f o rw e e k st og e tt h e r eo f t e nt h r o u g ha c o m b i n a t i o no f t r a v e l b y f o o t a n db y r i v e r . $i sv i l l a g e , f o u n d e db yB a p t i s tm i s s i o n a r i e si n1 9 0 4 , h a ss e r v e da sa h o s p i t a l f o r m a n y y e a r s . A l t h o u g hi t i se x t r e m e l yr e m o t e , i t i sr e n o w n e df o rb e i n ga ne x c e l l e n t f a c i l i t ya n dh a s h a dt h es u p p o r t o f G e r m a na n dA m e r i c a nm i s s i o n a r i e s w h o h a v e k e p t t h i s f a c i l i t y i no p e r a t i o n . I n2 0 0 4 , ap r o j e c t s p o n s o r e db yU S A I De s t a b l i s h e dat e l e c e n t r ei nt h i s v i l l a g et oh e l pi m p r o v ee d u c a t i o ni nt h i si s o l a t e dc o m m u n i t y ;t h i s I n t e r n e tf a c i l i t yw a sa l s oh e a v i l yu s e db yt h ee d u c a t e dc l a s si nt h e c o m m u n i t y t h e h o s p i t a l ' s s t a 1 .

356

MAINTENANCE, MONITORING AND SUSTAINABILITY

$e c e n t r e h a db e e na g r e a t b o o nt ot h e c o m m u n i t y , o 1 e r i n g a c c e s s t ot h e w o r l d ' sk n o w l e d g ea n d e v e n p r o v i d i n gc o n s u l t a t i o n w i t h d i s t a n t c o l l e a g u e s i nS w i t z e r l a n d , F r a n c e a n dC a n a d a . $e c e n t r e r e q u i r e dn e a r t o t a l s u b s i d i s a t i o nt oo p e r a t e a n dc o v e r i t s c o s t s , a n df u n d i n g w a s t o e n db y 2 0 0 6 . A l t h o u g ht h e c e n t r e a d d e dg r e a t v a l u e t ot h e c o m m u n i t y , i t d i d h a v e s o m e s h o r t c o m i n g s ,p r i m a r i l yt e c h n i c a l ,e c o n o m i c ,a n dp o l i t i c a li s s u e st h a t l i m i t e di t s s u s t a i n a b i l i t y . As t u d y w a s c o m m i s s i o n e dt o c o n s i d e r o p t i o n s f o r i t s f u t u r e . A f t e r r e v i e w i n g t h e c e n t r e s c o s t s t r u c t u r e , i t w a s d e t e r m i n e d t h a t i t n e e d e d t o c u t i t s c o s t s a n dl o o k f o r n e ww a y s t o i n c r e a s e i t s r e v e n u e s . $e l a r g e s t e x p e n s e s w e r e e l e c t r i c i t y a n dI n t e r n e t a c c e s s ; t h e r e f o r e , c r e a t i v e m o d e l sn e e d e dt ob ec o n s t r u c t e dt or e d u c et h et e l e c e n t r e sc o s t sa n d p r o v i d e a c c e s s i na w a y t h a t w a s s u s t a i n a b l e .

F i g u r e E S 1 : S h a r e d I n t e r n e t o v e r w i r e l e s s

17. ECONOMIC SUSTAINABILITY

357

I nt h i s i n s t a n c e , a t r a d i t i o n a l V S A Th a db e e nu s e df o r c o n n e c t i v i t y . H o w e v e r , t h e r ew a s au n i q u ew a yo f a c c o m m o d a t i n gl o c a l c o m m u n i t y g r o u p s l i m i t e da b i l i t y t op a y f o r I n t e r n e t s e r v i c e s . V a r i o u s o r g a n i s a t i o n s i n t h ec o m m u n i t ys h a r e dt h i sI n t e r n e ta c c e s st h r o u g h al o c a lw i r e l e s s n e t w o r k ; t h i sm e a n tt h a t t h e ya l s os h a r e dt h ec o s t s a s s o c i a t e dw i t ht h e V S A Tc o n n e c t i o na n dl o c a l w i r e l e s s n e t w o r k . $i s m o d e l l e dt og r e a t e r s u s t a i n a b i l i t yf o re v e r y o n e . I nV a n g a , s e v e r a l o r g a n i s a t i o n s , i n c l u d i n ga h o s p i t a l , ap h a r m a c y , s e v e r a l m i s s i o n a r yg r o u p s , ac o m m u n i t yr e s o u r c e c e n t r e , a n ds o m e n o n p r o 0 t o r g a n i s a t i o n s , h a dan e e df o r I n t e r n e t a c c e s s a n dt h em e a n s t op a yf o r i t . $i s a r r a n g e m e n t e n a b l e dt h en e t w o r ko f o r g a n i s a t i o n st oh a v eah i g h e rq u a l i t yc o n n e c t i o na ta l o w e rc o s t . A d d i t i o n a l l y ,o n eo r g a n i s a t i o ni nt h ev i l l a g eh a dt h ec a p a c i t ya n d w i l l i n g n e s st om a n a g es e v e r a la s p e c t so ft h en e t w o r k so p e r a t i o n s , i n c l u d i n gt h eb i l l i n ga n dp a y m e n t c o l l e c t i o n , t e c h n i c a l m a i n t e n a n c ea n d g e n e r a l b u s i n e s s o p e r a t i o n s o f t h e e n t i r e n e t w o r k . $e r e f o r e , t h i s m o d e l w o r k e dw e l l i nV a n g a b e c a u s e i t h a db e e nt a i l o r e d t om e e t c o m m u n i t y d e m a n da n dl e v e r a g e l o c a l e c o n o m i c r e s o u r c e s .

F i g u r e E S 2 : D a k N e t ' s r o a m i n g a c c e s s p o i n t A n o t h e r e x a m p l eo f am o d e l a d a p t e dt o0 t t h el o c a l c o n t e x t i s t h a t o f F i r s t Mi l e S o l u t i o n s D a k N e t . $i s m o d e l h a s b e e nd e p l o y e di nv i l l a g e s i n I n d i a ,C a m b o d i a ,R w a n d a ,a n dP a r a g u a y .B yt a k i n gi n t oa c c o u n tt h e l i m i t e d b u y i n g p o w e ro fv i l l a g e r s ,t h i sm o d e la d d r e s s e st h e i r c o m m u n i c a t i o nn e e d s i na ni n n o v a t i v e w a y . I nt h e D a k N e t m o d e l , t h e r e i s af r a n c h i s e t h a t e x i s t s i nt h e c o u n t r y , a n d l o c a l e n t r e p r e n e u r s a r e r e c r u i t e da n dt r a i n e dt oo p e r a t ek i o s k s e q u i p p e d w i t hWi F i a n t e n n a s .

358

MAINTENANCE, MONITORING AND SUSTAINABILITY

U s i n g p r e p a i dc a r d s , v i l l a g e r s a r e a b l e t oa s y n c h r o n o u s l y s e n da n d r e c e i v e e m a i l s , t e x t s , a n dv o i c e m a i l s , c o n d u c t w e bs e a r c h e s , a n dp a r t i c i p a t e i ne c o m m e r c e .A f t e r w a r d s ,t h e s ec o m m u n i c a t i o n sa r es t o r e di nt h el o c a l k i o s k s s e r v e r . Wh e na b u s o r m o t o r c y c l e w i t ha m o b i l e a c c e s s p o i n t d r i v e s p a s t a k i o s k , t h e v e h i c l e a u t o m a t i c a l l yr e c e i v e s t h e k i o s k s s t o r e dd a t a a n d d e l i v e r s a n yi n c o m i n gd a t a . O n c e t h e v e h i c l e r e a c h e s a h u bw i t hI n t e r n e t c o n n e c t i v i t y , i t p r o c e s s e s a l l r e q u e s t s , r e l a y i n g e m a i l s , m e s s a g e s , a n ds h a r e d 0 l e s . D a k N e t i n t e g r a t e s b o t hm o b i l e a c c e s s a n df r a n c h i s e m o d e l s t ob r i n g v a l u et op e o p l ei nr e m o t ev i l l a g e s . F o r s u c ham o d e l t ob es u s t a i n a b l e , s e v e r a l k e y c o n d i t i o n s n e e dt o b e p r e s e n t . F i r s t ,a f r a n c h i s eo r g a n i s a t i o nm u s te x i s tt op r o v i d e0 n a n c i a la n d i n s t i t u t i o n a l s u p p o r t , i n c l u d i n g a ni n i t i a l i n v e s t m e n t , w o r k i n gc a p i t a l f o r c e r t a i nr e c u r r i n gc o s t s , a d v i c e o ns t a r t u pp r a c t i c e s , m a n a g e m e n t t r a i n i n g , s t a n d a r d i s e d p r o c e s s e s , r e p o r t i n g m e c h a n i s m s , a n dm a r k e t i n g t o o l s . A d d i t i o n a l l y ,t h i sm o d e lr e q u i r e sa h i g h l ym o t i v a t e da n dd y n a m i c i n d i v i d u a l i nt h e v i l l a g e , w i t ht h e a p p r o p r i a t e s k i l l s t om a n a g e ab u s i n e s s a n d w i l l i n g n e s st o a c c e p tc e r t a i n r e q u i r e m e n t so ft h ef r a n c h i s e o r g a n i s a t i o n . B e c a u s e t h e s e e n t r e p r e n e u r s a r e o f t e na s k e dt oc o m m i t t h e i r o w nr e s o u r c e s t ot h e s t a r t u pc o s t s , t h e y n e e dt oh a v e s u N c i e n t a c c e s s t o 0 n a n c i a l r e s o u r c e s . F i n a l l y , t oe n s u r e t h i s m o d e l w i l l s u s t a i ni t s e l f , t h e r e s h o u l db es u N c i e n t d e m a n df o r i n f o r m a t i o na n dc o m m u n i c a t i o na n df e wc o m p e t i t o r s i nt h e c o m m u n i t y .

Conclusion
N os i n g l eb u s i n e s s m o d e l w i l l e n a b l e w i r e l e s s n e t w o r k s t ob es u s t a i n a b l e i na l l e n v i r o n m e n t s ; d i 1 e r e n t m o d e l sm u s t b eu s e da n da d a p t e da s t h e c i r c u m s t a n c e sd i c t a t e . E v e r yc o m m u n i t yh a su n i q u ec h a r a c t e r i s t i c s , a n d s u N c i e n ta n a l y s i sm u s tb ec o n d u c t e da tt h eo n s e to fa p r o j e c tt o d e t e r m i n et h em o s ta p p r o p r i a t em o d e l .$ i sa n a l y s i ss h o u l dc o n s i d e r s e v e r a lk e yf a c t o r si nt h el o c a le n v i r o n m e n t ,i n c l u d i n gc o m m u n i t y d e m a n d ,c o m p e t i t i o n ,c o s t s ,e c o n o m i c r e s o u r c e s ,e t c .A l t h o u g h a p p r o p r i a t e p l a n n i n g a n de x e c u t i o nw i l l m a x i m i s e t h e c h a n c e s o f m a k i n g y o u r n e t w o r ks u s t a i n a b l e , t h e r e a r e n og u a r a n t e e s o f s u c c e s s . H o w e v e r , b y u s i n gt h em e t h o d s d e t a i l e di nt h i s c h a p t e r , y o uw i l l h e l pt oe n s u r e t h a t y o u r n e t w o r kb r i n g s v a l u et ot h ec o m m u n i t yi naw a yt h a t c o r r e s p o n d s w i t ht h e u s e r s n e e d s .

GLOSSARY

360

GLOSSARY

Glossary

0-9
802.11. While 802.11 is a wireless protocol in its own right, 802.11 is often used to refer to a family of wireless networking protocols used mainly for local area net working. Three popular variants include 802.11b, 802.11g, and 802.11a. See also: Wi-Fi.

A
AC see Alternating Current access point (AP). A device that creates a wireless network that is usu ally connected to a wired Ethernet network. See also: CPE, master mode accumulator. Another name for a battery. ad-hoc mode. A radio mode used by 802.11 devices that allows the creation of a network without an access point. Mesh networks often use radios in ad-hoc mode. See also: managed mode, master mode, monitor mode Address Resolution Protocol (ARP). A protocol widely used on Ethernet net works to translate IP addresses into MAC addresses. address space. A group of IP addresses that all reside within the same logical subnet. advertised window. The portion of a TCP header that speciCes how many addi tional bytes of data the receiver is prepared to accept. Alternating Current (AC). An electrical current which varies over time in a cyclic manner. AC current is typically used for lighting and appliances. See also: Direct Current amortization. An accounting technique used to manage the expected cost of re placement and obsolescence of equipment over time. ampli.er. A device used to increase the transmitted power of a wireless device. amplitude. The distance from the center of a wave to the extreme of one of its peaks.

Glossary 361 anchor clients. Business clients of a subscription system who are reliable and can be considered low-risk. AND logic. A logical operation that only evaluates as true if all of the items being compared also evaluate as true. See also: OR logic. anonymizing proxy. A network service that hides the source or destination of com munications. Anonymizing proxies can be used to protect people's privacy and to reduce an organization's exposure to legal liability for the actions of its users. anonymity. In computer networks, communications that cannot be linked to a unique individual are said to be anonymous. The trade-off of anonymity versus accountability in communications is an ongoing debate online, and rules about anonymous communications vary widely around the world. See also: authen ticated antenna diversity. A technique used to overcome multipath interference by us ing two or more physically separated receiving antennas. antenna gain. The amount of power concentrated in the direction of strongest radiation of an antenna, usually expressed in dBi. Antenna gain is reciprocal, which means that the effect of gain is present when transmitting as well as re ceiving. antenna pattern. A graph that describes the relative strength of a radiated Celd in various directions from an antenna. See also: rectangular plot, polar plot, linear polar coordinates, logarithmic polar coordinates AP see Access Point application layer. The topmost layer in the OSI and TCP/IP network models. Argus see Audit Record Generation and Utilization System ARP see Address Resolution Protocol associated. An 802.11 radio is associated to an access point when it is ready to communicate with the network. This means that it is tuned to the proper channel, in range of the AP, using the correct SSID and other authentication parameters, etc. at. A Unix facility that allows timed, one-shot execution of programs. See also: cron attenuation. The reduction of available radio power as it is absorbed along a path, such as through trees, walls, buildings, or other objects. See also: free space loss, scattering

362

GLOSSARY

Audit Record Generation and Utilization System (Argus). An open source network monitoring tool used for tracking fows between hosts. Argus is available from http://www.qosient.com/argus . authenticated. A network user that has proven their identity to a service or device (such as an access point) beyond a shadow of a doubt, usually by some means of cryptography. See also: anonymity azimuth. The angle that measures deviation with respect to the south in the northern hemisphere, and with respect to the north in the southern hemisphere. See also: inclination

B
bandwidth. A measure of frequency ranges, typically used for digital communic ations. The word bandwidth is also commonly used interchangeably with capa city to refer to the theoretical maximum data rate of a digital communications line. See also: capacity, channel, throughput battery. A device used to store energy in a photovoltaic system. See also: solar panel, regulator, load, converter, inverter beamwidth. The angular distance between the points on either side of the main lobe of an antenna, where the received power is half that of the main lobe. The beamwidth of an antenna is usually stated for both the horizontal and vertical planes. benchmarking. Testing the maximum performance of a service or device. Benchmarking a network connection typically involves fooding the link with trafCc and measuring the actual observed throughput, both on transmit and re ceive. BGAN see Broadband Global Access Network BNC connector. A coaxial cable connector that uses a "quick-connect" style bayonet lug. BNC connectors are typically found on 10base2 coaxial Ethernet. bridge. A network device that connects two networks together at the data link layer. Bridges do not route packets at the network layer. They simply repeat packets between two link-local networks. See also: router and transparent bridging .rewall. bridge-utils. A Linux software package that is required for creating 802.1d Ethernet bridges. http://bridge.sourceforge.net/

Glossary 363 Broadband Global Access Network (BGAN) . One of several standards used for satellite Internet access. See also: Digital Video Broadcast (DVB-S) and Very Small Aperture Terminal (VSAT). broadcast address. On IP networks, the broadcast IP address is used to send data to all hosts in the local subnet. On Ethernet networks, the broadcast MAC address is used to send data to all machines in the same collision domain. bypass diodes. A feature found on some solar panels that prevents the forma tion of hot-spots on shaded cells, but reduces the maximum voltage of the pan el.

C
CA see Certi.cate Authority Cacti (http://www.cacti.net/ ). A popular web-based monitoring tool written in PHP. capacity. The theoretical maximum amount of trafCc provided by a digital com munications line. Often used interchangeably with bandwidth. captive portal. A mechanism used to transparently redirect web browsers to a new location. Captive portals are often used for authentication or for interrupting a user's online session (for example, to display an Acceptable Use Policy). cell. Solar panels are made up of several individual cells, which are electrically connected to provide a particular value of current and voltage. Batteries are also made up of individual cells connected in series, each of which contributes about 2 volts to the battery. Certi.cate Authority. A trusted entity that issues signed cryptographic keys. See also: Public Key Infrastructure, SSL channel capacity. The maximum amount of information that can be sent using a given bandwidth. See also: bandwidth, throughput, data rate channel. A well deCned range of frequencies used for communications. 802.11 channels use 22 MHz of bandwidth, but are only separated by 5 MHz. See also: Appendix B. CIDR see Classless Inter-Domain Routing CIDR notation. A method used to deCne a network mask by specifying the num ber of bits present. For example, the netmask 255.255.255.0 can be speciCed as /24 in CIDR notation.

364

GLOSSARY

circular polarization. An electro-magnetic Celd where the electric Celd vector appears to be rotating with circular motion about the direction of propagation, making one full turn for each RF cycle. See also: horizontal polarization, ver tical polarization Class A, B, and C networks. For some time, IP address space was allocated in blocks of three different sizes. These were Class A (about 16 million addresses), Class B (about 65 thousand addresses), and Class C (255 addresses). While CIDR has replaced class-based allocation, these classes are often still referred to and used internally in organizations using private address space. See also: CIDR notation. Classless Inter-Domain Routing. CIDR was developed to improve routing efC ciency on the Internet backbone by enabling route aggregation and network masks of arbitrary size. CIDR replaces the old class-based addressing scheme. See also: Class A, B, and C networks. client. An 802.11 radio card in managed mode. Wireless clients will join a net work created by an access point, and automatically change the channel to match it. See also: access point, mesh closed network. An access point that does not broadcast its SSID, often used as a security measure. coax. A round (coaxial) cable with a center wire surrounded by a dielectric, outer conductor, and tough insulating jacket. Antenna cables are usually made of coax. Coax is short for "of common axis". collision. On an Ethernet network, a collision occurs when two devices connec ted to the same physical segment attempt to transmit at the same time. When collisions are detected, devices delay retransmission for a brief, randomly selec ted period. conductor. A material that easily allows electric or thermal energy to fow through without much resistance. See also: dielectric, insulator connectionless protocol. A network protocol (such as UDP) that requires no ses sion initiation or maintenance. Connectionless protocols typically require less over head than session oriented protocols, but do not usually offer data protection or packet reassembly. See also: session oriented protocol. consistent platform. Maintenance costs can be reduced by using a consistent platform, with the same hardware, software, and Crmware for many components in a network. constructive interference. When two identical waves merge and are in phase, the amplitude of the resulting wave is twice that of either of the components. This is called constructive interference. See also: destructive interference

Glossary 365 controls. In NEC2, controls deCne the RF source in an antenna model. See also: structure converter. A device used to convert DC signals into a different DC or AC voltage. See also: inverter CPE see Customer Premises Equipment cron. A Unix facility that allows timed and repeated execution of programs. See also: at Customer Premises Equipment. Network equipment (such as a router or bridge) that is installed at a customer's location.

D
data link layer. The second layer in both the OSI and TCP/IP network models. Communications at this layer happen directly between nodes. On Ethernet net works, this is also sometimes called the MAC layer. data rate. The speed at which 802.11 radios exchange symbols, which is always higher than the available throughput. For example, the nominal data rate of 802.11g is 54 Mbps, while the maximum throughput is about 20 Mbps). See also: throughput dB see decibel DC see Direct Current DC/AC Converter. A device that converts DC power into AC power, suitable for use with many appliances. Also known as an inverter. DC/DC Converter. A device that changes the voltage of a DC power source. See also: linear conversion, switching conversion decibel (dB). A logarithmic unit of measurement that expresses the magnitude of power relative to a reference level. Commonly used units are dBi (decibels relat ive to an isotropic radiator) and dBm (decibels relative to a milliwatt). default gateway. When a router receives a packet destined for a network for which it has no explicit route, the packet is forwarded to the default gateway. The default gateway then repeats the process, possibly sending the packet to its own default gateway, until the packet reaches its ultimate destination. default route. A network route that points to the default gateway.

366

GLOSSARY

Denial of Service (DoS). An attack on network resources, usually achieved by fooding a network with trafCc or exploiting a bug in an application or network protocol. depreciation. An accounting method used to save money to cover the eventual break down of equipment. destructive interference. When two identical waves merge and are exactly out of phase, the amplitude of the resulting wave is zero. This is called destructive interference. See also: constructive interference DHCP see Dynamic Host Con.guration Protocol dielectric. A non-conductive material that separates conducting wires inside a cable. Digital Elevation Map (DEM). Data that represents the height of terrain for a given geographic area. These maps are used by programs such as Radio Mo bile to model electromagnetic propagation. Digital Video Broadcast (DVB-S). One of several standards used for satellite Internet access. See also: Broadband Global Access Network (BGAN) and Very Small Aperture Terminal (VSAT). dipole antenna. The simplest form of omnidirectional antenna. Direct Current (DC). An electrical current which remains constant over time. DC current is typically used for network equipment, such as access points and routers. See also: Alternating Current Direct Sequence Spread Spectrum (DSSS). The radio modulation scheme used by 802.11b. directional antenna. An antenna that radiates very strongly in a particular direc tion. Examples of directional antennas include the yagi, dish, and waveguide an tennas. See also: omnidirectional antenna, sectorial antenna directivity. The ability of an antenna to focus energy in a particular direction when transmitting, or to receive energy from a particular direction when receiv ing. diversity see antenna diversity DNS see Domain Name Service DNS caching. By installing a DNS server on your local LAN, DNS requests for an entire network may be cached locally, improving response times. This tech nique is called DNS caching.

Glossary 367 dnsmasq. An open source caching DNS and DHCP server, available from http://thekelleys.org.uk/ Domain Name Service (DNS). The widely used network protocol that maps IP addresses to names. dominant mode. The lowest frequency that can be transmitted by a waveguide of a given size. DoS see Denial of Service DSSS see Direct Sequence Spread Spectrum DVB-S see Digital Video Broadcast. Dynamic Host Con.guration Protocol (DHCP). A protocol used by hosts to automatically determine their IP address.

E
eavesdropper. Someone who intercepts network data such as passwords, email, voice data, or online chat. edge. The place where one organization's network meets another. Edges are deCned by the location of the external router, which often acts as a .rewall. electromagnetic spectrum. The very wide range of possible frequencies of electromagnetic energy. Parts of the electromagnetic spectrum include radio, mi crowave, visible light, and X rays. electromagnetic wave. A wave that propagates through space without the need for a propagating medium. It contains an electric and a magnetic component. See also: mechanical wave elevation see inclination end span injectors. An 802.3af Power over Ethernet device that provides power via the Ethernet cable. An Ethernet switch that provides power on each port is an example of an end span injector. See also: mid span injectors end-to-end encryption. An encrypted connection negotiated by both ends of a communications session. End-to-end encryption can provide stronger protection than link layer encryption when used on untrusted networks (such as the Inter net).

368

GLOSSARY

EtherApe. An open source network visualization tool. Available at http://eth erape.sourceforge.net/ Ethereal see Wireshark. Extended Service Set Identi.er (ESSID). The name used to identify an 802.11 network. See also: closed network external traf.c. Network trafCc that originates from, or is destined for, an IP ad dress outside your internal network, such as Internet trafCc.

F
.restarter. A graphical front-end for conCguring Linux Crewalls available from http://www.fs-security.com/. .lter. The default table used in the Linux netClter Crewall system is the Clter table. This table is used for determining trafCc that should be accepted or denied. .rewall. A router that accepts or denies trafCc based on some criteria. Firewalls are one basic tool used to protect entire networks from undesirable trafCc. >ush. To remove all entries in a routing table or netClter chain. forwarding. When routers receive packets that are destined for a different host or network, they send the packet to the next router closest to its ultimate destina tion. This process is called forwarding. forwarding loops. A routing misconCguration where packets are forwarded cyc lically between two or more routers. Catastrophic network failure is prevented by using the TTL value on every packet, but forwarding loops need to be resolved for proper network operations. free space loss. Power diminished by geometric spreading of the wavefront, as the wave propagates through space. See also: attenuation, free space loss, Appendix C frequency. The number of whole waves that pass a Cxed point in a period of time. See also: wavelength, Hertz front-to-back ratio. The ratio of the maximum directivity of an antenna to its directivity in the opposite direction. full duplex. Communications equipment that can send and receive at the same time (such as a telephone). See also: half duplex

Glossary 369 fwbuilder. A graphical tool that lets you create iptables scripts on a machine separate from your server, and then transfer them to the server later. http://www.fwbuilder.org/

G
gain. The ability of a radio component (such as an antenna or ampliCer) to in crease the power of a signal. See also: decibel gain transfer. Comparing an antenna under test against a known standard an tenna, which has a calibrated gain. gasi.cation. The production bubbles of oxygen and hydrogen that occurs when a battery is overcharged. globally routable. An address issued by an ISP or RIR that is reachable from any point on the Internet. In IPv4, there are approximately four billion possible IP addresses, although not all of these are globally routable.

H
half duplex. Communications equipment that can send or receive, but never both at once (such as a handheld radio). See also: full duplex. Heliax. High quality coaxial cable that has a solid or tubular center conductor with a corrugated solid outer conductor which enables it to fex. See also: coax Hertz (Hz). A measure of frequency, denoting some number of cycles per second. HF (High-Frequency). Radio waves from 3 to 30 MHz are referred to as HF. Data networks can be built on HF that operate at very long range, but with very low data capacity. hop. Data that crosses one network connection. A web server may be several hops away from your local computer, as packets are forwarded from router to router, eventually reaching their ultimate destination. horizontal polarization. An electromagnetic Celd with the electric component moving in a linear horizontal direction. See also: circular polarization, vertical polarization hot-spot. In wireless networks, a hot-spot is a location that provides Internet ac cess via Wi-Fi, typically by use of a captive portal. In photovoltaic systems, a

370

GLOSSARY

hot-spot occurs when a single cell in a solar panel is shaded, causing it to act as a resistive load rather than to generate power. hub. An Ethernet networking device that repeats received data on all connected ports. See also: switch. Huygens principle. A wave model that proposes an inCnite number of potential wavefronts along every point of an advancing wavefront. Hz see Hertz

I
IANA see Internet Assigned Numbers Authority ICMP see Internet Control Message Protocol ICP see Inter-Cache Protocol impedance. The quotient of voltage over current of a transmission line, consist ing of a resistance and a reactance. The load impedance must match the source impedance for maximum power transfer (50 for most communications equip ment). inbound traf.c. Network packets that originate from outside the local network (typically the Internet) and are bound for a destination inside the local network. See also: outbound traf.c. inclination. The angle that marks deviation from a horizontal plane. See also: azimuth infrastructure mode see master mode insulator see dielectric Inter-Cache Protocol (ICP). A high performance protocol used to communicate between web caches. Internet Assigned Numbers Authority (IANA). The organization that adminis ters various critical parts of Internet infrastructure, including IP address alloca tion, DNS root name servers, and protocol service numbers. Internet Control Message Protocol (ICMP). A Network Layer protocol used to inform nodes about the state of the network. ICMP is part of the Internet protocol suite. See also: Internet protocol suite.

Glossary 371 Internet layer see network layer Internet Protocol (IP). The most com-mon network layer protocol in use. IP deCnes the hosts and networks that make up the global Internet. Internet protocol suite (TCP/IP). The family of communication protocols that make up the Internet. Some of these protocols include TCP, IP, ICMP, and UDP. Also called the TCP/IP protocol suite, or simply TCP/IP. Intrusion Detection System (IDS). A program that watches network trafCc, looking for suspicious data or behavior patterns. An IDS may make a log entry, notify a network administrator, or take direct action in response to undesirable trafCc. inverter see DC/AC Converter IP see Internet Protocol iproute2. The advanced routing tools package for Linux, used for trafCc shaping and other advanced techniques. Available from http://linux-net.osdl.org/ iptables. The primary command used to manipulate netClter Crewall rules. irradiance. The total amount of solar energy that lights a given area, in W/m2 ISM band. ISM is short for Industrial, ScientiCc, and Medical. The ISM band is a set of radio frequencies set aside by the ITU for unlicensed use. isotropic antenna. A hypothetical antenna that evenly distributes power in all directions, approximated by a dipole. IV characteristic curve. A graph that represents the current that is provided based on the voltage generated for a certain solar radiation.

K
knet.lter. A graphical front-end for conCguring Linux Crewalls. Available from http://venom.oltrelinux.com/ known good. In troubleshooting, a known good is any component that can be substituted to verify that its counterpart is in good, working condition.

372

GLOSSARY

L
lag. Common term used to describe a network with high latency. lambda () see wavelength LAN see Local Area Network latency. The amount of time it takes for a packet to cross a network connection. It is often (incorrectly) used interchangeably with Round Trip Time (RTT), since measuring the RTT of a wide-area connection is trivial compared to measuring the actual latency. See also: Round Trip Time. lead-acid batteries. Batteries consisting of two submerged lead electrodes in an electrolytic solution of water and sulfuric acid. See also: stationary batteries lease time. In DHCP, IP addresses are assigned for a limited period of time, known as the lease time. After this time period expires, clients must request a new IP address from the DHCP server. Line of Sight (LOS). If a person standing at point A has an unobstructed view of point B, then point A is said to have a clear Line of Sight to point B. linear polar coordinates. A graph system with equally spaced, graduated con centric circles representing an absolute value on a polar projection. Such graphs are typically used to represent antenna radiation patterns. See also: logarithmic polar coordinates linear conversion. A DC voltage conversion method that lowers the voltage by converting excess energy to heat. See also: switching conversion linear polarization. An electro-magnetic wave where the electric Celd vector stays in the same plane all the time. The electric Celd may leave the antenna in a vertical orientation, a horizontal orientation, or at some angle between the two. See also: vertical polarization, horizontal polarization link budget. The amount of radio energy available to overcome path losses. If the available link budget exceeds the path loss, minimum receive sensitivity of the receiving radio, and any obstacles, then communications should be possible. link layer encryption. An encrypted connection between link-local devices, typ ically a wireless client and an access point. See also: end-to-end encryption link-local. Network devices that are connected to the same physical segment communicate with each other directly are said to be link-local. A link-local con nection cannot cross a router boundary without using some kind of encapsula tion, such as a tunnel or a VPN.

Glossary 373 listen. Programs that accept connections on a TCP port are said to listen on that port. load. Equipment in a photovoltaic system that consumes energy. See also: bat tery, solar panel, regulator, converter, inverter Local Area Network (LAN). A network (typically Ethernet) used within an organ ization. The part of a network that exists just behind an ISP's router is generally considered to be part of the LAN. See also: WAN. logarithmic polar coordinates. A graph system with logarithmically spaced, graduated concentric circles representing an absolute value on a polar projec tion. Such graphs are typically used to represent antenna radiation patterns. See also: linear polar coordinates long fat pipe network. A network connection (such as VSAT) that has high ca pacity and high latency. In order to achieve the best possible performance, TCP/IP must be tuned to match the trafCc on such links. LOS see Line of Sight

M
MAC layer see data link layer MAC address. A unique 48 bit number assigned to every networking device when it is manufactured. The MAC address is used for link-local communica tions. MAC .ltering. An access control method based on the MAC address of commu nicating devices. MAC table. A network switch must keep track of the MAC addresses used on each physical port, in order to efCciently distribute packets. This information is kept in a table called the MAC table. maintenance-free lead-acid batteries see lead-acid batteries Man-In-The-Middle (MITM). A network attack where a malicious user intercepts all communications between a client and a server, allowing information to be copied or manipulated. managed hardware. Networking hardware that provides an administrative inter face, port counters, SNMP, or other interactive features is said to be managed.

374

GLOSSARY

managed mode. A radio mode used by 802.11 devices that allows the radio to join a network created by an access point. See also: master mode, ad-hoc mode, monitor mode master browser. On Windows networks, the master browser is the computer that keeps a list of all the computers, shares and printers that are available in Network Neighborhood or My Network Places. master mode. A radio mode used by 802.11 devices that allows the radio to cre ate networks just as an access point does. See also: managed mode, ad-hoc mode, monitor mode match condition. In netClter, a match condition speciCes the criteria that determ ine the ultimate target for a given packet. Packets may be matched on MAC ad dress, source or destination IP address, port number, data contents, or just about any other property. Maximum Depth of Discharge (DoD max). The amount of energy extracted from a battery in a single discharge cycle, expressed as a percentage. Maximum Power Point (Pmax). The point where the power supplied by a solar panel is at maximum. MC-Card. A very small microwave connector found on Lucent / Orinoco / Avaya equipment. mechanical wave. A wave caused when some medium or object is swinging in a periodic manner. See also: electromagnetic wave Media Access Control layer see data link layer mesh. A network with no hierarchical organization, where every node on the net work carries the trafCc of every other as needed. Good mesh network imple mentations are self-healing, which means that they automatically detect routing problems and Cx them as needed. message types. Rather that port numbers, ICMP trafCc uses message types to deCne the type of information being sent. See also: ICMP. method of the worst month. A method for calculating the dimensions of a stan dalone photovoltaic system so it will work in the month in which the demand for energy is greatest with respect to the available solar energy. It is the worst month of the year, as this month with have the largest ratio of demanded energy to available energy. MHF see U.FL micro.nance. The provision of small loans, savings and other basic Cnancial services to the worlds poorest people.

Glossary 375 mid span injectors. A Power over Ethernet device inserted between an Ether net switch and the device to be powered. See also: end span injectors milliwatts (mW). A unit of power representing one thousandth of a Watt. MITM see Man-In-The-Middle MMCX. A very small microwave connector commonly found on equipment man ufactured by Senao and Cisco. monitor mode. A radio mode used by 802.11 devices not normally used for communications that allows the radio passively monitor radio trafCc. See also: master mode, managed mode, ad-hoc mode monitor port. On a managed switch, one or more monitor ports may be deCned that receive trafCc sent to all of the other ports. This allows you to connect a trafCc monitor server to the port to observe and analyze trafCc patterns. Multi Router Traf.c Grapher (MRTG). An open source tool used for graphing trafCc statistics. Available from http://oss.oetiker.ch/mrtg/ multipath. The phenomenon of refections of a signal reaching their target along different paths, and therefore at different times. multipoint-to-multipoint see mesh mW see milliwatt My TraceRoute (mtr). A network diagnostic tool used as an alternative to the traditional traceroute program. http://www.bitwizard.nl/mtr/. See also: traceroute / tracert.

N
N connector. A sturdy microwave connector commonly found on outdoor net working components, such as antennas and outdoor access points. Nagios (http://nagios.org/) A realtime monitoring tool that logs and notiCes a system administrator about service and network outages. NAT see Network Address Translation nat. The table used in the Linux netClter Crewall system to conCgure Network Ad dress Translation.

376

GLOSSARY

NEC2 see Numerical Electromagnetics Code NetBIOS. A session layer protocol used by Windows networking for Cle and printer sharing. See also: SMB. net.lter. The packet Cltering framework in modern Linux kernels is known as netClter. It uses the iptables command to manipulate Clter rules. http://net,lter .org/ netmask (network mask). A netmask is a 32-bit number that divides the 16 mil lion available IP addresses into smaller chunks, called subnets. All IP networks use IP addresses in combination with netmasks to logically group hosts and net works. NeTraMet. An open source network fow analysis tool available from fresh meat.net/projects/netramet/ network address. The lowest IP number in a subnet. The network address is used in routing tables to specify the destination to be used when sending pack ets to a logical group of IP addresses. Network Address Translation (NAT). NAT is a networking technology that al lows many computers to share a single, globally routable IP address. While NAT can help to solve the problem of limited IP address space, it creates a technical challenge for two-way services, such as Voice over IP. network detection. Network diagnostic tools that display information about wireless networks, such as the network name, channel, and encryption method used. network layer. Also called the Internet layer. This is the third layer of the OSI and TCP/IP network models, where IP operates and Internet routing takes place. network mask see netmask ngrep. An open source network security utility used to Cnd patterns in data fows. Available for free from http://ngrep.sourceforge.net/ node. Any device capable of sending and receiving data on a network. Access points, routers, computers, and laptops are all examples of nodes. Nominal Capacity (CN). The maximum amount of energy that can be extracted from a
fully charged battery. It is expressed in Ampere-hours (Ah) or Watt-hours (Wh).

Nominal Voltage (VN). The operating voltage of a photovoltaic system, typically 12 or 24 volts.

Glossary 377 ntop. A network monitoring tool that provides extensive detail about connections and protocol use on a local area network. http://www.ntop.org/ null. In an antenna radiation pattern, a null is a zone in which the effective radi ated power is at a minimum. nulling. A speciCc case of multipath interference where the signal at the receiv ing antenna is zeroed by the destructive interference of refected signals. number of days of autonomy (N). The maximum number of days that a photo voltaic system can operate without signiCcant energy received from the sun. Numerical Electromagnetics Code (NEC2). A free antenna modeling package that lets you build an antenna model in 3D, and then analyze the antennas elec tromagnetic response. http://www.nec2.org/

O
OFDM see Orthogonal Frequency Division Multiplexing omnidirectional antenna. An antenna that radiates almost equally in every dir ection in the horizontal plane. See also: directional antenna, sectorial an tenna one-arm repeater. A wireless repeater that only uses a single radio, at signiCc antly reduced throughput. See also: repeater onion routing. A privacy tool (such as Tor) that repeatedly bounces your TCP con nections across a number of servers spread throughout the Internet, wrapping routing information in a number of encrypted layers. OR logic. A logical operation that evaluates as true if any of the items being compared also evaluate as true. See also: AND logic. Orthogonal Frequency Division Multiplexing (OFDM) OSI network model. A popular model of network communications deCned by the ISO/IEC 7498-1 standard. The OSI model consists of seven interdependent lay ers, from the physical through the application. See also: TCP/IP network mod el. outbound traf.c. Network packets that originate from the local network and are bound for a destination outside the local network (typically somewhere on the In ternet). See also: inbound traf.c.

378

GLOSSARY

overcharge. The state of a battery when charge is applied beyond the limit of the battery's capacity. If energy is applied to a battery beyond its point of maxim um charge, the electrolyte begins to break down. Regulators will allow a small amount of overcharge time to a battery to avoid gasi.cation, but will remove power before the battery is damaged. overdischarge. Discharging a battery beyond its Maximum Depth of Dis charge, which results in deterioration of the battery. oversubscribe. To allow more users than the maximum available bandwidth can support.

P
packet. On IP networks, messages sent between computers are broken into small pieces called packets. Each packet includes a source, destination, and other routing information that is used to route it to its ultimate destination. Pack ets are reassembled again at the remote end by TCP (or another protocol) be fore being passed to the application. packet .lter. A Crewall that operates at the Internet layer by inspecting source and destination IP addresses, port numbers, and protocols. Packets are either permitted or discarded depending on the packet Clter rules. partition. A technique used by network hubs to limit the impact of computers that transmit excessively. Hubs will temporarily remove the abusive computer (parti tion it) from the rest of the network, and reconnect it again after some time. Ex cessive partitioning indicates the presence of an excessive bandwidth consumer, such as a peer-to-peer client or network virus. passive POE injector see Power over Ethernet path loss. Loss of radio signal due to the distance between communicating sta tions. Peak Sun Hours (PSH). Average value of daily irradiation for a given area. photovoltaic generator see solar panel photovoltaic solar energy. The use of solar panels to collect solar energy to produce electricity. See also: thermal solar energy photovoltaic system. An energy system that generates electrical energy from solar radiation and stores it for later use. A standalone photovoltaic system does this without any connection to an established power grid. See also: battery, sol ar panel, regulator, load, converter, inverter

Glossary 379 physical layer. The lowest layer in both the OSI and TCP/IP network models. The physical layer is the actual medium used for communications, such as cop per cable, optic Cber, or radio waves. pigtail. A short microwave cable that converts a non-standard connector into something more robust and commonly available. ping. A ubiquitous network diagnostic utility that uses ICMP echo request and reply messages to determine the round trip time to a network host. Ping can be used to determine the location of network problems by "pinging" computers in the path between the local machine and the ultimate destination. PKI see Public Key Infrastructure plomb. A heavy piece of metal buried in the earth to improve a ground connec tion. PoE see Power over Ethernet point-to-multipoint. A wireless network where several nodes connect back to a central location. The classic example of a point-to-multipoint network is an ac cess point at an ofCce with several laptops using it for Internet access. See also: point-to-point, multipoint-to-multipoint point-to-point. A wireless network consisting of only two stations, usually separ ated by a great distance. See also: point-to-multipoint, multipoint-to-multi point Point-to-Point Protocol (PPP). A network protocol typically used on serial lines (such as a dial-up connection) to provide IP connectivity. polar plot. A graph where points are located by projection along a rotating axis (radius) to an intersection with one of several concentric circles. See also: rect angular plot polarization. The direction of the electric component of an electro-magnetic wave as it leaves the transmitting antenna. See also: horizontal polarization, vertical polarization, circular polarization polarization mismatch. A state where a transmitting and receiving antenna do not use the same polarization, resulting in signal loss. policy. In netClter, the policy is the default action to be taken when no other Clter ing rules apply. For example, the default policy for any chain may be set to AC CEPT or DROP.

380

GLOSSARY

port counters. Managed switches and routers provide statistics for each net work port called port counters. These statistics may include inbound and out bound packet and byte counts, as well as errors and retransmissions. power. The amount of energy in a certain amount of time. Power over Ethernet (PoE). A technique used to supply DC power to devices using
the Ethernet data cable. See also: end span injectors, mid span injectors

PPP see Point to Point Protocol presentation layer. The sixth layer of the OSI networking model. This layer deals with data representation, such as MIME encoding or data compression. private address space. A set of reserved IP addresses outlined in RFC1918. Private address space is frequently used within an organization, in conjunction with Network Address Translation (NAT). The reserved private address space ranges include 10.0.0.0/8, 172.16.0.0/12, and 192.168.0.0/16. See also: NAT. Privoxy (http://www.privoxy.org/). A web proxy that provides anonymity through the use of Clters. Privoxy is often used in conjunction with Tor. proactive routing. A mesh implementation where every node knows about the existence of every other node in the mesh cloud as well as which nodes may be used to route trafCc to them. Each node maintains a routing table covering the whole mesh cloud. See also: reactive routing protocol analyzer. A diagnostic program used to observe and disassemble net work packets. Protocol analyzers provide the greatest possible detail about indi vidual packets. protocol stack. A set of network protocols that provide interdependent layers of functionality. See also: OSI network model and TCP/IP network model. PSH see Peak Sun Hours Public key cryptography. A form of encryption used by SSL, SSH, and other popular security programs. Public key cryptography allows encrypted information to be exchanged over an untrusted network without the need to distribute a secret key. Public Key Infrastructure (PKI). A security mechanism used in conjunction with public key cryptography to prevent the possibility of Man-In-The-Middle at tacks. See also: certi.cate authority

Glossary 381

Q
quick blow. A type of fuse that immediately blows if the current fowing through it is higher than their rating. See also: slow blow

R
radiation pattern see antenna pattern. radio. The portion of the electromagnetic spectrum in which waves can be gen erated by applying alternating current to an antenna. reactive routing. A mesh implementation where routes are computed only when it is necessary to send data to a speciCc node. See also: proactive routing realtime monitoring. A network monitoring tool that performs unattended monitoring over long periods, and notiCes administrators immediately when problems arise . reciprocity. An antenna's ability to maintain the same characteristics regardless if whether it is transmitting or receiving. recombinant batteries see lead-acid batteries rectangular plot. A graph where points are located on a simple grid. See also: polar plot Regional Internet Registrars (RIR). The 4 billion available IP addresses are ad ministered by the IANA. The space has been divided into large subnets, which are delegated to one of the Cve regional Internet registries, each with authority over a large geographic area. regulator. The component of a photovoltaic system that assures that the bat tery is working in appropriate conditions. It avoids overcharging or underchar ging the battery, both of which are very detrimental to the life of the battery. See also: solar panel, battery, load, converter, inverter repeater. A node that is conCgured to rebroadcast trafCc that is not destined for the node itself, often used to extend the useful range of a network. Request for Comments (RFC). RFCs are a numbered series of documents published by the Internet Society that document ideas and concepts related to Internet technologies. Not all RFCs are actual standards, but many are either ap

382

GLOSSARY

proved explicitly by the IETF, or eventually become de facto standards. RFCs can be viewed online at http://rfc.net/. return loss. A logarithmic ratio measured in dB that compares the power refec ted by the antenna to the power that is fed into the antenna from the transmis sion line. See also: impedance reverse polarity (RP). Proprietary microwave connectors, based on a standard connector but with the genders reversed. The RP-TNC is probably the most common reverse polarity connector, but others (such as RP-SMA and RP-N) are also commonplace. RF transmission line. The connection (typically coax, Heliax, or a waveguide) between a radio and an antenna. RIR see Regional Internet Registrars Round Trip Time (RTT). The amount of time it takes for a packet to be acknow ledged from the remote end of a connection. Frequently confused with latency. rogue access points. An unauthorized access point incorrectly installed by legit imate users, or by a malicious person who intends to collect data or do harm to the network. Round Robin Database (RRD). A database that stores information in a very compact way that does not expand over time. This is the data format used by RRDtool and other network monitoring tools. router. A device that forwards packets between different networks. The process of forwarding packets to the next hop is called routing. routing. The process of forwarding packets between different networks. A device that does this is called a router. routing table. A list of networks and IP addresses kept by a router to determine how packets should be forwarded. If a router receives a packet for a network that is not in the routing table, the router uses its default gateway. Routers operate at the Network Layer. See also: bridge and default gateway. RP see Reverse Polarity RP-TNC. A common proprietary version of the TNC microwave connector, with the genders reversed. The RP-TNC is often found on equipment manufactured by Linksys. RRD see Round Robin Database

Glossary 383 RRDtool. A suite of tools that allow you to create and modify RRD databases, as well as generate useful graphs to present the data. RRDtool is used to keep track of time-series data (such as network bandwidth, machine room temperat ure, or server load average) and can display that data as an average over time. RRDtool is available from http://oss.oetiker.ch/rrdtool/ rsync (http://rsync.samba.org/). An open source incremental Cle transfer utility used for maintaining mirrors. RTT see Round Trip Time

S
SACK see Selective Acknowledgment scattering. Signal loss due to objects in the path between two nodes. See also: free space loss, attenuation sectorial antenna. An antenna that radiates primarily in a speciCc area. The beam can be as wide as 180 degrees, or as narrow as 60 degrees. See also: directional antenna, omnidirectional antenna Secure Sockets Layer (SSL). An end-to-end encryption technology built into vir tually all web browsers. SSL uses public key cryptography and a trusted pub lic key infrastructure to secure data communications on the web. Whenever you visit a web URL that starts with https, you are using SSL. Selective Acknowledgment (SACK). A mechanism used to overcome TCP inefC ciencies on high latency networks, such as VSAT. Server Message Block (SMB). A network protocol used in Windows networks to provide Cle sharing services. See also: NetBIOS. Service Set ID (SSID) see Extended Service Set Identi.er session layer. Layer Cve of the OSI model, the Session Layer manages logical connections between applications. session oriented protocol. A network protocol (such as TCP) that requires ini tialization before data can be exchanged, as well as some clean-up after data exchange has completed. Session oriented protocols typically offer error correc tion and packet reassembly, while connectionless protocols do not. See also: connectionless protocol . shared medium. A link-local network where every node can observe the trafCc of every other node.

384

GLOSSARY

Shorewall (http://shorewall.net/). A conCguration tool used for setting up netClter Crewalls without the need to learn iptables syntax. sidelobes. No antenna is able to radiate all the energy in one preferred direction. Some is inevitably radiated in other directions. These smaller peaks are referred to as sidelobes. signal generator. A transmitter that emits continuously at a speciCc frequency. Simple Network Management Protocol (SNMP). A protocol designed to facilit ate the exchange of management information between network devices. SNMP is typically used to poll network switches and routers to gather operating statist ics. site-wide web cache. While all modern web browsers provide a local data cache, large organizations can improve efCciency by installing a site-wide web cache, such as Squid. A site-wide web cache keeps a copy of all requests made from within an organization, and serves the local copy on subsequent requests. See also: Squid. slow blow. A fuse that allows a current higher than its rating to pass for a short time. See also: quick blow SMA. A small threaded microwave connector. SMB see Server Message Block SmokePing. A latency measurement tool that measures, stores and displays latency, latency distribution and packet loss all on a single graph. SmokePing is available from http://oss.oetiker.ch/smokeping/ SNMP see Simple Network Management Protocol Snort (http://www.snort.org/). A very popular open source intrusion detection system. See also: Intrusion Detection System. SoC see State of Charge solar module see solar panel solar panel. The component of a photovoltaic system used to convert solar ra diation into electricity. See also: battery, regulator, load, converter, inverter solar panel array. A set of solar panels wired in series and/or parallel in order to provide the necessary energy for a given load. solar power charge regulator see regulator

Glossary 385 spectrum see electromagnetic spectrum spectrum analyzer. A device that provides a visual representation of the electro magnetic spectrum. See also: Wi-Spy

Speed. A generic term used to refer to the responsiveness of a network connec tion. A "high-speed" network should have low latency and more than enough ca pacity to carry the trafCc of its users. See also: bandwidth, capacity, and latency. split horizon DNS. A technique used to serve different answers to DNS requests based on the source of the request. Split horizon is used to direct internal users to a different set of servers than Internet users. spoof. To impersonate a network device, user, or service. spot check tools. Network monitoring tools that are run only when needed to diagnose a problem. Ping and traceroute are examples of spot check tools. Squid. A very popular open source web proxy cache. It is fexible, robust, fullfeatured, and scales to support networks of nearly any size. http://www.squidcache.org/ SSID see Extended Service Set Identi.er SSL see Secure Sockets Layer standalone photovoltaic system see photovoltaic system State of Charge (SoC). The amount of charge present in a battery, determined by the current voltage and type of battery. stateful inspection. Firewall rules that are aware of the the state associated with a given packet. The state is not part of the packet as transmitted over the In ternet, but is determined by the Crewall itself. New, established, and related con nections may all be taken into consideration when Cltering packets. Stateful in spection is sometimes called connection tracking. stationary batteries. Batteries designed to have a Cxed location and in scenari os where the power consumption is more or less irregular. Stationary batteries can accommodate deep discharge cycles, but they are not designed to produce high currents in brief periods of time. See also: lead-acid batteries structure. In NEC2, a numerical description of where the different parts of the antenna are located, and how the wires are connected up. See also: controls

386

GLOSSARY

subnet mask see netmask subnets. A subset of a range of IP networks, deCned by netmasks. switch. A network device that provides a temporary, dedicated connection between communicating devices. See also: hub. switching conversion. A DC voltage conversion method that uses a magnetic component to temporarily store the energy and transform it to another voltage. Switching conversion is much more efCcient than linear conversion.

T
target. In netClter, the action to be taken once a packet matches a rule. Some possible netClter targets include ACCEPT, DROP, LOG, and REJECT. TCP see Transmission Control Protocol TCP acknowledgment spoo.ng TCP window size. The TCP parameter that deCnes how much data that may be sent before an ACK packet is returned from the receiving side. For instance, a window size of 3000 would mean that two packets of 1500 bytes each will be sent, after which the receiving end will either ACK the chunk or request retrans mission. TCP/IP see Internet protocol suite TCP/IP network model. A popular simpliCcation of the OSI network model that is used with Internet networks. The TCP/IP model consists of Cve interdependent layers, from the physical through the application. See also: OSI network model. tcpdump. A popular open source packet capture and analysis tool available at http://www.tcpdump.org/. See also: WinDump and Wireshark. Temporal Key Integrity Protocol (TKIP). An encryption protocol used in con junction with WPA to improve the security of a communications session. thermal solar energy. Energy collected from the sun in the form of heat. See also: photovoltaic solar energy thrashing. The state when a computer has exhausted the available RAM and must use the hard disk for temporary storage, greatly reducing system perform ance.

Glossary 387 throughput. The actual amount of information per second fowing through a net work connection, disregarding protocol overhead. throughput testing tools. Tools that measure the actual bandwidth available between two points on a network. Time To Live (TTL). A TTL value acts as a deadline or emergency brake to sig nal a time when the data should be discarded. In TCP/IP networks, the TTL is a counter that starts at some value (such as 64) and is decremented at each router hop. If the TTL reaches zero, the packet is discarded. This mechanism helps re duce damage caused by routing loops. In DNS, the TTL deCnes the amount of time that a particular zone record should be kept before it must be refreshed. In Squid, the TTL deCnes how long a cached object may be kept before it must be again retrieved from the original website. TKIP see Temporal Key Integrity Protocol TNC connector. A common, sturdy threaded microwave connector. Tor (http://www.torproject.org/ ). An onion routing tool that provides good pro tection against trafCc analysis. traceroute / tracert. A ubiquitous network diagnostic utility often used in con junction with ping to determine the location of network problems. The Unix ver sion is called traceroute, while the Windows version is tracert. Both use ICMP echo requests with increasing TTL values to determine which routers are used to connect to a remote host, and also display latency statistics. Another variant is tracepath, which uses a similar technique with UDP packets. See also: mtr. traction batteries see lead-acid batteries Transmission Control Protocol (TCP). A session oriented protocol that oper ates at the Transport Layer, providing packet reassembly, congestion avoidance, and reliable delivery. TCP is an integral protocol used by many Internet applica tions, including HTTP and SMTP. See also: UDP. transmission power. The amount of power provided by the radio transmitter, before any antenna gain or line losses. transparent bridging .rewall. A Crewall technique that introduces a bridge that selectively forwards packets based on Crewall rules. One beneCt of a transparent bridging Crewall is that it does not require an IP address. See also: bridge. transparent cache. A method of implementing a site-wide web cache that re quires no conCguration on the web clients. Web requests are silently redirected to the cache, which makes the request on behalf of the client. Transparent caches cannot use authentication, which makes it impossible to implement trafCc accounting at the user level. See also: site-wide web cache, Squid.

388

GLOSSARY

transparent proxy. A caching proxy installed so that users web requests are automatically forwarded to the proxy server, without any need to manually con Cgure web browsers to use it. transport layer. The third layer of the OSI and TCP/IP network models, which provides a method of reaching a particular service on a given network node. Ex amples of protocols that operate at this layer are TCP and UDP. trending. A type of network monitoring tool that performs unattended monitoring over long periods, and plots the results on a graph. Trending tools allow you to predict future behavior of your network, which helps you plan for upgrades and changes. TTL see Time To Live tunnel. A form of data encapsulation that wraps one protocol stack within anoth er. This is often used in conjunction with encryption to protect communications from potential eavesdroppers, while eliminating the need to support encryption within the application itself. Tunnels are often used conjunction with VPNs.

U
U.FL. A very tiny microwave connector commonly used on mini-PCI radio cards. UDP see User Datagram Protocol unintentional users. Laptop users who accidentally associate to the wrong wireless network. Unshielded Twisted Pair (UTP). Cable used for 10baseT and 100baseT Ether net, consisting of four pairs of twisted wires. Useful Capacity (Cu ). The usable capacity of a battery, equal to the product of the Nominal Capacity and the Maximum Depth of Discharge. User Datagram Protocol (UDP). A connectionless protocol (at the transport layer) commonly used for video and audio streaming. UTP see Unshielded Twisted Pair

Glossary 389

V
valve regulated lead acid battery (VRLA) see lead-acid batteries vertical polarization. An electro-magnetic Celd with the electric component mov ing in a linear vertical direction. Most wireless consumer electronic devices use vertical polarization. See also: circular polarization, vertical polarization Very Small Aperture Terminal (VSAT). One of several standards used for satel lite Internet access. VSAT is the most widely deployed satellite technology used in Africa. See also: Broadband Global Access Network (BGAN) and Digital Video Broadcast (DVB-S).

video sender. A 2.4 GHz video transmitter that can be used as an inexpensive signal generator. Virtual Private Network (VPN). A tool used to join two networks together over an untrusted network (such as the Internet). VPNs are often used to connect re mote users to an organization's network when traveling or working from home. VPNs use a combination of encryption and tunneling to secure all network trafCc, regardless of the application being used. See also: tunnel. VoIP (Voice over IP). A technology that provides telephone-like features over an Internet connection. Examples of popular VoIP clients include Skype, Gizmo Pro ject, MSN Messenger, and iChat. VPN see Virtual Private Network. VRLA see valve regulated lead acid battery VSAT see Very Small Aperture Terminal Very Small Aperture Terminal (VSAT). One of several standards used for satel lite Internet access. VSAT is the most widely deployed satellite technology used in Africa. See also: Broadband Global Access Network (BGN) and Digital Video Broadcast (DVB-S).

390

GLOSSARY

W
WAN see Wide Area Network War drivers. Wireless enthusiasts who are interested in Cnding the physical loc ation of wireless networks. wavelength. The distance measured from a point on one wave to the equivalent part of the next, for example from the top of one peak to the next. Also known as lambda (). WEP see Wired Equivalent Privacy wget. An open source command line tool for downloading web pages. http://www.gnu.org/software/wget/ Wi-Fi. A marketing brand owned by the Wi-Fi Alliance that is used to refer to vari ous wireless networking technologies (including 802.11a, 802.11b, and 802.11g). Wi-Fi is short for Wireless Fidelity. Wi-Fi Protected Access (WPA). A fairly strong link layer encryption protocol supported by most modern Wi-Fi equipment. Wi-Spy. An inexpensive 2.4 GHz spectrum analysis tool available from http://www.metageek.net/ . Wide Area Network (WAN). Any long distance networking technology. Leased lines, frame relay, DSL, Cxed wireless, and satellite all typically implement wide area networks. See also: LAN. wiki. A web site that allows any user to edit the contents of any page. One of the most popular public wikis is http://www.wikipedia.org/ window scale. A TCP enhancement deCned by RFC1323 that allows TCP win dow sizes larger than 64KB. WinDump. The Windows version of tcpdump. It is available from

http://www.winpcap.org/windump/

Glossary 391 Wired Equivalent Privacy (WEP). A somewhat secure link layer encryption protocol supported by virtually all 802.11a/b/g equipment. Wireless Fidelity see Wi-Fi. wireshark. A free network protocol analyzer for Unix and Windows. http://www.wireshark.org/ WPA see Wi-Fi Protected Access

Z
Zabbix (http://www.zabbix.org/) A realtime monitoring tool that logs and notiCes a system administrator about service and network outages.

APPENDICES

APPENDIX A: ANTENNA CONSTRUCTION

393

APPENDIX A: ANTENNA CONSTRUCTION


Guidelines for building some simple types of antennas Collinear omni
$i s a n t e n n a i s v e r ys i m p l e t ob u i l d , r e q u i r i n gj u s t ap i e c e o f w i r e , a nN s o c k e t a n das q u a r e m e t a l l i cp l a t e . I t c a nb eu s e df o r i n d o o r o r o u t d o o r p o i n t t o m u l t i p o i n t s h o r t d i s t a n c e c o v e r a g e . $ ep l a t eh a s ah o l ed r i l l e di nt h em i d d l et oa c c o m m o d a t ea nN t y p e c h a s s i s s o c k e t t h a t i s s c r e w e di n t o p l a c e . $e w i r ei s s o l d e r e dt ot h ec e n t r ep i no f t h eN s o c k e t a n dh a s c o i l s t o s e p a r a t e t h e a c t i v e p h a s e de l e m e n t s . T w ov e r s i o n s o f t h e a n t e n n a a r ep o s s i b l e : o n ew i t ht w op h a s e de l e m e n t s a n dt w oc o i l s a n da n o t h e r w i t hf o u r p h a s e de l e m e n t s a n df o u r c o i l s . F o r t h e s h o r t a n t e n n a t h e g a i nw i l l b e a r o u n d5d B i , w h i l e t h e l o n g o n e w i t h f o u r e l e m e n t s w i l l h a v e 7 t o 9 d B i o f g a i n . We a r e g o i n g t o d e s c r i b e h o wt o b u i l dt h e l o n g a n t e n n a o n l y . P a r t s l i s t a n d t o o l s r e q u i r e d O n e s c r e w o nN t y p e f e m a l e c o n n e c t o r 5 0 c mo f c o p p e r o r b r a s s w i r e o f 2 m mo f d i a m e t e r 1 0 x 1 0 c mo r g r e a t e r s q u a r e m e t a l l i c p l a t e R u l e r P l i e r s F i l e S o l d e r i n g i r o na n ds o l d e r D r i l l w i t ha s e t o f b i t s f o r m e t a l ( i n c l u d i n g a 1 5 m md i a m e t e r b i t ) Ap i e c e o f p i p e o r a d r i l l b i t w i t ha d i a m e t e r o f 1 c m V i c e o r c l a m p H a m m e r S p a n n e r o r m o n k e y w r e n c h

394

APPENDICES

F i g u r e A C1 : 1 0 c mx 1 0 c ma l u m i n u mp l a t e . C o n s t r u c t i o n S t r a i g h t e nt h e w i r e u s i n g t h e v i c e .

F i g u r e A C2 : Ma k e t h e w i r e a s s t r a i g h t a s y o uc a n .

APPENDIX A: ANTENNA CONSTRUCTION

395

Wi t ha m a r k e r , d r a wal i n e a t 2 . 5c ms t a r t i n g f r o mo n ee n do f t h e w i r e . O nt h i s l i n e , b e n dt h e w i r e a t 9 0d e g r e e s w i t ht h e h e l po f t h e v i c e a n do f t h e h a m m e r .

F i g u r e A C3 : G e n t l y t a p t h e w i r e t o m a k e a s h a r p b e n d .

D r a wa n o t h e r l i n e a t a d i s t a n c e o f 3 . 6 c mf r o mt h e b e n d . U s i n g t h e v i c e a n dt h e h a m m e r , b e n do n c e a g a i nt h e w i r e o v e r t h i s s e c o n d l i n e a t 9 0d e g r e e s , i nt h eo p p o s i t ed i r e c t i o nt ot h e0 r s t b e n db u t i nt h e s a m e p l a n e . $e w i r e s h o u l d l o o k l i k e a Z .

F i g u r e A C4 : B e n d t h e w i r e i n t o a Z s h a p e . Wew i l l n o wt w i s tt h e Z p o r t i o no f t h ew i r et om a k eac o i l w i t ha d i a me t e r o f 1 c m .

396

APPENDICES

T od o t h i s , w e w i l l u s e t h e p i p e o r t h e d r i l l b i t a n d c u r v e t h e w i r e a r o u n d i t , w i t ht h e h e l p o f t h e v i c e a n do f t h e p l i e r s .

F i g u r e A C5 : B e n d t h e w i r e a r o u n d t h e d r i l l b i t t o m a k e a c o i l . $e c o i l w i l l l o o k l i k e t h i s :

F i g u r e A C6 : e c o m p l e t e d c o i l . Y o us h o u l dm a k e a s e c o n dc o i l a t a d i s t a n c e o f 7 . 8c mf r o mt h e 0 r s t o n e . B o t hc o i l s s h o u l dh a v et h e s a m e t u r n i n gd i r e c t i o na n ds h o u l db e p l a c e d

APPENDIX A: ANTENNA CONSTRUCTION

397

o nt h e s a m e s i d e o f t h e w i r e . Ma k e a t h i r da n da f o u r t hc o i l f o l l o w i n g t h e s a m e p r o c e d u r e , a t t h e s a m e d i s t a n c e o f 7 . 8 c mo n e f r o me a c ho t h e r . T r i mt h e l a s t p h a s e de l e m e n t a t a d i s t a n c e o f 8 . 0 c mf r o mt h e f o u r t hc o i l .

F i g u r e A C7 : T r y t o k e e p i t a s s t r a i g h t p o s s i b l e .

I f t h e c o i l s h a v e b e e nm a d e c o r r e c t l y , i t s h o u l dn o wb e p o s s i b l e t oi n s e r t a p i p e t h r o u g ha l l t h e c o i l s a s s h o w n .

F i g u r e A C8 : I n s e r t i n g a p i p e c a nh e l p t o s t r a i g h t e n t h e w i r e .

Wi t ham a r k e ra n d ar u l e r , d r a wt h ed i a g o n a l so nt h em e t a l l i cp l a t e , 0 n d i n g i t s c e n t r e . Wi t ha s m a l l d i a m e t e r d r i l l b i t , m a k e a p i l o t h o l e a t t h e c e n t r eo f t h ep l a t e . I n c r e a s et h e d i a m e t e r o f t h e h o l eu s i n gb i t s w i t ha n i n c r e a s i n g d i a m e t e r .

398

APPENDICES

F i g u r e A C9 : D r i l l i n g t h e h o l e i nt h e m e t a l p l a t e . $e h o l e s h o u l d0 t t h e Nc o n n e c t o r e x a c t l y . U s e a 0 l e i f n e e d e d .

F i g u r e A C1 0 : e Nc o n n e c t o r s h o u l d C t s n u g l y i n t h e h o l e . T oh a v ea na n t e n n ai m p e d a n c eo f5 0O h m s , i t i si m p o r t a n tt h a t t h e v i s i b l es u r f a c eo f t h ei n t e r n a l i n s u l a t o r o f t h ec o n n e c t o r ( t h ew h i t e a r e a a r o u n dt h e c e n t r a l p i n ) i s a t t h e s a m e l e v e l a s t h e s u r f a c e o f t h e p l a t e . F o r t h i s r e a s o n , c u t 0 . 5c mo f c o p p e r p i p e w i t ha ne x t e r n a l d i a m e t e r o f 2 c m , a n dp l a c e i t b e t w e e nt h e c o n n e c t o r a n dt h e p l a t e .

APPENDIX A: ANTENNA CONSTRUCTION

399

F i g u r e A C1 1 : A d d i n g a c o p p e r p i p e s p a c e r h e l p s t o m a t c ht h e i m p e d a n c e o f t h e a n t e n n a t o 5 0 O h m s .
S c r e wt h e n u t t o t h e c o n n e c t o r t o 0 x i t 0 r m l y o n t h e p l a t e u s i n g t h e s p a n n e r .

F i g u r e A C1 2 : S e c u r e t h e Nc o n n e c t o r t i g h t l y t o t h e p l a t e .
S m o o t h w i t ht h e 0 l e t h e s i d e o f t h e w i r e w h i c hi s 2 . 5 c ml o n g , f r o mt h e 0 r s t c o i l .

400

APPENDICES

T i nt h ew i r ef o r a r o u n d0 . 5c ma t t h es m o o t h e de n dh e l p i n gy o u r s e l f w i t h t h e v i c e .

F i g u r e A C1 3 : A d d a l i t t l e s o l d e r t o t h e e n do f t h e w i r e t o t i n i t p r i o r t o s o l d e r i n g .

Wi t ht h es o l d e r i n gi r o n , t i nt h ec e n t r a l p i no f t h ec o n n e c t o r . K e e p i n gt h e w i r ev e r t i c a l w i t ht h ep l i e r s , s o l d e r i t s t i n n e ds i d e i nt h eh o l e o f t h ec e n t r a l p i n . $e 0 r s t c o i l s h o u l db e a t 3 . 0 c mf r o mt h e p l a t e .

F i g u r e A C1 4 : e C r s t c o i l s h o u l d s t a r t 3 . 0 c mf r o mt h e s u r f a c e o f t h e p l a t e .

APPENDIX A: ANTENNA CONSTRUCTION

401

We a r e n o wg o i n g t os t r e t c ht h e c o i l s e x t e n d i n g t h e t o t a l v e r t i c a l l e n g t ho f t h e w i r e . U s i n gt h e v i c e a n dt h e p l i e r s , y o us h o u l dp u l l t h e c a b l e s ot h a t t h e 0 n a l l e n g t h o f t h e c o i l i s o f 2 . 0 c m .

F i g u r e A C1 5 : S t r e t c h i n g t h e c o i l s . B e v e r y g e n t l e a n d t r y n o t t o s c r a p e t h e s u r f a c e o f t h e w i r e w i t h t h e p l i e r s .

R e p e a t t h e s a m e p r o c e d u r e f o r t h e o t h e r t h r e e c o i l s , s t r e t c h i n g t h e i r l e n g t h t o 2 . 0 c m .

F i g u r e A C1 6 : R e p e a t t h e s t r e t c h i n g p r o c e d u r e f o r a l l o f t h e r e m a i n i n g c o i l s .

402

APPENDICES

A t t h e e n dt h e a n t e n n a s h o u l dm e a s u r e 4 2 . 5 c mf r o mt h e p l a t e t o t h e t o p .

F i g u r e A C1 7 : e C n i s h e d a n t e n n a s h o u l d b e 4 2 . 5 c mf r o mt h e p l a t e t o t h e e n do f t h e w i r e . I fy o uh a v eas p e c t r u m a n a l y z e rw i t h at r a c k i n gg e n e r a t o ra n da d i r e c t i o n a l c o u p l e r , y o uc a nc h e c kt h e c u r v e o f t h e r e W e c t e dp o w e r o f t h e a n t e n n a . $e f o l l o w i n g p i c t u r e s h o w s t h e d i s p l a y o f t h e s p e c t r u ma n a l y z e r .

APPENDIX A: ANTENNA CONSTRUCTION

403

F i g u r e A C1 8 : As p e c t r u mp l o t o f t h e r e E e c t e d p o w e r o f t h e c o l l i n e a r o m n i . I f y o ui n t e n dt ou s et h i s a n t e n n a o u t s i d e , y o uw i l l n e e dt ow e a t h e r p r o o f i t . $e s i m p l e s t m e t h o di s t oe n c l o s e t h e w h o l et h i n gi nal a r g e p i e c e o f P V Cp i p e c l o s e dw i t hc a p s . C u t a h o l e a t t h e b o t t o mf o r t h e t r a n s m i s s i o n l i n e , a n ds e a l t h e a n t e n n a s h u t w i t hs i l i c o n e o r P V Cg l u e .

Cantenna
$e w a v e g u i d e a n t e n n a , s o m e t i m e s c a l l e da C a n t e n n a , u s e s a t i nc a na s a w a v e g u i d ea n das h o r t w i r es o l d e r e do na nN c o n n e c t o r a s ap r o b e f o r c o a x i a l c a b l e t o w a v e g u i d et r a n s i t i o n . I tc a nb ee a s i l yb u i l ta tj u s tt h e p r i c eo f t h ec o n n e c t o r , r e c y c l i n gaf o o d , j u i c e , o r o t h e r t i nc a n . I t i s a d i r e c t i o n a l a n t e n n a , u s e f u l f o r s h o r t t om e d i u md i s t a n c ep o i n t t o p o i n t l i n k s . I t m a y b e a l s o u s e da s a f e e d e r f o r a p a r a b o l i c d i s ho r g r i d . N o ta l lc a n sa r eg o o df o rb u i l d i n ga na n t e n n ab e c a u s et h e r ea r e d i m e n s i o n a l c o n s t r a i n t s . 1 . $e a c c e p t a b l e v a l u e s f o r t h e d i a m e t e r Do f t h e f e e da r e b e t w e e n0 . 6 0 a n d0 . 7 5w a v e l e n g t hi na i ra tt h ed e s i g nf r e q u e n c y . A t 2 . 4 4G Hzt h e w a v e l e n g t h i s 1 2 . 2c m , s ot h e c a nd i a m e t e r s h o u l db ei nt h e r a n g e o f 7 . 3 1 0 c m .

404

APPENDICES

2 . $e l e n g t h Lo f t h e c a np r e f e r a b l y s h o u l d b e a t l e a s t 0 . 7 5 G , w h e r e G i s t h e g u i d e w a v e l e n g t h a n di s g i v e nb y :
2 G =/ ( s q r t ( 1( / 1 . 7 0 6 D ) ) )

F o r D =7 . 3 c m , w e n e e da c a no f a t l e a s t 5 6 . 4 c m , w h i l e f o r D =9 . 2 c m w e n e e da c a no f a t l e a s t 1 4 . 8 c m . G e n e r a l l y t h e s m a l l e r t h e d i a m e t e r , t h e l o n g e r t h e c a ns h o u l db e . F o r o u r e x a m p l e , w e w i l l u s e o i l c a n s t h a t h a v e a d i a m e t e r o f 8 . 3 c ma n da h e i g h t o f a b o u t 2 1 c m . 3 .$ e p r o b ef o rc o a x i a lc a b l et ow a v e g u i d et r a n s i t i o ns h o u l db e p o s i t i o n e d a t a d i s t a n c e S f r o mt h e b o t t o mo f t h e c a n , g i v e nb y : S =0 . 2 5 G I t s l e n g t h s h o u l d b e 0 . 2 5 , w h i c ha t 2 . 4 4 G Hz c o r r e s p o n d s t o 3 . 0 5 c m .

F i g u r e A C1 9 : D i m e n s i o n a l c o n s t r a i n t s o n t h e c a n t e n n a $ eg a i nf o r t h i s a n t e n n aw i l l b ei nt h eo r d e r o f 1 0t o1 4d B i , w i t ha b e a m w i d t ho f a r o u n d6 0 d e g r e e s .

APPENDIX A: ANTENNA CONSTRUCTION

405

F i g u r e A C2 0 : e C n i s h e d c a n t e n n a . P a r t s l i s t o n e s c r e w o nN t y p e f e m a l e c o n n e c t o r 4 c mo f c o p p e r o r b r a s s w i r e o f 2 m mo f d i a m e t e r a no i l c a no f 8 . 3 c mo f d i a m e t e r a n d2 1 c mo f h e i g h t

F i g u r e A C2 1 : P a r t s n e e d e d f o r t h e c a n t e n n a .

406

APPENDICES

T o o l s r e q u i r e d C a no p e n e r R u l e r P l i e r s F i l e S o l d e r i n gi r o n S o l d e r D r i l l w i t ha s e t o f b i t s f o r m e t a l ( w i t h a 1 . 5 c md i a m e t e r b i t ) V i c e o r c l a m p S p a n n e r o r m o n k e y w r e n c h H a m m e r P u n c h

C o n s t r u c t i o n Wi t h t h e c a no p e n e r , c a r e f u l l y r e m o v e t h e u p p e r p a r t o f t h e c a n .

F i g u r e A C2 2 : B e c a r e f u l o f s h a r p e d g e s w h e n o p e n i n g t h e c a n . $e c i r c u l a r d i s k h a s a v e r y s h a r p e d g e . B e c a r e f u l w h e nh a n d l i n g i t ! E m p t yt h ec a na n dw a s hi t w i t hs o a p . I f t h ec a nc o n t a i n e dp i n e a p p l e , c o o k i e s , o r s o m e o t h e r t a s t y t r e a t , h a v e a f r i e n ds e r v e t h e f o o d .

APPENDIX A: ANTENNA CONSTRUCTION

407

Wi t ht h e r u l e r , m e a s u r e6 . 2c mf r o mt h e b o t t o mo f t h e c a na n dd r a wa p o i n t . B ec a r e f u l t om e a s u r ef r o mt h ei n n e r s i d eo f t h eb o t t o m . U s ea p u n c h( o r as m a l l d r i l l b i t o r aP h i l l i p s s c r e w d r i v e r ) a n dah a m m e r t o m a r kt h e p o i n t . $i s m a k e s i t e a s i e r t op r e c i s e l yd r i l l t h e h o l e . B e c a r e f u l n o t t o c h a n g e t h e s h a p e o f t h e c a nd o i n g t h i s b y i n s e r t i n g a s m a l l b l o c k o f w o o do r o t h e r o b j e c t i nt h e c a nb e f o r e t a p p i n g i t .

F i g u r e A C2 3 : Ma r k t h e h o l e b e f o r e d r i l l i n g .

Wi t has m a l l d i a m e t e r d r i l l b i t , m a k eah o l ea t t h ec e n t r eo f t h ep l a t e . I n c r e a s et h e d i a m e t e r o f t h e h o l eu s i n gb i t s w i t ha ni n c r e a s i n g d i a m e t e r . $e h o l e s h o u l d0 t e x a c t l y t h e Nc o n n e c t o r . U s e t h e 0 l e t os m o o t ht h e b o r d e r o f t h e h o l e a n dt or e m o v e t h e p a i n t i n g a r o u n di t i n o r d e r t o e n s u r e a b e t t e r e l e c t r i c a l c o n t a c t w i t ht h e c o n n e c t o r .

F i g u r e A C2 4 : C a r e f u l l y d r i l l a p i l o t h o l e , t h e nu s e a l a r g e r b i t t o C n i s h t h e j o b .

S m o o t hw i t ht h e 0 l e o n e e n do f t h e w i r e . T i nt h e w i r e f o r a r o u n d0 . 5 c m a t t h e s a m e e n dh e l p i n g y o u r s e l f w i t ht h e v i c e .

408

APPENDICES

F i g u r e A C2 5 : T i nt h e e n do f t h e w i r e b e f o r e s o l d e r i n g . Wi t h t h e s o l d e r i n g i r o n , t i nt h e c e n t r a l p i no f t h e c o n n e c t o r . K e e p i n gt h e w i r ev e r t i c a l w i t ht h e p l i e r s , s o l d e r i t s t i n n e ds i d e i n t h e h o l e o f t h e c e n t r a l p i n .

F i g u r e A C2 6 : S o l d e r t h e w i r e t o t h e g o l d c u p o n t h e Nc o n n e c t o r . I n s e r t a w a s h e r a n dg e n t l y s c r e wt h e n u t o n t o t h e c o n n e c t o r . T r i mt h e w i r e a t 3 . 0 5 c mm e a s u r e df r o mt h e b o t t o mp a r t o f t h e n u t .

APPENDIX A: ANTENNA CONSTRUCTION

409

F i g u r e A C2 7 : e l e n g t h o f t h e w i r e i s c r i t i c a l . U n s c r e wt h e n u t f r o mt h e c o n n e c t o r , l e a v i n g t h e w a s h e r i np l a c e . I n s e r t t h e c o n n e c t o r i n t o t h e h o l e o f t h e c a n . S c r e wt h e n u t o n t h e c o n n e c t o r f r o mi n s i d e t h e c a n .

F i g u r e A C2 8 : A s s e m b l e t h e a n t e n n a .

410

APPENDICES

U s et h ep l i e r so rt h em o n k e yw r e n c ht os c r e w0 r m l yt h en u to nt h e c o n n e c t o r . Y o ua r e d o n e !

F i g u r e A C2 9 : Y o u r C n i s h e d c a n t e n n a . A sw i t ht h eo t h e ra n t e n n ad e s i g n s , y o us h o u l dm a k eaw e a t h e r p r o o f e n c l o s u r e f o r t h e a n t e n n a i f y o uw i s ht ou s e i t o u t d o o r s . P V Cw o r k s w e l l f o r t h e c a na n t e n n a . I n s e r t t h e e n t i r e c a ni na l a r g e P V Ct u b e , a n ds e a l t h e e n d s w i t hc a p s a n dg l u e . Y o uw i l l n e e dt o d r i l l a h o l e i nt h e s i d e o f t h e t u b e t o a c c o m m o d a t e t h e N c o n n e c t o r o n t h e s i d e o f t h e c a n .

Cantenna as dish feed


A s w i t ht h e U S Bd o n g l e p a r a b o l i c , y o uc a nu s e t h e c a n t e n n a d e s i g na s a f e e d e r f o r ap a r a b o l i cr e W e c t o r t h u s a t t a i n i n gas i g n i 0 c a n t l yh i g h e r g a i n . Mo u n t t h e c a no nt h e p a r a b o l i cw i t ht h e o p e n i n go f t h e c a np o i n t e da t t h ec e n t r eo f t h ed i s h . U s et h et e c h n i q u ed e s c r i b e di nt h eU S Bd o n g l e a n t e n n a e x a m p l e ( w a t c h i n g s i g n a l s t r e n g t hc h a n g e s o v e r t i m e ) t o0 n dt h e o p t i m u ml o c a t i o no f t h e c a nf o r t h e d i s hy o u a r e u s i n g . B yu s i n gaw e l l b u i l t c a n t e n n a w i t hap r o p e r l yt u n e dp a r a b o l i c , y o uc a n a c h i e v ea no v e r a l l a n t e n n ag a i no f3 0 d B i o rm o r e . A st h es i z eo ft h e p a r a b o l i ci n c r e a s e s ,s od o e st h ep o t e n t i a lg a i na n dd i r e c t i v i t yo ft h e a n t e n n a . Wi t hv e r yl a r g ep a r a b o l a s , y o uc a na c h i e v es i g n i 0 c a n t l yh i g h e r g a i n .

APPENDIX A: ANTENNA CONSTRUCTION

411

NEC2
N E C 2s t a n d s f o r N u m e r i c a l E l e c t r o m a g n e t i c s C o d e( v e r s i o n2 ) a n di s a f r e e a n t e n n a m o d e l i n g p a c k a g e . N E C 2l e t s y o ub u i l da na n t e n n a m o d e l i n 3 D ,a n dt h e na n a l y s e st h ea n t e n n a se l e c t r o m a g n e t i cr e s p o n s e . I tw a s d e v e l o p e dm o r et h a nt e ny e a r sa g oa n dh a sb e e nc o m p i l e dt or u no n m a n yd i 1 e r e n tc o m p u t e rs y s t e m s .N E C 2i sp a r t i c u l a r l ye 1 e c t i v ef o r a n a l y s i n gw i r e g r i dm o d e l s ,b u ta l s oh a ss o m es u r f a c ep a t c hm o d e l i n g c a p a b i l i t y . $e a n t e n n a d e s i g ni s d e s c r i b e di na t e x t 0 l e , a n dt h e nt h e m o d e l i s b u i l t u s i n g t h i s t e x t d e s c r i p t i o n . A na n t e n n a d e s c r i b e di nN E C 2i s g i v e n i nt w o p a r t s : i t s s t r u c t u r e a n da s e q u e n c e o f c o n t r o l s . $ es t r u c t u r ei ss i m p l yan u m e r i c a l d e s c r i p t i o no fw h e r et h ed i 1 e r e n t p a r t s o f t h e a n t e n n a a r e l o c a t e d , a n dh o wt h e w i r e s a r e c o n n e c t e du p . $e c o n t r o l s t e l l N E Cw h e r e t h e R Fs o u r c e i s c o n n e c t e d . O n c et h e s ea r ed e 0 n e d ,t h et r a n s m i t t i n ga n t e n n ai st h e nm o d e l l e d . B e c a u s eo f t h er e c i p r o c i t yt h e o r e mt h et r a n s m i t t i n gg a i np a t t e r ni s t h e s a m e a s t h e r e c e i v i n go n e , s om o d e l l i n gt h e t r a n s m i s s i o nc h a r a c t e r i s t i c s i s s u N c i e n t t ou n d e r s t a n dt h e a n t e n n a ' s b e h a v i o u r c o m p l e t e l y . Af r e q u e n c yo r r a n g eo f f r e q u e n c i e s o f t h eR Fs i g n a l m u s t b es p e c i 0 e d . $e n e x ti m p o r t a n te l e m e n ti st h ec h a r a c t e ro ft h eg r o u n d .$ e c o n d u c t i v i t y o f t h e e a r t hv a r i e s f r o mp l a c e t op l a c e , b u t i nm a n yc a s e s i t p l a y s a v i t a l r o l e i nd e t e r m i n i n g t h e a n t e n n a g a i np a t t e r n . T or u nN E C 2o nL i n u x , i n s t a l l t h e N E C 2p a c k a g e f r o mt h e U R Lb e l o w . T o l a u n c hi t , t y p e n e c 2a n de n t e r t h e i n p u t a n do u t p u t 0 l e n a m e s . I t i s a l s o w o r t hi n s t a l l i n gt h ex n e c v i e wp a c k a g ef o rs t r u c t u r ev e r i 0 c a t i o na n d r a d i a t i o np a t t e r np l o t t i n g .I fa l lw e n tw e l ly o us h o u l dh a v ea0 l e c o n t a i n i n gt h eo u t p u t . $i s c a nb eb r o k e nu pi n t ov a r i o u s s e c t i o n s , b u t f o r a q u i c ki d e a o f w h a t i t r e p r e s e n t s ag a i np a t t e r nc a nb e p l o t t e du s i n g x n e c v i e w . Y o u s h o u l d s e e t h e e x p e c t e d p a t t e r n , h o r i z o n t a l l y o m n i d i r e c t i o n a l , w i t hap e a ka t t h e o p t i m u ma n g l e o f t a k e o 1 . Wi n d o w s a n dMa c v e r s i o n s a r e a l s o a v a i l a b l e . $e a d v a n t a g eo f N E C 2i s t h a t w ec a ng e t a ni d e ao f h o wt h ea n t e n n a w o r k s b e f o r e b u i l d i n gi t , a n dh o ww e c a nm o d i f yt h e d e s i g ni no r d e r t o g e t t h e m a x i m u mg a i n . I t i s a c o m p l e x t o o l a n dr e q u i r e s s o m e r e s e a r c ht o l e a r nh o wt ou s ei t e 1 e c t i v e l y , b u t i t i s a ni n v a l u a b l et o o l f o r a n t e n n a d e s i g n e r s . N E C 2 i s a v a i l a b l e f r o mh t t p : / / w w w . n e c 2 . o r g /

412

APPENDICES

APPENDIX B: CHANNEL ALLOCATIONS


$e f o l l o w i n g t a b l e s l i s t t h e c h a n n e l n u m b e r s a n dc e n t r e f r e q u e n c i e s u s e d f o r 8 0 2 . 1 1 a a n d 8 0 2 . 1 1 b / g . N o t e t h a t w h i l e a l l o f t h e s e f r e q u e n c i e s a r e i nt h e u n l i c e n s e dI S Ma n dU N I I b a n d s , n o t a l l c h a n n e l s a r e a v a i l a b l e i na l l c o u n t r i e s . Ma n y r e g i o n s i mt p o s e r e s t r i c t i o n s o no u t p u t p o w e r a n d i n d o o r / o u t d o o r u s e o ns o m e c h a n t n e l s . $e s e r e g u l a t i o n s a r e r a p i d l y c h a n g i n g , s oa l w a y s c h e c ky o u r l o c a l r e g u l a t t i o n s b e f o r e t r a n s m i t t i n g . N o t e t h a t t h e s e t a b l e s s h o wt h e c e n t e r f r e q u e n c y f o r e a c hc h a n n e l . C h a n n e l s a r e 2 2 MHz w i d e i n8 0 2 . 1 1 b / g , a n d2 0 MHz w i d e i n 8 0 2 . 1 1 a .
802.11b / g Channel #
1 2 3 4 5 6 7

Center Frequency (GHz)


2.412 2.417 2.422 2.427 2.432 2.437 2.442

Channel #
8 9 10 11 12 13 14

Center Frequency (GHz)


2.447 2.452 2.457 2.462 2.467 2.472 2.484

APPENDIX B: CHANNEL ALLOCATIONS

413

802.11a Channel
34 36 38 40 42 44 46 48 52 56 60 64 149 153 157 161

Center Frequency (GHz)


5.170 5.180 5.190 5.200 5.210 5.220 5.230 5.240 5.260 5.280 5.300 5.320 5.745 5.765 5.785 5805

414

APPENDICES

APPENDIX C: PATH LOSS

APPENDIX D: CABLE SIZES 415

APPENDIX D: CABLE SIZES


Wi r eg a u g e ,d i a m e t e r , c u r r e n tc a p a c i t y ,a n dr e s i s t a n c ea t2 0 C .$ e s e v a l u e sc a nv a r yf r o m c a b l et oc a b l e .Wh e ni nd o u b t ,c o n s u l tt h e m a n u f a c t u r e r ' s s p e c i 0 c a t i o n s .

AWG Gauge

Diameter (mm)

Ohms / Meter

Max Amperes
302 239 190 150 119 94 75 60 47 37 30 24 19 15

0000 000 00 0 1 2 3 4 5 6 7 8 9 10

11.68 10.40.00 9.27 8.25 7.35 6.54 5.83 5.19 4.62 4.11 3.67 3.26 2.91 2.59

0.000161 0.000203 0.000256 0.000322 0.000406 0.000513 0.000646 0.000815 0.001028 0.001296 0.001634 0.002060 0.002598 0.003276

416

APPENDICES

APPENDIX E: SOLAR DIMENSIONING


U s e t h e s e t a b l e s t o c o l l e c t t h e n e c e s s a r y d a t a t o e s t i m a t e t h e r e q u i r e d s i z e o f y o u r s o l a r e n e r g y s y s t e m .

General Data
Site Name Site Latitude ()

Irradiation Data
Gdm(0), in kWh / m2 per day)

Jan

Feb

Mar

Apr

May

Jun

Jul

Aug

Sep

Oct

Nov

Dec

Worst Irradiation Month

Reliability and System Operational Voltage


Days of Autonomy (N) Nominal Voltage (VNEquip)

APPENDIX E: SOLAR DIMENSIONING

417

Component Characteristics
Solar Panels Voltage @ Maximum Power (Vpmax) Current @ Maximum Power (Ipmax) Panel Type/Model and Power (Wp) Batteries Nominal Capacity @ 100 H (CNBat) Nominal Voltage (VNBat) Maximum Depth of Discharge (DoDMAX) or Usable Capacity (CUBat) Regulator Nominal Voltage (VNReg) Maximum Current (ImaxReg)

418

APPENDICES

Solar Panels Voltage @ Maximum Power (Vpmax) Current @ Maximum Power (Ipmax) Panel Type/Model and Power (Wp) DC/AC Inverter (if needed) Nominal Voltage (VNConv) Instantaneous Power (PIConv) Performance @ 70% Load

Loads
Estimated Energy Consumed by the Loads (DC) Month of Greatest Consumption x Usage Description # of Units x Nominal Power Hours / Day

= Energy (Wh/day)

APPENDIX E: SOLAR DIMENSIONING

419

Estimated Energy Consumed by the Loads (DC) Month of Greatest Consumption

ETOTAL DC Estimated Energy Consumed by the Loads (AC) Month of Greatest Consumption x Usage Description # of Units x Nominal Power Hours / Day

= Energy (Wh/day)

420

APPENDICES

Estimated Energy Consumed by the Loads (DC) Month of Greatest Consumption

ETOTAL AC (before converter) ETOTAL AC (after converter) = ETOTAL AC / 70%

Finding the Worst Month


Site Name Site Latitude () Nominal Voltage of the Installation VN (Month) Inclination
2

Gdm () (kWh/m day)

APPENDIX E: SOLAR DIMENSIONING

421

Site Name Site Latitude () ETOTAL (DC) (Wh/day) ETOTAL (AC) (Wh/day) ETOTAL (AC + DC)= Im (A) = ETOTAL (Wh/day) 2 1kW/m / (Gdm() x VN) Worst Month Summary Worst Month Im (A) ImMAX (A) = 1.21 x Im ETOTAL (AC + DC)

422

APPENDICES

Final Calculations
Panels Panels in Series (NPS) Panels in Parallel (NPP) Total Number of Panels NPS = VN / VPmax = NPP = ImMAX / IPmax = NTOT = NPS x NPP = Batteries ETOTAL(WORST MONTH) / VN x N

Necessary Capacity (CNEC)

Nominal Capacity (CNOM) Number of Batteries in Series (NBS) Cables

CNEC / DoDMAX

VN / VNBAT

Panels > Bat teries Voltage Drop (Va - Vb)

Batteries > Converter

Main Line

APPENDIX E: SOLAR DIMENSIONING

423

Panels Panels in Series (NPS) Panels in Parallel (NPP) Thickness (Section) r x L x ImMAX / (Va - Vb) NPS = VN / VPmax = NPP = ImMAX / IPmax =

2 F o r c a b l e t h i c k n e s s c o m p u t a t i o n , r = 0 . 0 1 2 8 6 m m / m( f o r c o p p e r ) a n d L i s t h e l e n g t h i n m e t r e s .

424

APPENDICES

APPENDIX F: RESOURCES
We r e c o m m e n dt h e s e r e s o u r c e s f o r l e a r n i n g m o r e a b o u t t h e v a r i o u s a s p e c t s o f w i r e l e s s n e t w o r k i n g . A n t e n n a s A n dA n t e n n a D e s i g n F r e e a n t e n n a d e s i g n s , h t t p : / / w w w . f r e e a n t e n n a s . c o m / H y p e r l i n kT e c h , h t t p : / / h y p e r l i n k t e c h . c o m / P a s a d e n a N e t w o r k s L L C , h t t p : / / w w w . w l a n p a r t s . c o m / S u p e r P a s s , h t t p : / / w w w . s u p e r p a s s . c o m / U n o N c i a l N E C 2c o d e a r c h i v e s , h t t p : / / w w w . n e c 2 . o r g / U S BWi F i d i s hd e s i g n s , h t t p : / / w w w . u s b w i 0 . o r c o n . n e t . n z / N e t w o r k T r o u b l e s h o o t i n gT o o l s B i n gt h r o u g h p u t m e a s u r e m e n t t o o l , h t t p : / / f g o u g e t . f r e e . f r / b i n g / i n d e x e n . s h t ml C a c t i n e t w o r km o n i t o r i n gp a c k a g e , h t t p : / / w w w . c a c t i . n e t / D S LR e p o r t s b a n d w i d t hs p e e dt e s t s , h t t p : / / w w w . d s l r e p o r t s . c o m / s t e s t E t h e r A p e n e t w o r kt r a N c m o n i t o r , h t t p : / / e t h e r a p e . s o u r c e f o r g e . n e t / F l o w c o p e ns o u r c e N e t F l o wc o l l e c t o r , h t t p : / / n e t a c a d . k i e v . u a / W o w c / i p t r a f n e t w o r kd i a g n o s t i c t o o l , h t t p : / / i p t r a f . s e u l . o r g / My T r a c e R o u t e n e t w o r kd i a g n o s t i c t o o l , h t t p : / / w w w . b i t w i z a r d . n l / m t r / N a g i o s n e t w o r km o n i t o r i n ga n de v e n t n o t i 0 c a t i o nt o o l , h t t p : / / w w w . n a g i o s . o r g / N e t F l o w , t h e C i s c op r o t o c o l f o r c o l l e c t i n gI Pt r a N c i n f o r m a t i o n , h t t p : / / e n . w i k i p e d i a . o r g / w i k i / N e t W o w n g r e pn e t w o r k s e c u r i t y u t i l i t y f o r 0 n d i n g p a t t e r n s i nd a t a W o w s , h t t p : / / n g r e p . s o u r c e f o r g e . n e t / N e t w o r k m o n i t o r i n gi m p l e m e n t a t i o ng u i d e s a n dt u t o r i a l s , h t t p : / / w i k i . d e b i a n . o r g / N e t w o r k _ Mo n i t o r i n g N t o pn e t w o r km o n i t o r i n gt o o l , h t t p : / / w w w . n t o p . o r g / S o f t P e r f e c t n e t w o r ka n a l y s i s t o o l s , h t t p : / / w w w . s o f t p e r f e c t . c o m / S q u i dt r a n s p a r e n t h t t pp r o x y HO WT O , h t t p : / / t l d p . o r g / HO WT O / T r a n s p a r e n t P r o x y . h t m l Wi r e s h a r kn e t w o r kp r o t o c o l a n a l y z e r , h t t p : / / w w w . w i r e s h a r k . o r g /

APPENDIX F: RESOURCES 425

MR T G , h t t p : / / o s s . o e t i k e r . c h / m r t g / r r d t o o l , h t t p : / / o s s . o e t i k e r . c h / r r d t o o l / S m o k e p i n g , h t t p : / / o s s . o e t i k e r . c h / s m o k e p i n g / A r g u s , h t t p : / / q o s i e n t . c o m / a r g u s / N e t r a m e t , h t t p : / / w w w . c a i d a . o r g / t o o l s / m e a s u r e m e n t / n e t r a m e t / S n o r t , h t t p : / / w w w . s n o r t . o r g / Mo dS e c u r i t y , h t t p : / / w w w . m o d s e c u r i t y . o r g / A p a c h e , h t t p : / / w w w . a p a c h e . o r g / Z a b b i x , h t t p : / / w w w . z a b b i x . o r g / n g r e p , h t t p : / / n g r e p . s o u r c e f o r g e . n e t / n m a p , h t t p : / / w w w . n m a p . o r g n e t c a t , h t t p : / / n c 1 1 0 . s o u r c e f o r g e . n e t / S e c u r i t y A n t i P r o x y h t t pp r o x y c i r c u m v e n t i o nt o o l s a n di n f o r m a t i o n , h t t p : / / w w w . a n t i p r o x y . c o m / A n t i s p y w a r e t o o l s , h t t p : / / w w w . s p y c h e c k e r . c o m / D r i f t n e t n e t w o r km o n i t o r i n gu t i l i t y , h t t p : / / w w w . e x p a r r o t . c o m / ~ c h r i s / d r i f t n e t / I n t r o d u c t i o nt oO p e n V P N , h t t p : / / w w w . l i n u x j o u r n a l . c o m / a r t i c l e / 7 9 4 9 L i n u xs e c u r i t y a n da d m i ns o f t w a r e , h t t p : / / w w w . l i n u x . o r g / a p p s / a l l / N e t w o r k i n g / S e c u r i t y _ / _ A d m i n . h t m l O p e n S S Hs e c u r e s h e l l a n dt u n n e l i n g t o o l , h t t p : / / o p e n s s h . o r g / O p e n V P Ne n c r y p t e dt u n n e l s e t u pg u i d e , h t t p : / / o p e n v p n . n e t / h o w t o . h t m l P r i v o x y 0 l t e r i n g w e bp r o x y , h t t p : / / w w w . p r i v o x y . o r g / P u T T YS S Hc l i e n t f o r Wi n d o w s , h t t p : / / w w w . p u t t y . n l / S a w m i l l l o g a n a l y z e r , h t t p : / / w w w . s a w m i l l . n e t / S e c u r i t yo f t h e WE Pa l g o r i t h m , h t t p : / / w w w . i s a a c . c s . b e r k e l e y . e d u / i s a a c / w e p f a q . h t ml S t u n n e l U n i v e r s a l S S LWr a p p e r , h t t p : / / w w w . s t u n n e l . o r g / T O Ro n i o nr o u t e r , h t t p : / / w w w . t o r p r o j e c t . o r g / We a k n e s s e s i nt h e K e y S c h e d u l i n g A l g o r i t h mo f R C 4 , h t t p : / / w w w . c r y p t o . c o m / p a p e r s / o t h e r s / r c 4 _ k s a p r o c . p s Wi n d o w s S C Pc l i e n t , h t t p : / / w i n s c p . n e t / Y o u r 8 0 2 . 1 1 Wi r e l e s s N e t w o r k h a s N oC l o t h e s , h t t p : / / w w w . c s . u m d . e d u / ~ w a a / w i r e l e s s . p d f Z o n e A l a r mp e r s o n a l 0 r e w a l l f o r Wi n d o w s , h t t p : / / w w w . z o n e l a b s . c o m / L o g g i n g , h t t p : / / w i g l e . n e t / , h t t p : / / w w w . n o d e d b . c o m / , o r h t t p : / / w w w . s t u m b l e r . n e t / . h t t p : / / w w w . i s a a c . c s . b e r k e l e y . e d u / i s a a c / w e p -

426

APPENDICES

f a q . h t m l h t t p : / / w w w . c s . u m d . e d u / ~ w a a / w i r e l e s s . p d f h t t p : / / d l . a i r c r a c k n g . o r g / b r e a k i n g w e p a n d w p a . p d f h t t p : / / d o w n l o a d . a i r c r a c k n g . o r g / w i k i 0 l e s / d o c / e n h a n c e d _ t k i p _ m i c h a e l . p d f C a p t i v e P o r t a l s , C o o v a C h i l l i , C o o v a A P( h t t p : / / c o o v a . o r g / C o o v a C h i l l i / ) Wi F i d o g( h t t p : / / w w w . w i 0 d o g . o r g / ) M0 n 0 w a l l , p f S e n s e ( h t t p : / / m 0 n 0 . c h / w a l l / ) P u t t y , h t t p : / / w w w . p u t t y . n l / Wi nS C P , h t t p : / / w i n s c p . n e t / C y g w i n , h t t p : / / w w w . c y g w i n . c o m / O p e n V P NJ o u r n a l , h t t p : / / w w w . l i n u x j o u r n a l . c o m / a r t i c l e / 7 9 4 9 T o r , h t t p : / / w w w . t o r p r o j e c t . o r g / S p y c h e c k e r , h t t p : / / w w w . s p y c h e c k e r . c o m / B a n d w i d t hO p t i m i s a t i o n C a c h e h i e r a r c h i e s w i t hS q u i d , h t t p : / / s q u i d d o c s . s o u r c e f o r g e . n e t / l a t e s t / h t m l / c 2 0 7 5 . h t m l d n s m a s q c a c h i n g D N Sa n dD HC Ps e r v e r , h t t p : / / w w w . t h e k e l l e y s . o r g . u k / d n s m a s q / d o c . h t m l E n h a n c i n g I n t e r n a t i o n a l Wo r l d Wi d e We bA c c e s s i nMo z a m b i q u e $r o u g ht h e U s e o f Mi r r o r i n g a n dC a c h i n g P r o x i e s , h t t p : / / w w w . i s o c . o r g / i n e t 9 7 / a n s 9 7 / c l o e t . h t m F l u 10 l e d i s t r i b u t i o nu t i l i t y , h t t p : / / w w w . b r i s t o l . a c . u k / W u 1 / L i n u x A d v a n c e dR o u t i n g a n dT r a N c C o n t r o l HO WT O , h t t p : / / l a r t c . o r g / Mi c r o s o f t I n t e r n e t S e c u r i t y a n dA c c e l e r a t i o nS e r v e r , h t t p : / / w w w . m i c r o s o f t . c o m / i s a s e r v e r /
Mi c r o s o f t I S AS e r v e r F i r e w a l l a n dC a c h e r e s o u r c e s i t e , h t t p : / / w w w . i s a s e r v e r . o r g /

O p t i m i s i n gI n t e r n e t B a n d w i d t hi nD e v e l o p i n g C o u n t r y H i g h e r E d u c a t i o n , h t t p : / / w w w . i n a s p . i n f o / p u b s / b a n d w i d t h / i n d e x . h t m l P l a n e t Ma l a y s i a b l o g o nb a n d w i d t hm a n a g e m e n t , h t t p : / / p l a n e t m y . c o m / b l o g / ? p = 1 4 8 R F C3 1 3 5 : P e r f o r m a n c e E n h a n c i n g P r o x i e s I n t e n d e d t oMi t i g a t e L i n k R e l a t e dD e g r a d a t i o n s , h t t p : / / w w w . i e t f . o r g / r f c / r f c 3 1 3 5 S q u i dw e bp r o x y c a c h e , h t t p : / / s q u i d c a c h e . o r g / Me s hN e t w o r k i n g F r e i f u n kO L S Rm e s h0 r m w a r e f o r t h e L i n k s y s WR T 5 4 G , h t t p : / / w w w . f r e i f u n k . n e t / w i k i / F r e i f u n k F i r m w a r e MI TR o o f n e t P r o j e c t , h t t p : / / p d o s . c s a i l . m i t . e d u / r o o f n e t / d o k u . p h p

APPENDIX F: RESOURCES 427

O L S Rm e s hn e t w o r k i n g d a e m o n , h t t p : / / w w w . o l s r . o r g / A i r J a l d i Me s hR o u t e r , h t t p : / / d r u p a l . a i r j a l d i . c o m / n o d e / 9 O p e nWR T , h t t p : / / w i k i . o p e n w r t . o r g / t o h / s t a r t V i l l a g e T e l c o , w w w . v i l l a g e t e l c o . o r g Wi r e l e s s O p e r a t i n gS y s t e m s A n dD r i v e r s D DWR Tw i r e l e s s r o u t e r O S , h t t p : / / w w w . d d w r t . c o m/ H o s t A Pw i r e l e s s d r i v e r f o r t h e P r i s m2 . 5 c h i p s e t , h t t p : / / h o s t a p . e p i t e s t . 0 / m 0 n 0 w a l l w i r e l e s s r o u t e r O S , h t t p : / / m 0 n 0 . c h / w a l l / Ma d Wi F i w i r e l e s s d r i v e r f o r t h e A t h e r o s c h i p s e t , h t t p : / / m a d w i 0 . o r g / Me t r i x P y r a m i dw i r e l e s s r o u t e r O S , h t t p : / / c o d e . g o o g l e . c o m / p / p y r a m i d l i n u x / O p e n WR Tw i r e l e s s r o u t e r O Sf o r L i n k s y s a c c e s s p o i n t s , h t t p : / / o p e n w r t . o r g / T o m a t ow i r e l e s s r o u t e r O Sf o r L i n k s y s a c c e s s p o i n t s , h t t p : / / w w w . p o l a r c l o u d . c o m / t o m a t o Wi r e l e s s T o o l s C h i l l i s p o t c a p t i v e p o r t a l , h t t p : / / w w w . c h i l l i s p o t . i n f o / I n t e r a c t i v e Wi r e l e s s N e t w o r k D e s i g nA n a l y s i s U t i l i t i e s , h t t p : / / w w w . q s l . n e t / n 9 z i a / w i r e l e s s / p a g e 0 9 . h t ml K i s MA Cw i r e l e s s m o n i t o r f o r Ma c O SX , h t t p : / / k i s ma c n g . o r g / K i s m e t w i r e l e s s n e t w o r km o n i t o r i n gt o o l , h t t p : / / w w w . k i s m e t w i r e l e s s . n e t / Ma c S t u m b l e r w i r e l e s s n e t w o r k d e t e c t i o nt o o l f o r Ma c O SX , h t t p : / / w w w . m a c s t u m b l e r . c o m / N e t S t u m b l e r w i r e l e s s n e t w o r kd e t e c t i o nt o o l f o r Wi n d o w s , h t t p : / / w w w . w i r e l e s s d e f e n c e . o r g / C o n t e n t s / N e t s t u m b l e r Ma i n . h t m N e t s p o t w i r e l e s s n e t w o r kd e t e c t i o nf o r Ma c O SX , h t t p : / / w w w . n e t s p o t a p p . c o m / P HP My P r e P a i dp r e p a i dt i c k e t i n g s y s t e m , h t t p : / / s o u r c e f o r g e . n e t / p r o j e c t s / p h p m y p r e p a i d / R a d i o Mo b i l e r a d i op e r f o r m a n c e m o d e l i n g t o o l , h t t p : / / w w w . c p l u s . o r g / r m w / R a d i oMo b i l e o n l i n e , h t t p : / / w w w . c p l u s . o r g / r m w / r m o n l i n e . h t m l We l l e n r e i t e r w i r e l e s s n e t w o r kd e t e c t i o nt o o l f o r L i n u x , h t t p : / / s o u r c e f o r g e . n e t / p r o j e c t s / w e l l e n r e i t e r / Wi F i D o g c a p t i v e p o r t a l , h t t p : / / w w w . w i 0 d o g . o r g / P r o x i m , h t t p : / / w w w . p r o x i m . c o m / t e c h n o l o g y

428

APPENDICES

Wi S p y s p e c t r u ma n a l y s i s t o o l , h t t p : / / w w w . m e t a g e e k . n e t / S p e c t r u mA n a l y s e r , h t t p : / / www . s e e e d s t u d i o . c o m/ d e p o t / r f e x p l o r e r mo d e l ws u b 1 g p 9 2 2 . h t ml ? c P a t h = 1 7 4 " R FE x p l o r e r m o d e l 2 . 4 G " , h t t p : / / w ww . s e e e d s t u d i o . c o m/ d e p o t / p 9 2 4 . h t ml c P a t h = 1 7 4 G e n e r a l Wi r e l e s s R e l a t e dI n f o r m a t i o n H o m e b r e ww i r e l e s s h a r d w a r e d e s i g n s , h t t p : / / w w w . w 1 g h z . o r g / L i n k s y s w i r e l e s s a c c e s s p o i n t i n f o r m a t i o n , h t t p : / / l i n k s y s i n f o . o r g / L i n k s y s WR T 5 4 Gr e s o u r c e g u i d e , h t t p : / / s e a t t l e w i r e l e s s . n e t / i n d e x . c g i / L i n k s y s Wr t 5 4 g R o n j a o p t i c a l d a t a l i n k h a r d w a r e , h t t p : / / r o n j a . t w i b r i g h t . c o m / S e a t t l e Wi r e l e s s c o m m u n i t y w i r e l e s s g r o u p , h t t p : / / s e a t t l e w i r e l e s s . n e t / S e a t t l e Wi r e l e s s H a r d w a r ec o m p a r i s o np a g e , h t t p : / / w w w . s e a t t l e w i r e l e s s . n e t / Ha r d w a r e C o m p a r i s o n S t e p h e nF o s k e t t ' s P o w e r O v e r E t h e r n e t ( P o E ) C a l c u l a t o r , h t t p : / / w w w . g w e e p . n e t / ~ s f o s k e t t / t e c h / p o e c a l c . h t m l Wh i t e S p a c e s p r o j e c t , h t t p : / / w w w . w i r e l e s s w h i t e s p a c e . o r g / p r o j e c t s . a s p x G e n e r a l C o m p u t i n gT o o l s

V i d e o S e n d . h t t p : / / w w w . l i g h t i n t h e b o x . c o m / P o p u l a r / Wi 0 _ V i d e o _ T r a n s m i t t e r . h t m l

F i l e s h a r i n g , h t t p : / / s p a r k l e s h a r e . o r g , h t t p s : / / g i t h u b . c o m / p h i l c r y e r / l i p s y n c , h t t p : / / r s y n c . s a m b a . o r g / O p e nR e l a yt e s t i n g , h t t p : / / w w w . m a i l r a d a r . c o m / o p e n r e l a y , h t t p : / / w w w . c h e c k o r . c o m / D i s ki m a g i n g , h t t p : / / w w w . p a r t i m a g e . o r g , h t t p : / / w w w . p o w e r q u e s t . c o m / N e t w o r k i n gS e r v i c e s A n dT r a i n i n g Wi r e l e s s T o o l k i t , h t t p : / / w t k i t . o r g / g r o u p s / w t k i t / w i k i / 8 2 0 c b / d o w n l o a d _ p a g e . h t m l w i r e . l e s s . d k c o n s u l t a n c y a n ds e r v i c e s , h t t p : / / w i r e . l e s s . d k / Wi r e l e s s L a b a n dt r a i n i n g a t I C T P , h t t p : / / w i r e l e s s . i c t p . i t / Wi r e l e s s U , h t t p : / / w i r e l e s s u . o r g / N e t w o r k S t a r t u pR e s o u r c e C e n t e r , O r e g o n , h t t p : / / w w w . n s r c . o r g / I n v e n e o , h t t p : / / w w w . i n v e n e o . o r g / 6 D e p l o y ( E CF P 7p r o j e c t ) , h t t p : / / w w w . 6 d e p l o y . o r g A s s o c i a t i o n f o rP r o g r e s s i v e C o m m u n i c a t i o n sw i r e l e s sc o n n e c t i v i t y p r o j e c t s , h t t p : / / w w w . a p c . o r g / w i r e l e s s /

APPENDIX F: RESOURCES 429

I n t e r n a t i o n a lN e t w o r kf o rt h eA v a i l a b i l i t yo fS c i e n t i 0 cP u b l i c a t i o n s , h t t p : / / w w w . i n a s p . i n f o / Ma k e r e U n i v e r s i t y , U g a n d a , h t t p : / / m a k . a c . u g / A c c e s s K e n y a I S P , h t t p : / / w w w . a c c e s s k e n y a . c o m / B r o a d b a n dA c c e s s L t d . w i r e l e s s b r o a d b a n dc a r r i e r , h t t p : / / w w w . b l u e . c o . k e / V i r t u a l I To u t s o u r c i n g , h t t p : / / w w w . v i r t u a l i t . b i z / C o l l e c t i o no f l o o k i n g g l a s s e s , h t t p : / / w w w . t r a c e r o u t e . o r g / R e g i o n a l I n t e r n e t R e g i s t r a r s I A N A , h t t p : / / w w w . i a n a . o r g / A f r i N I C , h t t p : / / w w w . a f r i n i c . n e t / A P N I C , h t t p : / / w w w . a p n i c . n e t / A R I N , h t t p : / / w w w . a r i n . n e t / L A C N I C , h t t p : / / w w w . l a c n i c . n e t / R I P EN C C , h t t p : / / w w w . r i p e . n e t / I P v 6T r a n s i t i o n i n g h t t p : / / w w w . p e t r i . c o . i l / i p v 6 t r a n s i t i o n . h t m h t t p : / / w w w . 6 d i s s . o r g / t u t o r i a l s / t r a n s i t i o n i n g . p d f h t t p : / / a r s t e c h n i c a . c o m / b u s i n e s s / 2 0 1 3 / 0 1 / i p v 6 t a k e s o n e s t e p f o r w a r d i p v 4 t w o s t e p s b a c k i n 2 0 1 2 / h t t p : / / w w w . 6 d e p l o y . e u / i n d e x . p h p ? p a g e = h o m e R I P EI P v 6t r a n s i t o n , h t t p : / / w w w . i p v 6 a c t n o w . o r g / T e s t y o u r I P v 6 , h t t p : / / t e t i p v 6 . o r g I P v 6D e p l o y m e n t s t a t u s , h t t p : / / 6 l a b . c i s c o . c o m D y n a m i c R o u t i n gP r o t o c o l s h t t p : / / w w w . c i s c o p r e s s . c o m / s t o r e / r o u t i n g t c p i p v o l u m e i c c i e p r o f e s s i o n a l d e v e l o p m e n t 9 7 8 1 5 7 8 7 0 0 4 1 7 ? w _ p t g r e v a r t c l = D y n a m i c %2 0 R o u t i n g %2 0 P r o t o c o l s _ 2 4 0 9 0 h t t p : / / w w w . c i s c o p r e s s . c o m / a r t i c l e s / a r t i c l e . a s p ? p = 2 4 0 9 0 &s e q N u m = 5 h t t p : / / p t g m e d i a . p e a r s o n c m g . c o m / i m a g e s / 9 7 8 1 5 8 7 1 3 2 0 6 3 / s a m p l e c h a p t e r / 1 5 8 7 1 3 2 0 6 0 _ 0 3 . p d f h t t p : / / w w w . i n e t d a e m o n . c o m / t u t o r i a l s / i n t e r n e t / i p / r o u t i n g / d y a m i c _ v s _ s t a t i c . s h t m l h t t p s : / / l e a r n i n g n e t w o r k . c i s c o . c o m / d o c s / D O C 7 9 8 5 O S P FD e s i g ng u i d e : h t t p : / / w w w . c i s c o . c o m / w a r p / p u b l i c / 1 0 4 / 1 . p d f

430

APPENDICES

S o l a r P a n e l D e s i g n L o wr e s o l u t i o nP S Hm a p s / c a l c u l a t i o nt o o l s , h t t p : / / r e . j r c . e c . e u r o p a . e u / p v g i s / a p p s 4 / p v e s t . p h p ? m a p = a f r i c a &l a n g = e n H i g h l a n d s A n dI s l a n d s p r o j e c t , h t t p : / / w w w . w i r e l e s s w h i t e s p a c e . o r g / p r o j e c t s / w i n d 0 r e n e w a b l e e n e r g y b a s e s t a t i o n . a s p x P V S Y S T , h t t p : / / w w w . p v s y s t . c o m / S o l a r D e s i g n , h t t p : / / w w w . s o l a r d e s i g n . c o . u k / Mi s c e l l a n e o u s L i n k s C y g w i nL i n u x l i k e e n v i r o n m e n t f o r Wi n d o w s , h t t p : / / w w w . c y g w i n . c o m / G r a p h v i z n e t w o r kg r a p hv i s u a l i z a t i o nt o o l , h t t p : / / w w w . g r a p h v i z . o r g / I C T Pb a n d w i d t hs i m u l a t o r , h t t p : / / w i r e l e s s . i c t p . t r i e s t e . i t / s i m u l a t o r / I m a g e Ma g i c k i m a g e m a n i p u l a t i o nt o o l s a n dl i b r a r i e s , h t t p : / / w w w . i m a g e m a g i c k . o r g / N o d e D Bw a r d r i v i n g m a pd a t a b a s e , h t t p : / / w w w . n o d e d b . c o m / P a r t i t i o nI m a g e d i s k u t i l i t y f o r L i n u x , h t t p : / / w w w . p a r t i m a g e . o r g / R F C1 9 1 8 : A d d r e s s A l l o c a t i o nf o r P r i v a t e I n t e r n e t s , h t t p : / / w w w . i e t f . o r g / r f c / r f c 1 9 1 8 R u s t y R u s s e l l ' s L i n u x N e t w o r k i n g C o n c e p t s , h t t p : / / w w w . n e t 0 l t e r . o r g / d o c u m e n t a t i o n / HO WT O / n e t w o r k i g c o n c e p t s HO WT O . h t m l U b u n t uL i n u x , h t t p : / / w w w . u b u n t u . c o m / V o I P 4 DP r i m e r , h t t p : / / w w w . i t 4 6 . s e / v o i p 4 d / v o i p 4 d . p h p w g e t w e bu t i l i t y f o r Wi n d o w s , h t t p : / / u s e r s . u g e n t . b e / ~ b p u y p e / w g e t / I S OS t a n d a r d , h t t p : / / s t a n d a r d s . i s o . o r g / i t t f / P u b l i c l y A v a i l a b l e S t a n d a r d s

APPENDIX F: RESOURCES 431

B o o k s 8 0 2 . 1 1 N e t w o r k s : $e D e 0 n i t i v e G u i d e , 2 n d E d i t i o n . Ma t t h e wG a s t , O R e i l l y Me d i a . I S B N# 0 5 9 6 1 0 0 5 2 3 8 0 2 . 1 1 Wi r e l e s s N e t w o r k S i t e S u r v e y i n g a n dI n s t a l l a t i o n . B r u c e A l e x a n d e r , C i s c oP r e s s . I S B N# 1 5 8 7 0 5 1 6 4 8 $e A R R LU HF / Mi c r o w a v e E x p e r i m e n t e r s Ma n u a l . A m e r i c a nR a d i o R e l a y L e a g u e . I S B N# 0 8 7 2 5 9 3 1 2 6 B u i l d i n gWi r e l e s s C o m m u n i t y N e t w o r k s , 2 n d E d i t i o n . R o bF l i c k e n g e r , O R e i l l y Me d i a . I S B N# 0 5 9 6 0 0 5 0 2 4 D e p l o y i n g L i c e n s e F r e e Wi r e l e s s Wi d e A r e a N e t w o r k s . J a c kU n g e r , C i s c o P r e s s . I S B N# 1 5 8 7 0 5 0 6 9 2 Wi r e l e s s H a c k s , 2 n d E d i t i o n . R o bF l i c k e n g e r a n dR o g e r We e k s , O R e i l l y Me d i a . I S B N# 0 5 9 6 1 0 1 4 4 9 I P v 6S e c u r i t y ( C i s c o P r e s s N e t w o r k i n g T e c h n o l o g y ) . S c o t t H o g g , E r i c V y n c k e , C i s c oP r e s s . I S B N# 1 5 8 7 0 5 5 9 4 5 L A NS w i t c hS e c u r i t y : Wh a t Ha c k e r s K n o wA b o u t Y o u r S w i t c h e s . E r i c V y n c k e a n dC h r i s t o p h e r P a g g e n . I S B N# 1 5 8 7 0 5 2 5 6 3 B u i l d i n g t h e Mo b i l e I n t e r n e t . Ma r k G r a y s o n , K e v i nS h a t z k a m e r , K l a a s Wi e r e n g a . I S B N# 1 5 8 7 1 4 2 4 3 0

432

CASE STUDIES

CASE STUDIES

Case Studies - Introduction 433

Case Studies - Introduction


N o m a t t e r h o wm u c hp l a n n i n g g o e s i n t o b u i l d i n g a l i n k o r n o d e l o c a t i o n , y o uw i l l i n e v i t a b l y h a v e t oj u m pi na n da c t u a l l y i n s t a l l s o m e t h i n g . $i s i s t h e m o m e n t o f t r u t ht h a t d e m o n s t r a t e s j u s t h o wa c c u r a t ey o u r e s t i m a t e s a n dp r e d i c t i o n s p r o v e t o b e . I t i s a r a r e d a yw h e ne v e r y t h i n gg o e s p r e c i s e l y a s p l a n n e d . E v e na f t e r y o u i n s t a l l y o u r 1 s t , 1 0 t h , o r 1 0 0 t hn o d e , y o uw i l l s t i l l 0 n dt h a t t h i n g s d o n o t a l w a y s w o r ko u t a s y o um i g h t h a v e i n t e n d e d . $i s s e c t i o nd e s c r i b e s s o m e o f o u rm o r em e m o r a b l ea n dr e c e n tn e t w o r kp r o j e c t s . Wh e t h e ry o ua r e a b o u t t oe m b a r ko ny o u r 0 r s t w i r e l e s s p r o j e c t o r y o ua r e a no l dh a n da t t h i s , i t i s r e a s s u r i n gt or e m e m b e r t h a t t h e r e i s a l w a y s m o r et ol e a r na n d e v e nt h e e x p e r t s w h oh a v ec o n t r i b u t e dt ot h i s b o o ks t i l l l e a r nf r o me a c h 0 e l dp r o j e c t t h e y a r e i n v o l v e d i n ! B e l o wa r e a f e wl a s t m i n u t e t i p s a n dt h o u g h t s b e f o r e w e e m b a r k o n t e l l i n g y o u a b o u t o u r l a t e s t 0 e l da d v e n t u r e s .

Equipment enclosures
C h e a pp l a s t i c sa r eo f t e ne a s yt o0 n d , b u tt h e ym a y b em a d eo fp o o r m a t e r i a l s a n da r et h i n , t h u s m o s t l yu n s u i t a b l ef o r e n c l o s i n ge q u i p m e n t . P V Ct u b i n g i s f a r m o r e r e s i l i e n t a n di s m a d e t o b e w a t e r p r o o f . I nWe s t A f r i c a , t h e m o s t c o m m o nP V Ci s f o u n di np l u m b i n g , s i z e df r o m 9 0 m mt o2 2 0 m m . S o m e t i m e s A c c e s s P o i n t s c a n0 t i n t os u c ht u b i n g , a n d w i t he n d c a p s t h a t a r et o r c h e d o no r g l u e d , t h e yc a nm a k ev e r yr o b u s t w a t e r p r o o f e n c l o s u r e s . $e y a l s oh a v e t h e a d d e db e n e 0 t o f b e i n ga e r o d y n a m i c a n du n i n t e r e s t i n g t op a s s e r s b y .$ er e s u l t i n gs p a c el e f ta r o u n dt h ee q u i p m e n ta s s u r e s a d e q u a t e a i r c i r c u l a t i o n . A l s o , i t i s o f t e nb e s t t ol e a v e a ne x h a u s t h o l e a t t h e b o t t o mo f t h e P V C e n c l o s u r e , a l t h o u g hi no n ei n s t a n c e a n t s d e c i d e dt on e s t 2 5m e t r e s a b o v e g r o u n di n s i d e t h e P V Ch o l d i n g t h e a c c e s s p o i n t . Aw i r e m e s hc o v e r m a d e f r o ml o c a l l ya v a i l a b l e s c r e e nm a t e r i a l w a s u s e dt os e c u r e t h e e x h a u s t h o l e f r o mi n f e s t a t i o n s .

434

CASE STUDIES

Antenna masts
R e c o v e r i n g u s e dm a t e r i a l s f o r u s e t ob u i l da n t e n n a m a s t s i s ag o o dp l a n . L o c a l m e t a l w o r k e r s m a y a l r e a d y b e f a m i l i a r w i t hh o wt o m a k e t e l e v i s i o nm a s t s f r o ms c r a pm e t a l . Af e wq u i c ka d a p t a t i o n s a n dt h e s e s a m e m a s t s c a nb e r e p u r p o s e d f o r w i r e l e s s n e t w o r k s . $ et y p i c a lm a s ti st h e5 m e t r ep o l e ,c o m p r i s e do fas i n g l e3 0 m m d i a m e t e r p i p e w h i c hi s t h e np l a n t e di n t o c e m e n t . I t ' s b e s t t oc o n s t r u c t t h e m a s t i nt w op a r t s , w i t har e m o v a b l em a s t t h a t 0 t s i n t oab a s ew h i c hi s s l i g h t l yl a r g e r i nd i a m e t e r . A l t e r n a t i v e l y , t h e m a s t m a y b e m a d e w i t ha r m s t h a t c a nb e s e c u r e l y c e m e n t e di n t o a w a l l . $i s t y p e o f m a s t c a nb e a u g m e n t e db y s e v e r a l m e t r e s w i t ht h e u s e o f g u y l i n e s . T o s t e a d y t h e p o l e , p l a n t t h r e e l i n e s 1 2 0 d e g r e e s a p a r t , f o r m i n g a na n g l e o f a t l e a s t 3 3 d e g r e e s w i t ht h e t o w e r . D e t a i l so fh o wt oe a r t ht h em a s tc a nb ef o u n di nt h ec h a p t e rc a l l e d H a r d w a r e S e l e c t i o na n d C o n 0 g u r a t i o n .

Involve the local community


C o m m u n i t yi n v o l v e m e n ti si m p e r a t i v ei na s s u r i n gt h es u c c e s sa n d s u s t a i n a b i l i t yo f ap r o j e c t . I n v o l v i n gt h ec o m m u n i t yi nap r o j e c t c a nb e t h eg r e a t e s tc h a l l e n g e ,b u ti ft h ec o m m u n i t yi sn o ti n v o l v e dt h e t e c h n o l o g yw i l l n o t s e r v e t h e i r n e e d s , n o r w i l l i t b e a c c e p t e d . Mo r e o v e r , a c o m m u n i t y m i g h t b e a f r a i da n dc o u l ds u b v e r t a ni n i t i a t i v e . R e g a r d l e s s o f t h e c o m p l e x i t y o f t h e u n d e r t a k i n g , a s u c c e s s f u l p r o j e c t n e e d s s u p p o r t a n d b u y i nf r o mt h o s e i t w i l l s e r v e . T a k ey o u rt i m ea n db es e l e c t i v ei n0 n d i n gt h er i g h tp e o p l ef o ry o u r p r o j e c t .N oo t h e rd e c i s i o nw i l l a 1 e c ty o u rp r o j e c tm o r et h a nh a v i n g e 1 e c t i v e , t r u s t e dl o c a l p e o p l e o n y o u r t e a m . I na d d i t i o n , t a k en o t eo f k e yp l a y e r si na ni n s t i t u t i o n , o rc o m m u n i t y . I d e n t i f yt h o s e p e o p l e w h oa r el i k e l yt ob eo p p o n e n t s a n dp r o p o n e n t s o f y o u rp r o j e c t . A se a r l ya sp o s s i b l e , a t t e m p t t oe a r nt h es u p p o r to ft h e p o t e n t i a l p r o p o n e n t s a n dt o d i 1 u s e t h e o p p o n e n t s .

Case Studies - Introduction 435

$i s i s ad i N c u l t t a s ka n do n et h a t r e q u i r e s i n t i m a t ek n o w l e d g eo f t h e i n s t i t u t i o no r c o m m u n i t y . I f t h ep r o j e c t d o e s n o t h a v eal o c a l a l l y , t h ep r o j e c t m u s t t a k et i m e t o a c q u i r e t h i s k n o w l e d g e a n dt r u s t f r o mt h e c o m m u n i t y . D on o tt r yt oi n t r o d u c eat e c h n o l o g yt oac o m m u n i t yw i t h o u t u n d e r s t a n d i n g w h i c ha p p l i c a t i o n s w i l l s e r v e t h e c o m m u n i t y . Wh e ng a t h e r i n gi n f o r m a t i o n , v e r i f yt h ef a c t st h a t y o ua r eg i v e n . Mo s t o f t e n , l o c a l p a r t n e r s w h o t r u s t y o u w i l l b e v e r y f r a n k , h o n e s t , a n d h e l p f u l . Wh e nl o o k i n g a t p a y m e n t m e t h o d s f o r y o u r n e ww i r e l e s s s e r v i c e , p r e p a i d s e r v i c e s a r e i d e a l , a s t h e y d on o t r e q u i r e a l e g a l c o n t r a c t . C o m m i t m e n t i s a s s u r e d b y t h e i n v e s t m e n t o f f u n d s b e f o r e s e r v i c e i s g i v e n . B u y i na l s o r e q u i r e s t h a t t h o s e i n v o l v e d i n v e s t i nt h e p r o j e c t t h e m s e l v e s . A p r o j e c t s h o u l da s kf o r r e c i p r o c a l i n v o l v e m e n t f r o mt h e c o m m u n i t y . A b o v ea l l , t h e n o g o o p t i o ns h o u l da l w a y s b ee v a l u a t e d . I f al o c a l a l l y a n dc o m m u n i t yb u y i nc a n n o tb eh a d ,t h ep r o j e c ts h o u l dc o n s i d e r c h o o s i n g a d i 1 e r e n t c o m m u n i t y o r b e n e 0 c i a r y . $e r em u s t b ean e g o t i a t i o n ; e q u i p m e n t , m o n e y , a n dt r a i n i n gc a n n o t b e g i f t s . $e c o m m u n i t y m u s t b e i n v o l v e d a n dt h e y t o o m u s t c o n t r i b u t e .

Now read on
I nt h en e x t c h a p t e r s o f t h i ss e c t i o ny o uw i l l 0 n ds o m eo f o u rp r o j e c t s d e s c r i b e d , w h i c hh o p e f u l l y y o u w i l l 0 n d u s e f u l t o l e a r nf r o m . We h a v e n t i n c l u d e dC a s e S t u d i e s f r o me a r l i e r v e r s i o n s o f t h i s b o o k e x c e p t f o r t h e o n e i nV e n e z u e l a w h i c hw a s e x t r e m e l y i n s t r u m e n t a l i ne s t a b l i s h i n g t h ev i a b i l i t yo fl o n gd i s t a n c eo u t d o o rp o i n tt op o i n tl i n k sf o rr u r a l c o n n e c t i v i t y . O n e C a s e S t u d yn o t i n c l u d e di nt h i s s e c t i o nb u t u n d e r t a k e nb y I n v e n e o w h oa r e w o r k i n gc l o s e l yw i t ht h e t e a mi n v o l v e di nw r i t i n gt h i s b o o k c a n b e f o u n da t t h e f o l l o w i n gU R L . L e db y A n d r i s B j o r n s o nw h oi s I n v e n e o ' s C T O , t h e r e i s s o m e v e r y u s e f u l i n f o r m a t i o ni nh i s w r i t e u p o f t h e p r o j e c t . h t t p : / / w w w . i n v e n e o . o r g / 9 0 k m w i r e l e s s l i n k f o r m f a n g a n o i s l a n d /

436

CASE STUDIES

We h o p ey o un o we n j o yr e a d i n ge a c ho f t h e C a s eS t u d i e s f o l l o w i n gt h i s i n t r o . Y o uw i l l s e e w h o w a s i n v o l v e d a n do f c o u r s e t h e i r p r o 0 l e i s i n c l u d e d i nt h e A c k n o w l e d g e m e n t s o f t h i s b o o k . A l lo ft h ea u t h o r sh a v eb e e ni n v o l v e di n0 e l dd e p l o y m e n t sa n da l s o m o n i t o r o u r F a c e b o o kp a g e w h i c hy o u c a n0 n d h e r e . h t t p s : / / w w w . f a c e b o o k . c o m / g r o u p s / w i r e l e s s u S oa sy o ub e g i nt op l a ny o u rn e x td e p l o y m e n t ,p l e a s ed op o s ta n y q u e s t i o n s y o u h a v e f o r t h e e x p e r t s t o r e s p o n d t o .

Case Study: Long Distance 802.11 in Venezuela

437

Case Study: Long Distance 802.11 in Venezuela


Introduction
A l t h o u g ht h i s C a s eS t u d yi s s e v e r a l y e a r s o l dn o w , w e h a v e l e f t i t i nt h i s v e r s i o no f t h e b o o k a s i t s t i l l t o t h i s d a y i s t h e l o n g e s t e v e r s u c c e s s f u l p o i n t t op o i n t o u t d o o r 8 0 2 . 1 1t e s t . H e r ey o uw i l l 0 n dt h e p i o n e e r i n gw o r ko f t h o s ew h oa r es t i l la u t h o r i n gt h i sb o o k .A n di nf a c ts o m eo ft h e p r e p a r a t i o nw o r k i n v o l v e d i nt h e s e t u p o f t h i s t e s t i s s t i l l r e l e v a n t f o r t h o s e p l a n n i n g l o n g d i s t a n c e o u t d o o r l i n k s . E n j o y r e a d i n g !

Background
$a n k st o af a v o u r a b l et o p o g r a p h y , V e n e z u e l aa l r e a d yh a ds o m el o n g r a n g eWL A Nl i n k s , l i k e t h e7 0k ml o n go p e r a t e db yF u n d a c i t eM r i d a b e t w e e nP i c oE s p e j o a n dC a n a g u a . T ot e s t t h el i m i t s o f t h eWi F i t e c h n o l o g y , i t i s n e c e s s a r yt o0 n dap a t h w i t ha nu n o b s t r u c t e dl i n e o f s i g h t a n da c l e a r a n c e o f a t l e a s t 6 0 %o f t h e 0 r s t F r e s n e l z o n e . Wh i l e l o o k i n g a t t h e t e r r a i ni nV e n e z u e l a , i ns e a r c ho f a s t r e t c hw i t hh i g h e l e v a t i o na t t h ee n d s a n dl o wg r o u n di nb e t w e e n , I 0 r s t f o c u s e di nt h e G u a y a n ar e g i o n . A l t h o u g hp l e n t yo f h i g hg r o u n d sa r et ob ef o u n d , i n p a r t i c u l a rt h ef a m o u s" t e p u y s "( t a l l m e s a sw i t hs t e e pw a l l s ) , t h e r ew e r e a l w a y s o b s t a c l e s i nt h e m i d d l e g r o u n d . My a t t e n t i o ns h i f t e dt ot h e A n d e s , w h o s e s t e e ps l o p e s ( r i s i n ga b r u p t l yf r o mt h ep l a i n s ) p r o v e da d e q u a t ef o r t h et a s k .F o rs e v e r a ly e a r s ,I h a v eb e e nt r a v e l l i n gt h r o u g hs p a r s e l y p o p u l a t e da r e a s d u et om yp a s s i o nf o r m o u n t a i nb i k i n g . I nt h eb a c ko f m yh e a d , Ik e p tar e c o r do f t h es u i t a b i l i t yo fd i 1 e r e n ts p o t sf o rl o n g d i s t a n c e c o m m u n i c a t i o n s . P i c od e l A g u i l a i s a no u t s t a n d i n gp l a c e f o r l o n gd i s t a n c e c o m m u n i c a t i o n . I t h a s a na l t i t u d e o f 4 1 0 0 ma n di s a b o u t a t w o h o u r d r i v e f r o mm y h o m e t o w no f M r i d a . F o r t h e o t h e r e n d , I 0 n a l l y l o c a t e dt h e t o w no f E l B a l , i nC o j e d e s S t a t e .

438

CASE STUDIES

U s i n g t h e f r e e s o f t w a r e R a d i oMo b i l e ( a v a i l a b l e a t h t t p : / / w w w . c p l u s . o r g / r m w / e n g l i s h 1 . h t m l ) I f o u n dt h a t t h e r e w a s n o o b s t r u c t i o no f t h e 0 r s t F r e s n e l z o n e , o v e r a2 8 0 k mp a t h b e t w e e n P i c o d e l A g u i l a a n dE l B a l .

Action Plan
O n c e s a t i s 0 e dw i t ht h e e x i s t e n c e o f a s u i t a b l e t r a j e c t o r y , w e l o o k e da t t h e e q u i p m e n t n e e d e dt o a c h i e v e t h e g o a l . We h a v e b e e nu s i n g O r i n o c o c a r d s f o r a n u m b e r o f y e a r s . S p o r t i n ga no u t p u t p o w e r o f 1 5d B ma n dr e c e i v e t h r e s h o l do f 8 4d B m , t h e y a r e r o b u s t a n dt r u s t w o r t h y . $e f r e e s p a c e l o s s a t 2 8 0k mi s 1 4 9d B . S o , w ew o u l dn e e d3 0d B i a n t e n n a s a t b o t he n d s a n de v e nt h a t w o u l d l e a v e v e r y l i t t l e m a r g i nf o r o t h e r l o s s e s . O nt h e o t h e r h a n d , t h e L i n k s y s WR T 5 4 Gw i r e l e s s r o u t e r r u n s L i n u x . $e O p e nS o u r c e c o m m u n i t yh a s w r i t t e ns e v e r a l 0 r m w a r e v e r s i o n s f o r i t t h a t a l l o wf o r c o m p l e t e c u s t o m i s a t i o no f e v e r y t r a n s m i s s i o np a r a m e t e r . I np a r t i c u l a r ,O p e n WR T0 r m w a r ea l l o w sf o rt h ea d j u s t m e n to ft h e a c k n o w l e d g m e n tt i m eo f t h eMA Cl a y e r , a sw e l l a st h eo u t p u t p o w e r . A n o t h e r 0 r m w a r e , D DWR T , h a s a G U I i n t e r f a c e a n da v e r y c o n v e n i e n t s i t e s u r v e y u t i l i t y . F u r t h e r m o r e , t h eL i n k s y sc a nb el o c a t e dc l o s e rt ot h ea n t e n n at h a na l a p t o p . S o , w e d e c i d e dt og o w i t ha p a i r o f t h e s e b o x e s . O n e w a s c o n 0 g u r e da s a n A P( a c c e s s p o i n t ) a n dt h e o t h e r a s a c l i e n t . $e WR T 5 4 Gc a no p e r a t e a t 1 0 0 m Wo u t p u t p o w e r w i t h g o o d l i n e a r i t y , a n dc a ne v e nb e p u s h e du pt o 2 0 0 m W. B u ta tt h i sv a l u e , n o nl i n e a r i t yi sv e r ys e v e r ea n ds p u r i o u ss i g n a l sa r e g e n e r a t e d , w h i c hs h o u l db e a v o i d e d . A l t h o u g ht h i s i s c o n s u m e r g r a d ee q u i p m e n t a n dq u i t e i n e x p e n s i v e , a f t e r y e a r s o f u s i n g i t , w e f e l t c o n 0 d e n t t h a t i t c o u l ds e r v e o u r p u r p o s e . O f c o u r s e , w e k e p t a s p a r e s e t h a n d y j u s t i nc a s e . B ys e t t i n gt h eo u t p u t p o w e r t o1 0 0m W( 2 0d B m ) , w ec o u l do b t a i na 5 d Ba d v a n t a g e c o m p a r e dw i t ht h e O r i n o c o c a r d . $e r e f o r e , w e s e t t l e d f o r a p a i r o f WR T 5 4 G s .

Case Study: Long Distance 802.11 in Venezuela

439

Pico del Aguila Site Survey


O nJ a n u a r y1 5 , 2 0 0 6 , I w e n t t oP i c o g u i l at oc h e c ko u t t h es i t et h a t R a d i oMo b i l e h a dr e p o r t e da s s u i t a b l e . $e a z i m u t ht o w a r d s E l B a l i s 8 6 , b u t s i n c e t h e m a g n e t i c d e c l i n a t i o ni s 8 1 6 , o u r a n t e n n a s h o u l db e p o i n t e d t o a m a g n e t i c b e a r i n g o f 9 4 . U n f o r t u n a t e l y ,w h e n Il o o k e dt o w a r d s9 4 ,If o u n dt h el i n eo fs i g h t o b s t r u c t e db y a no b s t a c l e t h a t h a dn o t b e e ns h o w nb y t h e s o f t w a r e , d u e t o t h e l i m i t e dr e s o l u t i o no f t h e d i g i t a l e l e v a t i o nm a p s t h a t a r e f r e e l y a v a i l a b l e . Ir o d em ym o u n t a i nb i k ef o rs e v e r a l h o u r se x a m i n i n gt h es u r r o u n d i n g a r e al o o k i n gf o rac l e a rp a t ht o w a r d st h eE a s t . S e v e r a l p r o m i s i n gs p o t s w e r ei d e n t i 0 e d , a n df o re a c ho f t h e m It o o kp h o t o sa n dr e c o r d e dt h e c o o r d i n a t e sw i t h aG P Sf o rl a t e rp r o c e s s i n gw i t ht h eR a d i o Mo b i l e s o f t w a r e . $i s l e dm e t or e 0 n em yp a t hs e l e c t i o n , r e s u l t i n gi nt h e o n ed e p i c t e di n F i g u r e C s L D1 u s i n g G o o g l e E a r t h :

F i g u r e C s L D1 : V i e wo f t h e 2 8 0 k ml i n k . Ma r a c a i b o s L a k e i s t o t h e W e s t , a n d t h e P e n i n s u l a o f P a r a g u a n i s t o t h e N o r t h .

440

CASE STUDIES

$e r a d i o p r o 0 l e o b t a i n e dw i t hR a d i oMo b i l e i s s h o w ni nF i g u r e C s L D2 :

F i g u r e C s L D2 : Ma p a n d p r o C l e o f t h e p r o p o s e d p a t h b e t w e e nP i c o A g u i l a , a n d Mo r r o c o y H i l l , n e a r t h e t o w no f E l B a l . $e d e t a i l s o f t h e w i r e l e s s l i n k a r e d i s p l a y e di nF i g u r e C s L D3 :

F i g u r e C s L D3 : P r o p a g a t i o n d e t a i l s o f t h e 2 8 0 k ml i n k .

Case Study: Long Distance 802.11 in Venezuela

441

I no r d e r t oa c h i e v e ar e a s o n a b l em a r g i no f s o m e 1 2d Bf o r t h e l i n k , w e n e e d e da n t e n n a s w i t ha t l e a s t 3 0 d B i g a i na t e a c he n d .

Antennas
H i g hg a i na n t e n n a sf o rt h e2 . 4G Hz b a n dw e r en o ta v a i l a b l ei n V e n e z u e l a . $ ei m p o r tc o s t sa r ec o n s i d e r a b l e ,s ow ed e c i d e di n s t e a dt or e c y c l e p a r a b o l i cr e W e c t o r s ( f o r m e r l yu s e df o r as a t e l l i t es e r v i c e ) a n dr e p l a c et h e f e e dw i t ho n ed e s i g n e df o r 2 . 4G Hz . We p r o v e dt h e c o n c e p t w i t ha n8 0 c md i s h . $ eg a i nw a sw a yt o ol o w , s ow et r i e da no 1 s e tf e d2 . 4m r e W e c t o r .$ i so 1 e r e da m p l eg a i n ,a l b e i tw i t hs o m ed i N c u l t i e si nt h e a i m i n g o f t h e 3 . 5 b e a m . $e 2 2 . 5 o 1 s e t m e a n t t h a t t h e d i s ha p p e a r e dt o b e p o i n t i n g d o w n w a r d s w h e ni t w a s h o r i z o n t a l l y a l i g n e d . S e v e r a l t e s t s w e r e p e r f o r m e du s i n g v a r i o u s c a n t e n n a s a n da 1 2 d B i Y a g i a s a f e e d . We p o i n t e dt h e a n t e n n a a t a b a s e s t a t i o no f t h e u n i v e r s i t y w i r e l e s s n e t w o r k t h a t w a s l o c a t e d1 1 k ma w a y o na 3 5 0 0 mm o u n t a i n . $e t e s t s i t e s i t s a t 2 0 0 0 ma n dt h e r e f o r e t h e e l e v a t i o na n g l e i s 8 . B e c a u s e o f t h e o 1 s e t f e e d , w e p o i n t e dt h e d i s h1 4 d o w n w a r d , a s c a nb e s e e ni nt h e f o l l o w i n g p i c t u r e :

F i g u r e C s L D4 : 2 . 4 mo > s e t f e d r e E e c t o r w i t h a 1 2 d B i a n t e n n a a t i t s f o c u s , l o o k i n g 1 4 d o w n . e a c t u a l e l e v a t i o ni s 8 u p .

442

CASE STUDIES

We w e r e a b l e t oe s t a b l i s ha l i n kw i t ht h e b a s e s t a t i o na t A g u a d a , b u t o u r e 1 o r t st om e a s u r et h eg a i no ft h es e t u pu s i n gN e t s t u m b l e rw e r en o t s u c c e s s f u l . $e r e w a s t o o m u c hW u c t u a t i o no n t h e r e c e i v e dp o w e r v a l u e s o f l i v e t r a N c . F o r a m e a n i n g f u l m e a s u r e m e n t o f t h e g a i n , w e n e e d e das i g n a l g e n e r a t o r a n da s p e c t r u ma n a l y s e r . $e s e i n s t r u m e n t s w e r e a l s o r e q u i r e df o r t h e 0 e l d t r i pi no r d e r t o a l i g nt h e a n t e n n a s p r o p e r l y . Wh i l e w a i t i n g f o r t h e r e q u i r e de q u i p m e n t , w e l o o k e df o r a na n t e n n a t o b e u s e da t t h eo t h e r e n d , a n da l s oap o i n t i n gs y s t e mb e t t e r s u i t e dt ot h e n a r r o wr a d i o b e a mo f a h i g hg a i na n t e n n a . I nF e b r u a r y2 0 0 6 ,It r a v e l l e dt oT r i e s t et op a r t i c i p a t ei nt h ea n n u a l w i r e l e s s t r a i n i n g e v e n t t h a t I h a v e b e e na t t e n d i n g s i n c e 1 9 9 6 . Wh i l e t h e r e , Im e n t i o n e dt h ep r o j e c tt om yc o l l e a g u eC a r l oF o n d a ,w h ow a s i m m e d i a t e l y t h r i l l e da n de a g e r t o p a r t i c i p a t e . $e c o l l a b o r a t i o nb e t w e e nt h eL a t i nA m e r i c a nN e t w o r k i n gS c h o o l ( E s L a R e d )a n dt h eA b d u sS a l a mI n t e r n a t i o n a lC e n t r ef o r$ e o r e t i c a l P h y s i c s ( I C T P ) g o e s b a c kt o1 9 9 2 , w h e nt h e 0 r s t N e t w o r k i n g S c h o o l w a s h e l di nM r i d a w i t hI C T Ps u p p o r t . S i n c et h e n , m e m b e r so fb o t hi n s t i t u t i o n sh a v ec o l l a b o r a t e do ns e v e r a l a c t i v i t i e s . S o m eo ft h e s ei n c l u d ea na n n u a l t r a i n i n gs c h o o l o nw i r e l e s s n e t w o r k i n g( o r g a n i z e db yI C T P )a n da n o t h e ro nc o m p u t e rn e t w o r k s ( o r g a n i z e db yE s L a R e d ) t h a t a r eh o s t e di ns e v e r a l c o u n t r i e s t h r o u g h o u t L a t i nA m e r i c a . A c c o r d i n g l y , i t w a s n o t d i N c u l t t op e r s u a d eP r o f e s s o rS a n d r oR a d i c e l l a , t h e h e a do f t h e A e r o n o m y a n dR a d i oP r o p a g a t i o nL a b o r a t o r ya t I C T P , t o s u p p o r tC a r l oF o n d a st r i pi ne a r l yA p r i lt oV e n e z u e l ai no r d e rt o p a r t i c i p a t e i nt h e e x p e r i m e n t . B a c ka t h o m e , I f o u n da 2 . 7 5m p a r a b o l i c c e n t r a l f e dm e s ha n t e n n a a t a n e i g h b o u r s h o u s e . Mr . I s m a e l S a n t o s g r a c i o u s l yl e n t h i s a n t e n n af o r t h e e x p e r i m e n t . F i g u r e C s L D5 s h o w s t h e d i s a s s e m b l y o f t h e m e s h r e W e c t o r .

Case Study: Long Distance 802.11 in Venezuela

443

F i g u r e C s L D5 : C a r l o a n d E r m a n n o d i s a s s e m b l i n g t h e s a t e l l i t e d i s h s u p p l i e db y Mr . I s m a e l S a n t o s . We e x c h a n g e dt h e f e e df o r a 2 . 4 G Hz o n e , a n da i m e dt h e a n t e n n a a t a s i g n a l g e n e r a t o rt h a tw a sl o c a t e do nt o po fal a d d e rs o m e3 0m a w a y . Wi t ha s p e c t r u ma n a l y s e r , w e m e a s u r e dt h e m a x i m u mo f t h e s i g n a l a n dl o c a t e dt h e f o c u s . We a l s o p i n p o i n t e dt h e b o r e s i g h t f o r b o t ht h e c e n t r a l f e da n dt h e o 1 s e t a n t e n n a s . T h i s i s s h o w ni nF i g u r e C s L D6 :

F i g u r e C s L D6 : F i n d i n g t h e f o c u s o f t h e a n t e n n a s w i t h t h e 2 . 4 G H z f e e d

444

CASE STUDIES

Wea l s oc o m p a r e dt h ep o w e r o f t h er e c e i v e ds i g n a l w i t ht h eo u t p u t o f a c o m m e r c i a l 2 4d B i a n t e n n a . $i s s h o w e dad i 1 e r e n c e o f 8d B , w h i c hl e du s t ob e l i e v e t h a t t h e o v e r a l l g a i no f o u r a n t e n n a w a s a b o u t 3 2d B i . O f c o u r s e , t h e r e i s s o m e u n c e r t a i n t y a b o u t t h i s v a l u e . We w e r e r e c e i v i n g r e W e c t e ds i g n a l s , b u t t h e v a l u e a g r e e dw i t ht h e c a l c u l a t i o nf r o mt h e a n t e n n a d i m e n s i o n .

El B a l Site Survey
O n c ew ew e r es a t i s 0 e dw i t ht h ep r o p e rf u n c t i o n i n ga n da i m o fb o t h a n t e n n a s , w e d e c i d e dt od o a s i t e s u r v e y a t t h e o t h e r e n do f t h e E l B a l l i n k . C a r l oF o n d a , G a y a F i o r a n dE r m a n n oP i e t r o s e m o l i r e a c h e dt h e s i t e o nA p r i l 8 t h . $e f o l l o w i n gd a y , w e f o u n da h i l l ( s o u t ho f t h e t o w n ) w i t ht w o t e l e c o m t o w e r s f r o mt w oc e l l p h o n e o p e r a t o r s a n do n e b e l o n g i n g t ot h e Ma j o r o f E l B a l . $e h i l l o f Mo r r o c o yi s s o m e 7 5m a b o v e t h e s u r r o u n d i n ga r e a , a b o u t 1 5 5m a b o v es e al e v e l . I t p r o v i d e s a nu n o b s t r u c t e dv i e wt o w a r d s E l A g u i l a . $e r e i s ad i r t r o a dt ot h e t o p , a m u s t f o r o u r p u r p o s e , g i v e nt h e w e i g h t o f t h e a n t e n n a .

P e r f o r m i n gt h e e x p e r i m e n t
O nWe d n e s d a y A p r i l 1 2 t h , J a v i e r T r i v i o a n dE r m a n n oP i e t r o s e m o l i t r a v e l l e d t o w a r d s B a l w i t ht h eo 1 s e t a n t e n n al o a d e do nt o po f af o u r w h e e l d r i v e t r u c k . E a r l yi nt h em o r n i n go fA p r i l 1 3 t h , w ei n s t a l l e dt h ea n t e n n aa n d p o i n t e di t a t ac o m p a s s b e a r i n g o f 2 7 6 , g i v e nt h a t t h e d e c l i n a t i o ni s 8 a n d t h e r e f o r et h et r u eA z i m u t hi s2 6 8 .A tt h es a m et i m e ,t h eo t h e rt e a m ( c o m p o s e db yC a r l oF o n d aa n dG a y aF i o rf r o mI C T P , w i t ha s s i s t a n c eo f F r a n c oB e l l a r o s a ,L o u r d e sP i e t r o s e m o l ia n dJ o s T r i v i o )r o d et ot h e p r e v i o u s l y s u r v e y e da r e a a t P i c od e l A g u i l a i na B r o n c ot r u c kt h a t c a r r i e dt h e 2 . 7 mm e s h a n t e n n a .

F i g u r e C s L D7 : P i c o d e l g u i l a a n d s u r r o u n d s m a p w i t h B r o n c o t r u c k .

Case Study: Long Distance 802.11 in Venezuela

445

P o o r w e a t h e r i s c o m m o na t a l t i t u d e s o f 4 1 0 0m a b o v es e al e v e l . $e A g u i l a t e a mw a s a b l e t oi n s t a l l a n dp o i n t t h e m e s ha n t e n n a b e f o r e t h e f o ga n ds l e e t b e g a n . F i g u r eC s L D 8s h o w st h ea n t e n n aa n dt h er o p eu s e da sa na i di n a i m i n gt h e3 r a d i ob e a m . P o w e r f o r t h es i g n a l g e n e r a t o r w a s s u p p l i e df r o m t h et r u c kb ym e a n s o f a1 2V D Ct o1 2 0V A Ci n v e r t e r . A t 1 1A . Mi nE l B a l , w ew e r ea b l et oo b s e r v ea8 2d B ms i g n a l a t t h ea g r e e du p o n2 4 5 0 MHz f r e q u e n c yu s i n gt h es p e c t r u ma n a l y s e r . T ob es u r ew eh a df o u n dt h e p r o p e r s o u r c e , w e a s k e dC a r l ot os w i t c ho 1t h e s i g n a l . I n d e e d , t h et r a c eo n t h e s p e c t r u ma n a l y s e r s h o w e do n l yn o i s e . $i s c o n 0 r m e dt h a t w e w e r e r e a l l y s e e i n g t h e s i g n a l t h a t o r i g i n a t e ds o m e 2 8 0k ma w a y . A f t e r t u r n i n gt h e s i g n a l g e n e r a t o r o na g a i n , w e p e r f o r m e da0 n e t u n i n gi ne l e v a t i o na n da z i m u t ha t b o t he n d s .O n c ew ew e r es a t i s 0 e dt h a tw eh a da t t a i n e dt h em a x i m u m r e c e i v e ds i g n a l , C a r l or e m o v e dt h es i g n a l g e n e r a t o ra n dr e p l a c e di t w i t ha L i n k s y sWR T 5 4 G w i r e l e s sr o u t e rc o n 0 g u r e da sa na c c e s sp o i n t .J a v i e r s u b s t i t u t e dt h es p e c t r u m a n a l y s e ro no u re n df o ra n o t h e r WR T 5 4 G c o n 0 g u r e da s a c l i e n t .

F i g u r e C s L D8 : A i m i n g t h e a n t e n n a a t e l g u i l a . A to n c e ,w es t a r t e dr e c e i v i n g" b e a c o n s "b u tp i n gp a c k e t sd i dn o tg e t t h r o u g h . $i s w a s e x p e c t e d , s i n c e t h e p r o p a g a t i o nt i m e o f t h e r a d i ow a v e o v e r a 3 0 0k ml i n ki s 1m s . I t t a k e s a t l e a s t 2m s f o r a na c k n o w l e d g m e n t t or e a c ht h et r a n s m i t t e r . F o r t u n a t e l y , t h eO p e n WR T0 r m w a r ea l l o w s f o r a d j u s t i n gt h eA C Kt i m i n g .A f t e rC a r l oa d j u s t e df o rt h e3 o r d e r so f m a g n i t u d ei n c r e a s ei nd e l a ya b o v ew h a t t h es t a n d a r dWi F i l i n ke x p e c t s ,

446

CASE STUDIES

w e b e g a nr e c e i v i n g p a c k e t s w i t ha d e l a y o f a b o u t 5 m s .

F i g u r e C s L D9 : E l B a l a n t e n n a i n s t a l l a t i o n . A c t u a l e l e v a t i o nw a s 1 u p w a r d , s i n c e t h e a n t e n n a h a s a n o > s e t o f 2 2 . 5 .
Wep r o c e e d e dt ot r a n s f e rs e v e r a lP D F0 l e sb e t w e e nC a r l o sa n dJ a v i e r s l a p t o p s . $e r e s u l t s a r e s h o w ni nF i g u r e C s L D1 0 .

F i g u r e C s L D1 0 : S c r e e n s h o t o f J a v i e r s l a p t o p s h o w i n g d e t a i l s o f P D FC l e t r a n s f e r f r o mC a r l o s l a p t o p 2 8 0 k ma w a y , u s i n g t w o WR T 5 4 Gw i r e l e s s r o u t e r s , n o a m p l i C e r s .

Case Study: Long Distance 802.11 in Venezuela

447

N o t e t h e p i n g t i m e o f a f e wm i l l i s e c o n d s .

F i g u r e C s L D1 1 : J a v i e r T r i v i o ( r i g h t ) a n d E r m a n n o P i e t r o s e m o l i b e a m i n g f r o mt h e E l B a l a n t e n n a .

F i g u r e C s L D1 2 : C a r l o F o n d a a t t h e A g u i l a S i t e

448

CASE STUDIES

Mrida, Venezuela, 17 April 2006.


O n ey e a r a f t e rp e r f o r m i n gt h ee x p e r i m e n t j u s t d e s c r i b e d , w ef o u n dt h e t i m e a n dr e s o u r c e s t o r e p e a t i t . Weu s e dc o m m e r c i a l3 0d B ia n t e n n a s , a n da l s oac o u p l eo fw i r e l e s s r o u t e r sw h i c hh a db e e nm o d i 0 e db yt h eT I E Rg r o u pl e db yD r . E r i c B r e w e r o f B e r k e l e y U n i v e r s i t y . $e p u r p o s e o f t h e m o d i 0 c a t i o no f t h e s t a n d a r dWi F i MA Ci s t om a k e i t s u i t a b l ef o rl o n gd i s t a n c ea p p l i c a t i o n sb yr e p l a c i n gt h eC S MA Me d i a A c c e s s C o n t r o l w i t hT D MA . $e l a t t e r i s b e t t e r s u i t e df o r l o n gd i s t a n c e p o i n t t o p o i n t l i n k s s i n c e i t d o e s n o t r e q u i r e t h e r e c e p t i o no f A C K s . $i s e l i m i n a t e s t h e n e e dt ow a i t f o r t h e 2 m s r o u n dt r i pp r o p a g a t i o nt i m e o n a 3 0 0 k mp a t h . O nA p r i l 2 8 t h , 2 0 0 7 , at e a mf o r m e db yJ a v i e r T r i v i o , J o s T o r r e s a n d F r a n c i s c oT o r r e s i n s t a l l e do n e o f t h e a n t e n n a s a t E l A g u i l a s i t e . $e o t h e r t e a m , f o r m e db y L e o n a r d oG o n z l e z V . , L e o n a r d oG o n z l e z G . , A l e j a n d r o G o n z l e za n dE r m a n n oP i e t r o s e m o l i , i n s t a l l e dt h eo t h e r a n t e n n aa tE l B a l . As o l i dl i n kw a s q u i c k l ye s t a b l i s h e du s i n gt h e L i n k s y s WR T 5 4 Gr o u t e r s . $i s a l l o w e df o r v i d e ot r a n s m i s s i o na t a m e a s u r e dt h r o u g h p u t o f 6 5 k b p s . Wi t ht h e T D MA r o u t e r s , t h e m e a s u r e dt h r o u g h p u t w a s 3Mb p s i ne a c h d i r e c t i o n . $i s p r o d u c e dt h e t o t a l o f 6 Mb p s a s p r e d i c t e db y t h e s i m u l a t i o n s d o n e a t B e r k e l e y .

Can we do better?
$r i l l e db yt h e s e r e s u l t s , w h i c hp a v et h ew a yf o r r e a l l yi n e x p e n s i v el o n g d i s t a n c eb r o a d b a n dl i n k s , t h es e c o n dt e a mm o v e dt oa n o t h e rl o c a t i o n p r e v i o u s l y i d e n t i 0 e da t 3 8 2 k mf r o mE l A g u i l a , i na p l a c e c a l l e dP l a t i l l n . P l a t i l l ni s1 5 0 0m a b o v es e al e v e l a n dt h e r ei sa nu n o b s t r u c t e d0 r s t F r e s n e l z o n e t o w a r d s E l A g u i l a ( l o c a t e da t 4 2 0 0 ma b o v e s e a l e v e l ) . $e p r o p o s e dp a t hi s s h o w ni nF i g u r e C s L D1 3 :

Case Study: Long Distance 802.11 in Venezuela

449

F i g u r e C s L D1 3 : Ma p a n d p r o C l e o f t h e 3 8 0 k mp a t h . A g a i n , t h el i n kw a s q u i c k l ye s t a b l i s h e dw i t ht h eL i n k s y s a n dt h eT I E R s u p p l i e dr o u t e r s . $e L i n k s y s l i n ks h o w e da p p r o x i m a t e l y1 %p a c k e t l o s s , w i t ha na v e r a g e r o u n dt r i pt i m e o f 1 2 m s . $e T I E R e q u i p m e n ts h o w e dn op a c k e tl o s s ,w i t hu n i d i r e c t i o n a l p r o p a g a t i o nt i m e s o f 1 m s . $i s a l l o w e df o r v i d e o t r a n s m i s s i o n , b u t t h e l i n k w a s n o t s t a b l e . Wen o t i c e dc o n s i d e r a b l es i g n a lW u c t u a t i o n st h a to f t e ni n t e r r u p t e dt h e c o m m u n i c a t i o n . H o w e v e r , w h e nt h er e c e i v e ds i g n a l w a sa b o u t7 8d B m , t h em e a s u r e d t h r o u g h p u t w a s at o t a l o f 6Mb p s b i d i r e c t i o n a l w i t ht h eT I E Rr o u t e r s i m p l e m e n t i n g T D MA .

450

CASE STUDIES

F i g u r e C s L D1 4 : e t e a ma t e l A g u i l a , J o s T o r r e s ( l e f t ) , J a v i e r T r i v i o ( c e n t r e ) a n d F r a n c i s c o T o r r e s ( r i g h t ) . A l t h o u g hf u r t h e r t e s t s m u s t b e c o n d u c t e dt oa s c e r t a i nt h e l i m i t s f o r s t a b l e t h r o u g h p u t , w ea r ec o n 0 d e n t t h a t Wi F i h a sag r e a t p o t e n t i a l f o r l o n g d i s t a n c e b r o a d b a n dc o m m u n i c a t i o n . I t i s p a r t i c u l a r l yw e l l s u i t e df o r r u r a l a r e a sw e r et h es p e c t r u mi ss t i l l n o tc r o w d e da n di n t e r f e r e n c ei sn o ta p r o b l e m , p r o v i d e d t h e r e i s g o o d r a d i o l i n e o f s i g h t .

Acknowledgments
Wew i s ht oe x p r e s s o u rg r a t i t u d et oMr . I s m a e l S a n t o s f o r l e n d i n gt h e m e s ha n t e n n a t ob e i n s t a l l e da t E l A g u i l a a n dt oE n g . A n d r s P i e t r o s e m o l i f o r s u p p l y i n gt h es p e c i a l s c a 1 o l d i n gj o i n t s u s e df o r t h ei n s t a l l a t i o na n d t r a n s p o r t a t i o no f t h e a n t e n n a s . We ' da l s ol i k et ot h a n kt h eA b d u sS a l a m I n t e r n a t i o n a lC e n t r eo f $e o r e t i c a lP h y s i c sf o rs u p p o r t i n gC a r l oF o n d a st r i pf r o m I t a l yt o V e n e z u e l a .

Case Study: Long Distance 802.11 in Venezuela

451

F i g u r e C s L D1 5 : e t e a ma t P l a t i l l o n . F r o ml e f t t o r i g h t : L e o n a r d o G o n z l e z V . , L e o n a r d o G o n z l e z G . , E r m a n n o P i e t r o s e m o l i a n d A l e j a n d r o G o n z l e z . $e 2 0 0 6 e x p e r i m e n t w a s p e r f o r m e db y E r m a n n oP i e t r o s e m o l i , J a v i e r T r i v i o f r o mE s L a R e d , C a r l oF o n d a , a n dG a y aF i o r f r o mI C T P . Wi t ht h eh e l po f F r a n c oB e l l a r o s a , L o u r d e s P i e t r o s e m o l i , a n dJ o s T r i v i o . F o r t h e 2 0 0 7 e x p e r i m e n t s , D r . E r i c B r e w e r f r o mB e r k e l e y U n i v e r s i t y p r o v i d e d t h ew i r e l e s sr o u t e r sw i t ht h em o d i 0 e dMA Cf o rl o n gd i s t a n c e , a sw e l l a s e n t h u s i a s t i cs u p p o r tt h r o u g hh i sc o l l a b o r a t o r ,S o n e s hS u r a n a .R e d U L A , C P T M, D i r e c c i nd e S e r v i c i o s U L AU n i v e r s i d a dd e l o s A n d e s a n dF u n d a c i t e M r i d a c o n t r i b u t e d t ot h i s t r i a l . $e s e c o n de x p e r i m e n t w o r k w a s f u n d e db y C a n a d a ' s I D R C. R e f e r e n c e s : F u n d a c i nE s c u e l aL a t i n o a m e r i c a n ad eR e d e s , L a t i nA m e r i c a nN e t w o r k i n g S c h o o l , h t t p : / / w w w . e s l a r e d . o r g . v e / A b d u s S a l a mI n t e r n a t i o n a l C e n t r e f o r $e o r e t i c a l P h y s i c s , h t t p : / / w i r e l e s s . i c t p . i t / O p e n WR TO p e nS o u r c e 0 r m w a r e f o r L i n k s y s , h t t p : / / o p e n w r t . o r g / w w w . i d r c . c a F u n d a c i t eM r i d a , h t t p : / / w w w . f u n d a c i t e m e r i d a . g o b . v e / E r m a n n oP i e t r o s e m o l i

452

CASE STUDIES

Case St ud y : P isces P roject


S o l a r P o w e r e dWi 0L i n k s i nMi c r o n e s i a B y B r u c e B a i k i e a n dL a u r a H o s m a n , a s s i s t e di nt h e f i e l db y Ma r c o Z e n n a r oa n dE r m a n n oP i e t r o s e m o l i f r o mI c t p .
T w ol o n g d i s t a n c e , s o l a r p o w e r e dw i r e l e s s p o i n t t o p o i n t c o n n e c t i o n s w e r e s e t u p i nt h e Mi c r o n e s i a nR e g i o no f t h e P a c i 0 c i ne a r l y A u g u s t 2 0 1 2 a s p a r t o f t h e P a c i 0 c I s l a n dS c h o o l s C o n n e c t i v i t y , E d u c a t i o n , a n dS o l a r ( P I S C E S ) P r o j e c t ( h t t p : / / w w w . p i s c e s p a c i 0 c . o r g / l i v e s i t e / ) , a m u l t i p a r t n e r e de n d e a v o u r f o c u s e do nt r a i n i n g a n dl o c a l c a p a c i t y b u i l d i n g v i s v i s s o l a r p o w e r e d i n f o r m a t i o na n dc o m m u n i c a t i o n s t e c h n o l o g y ( I C T ) w i t h i nt h e P a c i 0 c r e g i o n .

F i g u r e C S P1 : H a n d s O n T r a i n i n g $ e0 r s t h a l f o f t h eP I S C E Sp r o j e c t w a s ah a n d s o nt r a i n i n gw o r k s h o po n S o l a r p o w e r e dl o n g d i s t a n c e Wi F i t e c h n o l o g y a t t h e U n i v e r s i t y o f G u a m . $ ew o r k s h o pf o c u s e do n Wi F it e c h n o l o g y ,s t a n d a r d s ,s o l a rp o w e r ,s i t e s u r v e y s , p r o j e c t s a f e t y , a n dl i n k p l a n n i n g t o o l s . $ ew o r k s h o pp r o v i d e dp l e n t yo fo p p o r t u n i t i e sf o rh a n d s o ne x p e r i e n c e s , w i t he a c ha f t e r n o o n s a c t i v i t yc o n s i s t i n go f ao n e t o t h r e e h o u r l a bi nw h i c h s t u d e n t s a c t u a l i s e d t h e p r a c t i c a l i n f o r m a t i o nf r o mt h e m o r n i n g s l e c t u r e . O nt h e0 n a l d a y , t h es t u d e n t s s e t u pas o l a rp o w e r e dp o i n t t op o i n t h i g h b a n d w i d t hl i n ki nt h eC e n t r ef o rI s l a n dS u s t a i n a b i l i t y , r e p l a c i n ga no l d e r , s l o w e r l i n k t o t h e I n t e r n e t .

Case Study: Pisces Project

453

F i g . C S P2 : An e wf a s t e r I n t e r n e t c o n n e c t i o nf o r t h e C e n t r e f o r I s l a n d S u s t a i n a b i l i t y F o r t h e s e c o n dh a l f o f t h e P I S C E Sp r o j e c t , t h e t e a mt r a v e l l e dt oC h u u k , o n e o ft h eF e d e r a t e dS t a t e so fMi c r o n e s i a( F S M) , a n di n s t a l l e db o t has o l a r p o w e r e dl o n gd i s t a n c e Wi F i I n t e r n e t c o n n e c t i o na n da S o l a r C o m p u t e r L a b i n a B o xa t ap r i m a r ys c h o o l o nap r e v i o u s l yu n c o n n e c t e di s l a n d , U d o t , i n t h e C h u u k l a g o o n .

F i g u r e C S P3 : e I n t e r n e t c o n n e c t i o nf o r t h e U d o t S c h o o l o r i g i n a t e d f r o m C h u u k s m a i n I s l a n d , W e n o , 1 5 k ma w a y .

454

CASE STUDIES

F i g u r e C S P4 : Mo u n t i n g t h e p o l e m a s t i n U d o t $e U b i q u i t i N e t w o r k s Wi F i h a r d w a r e i n s t a l l e di nWe n ow a s m o u n t e d o n t h e3 r ds t o r yr o o fo ft h eT r u kS t o pH o t e l , w h i c ho 1 e r e dt h eh e i g h t n e c e s s a r yf o rl i n e o f s i g h tt op r o v i d ec o n n e c t i v i t ya c r o s st h eC h u u k L a g o o nt oU d o t I s l a n d . $e s i n g l e l e v e l s c h o o l o nU d o t r e q u i r e da4 0 f o o t ( 1 2m ) p o l e m a s t o n w h i c ht o m o u n t t h e U b i q u i t i N e t w o r k s WI F I a n t e n n a / r a d i o . L o c a l c o m m u n i t ym e m b e r s j o i n e di nt oh e l pw h e nt h eh e f t o f t h ep o l e m a s t p r o v e dt o o h e a v y f o r t h e P I S C E S t e a mt o r a i s e a l o n e . Wi t ht e a mm e m b e r so ne a c hi s l a n d ,t h ea n t e n n a sw e r el i n e du pa n d c o n n e c t e d t o e a c ho t h e r . $e n e t w o r kw a s t h e nr o u t e dt h r o u g ha l o c a l D S LI n t e r n e t c o n n e c t i o nt o p r o v i d eI n t e r n e t c o n n e c t i v i t yt ot h es c h o o l , a n dt h es u r r o u n d i n gl o c a l c o m m u n i t y .
E a c hWi F i u n i t i s p o w e r e dw i t ha s o l a r p h o t o v o l t a i c s y s t e m , w h i c hc o n s i s t s o f a3 0w a t ts o l a rp a n e l f r o mS o l a r L a n dU S A ,s o l a rc h a r g ec o n t r o l l e rw i t h P o w e r o v e r E t h e r n e t , a n d3 8 a m ph o u r s o f b a t t e r y b a c ku p .

Case Study: Pisces Project

455

F i g u r e C S P5 : U d o t $ eu n i q u eS o l a r C o m p u t e r L a b i n a B o xd e p l o y e da t U d o t s c h o o l w a s d e v e l o p e db y s t u d e n t s a t I l l i n o i s I n s t i t u t e o f T e c h n o l o g y . $i s t u r n k e yc o m p u t e r l a bi s d e s i g n e dt ob ea s c l o s e t op l u g a n d p l a ya s p o s s i b l e f o r o f f g r i d e n v i r o n m e n t s . I t i n c l u d e s s i x I n t e l C l a s s m a t e l a p t o p s , s o l a r p a n e l s a n dm o u n t i n gg e a r , a c h a r g ec o n t r o l l e r , w i r i n g , a n dl a p t o ps e c u r i t ye q u i p m e n t , a l l c o n t a i n e d w i t h i nau n i q u e l y d e s i g n e da n dr e a d y t o s h i pb o xt h a t s t r a i g h t f o r w a r d l y t r a n s f o r m s i n t o t h e c o m p u t e r l a b s t a b l e .

F i g u r e C S P6

456

CASE STUDIES

$e P I S C E SP r o j e c t r e c e i v e df u n d i n g s u p p o r t f r o mG o o g l e , t h e P a c i 0 c T e l e c o m m u n i c a t i o n s C o u n c i l , a n dt h e I n t e r n e t S o c i e t y . I na d d i t i o nt ot h eP a r t n e r sm e n t i o n e da b o v e , P I S C E SP r o j e c tp a r t n e r s i n c l u d e : U n i v e r s i t y o f G u a m I l l i n o i s I n s t i t u t e o f T e c h n o l o g y G r e e n Wi F i , I n v e n e o i S o l u t i o n s I n t e r n a t i o n a l C e n t r e f o r $e o r e t i c a l P h y s i c s ( I C T P ) U n i v e r s i t y o f C a l i f o r n i a , B e r k e l e y s T I E Rr e s e a r c hg r o u p .

Case Study: University Of Ghana campus wireless network

457

Case Study: University Of Ghana campus wireless network


Introduction
$e U n i v e r s i t y o f G h a n a i s o n e o f s i x p u b l i c u n i v e r s i t i e s a n dt h e p r e m i e r u n i v e r s i t y i nG h a n a w i t ha s t u d e n t p o p u l a t i o no f a b o u t 4 1 , 0 0 0 . Wi t ht h e g r o w i n gn u m b e r o f s t u d e n t s a n df a c u l t yi t w a s o b v i o u s t h a t w e c o u l dn o t c o n t i n u ee x p a n d i n go u r c o m p u t e r l a b s t of a c i l i t a t e l e a r n i n g a n dr e s e a r c h , s i n c ew eh a dl i m i t e ds p a c ea n dl i m i t e df u n d s t oe q u i pt h e s ec o m p u t e r l a b s . $ es o l u t i o nw a s t og ow i r e l e s s s ot h a t a n ys t u d e n t w i t hh i s / h e r l a p t o p c o u l da c c e s st h en e t w o r k . $i sh o w e v e rc o u l dn o tb ea c h i e v e d i m m e d i a t e l yd u et h e s t a t u s o f t h e n e t w o r ka t t h e t i m e . I t w a s ab i gW a t , u n m a n a g e dn e t w o r k , w i t hl o t s o f p r o b l e m s I Pc o n W i c t s , r o g u e D H C P s e v e r s , l a r g e b r o a d c a s t d o m a i n s j u s t t o m e n t i o na f e w . B e c a u s et h eI T u n i tw a sn o tp r o v i d i n gaw i r e l e s ss e r v i c et ot h e c o m m u n i t y , u s e r sb e c a m ei m p a t i e n ta n ds t a r t e dc o n n e c t i n gt h e i ro w n w i r e l e s sr o u t e r st ot h en e t w o r k . $i sm a d en e t w o r km a n a g e m e n te v e n m o r ed i N c u l t . I t b e c a m eo b v i o u st h a t i f w ed i dn o t p r o v i d eaw i r e l e s s s e r v i c e t o t h e u s e r c o m m u n i t y , t h e y w o u l d 0 n d t h e i r o w nw a y o f d o i n g i t . O u r 0 r s t s t e p i na d d r e s s i n g t h e p r o b l e mw a s t o r e d e s i g no u r n e t w o r k f r o m a W a t n e t w o r kt oa m o r e s t r u c t u r e do n e w i t hc o r e , d i s t r i b u t i o na n d a c c e s s l a y e r s . $i s b r o u g h t al o t o f s t a b i l i t yt ot h en e t w o r k . B e c a u s eo f t h em a n a g e d s w i t c h e s , i d e n t i f y i n gp r o b l e m sb e c a m em u c he a s i e r t o o . $es t r u c t u r e d w i r e dn e t w o r kg a v e u s a g o o df o u n d a t i o nt ob u i l da w i r e l e s s n e t w o r kt h a t c o m p l e m e n t st h ew i r e dn e t w o r ka n dm e e t st h eg r o w i n gn e e d so fo u r u s e r s .

458

CASE STUDIES

Wi2 setup and installation


An u m b e r o f f a c t o r s w e r ec o n s i d e r e di nd e t e r m i n i n gt h et y p eo f A c c e s s P o i n t ( A P ) t o d e p l o y . S o m e o f t h e s e w e r e : C o s t S u p p o r t Ma n a g e m e n t S e c u r i t y

B e c a u s eo f t h es i z eo f o u rn e t w o r kw ed e c i d e dt og of o r a nE n t e r p r i s e S o l u t i o nw h i c hw o u l dm a k em a n a g e m e n t m u c he a s i e r . D u et ot h eh i g h c o s t o f t h e s e E n t e r p r i s e S o l u t i o n s ( $ 6 0 0p e r A c c e s s P o i n t a n da b o v e +c o s t o f t h e c o n t r o l l e r ) w e e n d e du pi nal o n gd e b a t e o v e r w h i c hp r o d u c t t o u s e f o r t h e Wi F i i m p l e m e n t a t i o n . We c o n s u l t e dN S R C( t h e N e t w o r kS t a r t u pR e s o u r c e C e n t e r a t U n i v e r s i t y o f O r e g o n ) w h ow e r ea l s ol o o k i n gi n t oa 1 o r d a b l ea n ds c a l a b l ew i r e l e s s s o l u t i o n s a n dt h e yp o i n t e du s t oU b i q u i t i U n i F i w h i c hc o s t s a b o u t $ 8 0 p e r A c c e s s P o i n t a n dh a s af r e e s o f t w a r ec o n t r o l l e r . T o g e t h e r w i t hN S R C p e r s o n n e l w ed i d as u r v e ya n dr a n as u c c e s s f u l p i l o tw i t h1 0A c c e s s P o i n t s .B e c a u s eo ft h ec o s t ,f u n c t i o n a l i t y ,m a n a g e a b i l i t ya n de a s eo f d e p l o y m e n t , U n i v e r s i t y o f G h a n a d e c i d e dt os c a l e u pf r o mt h e p i l o t u s i n g U b i q u i t iU n i F iA c c e s sP o i n t sa n dt h en e t w o r kq u i c k l yg r e wf r o m1 0 A c c e s s P o i n t s t o 9 0 . F o r s e c u r i t y , U n i F i A P s s u p p o r t b o t hWP AP e r s o n a l a n dWP AE n t e r p r i s e w h i c ha l l o w s u s e r s t oa u t h e n t i c a t e w i t har a d i u s s e r v e r . I na d d i t i o nt oa l l o f t h e d e p l o y m e n t a d v a n t a g e s o f U b i q u i t i , w e f o u n dt h a t t h e r e w a s a l a r g e U n i F i u s e r c o m m u n i t yt h a t p r o v i d e dg o o dt e c h n i c a l h e l pi nt h e e v e n t o f p r o b l e m s . A PS e t u p I n i t i a lA Ps e t u pa n dc o n 0 g u r a t i o ni n v o l v e dc o n n e c t i n ga nA Pt oa n e t w o r k s w i t c hp o r t i nt h e s a m e v l a na s t h e c o n t r o l l e r s e r v e r . $e A P g o e s t h r o u g ha d o p t i o nw h e nc o n n e c t e d ; t h i s a l l o w s t h e n e wA Pt o r e g i s t e r i t s e l f w i t ht h e c o n t r o l l e r f o r m a n a g e m e n t . A f t e r i n i t i a l s e t u p , t h e A Pi s t h e nc o n n e c t e dt ot h ed e s i g n a t e dd e p a r t m e n t s w i r e l e s s v l a no na s w i t c h .

Case Study: University Of Ghana campus wireless network

459

I PA d d r e s s i n g P r i v a t eI Pa d d r e s s i n gw a s a d o p t e df o rt h ew i r e l e s s n e t w o r ko nc a m p u s . $e r ea r eo na v e r a g e2 5/ 2 4w i r e l e s ss u b n e t s i nd e p a r t m e n t s , f a c u l t i e s , s c h o o l a n dc o l l e g e . B a n d w i d t h B a n d w i d t ha l l o c a t i o nt ot h ew i r e l e s s n e t w o r ki s 1 0 %o f t h eU n i v e r s i t y s S T M1 b a n d w i d t h . C u r r e n tg r o w i n g w i r e l e s su s e r sc o u p l e d w i t h g r o w i n g e m e r g i n g a p p l i c a t i o n sw i l lr e q u i r em o r eb a n d w i d t ht og i v ea g o o db r o w s i n g e x p e r i e n c e . S e c u r i t y / A u t h e n t i c a t i o n U s e r sa n dA P sa u t h e n t i c a t ew i t h ar a d i u ss e r v e ru s i n g8 0 2 . 1 x . B o t h s t u d e n ta n ds t a 1a c c o u n td e t a i l sa r es t o r e di n aMy s q l d a t a b a s e .$ e c a m p u s w i r e l e s s n e t w o r ke x i s t s i ns e p a r a t ev l a n s f r o mt h ew i r e df o r e a s y i d e n t i 0 c a t i o na n dm a n a g e m e n t .

Connecting to the UG campus wireless network


$ eU n i v e r s i t yO fG h a n aC a m p u sWi r e l e s sN e t w o r kh a st h r e em a j o r N e t w o r k s / S S I D s S T A F F , S T U D E N T , G U E S T . S T A F F $i s S S I D / N e t w o r ki s a v a i l a b l e t o a c t i v e s t a 1o f t h e U n i v e r s i t y . S t a 1a r e r e q u i r e dt oa u t h e n t i c a t e w i t ht h e i r s t a 1I Da n dP I Na s u s e r n a m e a n dp a s s w o r dr e s p e c t i v e l y t o l o g i n . S T U D E N T $i s S S I D / N e t w o r ki s a v a i l a b l et os t u d e n t s o f t h eU n i v e r s i t yw h oh a v e r e g i s t e r e df o rag i v e na c a d e m i cy e a r .S t u d e n t sa u t h e n t i c a t ew i t ht h e i r s t u d e n t I Da n dP I Na s u s e r n a m e a n dp a s s w o r dr e s p e c t i v e l y t o l o g i n . G U E S T $i s S S I D / N e t w o r ki s a v a i l a b l e t og u e s t s w h ov i s i t t h e U n i v e r s i t y w i t h i na p e r i o d o f t i m e . G u e s t s a r e r e q u i r e dt or e q u e s t a u t h e n t i c a t i o na c c o u n t d e t a i l s f r o mt h e I T d e p a r t m e n t b y s u b m i t t i n g t h e i r d e t a i l s .

460

CASE STUDIES

Pictures of our project and installation

F i g u r e C S G1 : O u r c a m p u s

F i g u r e C S G2 : O u r c a m p u s

Case Study: University Of Ghana campus wireless network

461

F i g u r e C S G3 : Ac l a s s r o o m

F i g u r e C S G4 : e l i b r a r y

462

CASE STUDIES

F i g u r e C S G5 : O n e o f o u r A P s

F i g u r e C S G6 : L a y o u t o f U n i v e r s i t y o f G h a n a c a m p u s w i t h A P ' s .

Case Study: University Of Ghana campus wireless network

463

F i g u r e C S G7 : Wi t h U n i F i w e a r e a b l e t o s i m u l a t e t h e c o v e r a g e o f t h e w i r e l e s s s i g n a l a s s h o w n a b o v e .

F i g u r e C S G8 : A b o v e i s t h e U n i F i c o n t r o l l e r s h o w i n g s o m e s t a t i s t i c s o f o u r u s a g e .

464

CASE STUDIES

F i g u r e C S G9 : B e l o wa r e s t a t i s t i c s p e r A c c e s s P o i n t .

F i g u r e C S G1 0 : W e a r e a l s o a b l e t o g e t s t a t i s t i c s p e r u s e r f r o mt h e c o n t r o l l e r .

Challenges we faced
O n eo fo u rm a i nc h a l l e n g e sw a sg e t t i n g ag o o dC a t 5c a b l ef o rt h e i n s t a l l a t i o n . I na d d i t i o ni t w a s s o m e w h a t c h a l l e n g i n gt og e t t h ec a b l et o t h e r i g h t l o c a t i o ns i n c e t h e b u i l d i n g s w e r e n o t d e s i g n e d w i t ht h i s i nm i n d . B a n d w i d t hi sa l s oac h a l l e n g eb u tw ea r et r y i n gt ol i m i tp e e r t o p e e r a c t i v i t y o nt h e n e t w o r k u s i n g c y b e r o a m .

Case Study: University Of Ghana campus wireless network

465

Next steps
We ( t h e I TD e p a r t m e n t o f t h e U n i v e r s i t yo f G h a n a ) o p e r a t e t h e w i r e l e s s n e t w o r ko u r s e l v e s .Weh a v ei m m e d i a t ep l a n st oe x p a n dt h ew i r e l e s s n e t w o r k u n t i l w e g e t a s m u c hc o v e r a g e o f o u r c a m p u s b u i l d i n g s a s w e c a n . $i s w i l l t h e nr e d u c et h en e e df o r o u r s t u d e n t s t os e t u pt h e i r o w nA P s m a k i n g o u r j o bm a n a g i n g t h e n e t w o r k m u c he a s i e r ! A u t h o r : E m m a n u e l T o g o , H e a do f t h e N e t w o r k i n g U n i t o f t h e U n i v e r s i t y o f G h a n a ' s C o m p u t i n g S y s t e m s ( U G C S ) .

466

CASE STUDIES

Case Study: Airjaldi's Garhwal Network, India


Introduction
I nv e r s i o n2o f t h i s b o o kw e i n c l u d e da c a s e s t u d y a b o u t t h e D h a r a m s a l a C o m m u n i t yWi r e l e s sMe s hN e t w o r k . F o l l o w i n go nf r o mt h i so r i g i n a l d e p l o y m e n ti nt h es u b s e q u e n ty e a r s ,a n e ws e to fn e t w o r k sa n da c o m m e r c i a l w i r e l e s s I S Ph a s e m e r g e di nt h e s a m e r e g i o nl e db y t h e s a m e p e o p l e . H e r e w e d e s c r i b e o n e o f t h e i r m a j o r p r o j e c t s .

Airjaldis Garhwal Network:


Wo r k i n gT o w a r d sT e c h n i c a l a n dE c o n o m i cV i a b i l i t yi nt h eH i m a l a y a n R a n g e A b o u t R b b / A i r j a l d i R u r a l B r o a d b a n dP v t . L t d . , i s al e a d i n gi n n o v a t o ra n di m p l e m e n t e r o f t e c h n i c a l l ya n de c o n o m i c a l l yv i a b l ec o n n e c t i v i t ys o l u t i o n s f o r r u r a l a r e a s . We d e s i g n , b u i l da n do p e r a t e b r o a d b a n dn e t w o r k s i nr u r a l a r e a s i nI n d i a . I n c o r p o r a t e di nI n d i a i n2 0 0 9 , R B Bp r e s e n t l y o w n s a n d o p e r a t e s n e t w o r k s i nt h eI n d i a ns t a t e s o f H i m a c h a l P r a d e s h , U t t a r a k h a n d , J h a r k h a n d , a n d K a r n a t a k a . R B Bu s e s A i r J a l d i a s ab r a n dn a m e f o r i t s n e t w o r ka n do t h e r c o n n e c t i v i t y r e l a t e di n i t i a t i v e s . $ ec o m p a n y s a c t i v i t i e s a r ec a r r i e do u t f r o mo u r m a n a g e m e n t o N c ei n D e l h i , o u r o p e r a t i o n s o N c e i nD h a r a m s a l a , H i m a c h a l P r a d e s ha n do N c e s i ne a c hn e t w o r k l o c a t i o n . O u r d i v e r s et e a mi n c l u d e s l o c a l I n d i a nv i l l a g e r s , T i b e t a nr e f u g e e s , s k i l l e d p r o f e s s i o n a l s f r o mm e t r o p o l i t a na r e a s i nI n d i aa n dp e o p l ef r o mo u t s i d e I n d i a . We b e l i e v e t h a t r u r a l n e t w o r k s n e e dt ob e t e c h n i c a l l yv i a b l et h e yn e e d t op r o v i d eaq u a l i t ya n dc o n s i s t e n c yo f s e r v i c e s t h a t i s a t t h ev e r yl e a s t s i m i l a r t o t h a t o 1 e r e da n y w h e r e e l s e . $e ya l s on e e dt ob ee c o n o m i c a l l ys u s t a i n a b l et h e yn e e dt ob ea b l e t o s t a n do nt h e i r o w nw i t h i nar e l a t i v e l ys h o r t p e r i o do f t i m e( a r o u n d1 8 m o n t h s ) w h i l e o 1 e r i n g c l i e n t s s e r v i c e s a t r e a s o n a b l e p r i c e s .

Case Study: Airjaldi's Garhwal Network, India

467

F u r t h e r ,w ea r es t r o n ga d v o c a t e so fa na l l i n c l u s i v e r e t a i le c o s y s t e m a p p r o a c ho n c e w e r e a c ha na r e a , w e s e e kt oc o n n e c t a l l c l i e n t s w h oa r e i nn e e do f c o n n e c t i v i t y , r e g a r d l e s s o f t h e s i z e o f t h e i r o p e r a t i o no r p a c k a g e d e m a n d . Wea s p i r et om a k ea l l o u rc l i e n t sp a yf o rt h e i rc o n n e c t i v i t y , a l t h o u g hs u b s i d i e s a r e o 1 e r e dt os e l e c t e dc l i e n t s , m a i n l y t h o s e d e d i c a t e dt o s o c i a l a n dd e v e l o p m e n t a l c a u s e s a n ds h o w i n g 0 n a n c i a l n e e d . R B Bw o r k sc l o s e l yw i t hA i r J a l d i R e s e a r c ha n dI n n o v a t i o n , an o n f o r p r o 0 t( s e c t i o n2 5 )e n t e r p r i s er e g i s t e r e di nI n d i a . C r e a t e di n2 0 0 7 , t h e A i r J a l d iR e s e a r c h& I n n o v a t i o n i d e n t i 0 e ss u i t a b l ea n d a 1 o r d a b l e n e t w o r k i n gs o l u t i o n s f o r r u r a l a r e a s , t e s t s t h e mi nr e a l l i f ee n v i r o n m e n t s a n ds h a r e s i t sl e a r n i n gw i t hl i k e m i n d e do r g a n i z a t i o n sa n di n d i v i d u a l s . A i r J a l d ia l s oo p e r a t e sa t r a i n i n ga n dc a p a c i t y b u i l d i n gc e n t r ei n D h a r a m s a l a , w h e r en e t w o r ko p e r a t o r s a n da c t i v i s t s c a na c q u i r et h e s k i l l s t o b u i l da n dm a n a g e r u r a l w i r e l e s s n e t w o r k s . Mo s t o f o u r d e p l o y m e n t t e a mm e m b e r s h a v eb e e nt r a i n e db yo u r s i s t e r o r g a n i z a t i o n A i r J a l d i R e s e a r c ha n dI n n o v a t i o n . T e a mm e m b e r s n o r m a l l y t a k e t h e b a s i c o n e m o n t h Wi r e l e s s 1 0 8 c o u r s e a n dt h em o r ea d v a n c e d Wi r e l e s s2 1 6 c o u r s e so 1 e r e da tt h eA i r J a l d i N e t w o r kA c a d e m y . A f t e ra na d d i t i o n a l 3 m o n t hi n t e r n s h i pw h e r et h e y w o r ku n d e r t h e c l o s e s u p e r v i s i o no f s e n i o r t e a mm e m b e r s i no n eo f o u r n e t w o r k s , t h e y a r e e n r o l l e da s p e r m a n e n t t e a mm e m b e r s .

The Airjaldi Garhwal Network Vital Statistics


D a t e o f i n i t i a t i o n / i n c e p t i o n| j a n u a r y 2 0 1 0 S i z e / s p r e a d| a b o u t 1 0 0 k m2 , r a n g i n g f r o mt h e D e h r a d u nv a l l e y t o t h e h e i g h t s o f T e h r i G a r w a l Mo u n t a i n s ( h e i g h t o f a b o u t 2 , 0 0 0 m e t e r ) . P r i m a r y c l i e n t s | Mi c r ob a n k i n g e n t e r p r i s e , S c h o o l s , C o m m u n i t y b a s e d O r g a n i z a t i o n s , B u s i n e s s a n dP r i v a t e u s e r s L o n g e s t l i n k| 5 5 K m . P o p u l a t i o nd e n s i t y | 1 6 9 / k m 2( i nc o m p a r i s o n : D e l h i : 9 , 2 9 4 / k m 2 ; O v e r a l l I n d i a : 3 6 3 / k m 2 ; U S A : 3 3 . 7 / k m 2 )

468

CASE STUDIES

Realities, needs
$ eT e h r i a n dP a u r i G a r h w a l d i s t r i c t so f U t t a r a k h a n d , w h i c hs t r e t c h e s f r o mt h eH i m a l a y a np e a k so f$ a l a i y aS a g a r ,J o n l ia n dt h eG a n g o t r i g r o u pt ot h eD h e r a d u nV a l l e ya n dR i s h i k e s h , a r eo n eo fI n d i a sm o s t m o u n t a i n o u s a r e a s . K n o w nf o r i t s m a n yr e l i g i o u s t e m p l e s , l o c a t e do nt h e b a n k so ft h eR i v e rG a n g e sa n do nh i l l t o p sl e a d i n gt ot h eH i m a l a y a n r a n g e ,t h er e g i o ni sk n o w nf o ri t sr u g g e db e a u t y .$ i sr u g g e d n e s si s h o w e v e r a l s oa c a u s e f o r t h e r e l a t i v e p o v e r t y o f t h e r e g i o n : i t s i n h a b i t a n t s l i v e m o s t l yi ns m a l l v i l l a g e s s e p a r a t e df r o me a c ho t h e r b yt a l l m o u n t a i n s a n dd e e pv a l l e y s .$ em a i nl o c a ls o u r c e so fi n c o m ea r es u b s i s t e n c e a g r i c u l t u r e a n dc o t t a g e i n d u s t r i e s . Ma n y w o r ko u t s i d e t h e r e g i o n , i nl a r g e c i t i e s , i nt h e p l a i n s a n di nm i l i t a r y a n dg o v e r n m e n t s e r v i c e s a c r o s s I n d i a .
1 I n2 0 0 9 , K G F S R u r a l S e r v i c e s , a m i c r o b a n k i n g i n s t i t u t i o na N l i a t e dw i t h 2 I F MRT r u s t , d e c i d e dt os e t u p o p e r a t i o n s i nt h i s h i l l y a r e a . $e i r a i mw a s t or e a c hp o t e n t i a l c l i e n t s i nt h e v i l l a g e s o f T e h r i a n dP a u r i w h ou n t i l t h e n h a dl i t t l e o r n o a c c e s s t or e g u l a r b a n k i n g s e r v i c e s a n dw e r e a l s o c o n s i d e r e d b a r e l y b a n k a b l e b y m o s t b a n k s . U s i n gp o p u l a t i o nd e n s i t ym a p p i n g , K G F Ss o u g h t l o c a t i o n s f o r i t sb a n k b r a n c h e s a t t h e c e n t r e o f c a t c h m e n t a r e a s r e a c h i n ga b o u t 1 0 , 0 0 0 p e o p l e . I ts o o nb e c a m ec l e a rt oK G F St h a t ,h a v i n gs o l v e dt h ed e n s i t ya n d a c c e s s i b i l i t yp r e r e q u i s i t e s ,t h e yw e r ef a c e dw i t hs e v e r ec o n n e c t i v i t y l i m i t a t i o n s ,a sm o s to ft h e i rp r o p o s e dl o c a t i o n sh a dn oI n t e r n e t i n f r a s t r u c t u r e .i n i t i a ld e p l o y m e n to fV S A T sa n du s eo fl o c a lA D S L s e r v i c e s p r o v e de x p e n s i v e , s l o wa n dp r o n e t o b r e a k d o w n s . $a t w a s w h e nw e r e c e i v e da c a l l f r o mI F MR s I Tt e a m , a s k i n g i f w e db e i n t e r e s t e di np r o p o s i n g a c o n n e c t i v i t y s o l u t i o nf o r t h e i r 0 r s t 1 5 b r a n c h e s .

$e i n i t i a l d e p l o y m e n t : a p p r o a c h , d e s i g n , d e p l o y m e n t Wh e nr e s p o n d i n gt ot h ec a l l , a sw ed ow i t hs i m i l a rr e q u e s t s , A i r J a l d i f o r m si t sr e s p o n s eb a s e do ni n f o r m a t i o no nt h ef o l l o w i n gn e t w o r k e s s e n t i a l s : h o wf a r i s t h e c l o s e s t a v a i l a b l e b a c k h a u l l o c a t i o n( t h e p l a c e f r o mw h e r e w e c a na v a i l a c c e s s t o t h e I n t e r n e t c l o u d ) f r o mt h e p r o p o s e d d e p l o y m e n t a r e a ? O u r s u r v e y s s u g g e s t e dt h a t t h e r e w e r e r e l a t i v e l yf e wb a c k h a u l l o c a t i o n s i n t h e a r e a . 1
2 h t t p : / / r u r a l c h a n n e l s . i f m r . c o . i n / k g f s m o d e l / w h a t i s a k g f s / h t t p : / / w w w . i f m r . c o . i n /

Case Study: Airjaldi's Garhwal Network, India

469

Mo s t w e r e l o c a t e di nD e h r a d u na n dn e i g h b o u r i n g t o w n s ( s e e F i g u r e C S D 1 ) .R e a c h i n gf r o m t h e r et ot h ep r o p o s e dd e p l o y m e n ta r e ap r o v e d p r o b l e m a t i c . A f t e r m u c he 1 o r t w e l o c a t e da b a c k h a u l d r o p a t a B T Si n t h e t o w no f N a r r a n d a r N a g a r ( s e e F i g u r e C S D1 ) . A l t h o u g hv e r y c l o s e t o s o m e o f t h e b r a n c h e s , t h e r e w a s n o l i n e o f s i t e f r o mt h e d r o pt o a n y o f t h e b r a n c h e s . $i s l e du s t o c o m e u p w i t ha s o m e w h a t c o u n t e r i n t u i t i v e s o l u t i o n : u s et h eN a r r a n d a rN a g a rl o c a t i o na sb a c k h a u lt oc o n n e c ta N e t w o r k O p e r a t i o nC e n t e r ( N O C ) t h a t w i l l b e p l a c e d i nt h e v a l l e y b e l o w , w h e r e b e t t e r L o S t o f a v o u r a b l e m o u n t a i n t o p s f o r p o t e n t i a l r e l a y s w a s a v a i l a b l e .

F i g u r e C S D1 : G a r h w a l N e t w o r k B a c k h a u l , N O Ca n d s o m e I F MRb r a n c h e s , 2 0 0 9 C a nw ep r o p o s ead e p l o y m e n t p l a nt h a t i s t e c h n i c a l l ys o l i db u t a t t h e 3 s a m e t i m e a 1 o r d a b l e t o t h e a n c h o r c l i e n t a n da d d i t i o n a l f u t u r e c l i e n t s ? O u r i n i t i a l s u r v e y o f t h e a r e a c o n s i s t e do f c o l l e c t i n g l a t i t u d e a n dl o n g i t u d e d a t ao fp r o p o s e db r a n c hl o c a t i o n s ,i d e n t i 0 c a t i o no fp o s s i b l er e l a y l o c a t i o n s , a s s e s s m e n t o f o v e r a l l c l i e n t p o t e n t i a l i nt h e a r e a a n da s s e s s m e n t o f t h e p u b l i c i n f r a s t r u c t u r e o f t h e a r e a .
3E a c ho f o u r n e t w o r k s h a s o n e o r m o r e c l i e n t s w h i c ha r e r e f e r r e dt oa s a n c h o r c l i e n t s . $e t e r md e n o t e s t h e i r r o l e a s t h e 0 r s t c l i e n t s i na n e t w o r k , a n dt h e o n e s t h a t c o n t r i b u t e m o s t l y t o i t s i n i t i a l e c o n o m i c f e a s i b i l i t y .

470

CASE STUDIES

We w e r en o t s u r p r i s e dt o0 n do u t t h a t t h e b r a n c h e s w e r em o s t l yl o c a t e d i nv a l l e y s ( e a s i e r a c c e s s f o r c l i e n t s , c l o s e t or o a d s ) a n ds e p a r a t e d f r o me a c h o t h e r b y h i g hm o u n t a i nr a n g e s p r e v e n t i n g d i r e c t L o S b e t w e e nt h e m . P o w e r s u p p l yt or e l a y s p r o m i s e dt ob eac h a l l e n g em o s t p o t e n t i a l r e l a y l o c a t i o n s w e r e e i t h e r a w a y f r o mt h e g r i do r l o c a t e da t w e a kp o i n t s w h e r e p o w e r w a s a tt i m e sd o w nf o rd a y sa n dw i l dp o w e rW u c t u a t i o n sc a u s e d r o u t e r s t o h a n g o r b u r nw h e np o w e r s p i k e s h i t t h e m . H a v i n gd e c i d e dt h a t w ew i l l p u r s u et h i sd e p l o y m e n ti na n yc a s e , o u r d e p l o y m e n t t e a mh a dt o m a k e s e n s e o f i t a l l . $e s o l u t i o nw e r e a c h e dw a s b a s e do np l a c i n gs o l a r p o w e r e dr e l a y s o na s f e ws t r a t e g i c l o c a t i o n s a s p o s s i b l e . $i s l e dt oa d d i t i o n a l 0 e l ds u r v e y s , i n v o l v i n gh o u r s o f p r e l i m i n a r yo N c e r e s e a r c hu s i n gt o p o g r a p h i c m a p s , G o o g l e E a r t ha n do t h e r t o o l s , f o l l o w e d b yd a y so f t r e k k i n gt oi d e n t i 0 e dl o c a t i o n s i no r d e r t os e ei f al o c a t i o n c o u l db es e c u r e dt h r o u g har e n t d e a l , a n dt h e s a f e t ya n di n t e g r i t yo f t h e r e l a y g u a r a n t e e db y t h e l a n do w n e r s . Wh a t i s t h e o v e r a l l c l i e n t p o t e n t i a l i nt h e a r e a a n dw i l l i t b e s u N c i e n t t o , a t a m i n i m a l l e v e l , e n s u r e t h a t t h e n e t w o r k i s e c o n o m i c a l l y s e l f s u s t a i n a b l e w i t h i na r o u n d1 8 m o n t h s ? C l i e n t p o t e n t i a l d i dn o t s e e mb r i g h t a s w e l l . B e s i d e s t h ep r o p o s e db a n kb r a n c h e s w ef o u n df e wa d d i t i o n a l c l i e n t s m a i n l y s c h o o l s a n do t h e r o r g a n i z a t i o n s . We w e r e s u r e t h a t t h e c l i e n t b a s e w i l l g r o wi nt i m e , b u t h a dt o0 n da w a y t o e n s u r e v i a b i l i t y i na r e l a t i v e l y s h o r t t i m e . We d e c i d e dt oe x t e n dt h e n e t w o r kt om o r e d e n s e l y p o p u l a t e da r e a s a t t h e f o o t h i l l s o f t h e G a r h w a l r a n g e . $e a c t u a l d e p l o y m e n t w o r k b e g a ni nO c t o b e r 2 0 0 9 . A f t e ra r o u n dt w om o n t h so fd e p l o y m e n tw o r k , t h ec o r en e t w o r kw a s r e a d y . I t s s i z e w a s a r o u n d5 0 x 7 0 k m . I t p r o v i d e dc o n n e c t i v i t yt o1 5b a n kb r a n c h e s a n da r o u n d0 v e s c h o o l s a n d i n s t i t u t i o n s i nt h e v a l l e y . Mo s t o f i t s s t a n d a l o n e r e l a y s w e r es o l a r p o w e r e da n di t s l o n g e s t s i n g l e h o p l i n k w a s 5 4 k m .

Case Study: Airjaldi's Garhwal Network, India

471

F i g u r e C S D2 : G a r h w a l n e t w o r k , p a r t i a l d e p l o y m e n t t o p o l o g y , E a r l y 2 0 1 0

F i g u r e C S D3 : F i e l d s u r v e y i n t h e G a r h w a l r e g i o n

472

CASE STUDIES

F i g u r e C S D4 : F i e l d s u r v e y i nt h e K u m a o nr e g i o n

F i g u r e C S D5 : P r e p a r i n g f o r r e l a y i n s t a l l a t i o n , K u m a o nN e t w o r k

Case Study: Airjaldi's Garhwal Network, India

473

F i g u r e C S D6 : R e l a y t r o u b l e s h o o t i n g , K u m a o nN e t w o r k

F i g u r e C S D7 : L a s t t o u c h e s t o s o l a r r e l a y , K u m a o nN e t w o r k

474

CASE STUDIES

F i g u r e C S D8 : B a c k h a u l R e l a y , G a r h w a l N e t w o r k

Case Study: Airjaldi's Garhwal Network, India

475

F i g u r e C S D9 : C l i e n t R e l a y , K u m a o nN e t w o r k

F i g u r e C S D1 0 : C l i e n t R e l a y , K a n g r a V a l l e y N e t w o r k

476

CASE STUDIES

$r e e y e a r s o no p e r a t i o n , e c o n o m i c v i a b i l i t y , c h a l l e n g e s a n d r e s p o n s e s . $r e e y e a r s o n , t h e p r e s e n t n e t w o r ks t i l l c a t e r s t ot h e i n i t i a l 1 5b r a n c h e s a n do r i g i n a l c l i e n t s . I th a sa l s og r o w ns i g n i 0 c a n t l y . I t sp r e s e n ts i z ei s a r o u n d1 2 0 x 1 0 0 k m . T r a v e l t i m e b e t w e e no u r N O C / O N c et oi t s f u r t h e s t r e a c h e s t a k e s a r o u n d s e v e nh o u r s ( ! ) , a n dt h en u m b e r o f c l i e n t s o nt h em o u n t a i nr a n g e s a n d v a l l e yh a sg r o w ns i g n i 0 c a n t l y .I ni t so n g o i n ge 1 o r t st om a i n t a i nt h i s c h a l l e n g i n g n e t w o r k , o u r t e a mh a s h a dt od e a l w i t hl a n ds l i d e s , s n o w , r a i n a n dt h u n d e r s t o r m s , w i l de l e p h a n t s , l e o p a r d s ( y e s ! ) a n do f c o u r s e c l i e n t s f o r w h o mm u c ho f t h i s m a t t e r e d l i t t l e w h e nt h e i r l i n e i s d o w n . Wea r ev e r yp r o u do f t h ef a c t t h a t o u r a v e r a g eu p t i m ei no u ry e a r s o f o p e r a t i o ni nt h ea r e ae x c e e d s9 5 %a n dt h a t t h en e t w o r kh a sa t t r a c t e d m u c ha t t e n t i o na n dp r a i s ef r o mi t s u s e r s , o t h e r I n t e r n e t p l a y e r s a n dt h e m e d i a . $i s s a i d , c h a l l e n g e s s t i l l a b o u n da n dt h e s t r u g g l e t ok e e pi t a l l r u n n i n g i s s t i l l v e r ym u c ha no n g o i n ge 1 o r t . $e m a i nc h a l l e n g e s w e f a c e ds i n c e t h e i n c e p t i o no f t h e n e t w o r k a r e : E n e r g y p o w e r i s s t i l l a m a j o r c h a l l e n g e . $e g r i d p r o v i s i o ni s e r r a t i c a n d p r o b l e m a t i c . U s i n gt h e g r i da s t h e p o w e r s o u r c e f o r o u r r e l a y s ( e v e nw i t h b a t t e r yb a c k u p )h a sl e dt ob u r n tr o u t e r sa n dh o u r so ft r a v e lt o t r o u b l e s h o o t l i n k s d r a i n e d o f t h e i r p o w e r b a c k u pa f t e r t h e l i n e w e n t d o w n .
4 S o l a r p o w e r , o nt h e o t h e r h a n d , a l t h o u g ha l m o s t t r o u b l e f r e e i s h o w e v e r s t i l l c o s t l y . B e a r i n gt h ec a p i t a l c o s t s f o r t h e s e r e l a y s o u r s e l v e s s t r e t c h e s ac h a l l e n g i n g e c o n o m i c p r o p o s i t i o ne v e nf u r t h e r , w h i l e h a v i n g c l i e n t s p a yt h e f u l l c o s t s f o r a r e l a y l i m i t s t h e t y p e o f c l i e n t s w h o c a na v a i l o u r c o n n e c t i o n s .

R e l a y s a g o o dr e l a y i s o n e t h a t i s p l a c e di na l o c a t i o nc o v e r i n g a s m u c h s p a c e a s p o s s i b l e . I nt h e G a r h w a l a r e a , t h i s m e a n s m o u n t a i nt o p s . $e s e p l a c e sa r en o r m a l l ya n dn a t u r a l l yh a r dt og e tt oa n dq u i t ei s o l a t e d . B u i l d i n g , m a i n t e n a n c e a n ds e c u r i t y i nt h e s e s i t e s i s a no n g o i n g c h a l l e n g e . A t t h e t i m e o f w r i t i n gw e a r e b u s yr e b u i l d i n gar e l a yw h o s e s o l a r p a n e l s , b a t t e r y , c h a r g e r a n do t h e r e q u i p m e n t w e r e s t o l e n .
4 E a c h o f o u r n e t w o r k s h a s o n e o r m o r e c l i e n t s w h i c h a r e r e f e r r e d t o a s a n c h o r c l i e n t s . $e
t e r md e n o t e s t h e i r r o l e a s t h e 0 r s t c l i e n t s i na n e t w o r k , a n dt h e o n e s t h a t c o n t r i b u t e m o s t l y t o i t s i n i t i a l e c o n o m i c f e a s i b i l i t y .

Case Study: Airjaldi's Garhwal Network, India

477

S o m eo fo u rn e wc o n n e c t i o n sh a v ep r o v e nt ob es oc h a l l e n g i n ga st o r e q u i r ear e l a yf o re a c hn e wl o c a t i o n s ,c l e a r l yn o ta ne a s ye c o n o m i c p r o p o s i t i o n . S i z e a s p r o u da s w e a r e i nt h e s i z e o f t h e n e t w o r k , at r a v e l d i s t a n c e o f o v e r 1 0h o u r s b e t w e e ni t s t oe x t r e m e p o i n t s i s s t r e t c h i n go u t t e a m , w h o m o v em o s t l yo nb i k e s , t ot h el i m i t ,w i t hs o m et r o u b l e s h o o t i n gt r i p s l a s t i n g o v e r t w o d a y s o n a c c o u n t o f t r a v e l . E c o n o m i cv i a b i l i t y t h ed u a lm o u n t a i n v a l l e y / s p a r s ep o p u l a t i o n h i g h d e n s i t ym o d e l , w h i c hi s a ni m p l i c i t a c r o s s s u b s i d y h a s p r o v e ns u c c e s s f u l , b u t h a s n o t f u l l ys o l v e dt h ec h a l l e n g eo f e c o n o m i cv i a b i l i t yi nm a r g i n a l m o u n t a i n o u sa r e a s . O u r r e s p o n s e st ot h e s ec h a l l e n g e se v o l v ec o n s t a n t l y . P r e s e n t o b s e r v a t i o n s a n ds t e p s i m p l e m e n t e di n c l u d e : E n e r g y w e h a v e l e a r n t t h a t s o l a r p o w e r e dr e l a y s a r e t h e o n l y r e a l o p t i o n f o r t h e G a r h w a l n e t w o r k ( a s f o r m a n y o t h e r l o c a t i o n s ) . I nt r y i n gt or a t i o n a l i z et h ec o s t sf o rc l i e n t sw eh a v el i m i t e do u r d e p l o y m e n t t op r i v a t e / s m a l l b u s i n e s s c l i e n t s t oc l u s t e r s w h e r e a m i n i m u m o f 1 0 c l i e n t s w i t ha d e m a n do f a t l e a s t 1 Mb p s p e r c l i e n t c a nb e i d e n t i 0 e d w i t h i na5 6m o n t hp e r i o d . Al o w e r d e n s i t ym e a n s h i g h e r p r i c e s a n di s u s u a l l y r e q u e s t e db y c l i e n t s f o r w h o s e o p e r a t i o n s c o n n e c t i v i t y i s e s s e n t i a l . Weh a v ea l s ob e g u nt oo 1 e ra p a y m e n t s p r e a df o r t i m ec o m m i t m e n t d e a l s : c l i e n t s p a y f o r t h e c o s t o f e q u i p m e n t a n dr e l a y s ( o r t h e i r s h a r e o f i t ) o v e r a p e r i o do f t i m e , i f t h e y a g r e e t oa c o n t r a c t u a l l o c k i np e r i o d o f o v e r t w o y e a r s . R e l a y s t h e b e s t l o c a t i o ni s n o t n e c e s s a r i l y t h e o n e w i t ht h e b e s t c o v e r a g e O N L Y , b u t o n e t h a t p r e s e n t a no p t i m a l c o m b i n a t i o no f v i s i b i l i t y , s e c u r i t y , a c c e s s i b i l i t ya n dp r i c e . I nc e r t a i nc a s e s t h i sm e a n s ah i g h e r n u m b e r o f r e l a y s , b u t w e b e l i e v e t h a t o n t h e w h o l e t h i s i s a c h e a p e r a n d m o r e r a t i o n a l o p t i o n . S i z eas i m p l es o l u t i o nt ot h es i z ep r o b l e mw o u l db et ob r e a kt h e n e t w o r kt os m a l l e rs u bo ra u t o n o m o u sn e t w o r k .We a r eu s i n gt h i s a p p r o a c hi no t h e r n e t w o r k s , w h e r e t h e s i z e l i m i t i s c o n s i d e r e db y a r o l e o f t h u m b o f a m a x . o f t h r e e h o u r t r a v e l t o a s i t e . $i sh o w e v e rm a k e s l i t t l es e n s ei nas p a r s en e t w o r ks u c ha st h eu p p e r G a r h w a l r e a c h e s .

478

CASE STUDIES

$e c o m p r o m i s e s o l u t i o nw e c a m e a c r o s s w a s p l a c e m e n t o f s t a g i n g p o s t s i ns t r a t e g i c n e t w o r k j u n c t i o n s . E s s e n t i a l l y , t h e s e p o s t s a r es t o r a g es p a c e s w h e r ee q u i p m e n t i s k e p t i n s u N c i e n t q u a n t i t i e s t o s e r v e a d e 0 n e d c a t c h m e n t a r e a . Wh i l en o ts a v i n gt h et r a v e l t i m e , i t a l l o w so u rt e a mt om o v eq u i c k l y w i t h o u t h a v i n gt oc a r r y a l o n gh e a v ya n db u l k y e q u i p m e n t . $e e v o l u t i o n o f a s t a g i n g p o s t t oa no p e r a t i o n a l b a s e w i l l c o m e w h e nk e e p i n g a t e a mo f t w op e o p l e a t s u c hal o c a t i o nc o u l db e j u s t i 0 e db y i t s c l i e n t d e n s i t ya n d r e v e n u e s . E c o n o m i c v i a b i l i t yA i r J a l d i s o v e r a r c h i n g g o a l i s t or e a c hu n s e r v e da n d u n d e r s e r v e da r e a s w i t hh i g hq u a l i t yi n t e r n e t c o n n e c t i v i t y . A s s u c h , t h e c r o s s s u b s i d y m o d e l i s j u s t i 0 e da s a p a r t i a l s o l u t i o nt ot h e c h a l l e n g e s f a c e d b ym a n ya s p i r i n gr u r a l i n t e r n e t p r o v i d e r s l a c k i n gt h es k i l l s o rd e s i r et o b u i l d n e t w o r k s o f t h e s c a l e o f t h e G a r h w a l n e t w o r k . $a t i s h o w e v e r c a n n o t b et h e o n l ye c o n o m i ca v e n u ef o r d e p l o y m e n t i n s u c hc h a l l e n g i n g e n v i r o n m e n t s . O u ra t t e m p t st oi n c r e a s et h ev i a b i l i t yo f m o u n t a i np r o v i s i o n i n c l u d e a g g r e s s i v ep r i c i n go f h i g h e r b a n d w i d t hp a c k a g e s t h em a r g i n a l c o s t f o r h i g h e r b a n d w i d t hi s r e l a t i v e l yl o w , a l l o w i n gu s h i g h e r m a r g i n a l r e v e n u e s w h i l e s t i l l b e i n g a b l e t o o 1 e r v e r y r e a s o n a b l e d e a l s f o r s u c hp a c k a g e s . $i ss t a n d si nm a j o rc o n t r a s tt ot h en o n s c a l a b l ed o n g l ea n dV S A T s o l u t i o n s t h a t a r eo f t e nt h e a l t e r n a t i v e s t oo u r s e r v i c e s i nt h e s e a r e a s . A t t h eo t h e re n do ft h es p e c t r u m ,w eh a v eb e g u no 1 e r i n gl i m i t e d t i m e / b a n d w i d t hp a c k a g e s . A l t h o u g hm o r e e x p e n s i v e o na p e r u n i t b a s i s , t h e s e p a c k a g e s a r e a p p e a l i n g t oc l i e n t sw h ow i s ht ol i m i tt h e i rc o n s u m p t i o nt ot h e i re c o n o m i c w i l l i n g n e s s t o p a y . F u t u r e p l a n s i n c l u d e i n t r o d u c t i o no f 4 C : l o c a l c e n t e r s w h e r e u s e r s c a n u t i l i z eb a n d w i d t hf o rC l a s s r o o ms e t u p( o n l i n ei n d i v i d u a l l e a r n i n g , l i v e t e a c h i n gt oac l a s s r o o me t c . )C i n e m a( w a t c h i n g0 l m so ro t h e ro n l i n e c o n t e n ta tal o c a lc e n t e r ) ,C a f ( i n t e r n e tc a f w h e r ep e o p l ec a nu s e i n d i v i d u a l c o m p u t e r s ) a n dC o n n e c t i v i t y ( t h r o u g hl o c a l h o t s p o t i nt h e a r e a o f t h ec e n t e r o r t h r o u g hc o n n e c t i v i t yd e a l s t oh o u s e s a n do N c e s s o l da t t h e C a f ) .

Case Study: Airjaldi's Garhwal Network, India

479

Summary
$ eG a r h w a ln e t w o r kw a sc r e a t e di nr e s p o n s et o ar e q u e s tf r o ma n a n c h o r c l i e n t , am i c r o b a n k i n ge n t e r p r i s e f o r w h o mc o n n e c t i v i t yw a s a n e c e s s a r yc o n d i t i o nf o r as u c c e s s f u l i m p l e m e n t a t i o no f i t s v i s i o no f r u r a l b a n k i n g . A i r J a l d i r e s p o n d e dt ot h e d e p l o y m e n t c h a l l e n g e w i t ht h e h o p e o f e n s u r i n gh i g h q u a l i t y a n dh i g h a v a i l a b i l i t y b r o a d b a n di n t e r n e t c o n n e c t i o n a n dl o n g t e r m e c o n o m i cs u s t a i n a b i l i t y .$ e s eo b j e c t i v e sw e r er e a c h e d t h r o u g h ac o m b i n a t i o no fc a r f u ld e p l o y m e n tp l a n n i n g ,u t i l i z a t i o no f n a t u r a l t o p o g r a p h i ca s s e t s , e x p a n s i o no f t h en e t w o r kf r o mt h es p a r s e l y p o p u l a t e dm o u n t a i nt e r r a i n st ot h em o r ed e n s e l yi n h a b i t e dD h e r d u n v a l l e y , a n da g g r e s s i v e p r i c i n go nh i g h e r b a n d w i d t hp a c k a g e s . F u t u r e p l a n s i n c l u d ef u r t h e re x p a n s i o no ft h en e t w o r k , t h i c k e n i n g o ft h ec l i e n t d e n s i t y i ne x i s t i n g a r e a s a n de n r i c h i n g o f p a c k a g e s a n ds e r v i c e s o 1 e r e db y A i r J a l d i .

480

CASE STUDIES

Case Study: Open Technology Institute

Red Hook initiative Wi2 & Tidepools


R e dH o o kI n i t i a t i v eWi F i i s ac o l l a b o r a t i v e l yd e s i g n e dm e s hn e t w o r k . I t p r o v i d e s I n t e r n e t a c c e s s t ot h eR e dH o o ks e c t i o no f B r o o k l y n , N Y , a n d s e r v e s a s ap l a t f o r mf o r d e v e l o p i n gl o c a l a p p l i c a t i o n sa n ds e r v i c e s . R e d H o o kI n i t i a t i v eh a sb u i l tt h en e t w o r ki np a r t n e r s h i pw i t ht h eO p e n T e c h n o l o g yI n s t i t u t e ,p u t t i n gh u m a n c e n t e r e dd e s i g na n dc o m m u n i t y e n g a g e m e n t a t t h e c o r e o f t h e p r o j e c t . $ ec o m m u n i t ye x p a n d e dt h en e t w o r ks i g n i 0 c a n t l yf o l l o w i n gan a t u r a l d i s a s t e r i nt h e F a l l o f 2 0 1 2 . K e ya s p e c t s 1 . Ma i nn e t w o r k a n c h o r s a r e t r u s t e dc o m m u n i t y o r g a n i z a t i o n s . 2 .S o l i dr e l a t i o n s h i pw i t ht e c h n i c a l s u p p o r t p r o v i d e rf r o mo u t s i d e t h e c o m m u n i t y . 3 .C o m m u n i t y l e dd e s i g np r o c e s se m p h a s i z e sl o c a ln e e d sa n d e n h a n c e s e n g a g e m e n t . 4 .R a p i dp r o t o t y p i n go fa p p l i c a t i o n sd e s i g n e df o rt h el o c a la r e a n e t w o r k .

History of the network


B e g i n n i n g i nF a l l 2 0 1 1 , t h e R e dH o o kI n i t i a t i v e ( R HI ) , a B r o o k l y nn o n p r o 0 tf o c u s e do nc r e a t i n gs o c i a lc h a n g et h r o u g hy o u t he n g a g e m e n t , a p p r o a c h e dt h eO p e nT e c h n o l o g yI n s t i t u t ea b o u tc o l l a b o r a t i n go na c o m m u n i t yw i r e l e s s n e t w o r k . R HI w a n t e daw a yt oc o m m u n i c a t ew i t h t h e r e s i d e n t s i m m e d i a t e l y a r o u n di t s c o m m u n i t y c e n t e r . O T I w a s i n i t i a l l y u n a b l et os u p p o r tt h ee 1 o r td i r e c t l y , b u ti n t r o d u c e dA n t h o n yS c h l o s s , R HI Me d i a P r o g r a m s C o o r d i n a t o r , t oJ o n a t h a nB a l d w i n , a P a r s o n s S c h o o l o f D e s i g ng r a d u a t es t u d e n tw h oh a db e e ne x p e r i m e n t i n gw i t hw i r e l e s s m e s h a s a l o c a l d i g i t a l p l a t f o r m .

Case Study: Open Technology Institute 481

F i g u r e C s O T I 1 : R e d H o o k W e s t H o u s e s p u b l i c h o u s i n g b u i l d i n g s R e dH o o ki s t h en o r t h w e s t e r nc o r n e r o f B r o o k l y n , j u t t i n go u t i n t ot h e H u d s o nB a y . I t i s c u t o 1f r o mt h e r e s t o f t h e b o r o u g hb yt h e G o w a n u s E x p r e s s w a y , w h i c hc a r r i e s t r a N c f r o mp o i n t s s o u t hi n t o l o w e r Ma n h a t t a n . $e n e i g h b o r h o o di s h o m e t oa p p r o x i m a t e l y5 0 0 0r e s i d e n t s o f R e dH o o k H o u s e s p u b l i c h o u s i n g a n do t h e r l o wi n c o m e a r e a s n e a r a ne x p r e s s w a y , a s w e l l a sag e n t r i f y i n gs e c t i o nw i t hm a n ys m a l l b u s i n e s s e sc l o s e rt ot h e w a t e r . Ma n y i n d u s t r i a l s i t e s , a nI k e a a n da n u m b e r o f p u b l i c p a r k s 0 l l o u t t h e a r e a .

482

CASE STUDIES

F i g u r e C s O T I 2 : W a l k i n g f r o mR H I O M c e s t o G o w a n u s E x p r e s s w a y

F i g u r e C s O T I 3 : G o w a n u s E x p r e s s w a y w h i c hd i v i d e s t h e R e d H o o k n e i g h b o r h o o d f r o mt h e r e s t o f B r o o k l y n . R HI Wi F i s i n i t i a l p l a nw a s t op r o v i d e w i r e l e s s a c c e s s t ot h eI n t e r n e t i n a n da r o u n dR HI sb u i l d i n g , w h i c hi s n e a r t h ee x p r e s s w a ya n dt h eR e d H o o k H o u s e s . S c h l o s s a n dB a l d w i ni n s t a l l e daU b i q u i t i N a n o s t a t i o no nt h e r o o f a n da L i n k s y s r o u t e r i n s i d e t h e b u i l d i n g , c o n n e c t e d v i a e t h e r n e t . $e y c o n n e c t e d t h e L i n k s y s r o u t e r t ot h e c e n t e r s m o d e m . $i s i n s t a l l a t i o n p r o v i d e da no p p o r t u n i t yt op r o t o t y p ee a r l yv e r s i o n s o f R HI Wi F i l o c a l a p p l i c a t i o n s . Wh e nr e s i d e n t s o r v i s i t o r s t oR HI c o n n e c t e dt ot h e w i r e l e s s a c c e s s p o i n t n a m e d R e dH o o kI n i t i a t i v eWi F i , t h e yw e r ed i r e c t e dt oa w e b s i t e o n a l o c a l s e r v e r .

Case Study: Open Technology Institute 483

O nt h i s w e b s i t e w a s a S h o u t B o x , a l o c a l d i g i t a l m e s s a g e b o a r da l l o w i n g e v e r y o n et ol e a v eac o m m e n t o ran o t eb e h i n da n dp a r t i c i p a t ei nt h e p r o j e c t .

F i g u r e C s O T I 4 : F i r s t R H I Wi F i n o d e ( U b i q u i t i N a n o s t a t i o n ) i n s t a l l e do n t h e r o o f t o p o f t h e b u i l d i n g t h a t h o u s e s t h e R H I o M c e s . I nMa r c ho f 2 0 1 2 , B a l d w i na n dS c h l o s s i n s t a l l e da na d d i t i o n a l U b i q u i t i N a n o s t a t i o no nt h er o o fo fa na p a r t m e n tb u i l d i n go v e r l o o k i n gC o 1 e y P a r k a n dm u c ho f t h e r e s t o f t h e n e i g h b o r h o o d . Ar e s i d e n t o f t h e b u i l d i n gw i t hs o c i a l t i e s t oR HI d o n a t e dt h e e l e c t r i c i t y a n dr o o f t o p a c c e s s . Wi t ht h i s v a n t a g e p o i n t o nt h e n e i g h b o r h o o d , t h e p o s s i b i l i t y o f a w i r e l e s s n e t w o r k c o n n e c t i n g p u b l i c s p a c e s b e g a nt o t a k e s h a p e . I n i t i a l l y , t h eC o 1 e yP a r kw i r e l e s s a c c e s s p o i n t w a s n o t c o n n e c t e dt ot h e I n t e r n e t , b u t w a s c o n n e c t e d t o a G u r u P l u g S e r v e r . $e b a s i c , l o wp o w e r s e r v e r h o s t e da l o c a l w e bp a g e o nt h e n e t w o r ka n da S h o u t B o x s i m i l a r t o t h e o n e r u n n i n g i nR HI .

484

CASE STUDIES

F i g u r e C s O T I 5 : R u n n i n g c a b l e t o i n s t a l l a n o d e o n t h e r o o f o f a n a p a r t m e n t b u i l d i n g n o r t h o f C o > e y P a r k .

F i g u r e C s O T I 6 : N o d e i n s t a l l e do n t h e r o o f o f a n a p a r t m e n t b u i l d i n g .

Case Study: Open Technology Institute 485

R HI Wi F i u s e s O T I s C o m m o t i o nWi r e l e s s 0 r m w a r e r u n n i n g o nU b i q u i t i r o u t e r s . C o m m o t i o ni saf r e ea n do p e n s o u r c ec o m m u n i c a t i o nt o o l t h a tu s e s m o b i l ep h o n e s ,c o m p u t e r s ,a n d o t h e rw i r e l e s sd e v i c e st oc r e a t e d e c e n t r a l i z e dm e s hn e t w o r k s . Mo s ti m p o r t a n t l y ,C o m m o t i o na l l o w sn e t w o r kd e v e l o p m e n tt oo c c u r d y n a m i c a l l ya n do r g a n i c a l l ys ot h ec o m m u n i t yc a nd e c i d ew h e r ea n d h o wt h e n e t w o r k s h o u l dg r o w . C o m m o t i o nn e t w o r k sa r es u s t a i n a b l ew i t h o u ta c o n n e c t i o nt ot h e I n t e r n e t , w h i c hm a k e s t h e mr e s i l i e n t t oo u t a g e s ; t h e y c a nd i s t r i b u t e a c c e s s t o a p p l i c a t i o n s h o s t e d o n l o c a l s e r v e r s o r o n t h e r o u t e r s t h e m s e l v e s .

Social software and growth of the network


B a s e do nr e s e a r c hi n t oc o m m u n i t yw i r e l e s s n e t w o r k s a r o u n dt h ew o r l d , B a l d w i nh a di d e n t i 0 e dan e e df o r s o c i a l s o f t w a r et h a t w o u l da d dv a l u e a n da d i s t i n c t i d e n t i t y t o t h e c o m m u n i t y w i r e l e s s n e t w o r k , s p e c i 0 c a l l y t o : S p a r kc i v i ca n dc o m m u n i t ye n g a g e m e n tb ya d d r e s s i n gl o c a l n e e d s , i n t e r e s t s a n dc u l t u r e . F o s t e rt r u s t ,i n t e r d e p e n d e n c e ,a n dr e c i p r o c i t yt h r o u g h o u tt h e c o m m u n i t y . Me r g e d i g i t a l a n dp h y s i c a l c o m m u n i t y s p a c e s . E n s u r et h a t p e o p l ek n o wa b o u tm e s h/h a v es o f t w a r ei n s t a l l e d b e f o r e a c o m m u n i c a t i o no u t a g e o c c u r s .

S c h l o s s a n dB a l d w i nb e g a nw o r k i n g w i t hp a r t i c i p a n t s i nR HI s e s t a b l i s h e d m e d i ap r o g r a m s o nac o l l a b o r a t i v e , h u m a n c e n t e r e dd e s i g np r o c e s s t h a t c a l l e du p o nt h e k n o w l e d g e a n di n t e r e s t s o f l o c a l r e s i d e n t s . $r o u g h o u tt h e0 r s ty e a r ,B a l d w i na n dS c h l o s sh e l dw o r k s h o p sw i t h c o m m u n i t y m e m b e r s t od e t e r m i n e l o c a l n e e d s a n dg a t h e r d e s i g ni d e a s f o r T i d e p o o l s ,d e v e l o p e db yB a l d w i nf o rp i l o t i n go nt h eR HIn e t w o r k . T i d e p o o l s i s a no p e n s o u r c ec u s t o m i z a b l el o c a l m a p p i n gp l a t f o r mb u i l t u s i n g J a v a s c r i p t , L e a W e t J S , P HPa n dMo n g o D B . B a l d w i nd e s i g n e d i t f o r l o c a l c o m m u n i c a t i o n , p l a c e m a k i n g , a n d o r g a n i z i n g a r o u n de v e n t s , i s s u e s , a n dc o m m u n i t y a s s e t s .

486

CASE STUDIES

F i g u r e C s O T I 7 : Wo r k s h o p t o i d e n t i f y l o c a l n e e d s f o r R H I Wi F i n e t w o r k . ( P h o t o b y B e c k y K a z a n s k y ) .

F i g u r e C s O T I 8 : T i d e p o o l s m a p o f R H I Wi F i n e t w o r k .

Case Study: Open Technology Institute 487

$ ec o m m u n i t yw o r k s h o p sp r o d u c e di d e a sf o rl o c a la p p l i c a t i o n st h a t w o u l d a d d r e s s s p e c i 0 c n e e d s i d e n t i 0 e db y t h e c o m m u n i t y . $e n e e d s i d e n t i 0 e di nt h e c o m m u n i t y w o r k s h o p s w e r e : A c c e s s t ot h e I n t e r n e t ( a t h o m e , v i a m o b i l e , a n da t n e i g h b o r h o o d k i o s k s ) . A c c o u n t a b l ec o m m u n i t yp a r t i c i p a t i o n( F A Q s , e l e c t r o n i cb u l l e t i n b o a r d s , S MSe n a b l e df e a t u r e s ) . A c c e s s t or e s o u r c e s ( e m p l o y m e n t a n ds k i l l s s h a r i n g ) . L o c a l I n f o r m a t i o nS y s t e m( h i s t o r i c a l a r c h i v e , l a n d m a r k s ) . Mu l t i l i n g u a l ( S p a n i s h , A r a b i c a n dT a g a l o g ) . P l a y f u l i n t e r f a c e t op r o m o t e e x p l o r a t i o n .

I nt h es u m m e r o f 2 0 1 2 , B a l d w i nj o i n e dO T I ss t a 1 , a n dO T I b r o u g h t a d d i t i o n a l t e c he x p e r t i s e t ot h e c o l l a b o r a t i o na l o n g w i t he x p e r i e n c e c l o s i n g d i g i t a l d i v i d e s a n dd e v e l o p i n g c o m m u n i t y c o n t r o l l e di n f r a s t r u c t u r e . $e o r g a n i z a t i o n se x p e r i e n c ei nD e t r o i ta n dP h i l a d e l p h i ap r o v i d e d g u i d a n c e o nh o wt oc o l l a b o r a t e w i t hc o m m u n i t i e s t h a t h a v e b e e ns o c i a l l y , g e o g r a p h i c a l l y a n dt e c h n o l o g i c a l l y i s o l a t e dw i t h i nc i t i e s . D u r i n gt h em o n t h s f o l l o w i n gt h e i n i t i a l t e s t s o f t h e l o c a l n e t w o r k , O T I a n dR HI f o c u s e do nr e a l i z i n g t h r e e i n i t i a l a p p l i c a t i o n s t h a t w o u l du s e t h e T i d e p o o l s p l a t f o r ma n dr u no v e r t h e l o c a l w i r e l e s s n e t w o r k : Wh e r e s t h e B 6 1B u s ? A na p p l i c a t i o nf o r a c c e s s i n g r e a l t i m e b u s l o c a t i o n sa n da r r i v a lt i m e su s i n gd a t af r o m t h eMe t r o p o l i t a n T r a n s i t A u t h o r i t y s B u s T i m e A P I ( l a u n c h e d O c t o b e r 9 , 2 0 1 2 ) . S t o p& F r i s k S u r v e yAs u r v e y a p p l i c a t i o nt h a t r e s i d e n t s c a nu s e t od o c u m e n t p o l i c e i n t e r a c t i o n s i nR e dH o o k a n di m p r o v e p u b l i c s a f e t y ( l a u n c h e d O c t o b e r 1 7 , 2 0 1 2 ) . R HI R a d i oA no n l i n e r a d i o s t a t i o n , s t r e a m i n g c o n t e n t p r o d u c e d b y t h e Y o u t h R a d i oG r o u p a t R HI ( u n d e r d e v e l o p m e n t ) .

488

CASE STUDIES

F i g u r e C s O T I 9 : Ma g n e t a d v e r t i s i n g " Wh e r e ' s t h e B 6 1B u s " . T i d e p o o l s a p p l i c a t i o n .

F i g u r e C s O T I 1 0 1 1 : Mo b i l e u s e r i n t e r f a c e f o r " Wh e r e ' s t h e B 6 1 B u s ? " a p p l i c a t i o n .

Case Study: Open Technology Institute 489

Expansion after superstorm Sandy


O nO c t o b e r 2 9 , 2 0 1 2 , S u p e r s t o r mS a n d y d e v a s t a t e dl o w l y i n g R e dH o o k a l o n g w i t hm u c ho f t h e s u r r o u n d i n g r e g i o n . A m i dp o w e r o u t a g e s a n dW o o d i n g , t h e n e e df o r a c c e s s t oc o m m u n i c a t i o n s s y s t e m s f o r i n f o r m a t i o na b o u t w h a t w a s h a p p e n i n ga n dw h e r eh e l pw a s n e e d e db e c a m e c r u c i a l . $e R HI b u i l d i n g w a s o n e o f t h e f e wl o c a t i o n s t h a t h a dm a n a g e dt ok e e p p o w e r a n d , a s a r e s u l t , R HI Wi F i h a ds t a y e d u p t h r o u g ht h e s t o r m . I nt h e d a y si m m e d i a t e l yf o l l o w i n gt h es t o r m , u pt o3 0 0p e o p l ep e rd a yw e r e a c c e s s i n gt h en e t w o r kt oc o m m u n i c a t ew i t hl o v e do n e s , l e a r nw h a t w a s h a p p e n i n g i nt h e r e s t o f t h e c i t y , a n ds e e k r e c o v e r y a s s i s t a n c e . W ei m m e d i a t e l ys a wc o m m u n i c a t i o n s a so n eo ft h ec r i t i c a l n e e d si nt h e c o m m u n i t y , s a y s T o n yS c h l o s s . W e w a n t e di t t ob e a s e a s y a s p o s s i b l e f o r p e o p l e t oc o n t a c t t h e i r n e t w o r k s t oC n dh o u s i n g , g a i na c c e s s t oi n f o r m a t i o n , a n dr e p o r t t h e i r s a f e t y s t a t u s . T e x t m e s s a g i n g w a s t h e m o s t w i d e l y a n di ns o m e c a s e s t h e o n l y m e a n s o fc o m m u n i c a t i o nf o rn e i g h b o r h o o dr e s i d e n t sa f t e rt h es t o r m , s oi na m a t t e r o f d a y s , O T I d e v e l o p e dR HI S t a t u s a nS MSt oMa pp l u g i nf o r T i d e p o o l s u s i n gt h eT r o p oA p p l i c a t i o nP r o g r a m m i n gI n t e r f a c e ( A P I ) f o r h a n d l i n gS MS m e s s a g e sa n dt h eG o o g l eG e o c o d i n gA P If o rh a n d l i n g n a t u r a l l a n g u a g e a d d r e s s e s . R HI S t a t u s p r o v i d e d a m e a n s f o r r e s i d e n t s t ot e x t t h e i r l o c a t i o na n dn e e d s t o ac o n t a c tn u m b e r ,w h i c ha u t o m a t i c a l l ym a p st h ei n f o r m a t i o ni n T i d e p o o l sw i t ht h r e a d e dd i s c u s s i o ns oo t h e r si nt h ec o m m u n i t yc a n r e s p o n d .

490

CASE STUDIES

m e s s a g e s o n a T i d e p o o l s m a p . A s r e c o v e r y p r o g r e s s e d , F r a n kS a n b o r n , a F e d e r a l E m e r g e n c y Ma n a g e m e n t A d m i n i s t r a t i o n( F E MA )I n n o v a t i o nF e l l o w , r e a c h e do u tt oR HIa b o u t e x p a n d i n gt h en e t w o r kt of u r t h e r s u p p o r t r e c o v e r ye 1 o r t s i nR e dH o o k . S a n b o r n r e c r u i t e d v o l u n t e e r sf r o m N Y C Me s h a n d Ha c D C ,a Wa s h i n g t o n ,D C b a s e d h a c k e r s p a c e ,a n d c o o r d i n a t e d w i t h t h e I n t e r n a t i o n a l T e c h n o l o g y D i s a s t e r R e s o u r c e C e n t e r ( I T D R C ) . O T I a l r e a d y h a d a s t o r e o f r o u t e r s a t R HI f r o mb e f o r e t h e s t o r m . Wi t ht e c h n i c a l d i r e c t i o nf r o mO T I a n do p e r a t i n ga c c o r d i n gt ot h e g o a l s e s t a b l i s h e db y R HI , t h e t e a ms e t u pa F E MAs a t e l l i t e l i n ko nt h e r o o f o f R HI a n di n s t a l l e da C o m m o t i o nr o u t e r o nt h e r o o f o f a na u t ob o d y s h o p d o w nt h e b l o c k f r o mR HI . P r e v i o u s l y , t h e o w n e r o f t h e s h o ph a db e e nr e l u c t a n t t oh o s t ar o u t e r , a s h e d i dn o t s e e a b e n e 0 t i nd o i n g s o . H o w e v e r , a s t h e c o m m u n i t y r a l l i e di n r e s p o n s e t ot h e c r i s i s , t h e a u t ob o d y s h o pb e c a m e a k e yl i n kb e t w e e nt h e I n t e r n e t g a t e w a ya t R HI a n dt h er o u t e r o v e r l o o k i n gC o 1 e yP a r k , w h i c h h a db y t h e nb e c o m e a ni m p o r t a n t a i dd i s t r i b u t i o np o i n t f o r R e d H o o k . A l t h o u g ht h es a t e l l i t eu p l i n kw a s o 1 e r e df o r o n l y3 0d a y s a n dp r o v i d e d m o d e s tb a n d w i d t h ,t h em e s hn e t w o r kc o u l dd i s t r i b u t et h eI n t e r n e t c o n n e c t i o nt ok e yl o c a t i o n s w h e r e r e s i d e n t s , 0 r s t r e s p o n d e r s , a n dr e c o v e r y v o l u n t e e r s n e e d e di t m o s t .

Case Study: Open Technology Institute 491

A s t h ec o m m u n i t yc a m et o g e t h e r t or e s p o n dt ot h es t o r m , t h en e e dt o g r o wt h i s r e s i l i e n t c o m m u n i c a t i o n s i n f r a s t r u c t u r e b e c a m e c l e a r . Wi t hp o w e r a n dw a t e r s t i l l o 1i nm u c ho f R e dH o o ki nt h ef o l l o w i n g m o n t h ,m a n yl o c a lo r g a n i z a t i o n sa n dr e s i d e n t sr e a c h e do u tt oh e l p . B r o o k l y nF i b e r , al o c a lI n t e r n e ts e r v i c ep r o v i d e r( I S P ) , v o l u n t e e r e da n a d d i t i o n a l g a t e w a y t o R HI Wi F i . T oa d dt h eg a t e w a yi n t ot h em e s h ,O T I ,R HIa n dB r o o k l y nF i b e r i n s t a l l e da5G HzU b i q u i t i N a n o s t a t i o nL o c or o u t e r r u n n i n gA i r O S( t o r e c e i v e t h e 0 b e r s i g n a l ) , a n da U b i q u i t i N a n o s t a t i o nr u n n i n g C o m m o t i o n ( a saw i r e l e s sa c c e s s p o i n t ) , o nt h e3 r dW o o ro f t h eV i s i t a t i o nC h u r c h R e c t o r y o n t h e w e s t s i d e o f C o 1 e y P a r k . $e c h u r c hw a s a l s ow i t h o u t p o w e r a t t h e t i m e , b u t t h e t e a mi n s t a l l e da n u n i n t e r r u p t i b l e p o w e r s u p p l y t h a t c o u l dr u nt h e r o u t e r s f o r 1 2h o u r s a t a t i m e .

F i g u r e C s O T I 1 3 : R o o f t o p n o d e . I nt h e a f t e r m a t h o f S u p e r s t o r mS a n d y , a d d i t i o n a l c o m m u n i t y m e m b e r s o > e r e dt o h o s t R H I Wi F i n o d e s a n d a l o c a l I S P d o n a t e d I n t e r n e t c o n n e c t i v i t y .

492

CASE STUDIES

F i g u r e C s O T I 1 4 : R o o f t o p n o d e i n s t a l l e da f t e r S u p e r s t o r mS a n d y .

S i n c et h es t o r m , R HI Wi F i h a s s u p p o r t e da p p r o x i m a t e l y1 0 0u s e r s p e r w e e k e v e nw i t h o u t p r o m o t i o no f t h e r e s o u r c e . D a t ac o l l e c t e db yC o m m o t i o no nc u r r e n t D HC Pl e a s e s , a sw e l l a st h e G o o g l eA n a l y t i c s o nt h el a n d i n gw e b p a g e , s h o wt h a t r e s i d e n t s a p p e a r t o b e p r i m a r i l y c o n n e c t i n g u s i n g A n d r o i dd e v i c e s a n dA p p l e i P o dT o u c h e s . I na d d i t i o n , m a n yr e s i d e n t s u s et h ec o m p u t e rw o r k s t a t i o n s i nt h eR HI m e d i a l a b a s w e l l a s t h e w i r e l e s s a v a i l a b l e i nR HI . R HI i s s e r v i n g a s b o t ha p h y s i c a la n ds o c i a la n c h o rf o rt h ew i r e l e s sn e t w o r k ,d r i v i n gd i g i t a l a d o p t i o n , e d u c a t i n g t h e n e i g h b o r h o o d , a n dc o o r d i n a t i n g r e l i e f e 1 o r t s .

Case Study: Open Technology Institute 493

F i g u r e C s O T I 1 5 : R H I Wi F i n e t w o r k m a p . B a s e m a p ( c ) G o o g l e Ma p s 2 0 1 3 .

F i g u r e C s O T I 1 6 : Me s h n e t w o r k t o p o l o g y v i e w e d i nO L S R V i z .

494

CASE STUDIES

Sustainability & future goals


R HIw i l l c o n t i n u et od e v e l o pt h ep r o j e c tw i t ht h eg o a l o fs u p p o r t i n g c o m m u n i t y w i d er e c o v e r yf r o mS u p e r s t o r mS a n d y . Wi t hs u p p o r tf r o m N e wY o r kC i t yWo r k f o r c eD e v e l o p m e n tf u n d i n g ,R HIa n dO T Ia r e l a u n c h i n gat r a i n i n gp r o g r a mi nJ a n u a r y2 0 1 3t oe n g a g en e i g h b o r h o o d r e s i d e n t s i nm a i n t a i n i n ga n dg r o w i n gt h ew i r e l e s s n e t w o r k . Mo d e l e do n t h e D i g i t a l S t e w a r d s c u r r i c u l u md e v e l o p e db yO T Ia n dA l l i e dMe d i a P r o j e c t s i nD e t r o i t , Mi c h i g a n , t h ec u r r i c u l u mw i l l t r a i ny o u n ga d u l t s t o i n s t a l l n e wr o u t e r s , m a i n t a i ne x i s t i n go n e s , a n dp r o m o t e a d o p t i o no f t h e R HI Wi F i n e t w o r kt h r o u g h o u t R e dH o o k . $e R HI D i g i t a l S t e w a r d s w i l l p r i o r i t i z ea d d i t i o n a l p u b l i cs p a c e s f o r n e t w o r ke x p a n s i o na n dw o r kw i t h o t h e r r e s i d e n t s t od e s i g nn e w , l o c a l a p p l i c a t i o n s . O T Iw i l l c o n t i n u et o a s s i s t i nt h e d e v e l o p m e n t o f t h e a p p l i c a t i o n s a n ds u p p o r t t h e e n g i n e e r i n g o f t h e n e t w o r k i nc l o s e c o l l a b o r a t i o nw i t ht h e c o m m u n i t y .

Cost of the network


D o n a t e dl a b o r f r o ml o c a l r e s i d e n t s a n dt e c h n o l o g i s t . I n s t i t u t i o n a l s u p p o r t f r o mR HI a n dO T I . H a r d w a r e ( ~ $ 5 0 t o ~ $ 8 5 e a c hr o u t e r ) . I n s t a l l a t i o n( 3 5w o r k h o u r s f o r t w o p e o p l e p e r s i t e ) . B a n d w i d t h( d o n a t e d b y R HI , B r o o k l y nF i b e r , a n dF E MA ) . T r a i n i n g p r o g r a mf o r l o c a l r e s i d e n t s t om a i n t a i na n de x p a n dn e t w o r ka sp a r to fam u n i c i p a l e m p l o y m e n t p r o g r a m .

Lessons learned
H a v i n g r e l a t i o n s h i p s a n da n c h o r w i r e l e s s n o d e s i np l a c e p r i o r t oa d i s a s t e r f a c i l i t a t e s r a p i d n e t w o r k d e p l o y m e n t t h r o u g h : A l r e a d y e s t a b l i s h e d r e l a t i o n s h i p s w i t h k e y c o m m u n i t y s t a k e h o l d e r s . A h e i g h t e n e d l e v e lo ft e c h n o l o g i c a ll i t e r a c y i n t h e c o m m u n i t y . P r e p o s i t i o n e d w i r e l e s s n e t w o r k e q u i p m e n t i n t h e n e i g h b o r h o o d . $ em o s t c h a l l e n g i n gi n v e s t m e n t i s i nt h ei n i t i a l o r g a n i z i n ga n dd e s i g n p h a s e b e f o r e a n yv a l u ei s r e a l i z e d . C o m m u n i t y d e s i g n e da p p l i c a t i o n s a d d v a l u e t o a l o c a l n e t w o r k , e v e na t a s m a l l s c a l e .

Case Study: Open Technology Institute 495

Related articles & websites


R E L E A S E : N e wC o m m u n i t y T e c h T o o l t oH e l pi nS a n d y ' s A f t e r m a t h h t t p : / / o t i . n e w a m e r i c a . n e t / p r e s s r o o m / 2 0 1 2 / r e l e a s e _ n e w _ c o m m u n i t y _ t e c h _ t o o l _ t o _ h e l p _ i n _ s a n d y s _ a f t e r m a t h Wh a t S a n d y Ha s T a u g h t U s A b o u t T e c h n o l o g y , R e l i e f a n dR e s i l i e n c e h t t p : / / w w w . f o r b e s . c o m / s i t e s / d e a n n a z a n d t / 2 0 1 2 / 1 1 / 1 0 / w h a t s a n d y h a s t a u g h t u s a b o u t t e c h n o l o g y r e l i e f a n d r e s i l i e n c e / AC o m m u n i t y Wi r e l e s s Me s hP r o t o t y p e i nD e t r o i t , MI h t t p : / / w w w . n e w a m e r i c a . n e t / n o d e / 3 4 9 2 5 T i d e p o o l s h t t p : / / t i d e p o o l s . c o h t t p : / / w w w . a n i m a l n e w y o r k . c o m / 2 0 1 2 / t i d e p o o l s a s o c i a l n e t w o r k t o o l i n t h e s e r v i c e o f t h e c o m m u n i t y / h t t p : / / w l a n s i . n e t / e n / b l o g / 2 0 1 2 / 0 5 / 2 6 / i n t r o d u c i n g t i d e p o o l s s o c i a l w i 0 h t t p : / / w w w . c o r e 7 7 . c o m / b l o g / s o c i a l _ d e s i g n / a _ c o m m u n i t y o w n e d _ m a p _ a c c e s s e d _ v i a _ m e s h _ n e t w o r k s _ 2 3 3 1 9 . a s p h t t p : / / w w w . j r b a l d w i n . c o m / t i d e p o o l s w i 0 / S t o p& F r i s k A p p h t t p : / / a n i m a l n e w y o r k . c o m / 2 0 1 2 / s t o p a n d f r i s k a p p l a u n c h e d b y r e d h o o k i n i t i a t i v e h t t p : / / w w w . d n a i n f o . c o m / n e w y o r k / 2 0 1 2 1 0 1 7 / r e d h o o k / s t o p a n d f r i s k a p p l a u n c h e d b y r e d h o o k i n i t i a t i v e R e dH o o k h t t p : / / w w w . n y c g o v p a r k s . o r g / p a r k s / r e d h o o k p a r k / h i s t o r y

También podría gustarte