2.2.2.5 Lab - Configuring IPv4 Static and Default Routes (1)

November 23, 2018 | Author: balvinder singh | Category: Ip Address, Router (Computing), Routing, Gateway (Telecommunications), Network Switch
Share Embed Donate


Short Description

data comm...

Description

Lab – Configuring IPv4 Static and Default Routes Topology

Addressing Table Device R1

Interface

IP Address

Subnet Mas

Default !ate"ay

G0/1

192.168.0.1

255.255.255.0

N/A

S0/0/1

10.1.1.1

255.255.255.252

N/A

G0/1

192.168.1.1

255.255.255.0

N/A

S0/0/0 (DCE)

10.1.1.2

255.255.255.252

N/A

Lo0

209.165.200.225

255.255.255.224

N/A

Lo1

198.133.219.1

255.255.255.0

N/A

PC-A

NIC

192.168.0.10

255.255.255.0

192.168.0.1

PC-C

NIC

192.168.1.10

255.255.255.0

192.168.1.1

R3

#b$ectives Part %& Set 'p t(e Topology and Initiali)e Devices Part *& Configure +asic Device Settings and ,erify Connectivity

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' % o% %-

Lab – Configuring IPv4 Static and Default Routes Part .& Configure Static Routes 

Co!%i,#'  #'c,#si*' s$$ic #o,$'.



Co!%i,#'  "i#'c$& co!!'c$'" s$$ic #o,$'.



Co!%i,#' !" #'o*' s$$ic #o,$'s.

Part 4& Configure and ,erify a Default Route

+acground / Scenario  A #o,$'# ,s's  #o,$i! $&' $o "'$'#i!' '#' $o s'!" c'$s. +' #o,$i! $&' co!$i!s  s'$ o% #o,$'s $$ "'sc#i' ic $' o# i!$'#%c' $' #o,$'# ,s's $o #'c  s'ci%i'" !'$o#. I!i$i&& $' #o,$i! $&' co!$i!s o!& "i#'c$& co!!'c$'" !'$o#s. +o co,!ic$' i$ "is$!$ !'$o#s #o,$'s ,s$ ' s'ci%i'" !" ""'" $o $' #o,$i! $&'. I! $is & o, i&& !,&& co!%i,#'  s$$ic #o,$' $o  s'ci%i'" "is$!$ !'$o# s'" o!  !'$-o IP ""#'ss o# 'i$ i!$'#%c'. o, i&& &so co!%i,#'  s$$ic "'%,&$ #o,$'. A "'%,&$ #o,$' is  $' o% s$$ic #o,$' $$ s'ci%i's  $' $o ,s' '! $' #o,$i! $&' "o's !o$ co!$i!  $ %o# $' " 's$i!$io! !'$o#. 0ote +is & #o*i"'s i!i& ssis$!c' i$ $' c$,& co!"s !'c'ss# $o co!%i,#' s$$ic #o,$i!. 7o'*'# $' #',i#'" co!"s #' #o*i"'" i! A'!"i A. +'s$ o,# !o&'"'  $#i! $o co!%i,#' $' "'*ic's i$o,$ #'%'##i! $o $' '!"i. 0ote +' #o,$'#s ,s'" i$ CCNA !"s-o! &s #' Cisco 1941 I!$'#$'" S'#*ic's Ro,$'#s (ISRs) i$ Cisco IS R'&'s' 15.2(4):3 (,!i*'#s&9 i'). +' si$c's ,s'" #' Cisco C$&s$ 2960s i$ Cisco IS R'&'s' 15.0(2) (&!s'9 i'). $'# #o,$'#s si$c's !" Cisco IS *'#sio!s c! ' ,s'". D''!"i! o! $' o"'& !" Cisco IS *'#sio! $' co!"s *i&&' !" o,$,$ #o",c'" i$ *# %#o $ is so! i! $' &s. R'%'# $o $' Ro,$'# I!$'#%c' S,# +&' $ $' '!" o% $is & %o# $' co##'c$ i!$'#%c' i"'!$i%i'#s. 0ote :' s,#' $$ $' #o,$'#s !" si$c's *' ''! '#s'" !" *' !o s$#$, co!%i,#$io!s. I% o, #' ,!s,#' co!$c$ o,# i!s$#,c$o#.

