Escolar Documentos
Profissional Documentos
Cultura Documentos
CCNA Discovery
W ork in g a t a S m a l l -t o-M ed iu m
B u sin ess or I S P
Lab 4.2.4 D e t e r m i n i n g P A T T r an s l at i o n s
1 2
Request
T r a n sl a ted Request
C l i en t
N A T R o u t er
T r a n sl a ted Resp o n se
O n e g l o b a l I P a d d r ess
Web Server
Resp o n se
1 2 3 4
P r e s e n ta tio n _ ID
Client on a private network sends a request to a web server on th e public I nternet. N A T router translates sourc e address and f orwards th e request to th e web server T h e web server responds to th e c lients translated address T h e N A T router translates th e c lient address ( destination) bac k to th e orig inal private address
2 0 0 6 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d .
C is c o C o n fid e n tia l
Objectives
D et ermin e w h at an in t ern al I P ad d res s an d p o rt n umb er are t ran s lat ed t o us in g p o rt ad d res s t ran s lat io n ( P A T ) .
B a ck g r o u n d / P r ep a r a tio n
P o rt ad d res s t ran s lat io n ( P A T ) is a fo rm o f n et w o rk ad d res s t ran s lat es mult ip le in t ern al ( us ually p riv at e) ad d res s es t o a s co n n ect ed t o t h e I n t ern et . P o rt n umb ers are us ed , in co mb in in d iv id ual co n n ect io n s . I n t h is lab , y o u us e t h e ipconfig an d co mp ut er. Y o u w ill b e ab le t o s ee t h e in it ial I P ad d res s an d p t ran s lat ed I P ad d res s an d p o rt co mb in at io n . Co mp ut er run n in g W in d o w s X P P ro fes s io n al
t ran s lat io n ( NA T ) . W it h P A T , t h e ro ut er in g le p ub lic I P ad d res s o n an in t erface t h at is at io n w it h I P ad d res s es , t o k eep t rack o f ne t s t a t co mman d s t o v iew o p en p o rt s o n a o rt co mb in at io n , an d d et ermin e t h e
I n t ern et co n n ect io n
Co n n ect io n t o a g at ew ay ro ut er o r an I S R
us in g P A T
A cces s t o t h e P C co mman d p ro mp t .
P age 1 of 4
All contents are Copyright 199220 0 7 Cisco S ystem s, I nc. All rights reserv ed . T his d ocu m ent is Cisco P u b lic I nf orm ation.
B u sin ess or I S P
a. O p en a C om m a nd P r om pt w in d o w b y click in g S t a r t > R u n an d t y p in g cm d . A lt ern at iv ely , y o u may click S t a r t > A l l pr ogr a m s > A cce s s or ie s > C om m a nd P r om pt . A t t h e p ro mp t , t y p e t h e ipconfig co mman d t o d is p lay t h e I P ad d res s o f t h e co mp ut er.
c.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ NA T ro ut er g at ew ay .
Step 3 : D i s pl a y b a s el i n e n ets ta t r es u l ts
a. A t t h e co mman d p ro mp t , t y p e t h e ne t s t a t n co mman d .
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
c.
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
Step 4 : D i s pl a y a c ti v e n etw o r k c o n n ec ti o n s
All contents are Copyright 199220 0 7 Cisco S ystem s, I nc. All rights reserv ed . T his d ocu m ent is Cisco P u b lic I nf orm ation.
P age 2 of 4
B u sin ess or I S P
G o b ack t o t h e Co mman d P ro mp t w in d o w . T y p e t h e ne t s t a t n co mman d ag ain , an d t h en t y p e t h e co mman d w it h o ut t h e n o p t io n . T h e o ut p ut lo o k s s imilar t o t h e fo llo w in g fig ure, d ep en d in g o n w h at o t h er n et w o rk ap p licat io n s an d co n n ect io n s are o p en w h en y o u is s ued t h e co mman d .
e. W rit e d o w n t h e co n n ect io n en t ries fo r t h e clien t I P ad d res s an d t h e I P ad d res s o f t h e w w w .cis co .co m w eb s erv er. F o reig n I P A d d res s an d p o rt n umb er: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ L o cal clien t I P ad d res s an d p o rt n umb er: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
f.
All contents are Copyright 199220 0 7 Cisco S ystem s, I nc. All rights reserv ed . T his d ocu m ent is Cisco P u b lic I nf orm ation.
P age 3 of 4
B u sin ess or I S P
Request
2
T y p e I n side-L o c a l Outside-L o c a l Address:Port
T r a n sl a ted Request
S o ur c e D estin a tio n T y p e I n side-G l o b a l Outside-G l o b a l
S o ur c e D estin a tio n
Address:Port
NAT Router
Web Server
ISP
S o ur c e D estin a tio n
T y p e
T r a n sl a ted Resp o n se
Address:Port
4
S o ur c e D estin a tio n T y p e Outside-G l o b a l I n side-G l o b a l
Outside-L o c a l I n side-L o c a l
Address:Port
Resp o n se
P r e s e n ta tio n _ ID
2 0 0 6 C is c o S y s te m s , In c . A ll r ig h ts r e s e r v e d .
C is c o C o n fid e n tia l
Step 6 : R ef l ec ti o n
b . T h e NA T t ermin o lo g y us ed in t h e lab in clud es fo ur t y p es o f ad d res s es : in s id e-lo cal, in s id e-g lo b al, o ut s id e-lo cal, an d o ut s id e-g lo b al. I n man y co n n ect io n s t h at p as s t h ro ug h NA T ro ut ers , t w o o f t h es e ad d res s es are o ft en t h e s ame. W h ich t w o o f t h es e fo ur ad d res s es n o rmally remain un ch an g ed , an d w h y d o y o u t h in k t h at is t h e cas e? _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
All contents are Copyright 199220 0 7 Cisco S ystem s, I nc. All rights reserv ed . T his d ocu m ent is Cisco P u b lic I nf orm ation.
P age 4 of 4