Vous êtes sur la page 1sur 12

SOUFIANE LAGHRIB / TMSIR 2A

SERVEUR DHCP :
Interfaces :
Router>ENable
Router#CONF T
Enter configuration commands, one per line. End with CNT!".
Router#config$#interface fastEthernet %!%
Router#config&if$#ip address '().'*+.'.' ),,.),,.),,.%
Router#config&if$#no shutdown
Router#config&if$#
-.N/&,&C01N2E34 .nterface FastEthernet%!%, changed state to up
-.NE5ROTO&,&653O7N4 ine protocol on .nterface FastEthernet%!%, changed state to up
Router#config&if$#e8it
Router#config$#interface fastEthernet %!'
Router#config&if$#ip address '().'*+.).' ),,.),,.),,.%
Router#config&if$#no shutdown
Router#config&if$#
-.N/&,&C01N2E34 .nterface FastEthernet%!', changed state to up
-.NE5ROTO&,&653O7N4 ine protocol on .nterface FastEthernet%!', changed state to up
Router#config&if$#e8it
SOUFIANE LAGHRIB / TMSIR 2A
Router#config$#interface serial %!%!%
Router#config&if$#ip address '%.'%.'%.' ),,.),,.),,.),)
Router#config&if$#cloc9 rate *:%%%
Router#config&if$#no shutdown
DHCP:
Router#config$#ip dhcp pool 1N'
Router#dhcp&config$#networ9 '().'*+.'.% ),,.),,.),,.%
Router#dhcp&config$#default&router '().'*+.'.'
Router#dhcp&config$#ip dhcp e8cluded&address '().'*+.'.' '().'*+.'.'%
Router#config$#ip dhcp pool 1N)
Router#dhcp&config$#networ9 '().'*+.).% ),,.),,.),,.%
Router#dhcp&config$#default&router '().'*+.).'
Router#dhcp&config$#ip dhcp e8cluded&address '().'*+.).' '().'*+.).'%
Router#config$#ip dhcp pool 1N;
Router#dhcp&config$#networ9 '().'*+.;.% ),,.),,.),,.%
Router#dhcp&config$#default&router '().'*+.;.'
Router#dhcp&config$#ip dhcp e8cluded&address '().'*+.;.' '().'*+.;.'%
Router#config$#ip dhcp pool 1N:
Router#dhcp&config$#networ9 '().'*+.:.% ),,.),,.),,.%
Router#dhcp&config$#default&router '().'*+.:.'
Router#dhcp&config$#ip dhcp e8cluded&address '().'*+.:.' '().'*+.:.'%
SOUFIANE LAGHRIB / TMSIR 2A
Router#config$#ip dhcp pool 1N,
Router#dhcp&config$#networ9 '().'*+.,.% ),,.),,.),,.%
Router#dhcp&config$#default&router '().'*+.,.),:
Router#dhcp&config$#ip dhcp e8cluded&address '().'*+.,.' '().'*+.,.'%
RIP 2 :
Router#config$#router rip
Router#config&router$#<ersion )
Router#config&router$#networ9 '().'*+.'.%
Router#config&router$#networ9 '().'*+.).%
Router#config&router$#networ9 '%.'%.'%.%
Router#config&router$#no auto&summar=
Router#config&router$#default&information originate
Router#config&router$#redistribute eigrp '
Router#config&router$#redistribute static
RELAIS DHCP :
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNT!".
Router#config$#interface FastEthernet%!%
Router#config&if$#ip address '().'*+.;.' ),,.),,.),,.%
Router#config&if$#no shutdown
SOUFIANE LAGHRIB / TMSIR 2A
Router#config&if$#e8it
Router#config$#interface FastEthernet%!'
Router#config&if$#ip address '().'*+.:.' ),,.),,.),,.%
Router#config&if$#no shutdown
Router#config$#interface >erial%!%!%
Router#config&if$#ip address '%.'%.'%.) ),,.),,.),,.),)
Router#config&if$#no shutdown
Router#config&if$#e8it
Router#config$#interface Ethernet%!'!%
Router#config&if$#ip address '().'*+.,.; ),,.),,.),,.%
Router#config&if$#no shutdown

C!nf"#$rat"!n %$ Re&a"s DHCP :
Router#config$#interface FastEthernet%!%
Router#config&if$#ip helper&address '%.'%.'%.'
Router#config&if$#e8it
Router#config$#interface FastEthernet%!'
Router#config&if$#ip helper&address '%.'%.'%.'
Router#config&if$#e8it
Router#config$#interface Ethernet%!'!%
SOUFIANE LAGHRIB / TMSIR 2A
Router#config&if$#ip helper&address '%.'%.'%.'
Router#config&if$#e8it
Router#config$#interface >erial%!%!%
Router#config&if$#ip helper&address '%.'%.'%.'
RIP 2 :
Router#config$#router rip
Router#config&router$#<ersion )
Router#config&router$#networ9 '%.'%.'%.%
Router#config&router$#networ9 '().'*+.;.%
Router#config&router$#networ9 '().'*+.:.%
Router#config&router$#networ9 '().'*+.,.%
Router#config&router$#no auto&summar=
Router#config&router$#default&information originate
Router#config&router$#redistribute eigrp '
Router#config&router$#redistribute static
EIGRP :
Router#config$#router eigrp '
Router#config&router$#networ9 '().'*+.,.%
Router#config&router$#networ9 '%.'%.'%.%
Router#config&router$#networ9 '().'*+.:.%
Router#config&router$#networ9 '().'*+.;.%
SOUFIANE LAGHRIB / TMSIR 2A
Router#config&router$#no auto&summar=
Router#config&router$#redistribute rip
Router#config&router$#redistribute static
RIP v2 + EIRGP :
R!$ter'c!nf"#()r!$ter r"*
R!$ter'c!nf"#+r!$ter()er 2
R!$ter'c!nf"#+r!$ter()re%"str",$te e"#r* -. /etr"c 0
R!$ter'c!nf"#()r!$ter e"r#*
R!$ter'c!nf"#+r!$ter()re%"str",$te r"* /etr"c -122 2... 211 - -1..
ROUTEUR PASSERELLE -:
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNT!".
Router#config$#interface >erial%!%!%
Router#config&if$#ip address '?).'*.%.) ),,.),,.),,.),)
Router#config&if$#cloc9 rate *:%%%
Router#config&if$#no shutdown
Router#config&if$#e8it
Router#config$#interface FastEthernet%!%
SOUFIANE LAGHRIB / TMSIR 2A
Router#config&if$#ip address '().'*+.,.' ),,.),,.),,.%
Router#config&if$#no shutdown
Router#config&if$#
-.N/&,&C01N2E34 .nterface FastEthernet%!%, changed state to up
-.NE5ROTO&,&653O7N4 ine protocol on .nterface FastEthernet%!%, changed state to up
EIGRP :
Router#config$#router eigrp '
Router#config&router$#networ9 '().'*+.,.%
Router#config&router$#networ9 '?).'*.%.%
Router#config&router$#no auto&summar=
Router#config&router$#redistribute rip
Router#config&router$#redistribute static
HSRP :
Router#config$#interface FastEthernet%!%
Router#config&if$#standb= '% ip '().'*+.,.),:
Router#config&if$#standb= '% priorit= ''%
Router#config&if$#standb= '% preempt
Router#config&if$#
-0>R5&*&>T1TEC01N2E4 FastEthernet%!% 2rp '% state >pea9 &> >tandb=
-0>R5&*&>T1TEC01N2E4 FastEthernet%!% 2rp '% state >tandb= &> 1cti<e
SOUFIANE LAGHRIB / TMSIR 2A
Router#config&if$#e8it
Router#config$#
ROUTEUR PASSERELLE 2 :
Router>enable
Router#configure terminal
Enter configuration commands, one per line. End with CNT!".
Router#config$#interface >erial%!%!%
Router#config&if$#ip address '?).'*.%.* ),,.),,.),,.),)
Router#config&if$#no shutdown
Router#config&if$#e8it
Router#config$#interface FastEthernet%!%
Router#config&if$#ip address '().'*+.,.) ),,.),,.),,.%
Router#config&if$#no shutdown
Router#config&if$#
-.N/&,&C01N2E34 .nterface FastEthernet%!%, changed state to up
-.NE5ROTO&,&653O7N4 ine protocol on .nterface FastEthernet%!%, changed state to up
Router#config&if$#e8it
SOUFIANE LAGHRIB / TMSIR 2A
EIRGP :
Router#config$#router eigrp '
Router#config&router$#networ9 '().'*+.,.%
Router#config&router$#networ9 '?).'*.%.%
Router#config&router$#no auto&summar=
Router#config&router$#redistribute rip
Router#config&router$#redistribute static
Router#config&router$#e8it
HSRP :
Router#config$#interface FastEthernet%!%
Router#config&if$#standb= '% ip '().'*+.,.),:
Router#config&if$#standb= '% preempt
-0>R5&*&>T1TEC01N2E4 FastEthernet%!% 2rp '% state >pea9 &> >tandb=
Router#config&if$#standb= '% priorit= ':%
Router#config&if$#
-0>R5&*&>T1TEC01N2E4 FastEthernet%!% 2rp '% state >tandb= &> 1cti<e
FAI :
Router#config$#interface >erial%!%!%
Router#config&if$#ip address '?).'*.%.' ),,.),,.),,.),)
Router#config&if$#no shutdown
Router#config&if$#
SOUFIANE LAGHRIB / TMSIR 2A
-.N/&,&C01N2E34 .nterface >erial%!%!%, changed state to up
-.NE5ROTO&,&653O7N4 ine protocol on .nterface >erial%!%!%, changed state to up
Router#config&if$#
Router#config&if$#e8it
Router#config$#interface >erial%!'!%
Router#config&if$#ip address '?).'*.%., ),,.),,.),,.),)
Router#config&if$#no shutdown
-.N/&,&C01N2E34 .nterface >erial%!'!%, changed state to up
-.NE5ROTO&,&653O7N4 ine protocol on .nterface >erial%!'!%, changed state to up
Router#config$#interface loopbac9 %
Router#config&if$#
-.N/&,&C01N2E34 .nterface oopbac9%, changed state to up
-.NE5ROTO&,&653O7N4 ine protocol on .nterface oopbac9%, changed state to up
Router#config&if$#ip address )%(.)'%.'%.'% ),,.),,.),,.%
Router#config&if$#no shutdown
Router#config&if$#e8it
SOUFIANE LAGHRIB / TMSIR 2A
EIRGP :
Router#config$#router eigrp '
Router#config&router$#networ9 '?).'*.%.%
Router#config&router$#
-361&,&N@RC01N2E4 .5&E.2R5 '4 Neighbor '?).'*.%.* #>erial%!'!%$ is up4 new adAacenc=
-361&,&N@RC01N2E4 .5&E.2R5 '4 Neighbor '?).'*.%.) #>erial%!%!%$ is up4 new adAacenc=
Router#config&router$#no auto&summar=
Router#config&router$#
-361&,&N@RC01N2E4 .5&E.2R5 '4 Neighbor '?).'*.%.* #>erial%!'!%$ is up4 new adAacenc=
-361&,&N@RC01N2E4 .5&E.2R5 '4 Neighbor '?).'*.%.) #>erial%!%!%$ is up4 new adAacenc=
Router#config&router$#redistribute rip
Router#config&router$#redistribute static
Router#config$#ip route %.%.%.% %.%.%.% loopbac9 %
Router#config$#ip route %.%.%.% %.%.%.% s%!%!%
Router#config$#ip route %.%.%.% %.%.%.% s%!%!'
TEST PING :
5C ' #'().'*+.'.''$ BBB> oopbac9 % #)%(.)'%.'%.'%$
SOUFIANE LAGHRIB / TMSIR 2A
5C>ping )%(.)'%.'%.'%
5inging )%(.)'%.'%.'% with ;) b=tes of data4
Repl= from )%(.)'%.'%.'%4 b=tesB;) timeB''ms TTB),)
Repl= from )%(.)'%.'%.'%4 b=tesB;) timeB)ms TTB),)
Repl= from )%(.)'%.'%.'%4 b=tesB;) timeB''ms TTB),)
Repl= from )%(.)'%.'%.'%4 b=tesB;) timeB)ms TTB),)
5ing statistics for )%(.)'%.'%.'%4
5ac9ets4 >ent B :, Recei<ed B :, ost B % #%- loss$,
1ppro8imate round trip times in milli&seconds4
Cinimum B )ms, Ca8imum B ''ms, 1<erage B *ms