Re1uired Resources 

2 Ro,$'#s (Cisco 1941 i$ Cisco IS R'&'s' 15.2(4):3 ,!i*'#s& i' o# co#&')



2 Si$c's (Cisco 2960 i$ Cisco IS R'&'s' 15.0(2) &!s'9 i' o# co#&')



2 PCs (;i!"os P i$ $'#i!& ',&$io! #o# s,c s +'# +'#)



Co!so&' c&'s $o co!%i,#' $' Cisco IS "'*ic's *i $' co!so&' o#$s



E$'#!'$ !" s'#i& c&'s s so! i! $' $oo&o

Part %& Set 'p t(e Topology and Initiali)e Devices Step %& Cable t(e net"or as s(o"n in t(e topology2 Step *& Initiali)e and reload t(e router and s"itc(2

Part *& Configure +asic Device Settings and ,erify Connectivity I! P#$ 2 o, i&& co!%i,#'  sic s'$$i!s s,c s $' i!$'#%c' IP ""#'ss's "'*ic' cc'ss !" sso#"s. o, i&& *'#i% LAN co!!'c$i*i$ !" i"'!$i% #o,$'s &is$'" i! $' #o,$i! $&'s %o# R1 !" R3.

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' * o% %-

Lab – Configuring IPv4 Static and Default Routes

Step %& Configure t(e PC interfaces2 Step *& Configure basic settings on t(e routers2 . Co!%i,#' "'*ic' !'s s so! i! $' +oo&o !" A""#'ssi! +&'. . Dis&' DNS &oo,. c.

Assi! class s $' '!&' sso#" !" ssi! cisco s $' co!so&' !" *$  sso#".

". S*' $' #,!!i! co!%i,#$io! $o $' s$#$, co!%i,#$io! %i&'.

Step .& Configure IP settings on t(e routers2 . Co!%i,#' $' R1 !" R3 i!$'#%c's i$ IP ""#'ss's cco#"i! $o $' A""#'ssi! +&'. . +' S0/0/0 co!!'c$io! is $' DCE co!!'c$io! !" #',i#'s $' cloc rate co!". +' R3 S0/0/0 co!%i,#$io! is "is&'" '&o. R3(config)# interface s0/0/0 R3(config-if)# ip address 10.1.1.2 255.255.255.252 R3(config-if)# clock rate 128000 R3(config-if)# no shutdown

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' . o% %-

Lab – Configuring IPv4 Static and Default Routes

Step 4& ,erify connectivity of t(e LA0s2 .

+'s$ co!!'c$i*i$  i!i! %#o 'c PC $o $' "'%,&$ $' $$ s ''! co!%i,#'" %o# $$ os$. ?#o PC-A is i$ ossi&' $o i! $' "'%,&$ $'@ 's

CBs'#sG,#&''!Si!i! 192.168.0.1 Pi!i! 192.168.0.1 i$ 32 $'s o% "$ R'& %#o 192.168.0.1 $'s32 $i'1s ++L255 R'& %#o 192.168.0.1 $'s32 $i'1s ++L255 R'& %#o 192.168.0.1 $'s32 $i'1s ++L255 R'& %#o 192.168.0.1 $'s32 $i'1s ++L255 Pi! s$$is$ics %o# 192.168.0.1 Pc'$s S'!$  4 R'c'i*'"  4 Los$  0 (0F &oss)  A#oi$' #o,!" $#i $i's i! i&&i-s'co!"s :i!i,  0s :i,  0s A*'#'  0s ?#o PC-C is i$ ossi&' $o i! $' "'%,&$ $'@ ES

CBs'#si&&7,ssi!i! 192.168.1.1

Pi!i! 192.168.1.1 i$ 32 $'s o% "$ R'& %#o 192.168.1.1 $'s32 $i'2s ++L255 R'& %#o 192.168.1.1 $'s32 $i'2s ++L255 R'& %#o 192.168.1.1 $'s32 $i'2s ++L255 R'& %#o 192.168.1.1 $'s32 $i'2s ++L255

Pi! s$$is$ics %o# 192.168.1.1 Pc'$s S'!$  4 R'c'i*'"  4 Los$  0 (0F &oss)  A#oi$' #o,!" $#i $i's i! i&&i-s'co!"s :i!i,  2s :i,  2s A*'#'  2s . +'s$ co!!'c$i*i$  i!i! '$''! $' "i#'c$& co!!'c$'" #o,$'#s. ?#o R1 is i$ ossi&' $o i! $' S0/0/0 i!$'#%c' o% R3@ 's

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' 4 o% %-

Lab – Configuring IPv4 Static and Default Routes

R1Hi! 10.1.1.2 +' 'sc' s','!c' $o o#$. S'!"i! 5 100-$' IC:P Ecos $o 10.1.1.2 $i'o,$ is 2 s'co!"s  S,cc'ss #$' is 100 '#c'!$ (5/5) #o,!"-$#i i!/*/  12/14/16 s I% $' !s'# is no $o ! o% $'s' ,'s$io!s $#o,&'soo$ $' co!%i,#$io!s !" co##'c$ $' '##o#. c.

+'s$ co!!'c$i*i$ '$''! "'*ic's $$ #' !o$ "i#'c$& co!!'c$'". ?#o PC-A is i$ ossi&' $o i! PC-C@ No ?#o PC-A is i$ ossi&' $o i! Lo0@ No ?#o PC-A is i$ ossi&' $o i! Lo1@ No ;'#' $'s' i!s s,cc'ss%,&@ ; o#  !o$@

No 'c,s' $'#' s !o i #o,$' %o# PING . 0ote& I$  ' !'c'ss# $o "is&' $' PC %i#'&& $o i! '$''! PCs.

Step -& !at(er infor3ation2 . C'c $' s$$,s o% $' i!$'#%c's o! R1 i$ $' s(o" ip interface brief  co!". 7o ! i!$'#%c's #' c$i*$'" o! R1@ 2 . C'c $' s$$,s o% $' i!$'#%c's o! R3. 7o ! i!$'#%c's #' c$i*$'" o! R3@ 4

c.

=i' $' #o,$i! $&' i!%o#$io! %o# R1 ,si! $' s(o" ip route co!".

R1Hso i #o,$' Co"'s L - &oc& C - co!!'c$'" S - s$$ic R - RIP : - oi&'  - GP D - EIGRP E> - EIGRP '$'#!&  - SP? IA - SP? i!$'# #' N1 - SP? NSSA '$'#!& $' 1 N2 - SP? NSSA '$'#!& $' 2 E1 - SP? '$'#!& $' 1 E2 - SP? '$'#!& $' 2 i - IS-IS s, - IS-IS s,# L1 - IS-IS &'*'&-1 L2 - IS-IS &'*'&-2 i - IS-IS i!$'# #' J - c!"i"$' "'%,&$ B - '#-,s'# s$$ic #o,$' o - DR P - '#io"ic "o!&o"'" s$$ic #o,$' 7 - N7RP & - LISP K - #'&ic$'" #o,$' F - !'$ o o*'##i"'

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' - o% %-

Lab – Configuring IPv4 Static and Default Routes

G$' o% &s$ #'so#$ is !o$ s'$

10.0.0.0/8 is *#i& s,!'$$'" 2 s,!'$s 2 ss C

10.1.1.0/30 is "i#'c$& co!!'c$'" S'#i&0/1/1

L

10.1.1.1/32 is "i#'c$& co!!'c$'" S'#i&0/1/1 192.168.0.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

192.168.0.0/24 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

L

192.168.0.1/32 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

R1H ;$ !'$o#s #' #'s'!$ i! $' A""#'ssi! +&' o% $is & ,$ !o$ i! $' #o,$i! $&' %o# R1@

198.133.219.0 209.165.200.224 192.168.1.0

". =i' $' #o,$i! $&' i!%o#$io! %o# R3.

G$' o% &s$ #'so#$ is !o$ s'$

10.0.0.0/8 is *#i& s,!'$$'" 2 s,!'$s 2 ss C

10.1.1.0/30 is "i#'c$& co!!'c$'" S'#i&0/1/0

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P'  o% %-

Lab – Configuring IPv4 Static and Default Routes

L

10.1.1.2/32 is "i#'c$& co!!'c$'" S'#i&0/1/0 192.168.1.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

192.168.1.0/24 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

L

192.168.1.1/32 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1 198.133.219.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

198.133.219.0/24 is "i#'c$& co!!'c$'" Looc1

L

198.133.219.1/32 is "i#'c$& co!!'c$'" Looc1 209.165.200.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

209.165.200.224/2< is "i#'c$& co!!'c$'" Looc0

L

209.165.200.225/32 is "i#'c$& co!!'c$'" Looc0

;$ !'$o#s #' #'s'!$ i! $' A""#'ssi! +&' i! $is & ,$ !o$ i! $' #o,$i! $&' %o# R3@

192.168.0.0 ; #' && $' !'$o#s !o$ i! $' #o,$i! $&'s %o# 'c o% $' #o,$'#s@

I$s !o$ ossi&' 'c,s' o% !o cc'ss $o $' #o,$'# 

Part .& Configure Static Routes I! P#$ 3 o, i&& '&o ,&$i&' s $o i&''!$ s$$ic !" "'%,&$ #o,$'s o, i&& co!%i# $$ $' #o,$'s *' ''! ""'" $o $' #o,$i! $&'s o% R1 !" R3 !" o, i&& *'#i% co!!'c$i*i$ s'" o! $' i!$#o",c'" #o,$'s. 0ote +is & #o*i"'s i!i& ssis$!c' i$ $' c$,& co!"s !'c'ss# $o co!%i,#' s$$ic #o,$i!. 7o'*'# $' #',i#'" co!"s #' #o*i"'" i! A'!"i A. +'s$ o,# !o&'"'  $#i! $o co!%i,#' $' "'*ic's i$o,$ #'%'##i! $o $' '!"i.

Step %& Configure a recursive static route2 ;i$  #'c,#si*' s$$ic #o,$' $' !'$-o IP ""#'ss is s'ci%i'". 'c,s' o!& $' !'$-o IP is s'ci%i'" $' #o,$'# ,s$ '#%o# ,&$i&' &oo,s i! $' #o,$i! $&' '%o#' %o##"i! c'$s. +o co!%i,#' #'c,#si*' s$$ic #o,$'s ,s' $' %o&&oi! s!$ Router(config)# ip route network-address subnet-mask ip-address

.

! $' R1 #o,$'# co!%i,#'  s$$ic #o,$' $o $' 192.168.1.0 !'$o# ,si! $' IP ""#'ss o% $' S'#i& 0/0/0 i!$'#%c' o% R3 s $' !'$-o ""#'ss. ;#i$' $' co!" o, ,s'" i! $' sc' #o*i"'".

IP #o,$' 198.168.1.0 255.255.255.0 10.1.1.2 . =i' $' #o,$i! $&' $o *'#i% $' !' s$$ic #o,$' '!$#. 7o is $is !' #o,$' &is$'" i! $' #o,$i! $&'@

G$' o% &s$ #'so#$ is !o$ s'$

10.0.0.0/8 is *#i& s,!'$$'" 2 s,!'$s 2 ss C

10.1.1.0/30 is "i#'c$& co!!'c$'" S'#i&0/1/1

L

10.1.1.1/32 is "i#'c$& co!!'c$'" S'#i&0/1/1

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' 5 o% %-

Lab – Configuring IPv4 Static and Default Routes

192.168.0.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss C

192.168.0.0/24 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

L

192.168.0.1/32 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

S

192.168.1.0/24 M1/0 *i 10.1.1.2

?#o os$ PC-A is i$ ossi&' $o i! $' os$ PC-C@ No +'s' i!s so,&" %i&. I% $' #'c,#si*' s$$ic #o,$' is co##'c$& co!%i,#'" $' i! ##i*'s $ PC-C. PC-C s'!"s  i! #'& c $o PC-A. 7o'*'# $' i! #'& is "isc#"'" $ R3 'c,s' R3 "o's !o$ *'  #'$,#! #o,$' $o $' 192.168.0.0 !'$o# i! $' #o,$i! $&'.

Step *& Configure a directly connected static route2 ;i$  "i#'c$& co!!'c$'" s$$ic #o,$' $' exit-interface #'$'# is s'ci%i'" ic &&os $' #o,$'# $o #'so&*'  %o##"i! "'cisio! i! o!' &oo,. A "i#'c$& co!!'c$'" s$$ic #o,$' is $ic&& ,s'" i$  oi!$-$ooi!$ s'#i& i!$'#%c'. +o co!%i,#' "i#'c$& co!!'c$'" s$$ic #o,$'s i$ ! 'i$ i!$'#%c' s'ci%i'" ,s' $' %o&&oi! s!$ Router(config)# ip route network-address subnet-mask exit-intf 

.

! $' R3 #o,$'# co!%i,#'  s$$ic #o,$' $o $' 192.168.0.0 !'$o# ,si! S0/0/0 s $' 'i$ i!$'#%c'. ;#i$' $' co!" o, ,s'" i! $' sc' #o*i"'".

I #o,$' 192.168.0.0 255.255.255.0 10.1.1.1 . =i' $' #o,$i! $&' $o *'#i% $' !' s$$ic #o,$' '!$#. 7o is $is !' #o,$' &is$'" i! $' #o,$i! $&'@

G$' o% &s$ #'so#$ is !o$ s'$ 10.0.0.0/8 is *#i& s,!'$$'" 2 s,!'$s 2 ss C

10.1.1.0/30 is "i#'c$& co!!'c$'" S'#i&0/1/0

L

10.1.1.2/32 is "i#'c$& co!!'c$'" S'#i&0/1/0 192.168.1.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

192.168.1.0/24 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

L

192.168.1.1/32 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1 198.133.219.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

198.133.219.0/24 is "i#'c$& co!!'c$'" Looc1

L

198.133.219.1/32 is "i#'c$& co!!'c$'" Looc1 209.165.200.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

209.165.200.224/2< is "i#'c$& co!!'c$'" Looc0

L

209.165.200.225/32 is "i#'c$& co!!'c$'" Looc0

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' 6 o% %-

Lab – Configuring IPv4 Static and Default Routes

c2 ?#o os$ PC-A is i$ ossi&' $o i! $' os$ PC-C@ 's +is i! so,&" ' s,cc'ss%,&. 0ote I$  ' !'c'ss# $o "is&' $' PC %i#'&& $o i! '$''! PCs.

Step .& Configure a static route2 .

! $' R1 #o,$'# co!%i,#'  s$$ic #o,$' $o $' 198.133.219.0 !'$o# ,si! o!' o% $' s$$ic #o,$' co!%i,#$io! o$io!s %#o $' #'*io,s s$'s. ;#i$' $' co!" o, ,s'" i! $' sc' #o*i"'".

I #o,$' 198.133.219.0 255.255.255.0 10.1.1.2 .

! $' R1 #o,$'# co!%i,#'  s$$ic #o,$' $o $' 209.165.200.224 !'$o# o! R3 ,si! $' o$'# s$$ic #o,$' co!%i,#$io! o$io! %#o $' #'*io,s s$'s. ;#i$' $' co!" o, ,s'" i! $' sc' #o*i"'".

I #o,$' 209.165.200.224 255.255.255.224 10.1.1.2 c.

=i' $' #o,$i! $&' $o *'#i% $' !' s$$ic #o,$' '!$#. 7o is $is !' #o,$' &is$'" i! $' #o,$i! $&'@

G$' o% &s$ #'so#$ is !o$ s'$

10.0.0.0/8 is *#i& s,!'$$'" 2 s,!'$s 2 ss C

10.1.1.0/30 is "i#'c$& co!!'c$'" S'#i&0/1/1

L

10.1.1.1/32 is "i#'c$& co!!'c$'" S'#i&0/1/1 192.168.0.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

192.168.0.0/24 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

L

192.168.0.1/32 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

S

192.168.1.0/24 M1/0 *i 10.1.1.2

". ?#o os$ PC-A is i$ ossi&' $o i! $' R1 ""#'ss 198.133.219.1@ 's +is i! so,&" ' s,cc'ss%,&.

Step 4& Re3ove static routes for loopbac addresses2 . ! R1 ,s' $' no co!" $o #'o*' $' s$$ic #o,$'s %o# $' $o &ooc ""#'ss's %#o $' #o,$i! $&'. ;#i$' $' co!"s o, ,s'" i! $' sc' #o*i"'".

!o I #o,$' 198.133.219.0 255.255.255.0 10.1.1.2

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' 7 o% %-

Lab – Configuring IPv4 Static and Default Routes

!o I #o,$' 209.165.200.224 255.255.255.224 10.1.1.2 . =i' $' #o,$i! $&' $o *'#i% $' #o,$'s *' ''! #'o*'". 7o ! !'$o# #o,$'s #' &is$'" i! $' #o,$i! $&' o! R1@

10.0.0.0/8 is *#i& s,!'$$'" 2 s,!'$s 2 ss C

10.1.1.0/30 is "i#'c$& co!!'c$'" S'#i&0/1/1

L

10.1.1.1/32 is "i#'c$& co!!'c$'" S'#i&0/1/1 192.168.0.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

192.168.0.0/24 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

L

192.168.0.1/32 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

S

192.168.1.0/24 M1/0 *i 10.1.1.2

R1H Is $' G$' o% &s$ #'so#$ s'$@

No

Part 4& Configure and ,erify a Default Route I! P#$ 4 o, i&& i&''!$  "'%,&$ #o,$' co!%i# $$ $' #o,$' s ''! ""'" $o $' #o,$i! $&' !" *'#i% co!!'c$i*i$ s'" o! $' i!$#o",c'" #o,$'.  A "'%,&$ #o,$' i"'!$i%i's $' $' $o ic $' #o,$'# s'!"s && IP c'$s %o# ic i$ "o's !o$ *'  &'#!'" o# s$$ic #o,$'. A "'%,&$ s$$ic #o,$' is  s$$ic #o,$' i$ 0.0.0.0 s $' "'s$i!$io! IP ""#'ss !" s,!'$ s. +is is coo!& #'%'##'" $o s  O," '#oQ #o,$'. I!  "'%,&$ #o,$' 'i$'# $' !'$-o IP ""#'ss o# 'i$ i!$'#%c' c! ' s'ci%i'". +o co!%i,#'  "'%,&$ s$$ic #o,$' ,s' $' %o&&oi! s!$ Router(config)# ip route 0.0.0.0 0.0.0.0 {ip-address or exit-intf  }

.

Co!%i,#' $' R1 #o,$'# i$  "'%,&$ #o,$' ,si! $' 'i$ i!$'#%c' o% S0/0/1. ;#i$' $' co!" o, ,s'" i! $' sc' #o*i"'".

ip route 0.0.0.0 0.0.0.0 10.1.1.2

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' %8 o% %-

Lab – Configuring IPv4 Static and Default Routes

. =i' $' #o,$i! $&' $o *'#i% $' !' s$$ic #o,$' '!$#. 7o is $is !' #o,$' &is$'" i! $' #o,$i! $&'@

G$' o% &s$ #'so#$ is 10.1.1.2 $o !'$o# 0.0.0.0

SJ

0.0.0.0/0 M1/0 *i 10.1.1.2 10.0.0.0/8 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

10.1.1.0/30 is "i#'c$& co!!'c$'" S'#i&0/1/1

L

10.1.1.1/32 is "i#'c$& co!!'c$'" S'#i&0/1/1 192.168.0.0/24 is *#i& s,!'$$'" 2 s,!'$s 2 ss

C

192.168.0.0/24 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

L

192.168.0.1/32 is "i#'c$& co!!'c$'" Gii$E$'#!'$0/1

S

192.168.1.0/24 M1/0 *i 10.1.1.2

;$ is $' G$' o% &s$ #'so#$@

10.1.1.2 c.

?#o os$ PC-A is i$ ossi&' $o i! $' 209.165.200.225@ 's

". ?#o os$ PC-A is i$ ossi&' $o i! $' 198.133.219.1@ 's +'s' i!s so,&" ' s,cc'ss%,&.

Reflection 1.

A !' !'$o# 192.168.3.0/24 is co!!'c$'" $o i!$'#%c' G0/0 o! R1. ;$ co!"s co,&" ' ,s'" $o co!%i,#'  s$$ic #o,$' $o $$ !'$o# %#o R3@

i!$ 0/0 i ""#'ss 192.168.3.0 255.255.255.0 !o s,$"o! 'i$ 2.

Is $'#'  '!'%i$ $o co!%i,#i!  "i#'c$& co!!'c$'" s$$ic #o,$' i!s$'" o%  #'c,#si*' s$$ic #o,$'@

's 3.

; is i$ io#$!$ $o co!%i,#'  "'%,&$ #o,$' o!  #o,$'#@

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' %% o% %-

Lab – Configuring IPv4 Static and Default Routes

Because it is more secure.

Current confguration: 1799 bytes ! ! Last confguration change at 20:37:52 UC ue e" 3 2013 ! #$%&' confg (ast u")ate) at 20:*5:*1 UC ue e" 3 2013 ! #$%&' confg (ast u")ate) at 20:*5:*1 UC ue e" 3 2013 +ersion 15.1 ser+ice timestam"s )ebug )atetime msec ser+ice timestam"s (og )atetime msec no ser+ice "ass,or)-encry"tion ! hostname %1 ! boot-start-marer  boot-en)-marer  ! ! enab(e "ass,or) c(ass ! no aaa ne,-mo)e( ! memory-si/e iomem 10 ! no i"+ ce 

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' %* o% %-

Lab – Configuring IPv4 Static and Default Routes

i" source-route i" ce  ! ! ! ! ! no i" )omain (oou" ! mu(ti(in bun)(e-name authenticate) ! ! cry"to "i toen )eau(t remo+a( timeout 0 ! ! (icense u)i "i) CC290149 sn 6L1132089 (icense boot mo)u(e c2900 techno(ogy-"acage security9 ! ! ! re)un)ancy  ! ! ! ! ! ! ! ! ! ! ! interace mbe))e)-er+ice-ngine040  no i" a))ress

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' %. o% %-

Lab – Configuring IPv4 Static and Default Routes

 shut)o,n ! interace igabitthernet040  no i" a))ress  shut)o,n  )u"(e auto  s"ee) auto ! interace igabitthernet041  i" a))ress 192.1;.0.1 255.255.255.0  )u"(e auto  s"ee) auto ! interace eria(04140  no i" a))ress  shut)o,n  c(oc rate 2000000 ! interace eria(04141  i" a))ress 10.1.1.1 255.255.255.252 ! i" or,ar)-"rotoco( n) ! no i" htt" ser+er  no i" htt" secure-ser+er  ! i" route 0.0.0.0 0.0.0.0 10.1.1.2 i" route 0.0.0.0 0.0.0.0 eria(04140 i" route 192.1;.1.0 255.255.255.0 eria(04140 i" route 192.1;.1.0 255.255.255.0 10.1.1.2 i" route 192.1;.1.0 255.255.255.0 192.1;.1.1 i" route 19;.133.219.0 255.255.255.0 eria(04140 i" route 209.15.200.22* 255.255.255.22* eria(04140 !

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' %4 o% %-

Lab – Configuring IPv4 Static and Default Routes

! ! ! ! ! ! contro(-"(ane ! ! ! (ine con 0  "ass,or) cisco  (ogin (ine au 0 (ine 2  no acti+ation-character   no eec  trans"ort "reerre) none  trans"ort in"ut a((  trans"ort out"ut "a) te(net r(ogin (a"b-ta mo" u)"tn +120 ssh  sto"bits 1 (ine +ty 0 *  "ass,or) cisco  (ogin  trans"ort in"ut a(( ! sche)u(er a((ocate 20000 1000 en)

© 2013 Cisco !"/o# i$s %%i&i$'s. A&& #i$s #'s'#*'". +is "oc,'!$ is Cisco P,&ic.

P' %- o% %-

View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF