Vous êtes sur la page 1sur 13

1) 2) Nom Hte Site site 1 Site ITFRANCE-Qualit Site ITFRANCECertification Site site2-RL2 Site site2-RL3 Frame Relay Multipoint

Hte @sous rseau 192.200.60.0 192.200.60.128 192.200.60.192 192.200.61.0 192.200.61.32 192.200.61.64 Interface Masque 255.255.255.128 255.255.255.192 255.255.255.192 255.255.255.224 255.255.255.224 255.255.255.248 Configuration IP (@IP/masque) Routeur Site 1 Fa0/0 S2/0.1 Routeur Site 2 Fa0/0 Fa1/0 S2/0.1 Routeur ITFRANCE Fa0/0.14 Fa0/0.24 S2/0.1 S6/0 PC1 FastEthernet Passerelle PC2 FastEthernet Passerelle PC3 FastEthernet Passerelle PC4 FastEthernet Passerelle Serveur DNS FastEthernet Passerelle 192.200.60.1/25 192.200.61.65/29 192.200.61.33/27 192.200.61.1/27 192.200.61.66/29 192.200.60.129/26 192.200.60.193/26 192.200.61.67/29 210.40.10.11/24 192.200.60.2/25 192.200.60.1/25 192.200.61.2/27 192.200.61.1/27 192.200.61.34/27 192.200.61.33/27 192.200.60.130/26 192.200.60.129/26 192.200.60.194/26 192.200.60.193/26

Serveur Web

FastEthernet Passerelle

192.200.60.195/26 192.200.60.193/26

3) Router(config)#hostname Site1 Site1(config)#int f0/0 Site1(config-if)#ip addr 192.200.60.1 255.255.255.128 Site1(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Site1(config-if)#exit Site1(config)#int s2/0 Site1(config-if)#no ip addr Site1(config-if)#no sh

%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Site1(config-if)# Site1(config-if)#encapsulation frame-relay Site1(config-if)#int s2/0.1 multipoint Site1(config-subif)# %LINK-5-CHANGED: Interface Serial2/0.1, changed state to up

Site1(config-subif)#ip addr 192.200.61.65 255.255.255.248

Site1(config-subif)#no sh Site1(config-subif)#exit

Router(config)#hostname Site2 Site2(config)#int f0/0 Site2(config-if)#ip addr 192.200.61.33 255.255.255.224 Site2(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Site2(config-if)#exit Site2(config)#int f1/0 Site2(config-if)#ip addr 192.200.61.1 255.255.255.224 Site2(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet1/0, changed state to up

Site2(config-if)#exit Site2(config)#int s2/0 Site2(config-if)#no ip addr Site2(config-if)#no sh

%LINK-5-CHANGED: Interface Serial2/0, changed state to up

Site2(config-if)#encapsulation frame-relay Site2(config-if)#int s2/0.1 multipoint

%LINK-5-CHANGED: Interface Serial2/0.1, changed state to up Site2(config-subif)#ip addr 192.200.61.66 255.255.255.248 Site2(config-subif)#no sh Site2(config-subif)#exit

Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ITFRANCE ITFRANCE(config)#int f0/0 ITFRANCE(config-if)#no ip addr ITFRANCE(config-if)#no sh

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

ITFRANCE(config-if)# ITFRANCE(config-if)#int f0/0.14

%LINK-5-CHANGED: Interface FastEthernet0/0.14, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.14, changed state to up ITFRANCE(config-subif)#encapsulation dot1q 14

ITFRANCE(config-subif)#ip addr 192.200.60.129 255.255.255.192 ITFRANCE(config-subif)#no sh ITFRANCE(config-subif)#exit ITFRANCE(config)#int f0/0.24

%LINK-5-CHANGED: Interface FastEthernet0/0.24, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0.24, changed state to up ITFRANCE(config-subif)#encapsulation dot1q 24 ITFRANCE(config-subif)#ip addr 192.200.60.193 255.255.255.192 ITFRANCE(config-subif)#no sh ITFRANCE(config-subif)#exit ITFRANCE(config)#int s2/0 ITFRANCE(config-if)#no ip addr ITFRANCE(config-if)#no sh

%LINK-5-CHANGED: Interface Serial2/0, changed state to up

ITFRANCE(config-if)#encapsulation frame-relay ITFRANCE(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

ITFRANCE(config-if)#int s2/0.1 multipoint

%LINK-5-CHANGED: Interface Serial2/0.1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0.1, changed state to up

ITFRANCE(config-subif)#ip addr 192.200.61.67 255.255.255.248 ITFRANCE(config-subif)#no sh ITFRANCE(config-subif)#exit ITFRANCE(config)#int s6/0 ITFRANCE(config-if)#ip addr 210.40.10.11 255.255.255.0 ITFRANCE(config-if)#no sh

Router#conf t Enter configuration commands, one per line. End with CNTL/Z. Router(config)#hostname ISP ISP(config)#int s2/0 ISP(config-if)#ip addr 210.40.10.11 255.255.255.0 ISP(config-if)#no sh

%LINK-5-CHANGED: Interface Serial2/0, changed state to down ISP(config-if)#clock rate 64000 ISP(config-if)#exit ISP(config)# %LINK-5-CHANGED: Interface Serial2/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/0, changed state to up

PARTIE II 4) Switch(config)#int f0/1 Switch(config-if)#switchport mode trunk

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Switch(config-if)#exit Switch(config)#int f6/1 Switch(config-if)#switchport mode trunk native vlan ? % Unrecognized command Switch(config-if)#switchport mode trunk ? <cr> Switch(config-if)#switchport mode trunk

5) Switch(config)#vtp mode server Device mode already VTP SERVER. Switch(config)#vtp domain Var23 Changing VTP domain name from NULL to Var23 Switch(config)#vtp password EFF2012 Setting device VLAN database password to EFF2012

Switch(config)#vtp mode client Setting device to VTP CLIENT mode. Switch(config)#vtp domain Var23 Domain name already set to Var23.

6) Switch(config)#vtp password EFF2012 Setting device VLAN database password to EFF2012

Switch(config)#vtp password EFF2012 Setting device VLAN database password to EFF2012 7)

Switch#vlan database % Warning: It is recommended to configure VLAN from config mode, as VLAN database mode is being deprecated. Please consult user documentation for configuring VTP/VLAN in config mode.

Switch(vlan)#vlan 14 name qualite VLAN 14 modified: Name: qualite Switch(vlan)#vlan 24 name certification VLAN 24 modified: Name: certification Switch(vlan)#ex APPLY completed.

8) Switch(config)#int f1/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 24 Switch(config-if)#exit

Switch(config)#int f1/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 14 Switch(config-if)#exit Switch(config)#int f2/1 Switch(config-if)#switchport mode access Switch(config-if)#switchport access vlan 24 Switch(config-if)#exit Switch(config)#

9)

PARTIE III 10)

ITFRANCE(config)#hostname ITFRANCE ITFRANCE(config)#enable secret xsdefg ITFRANCE(config)#line vty 0 1

ITFRANCE(config-line)#password xcnfgdf ITFRANCE(config-line)#banner motd # Vous etes a ITFRANCE #

11) ITFRANCE(config)#ip route 0.0.0.0 0.0.0.0 s6/0 12) ITFRANCE(config)#router ospf 1 ITFRANCE(config-router)#network 192.200.60.128 0.0.0.63 area 0 ITFRANCE(config-router)#network 192.200.60.192 0.0.0.63 area 0 ITFRANCE(config-router)#network 192.200.61.64 0.0.0.7 area 0 ITFRANCE(config-router)#network 210.40.10.0 0.0.0.255 area 0

Site1(config)#router ospf 1 Site1(config-router)#network 192.200.60.0 0.0.0.127 area 0 Site1(config-router)#network 192.200.61.64 0.0.0.7 area 0 Site1(config-router)#default-information originate

Site2(config)#router ospf 1 Site2(config-router)#network 192.200.61.32 0.0.0.31 % Incomplete command. Site2(config-router)#network 192.200.61.32 0.0.0.31 area 0 Site2(config-router)#network 192.200.61.0 0.0.0.31 area 0 Site2(config-router)#network 192.200.61.64 0.0.0.7 area 0 Site2(config-router)#default originate

13) ITFRANCE(config-router)#default-information originate 14) ITFRANCE(config)#int s6/0 ITFRANCE(config-if)#encap ppp

%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial6/0, changed state to down ITFRANCE(config-if)#ppp auth chap ITFRANCE(config-if)#exit ITFRANCE(config)#username ISP password 123 ISP(config)#int s2/0 ISP(config-if)#encap ppp ISP(config-if)#ppp auth chap ISP(config-if)#ex ISP(config)#username ITFRANCE password 123 15) Site2(config)#ip dhcp pool RL3 Site2(dhcp-config)#network 192.200.61.32 255.255.255.224 Site2(dhcp-config)#default-router 192.200.61.33 Site2(dhcp-config)#exit

Site2(config)#ip dhcp pool RL2 Site2(dhcp-config)#network 192.200.61.0 255.255.255.224 Site2(dhcp-config)#default-router 192.200.61.1 Site2(dhcp-config)#exit

16)

17) Site2(config)#access-list 101 permit tcp host 192.200.61.34 host 192.200.60.95 eq 21 Site2(config)#access-list 101 permit tcp host 192.200.61.2 host 192.200.60.95 eq 21 Site2(config)#acc Site2(config)#access-list 101 deny ip any any Site2(config)#int f0/0 Site2(config-if)#ip acc Site2(config-if)#ip access-group 101 in Site2(config-if)#exit Site2(config)#int f1/0 Site2(config-if)#ip access-group 101 in

18) ITFRANCE(config)#ip access-list standard 1 ITFRANCE(config-std-nacl)#deny 192.200.60.130 192.200.60.129 ITFRANCE(config-std-nacl)#permit any

ITFRANCE(config)#int f0/0 ITFRANCE(config-if)#ip acces ITFRANCE(config-if)#ip access-group 1 out

19) ITFRANCE(config)#access-list 101 permit tcp 192.200.60.0 0.0.0.127 192.200.60.192 0.0.0.63 eq 443

ITFRANCE(config)#access-list 101 permit tcp 192.200.60.0 0.0.0.127 192.200.60.192 0.0.0.63 eq 110 ITFRANCE(config)#access-list 101 permit tcp 192.200.60.0 0.0.0.127 192.200.60.192 0.0.0.63 eq 53 ITFRANCE(config)#access-list 101 deny ip any any ITFRANCE(config-if)#ip access-group 101 out 20) ITFRANCE(config)#access-list 102 deny icmp 192.200.60.128 0.0.0.63 210.40.10.0 0.0.0.255 ITFRANCE(config)#access-list 102 deny icmp 192.200.60.192 0.0.0.63 210.40.10.0 0.0.0.255 ITFRANCE(config)#access-list 102 deny icmp 192.200.60.0 0.0.0.127 210.40.10.0 0.0.0.255 ITFRANCE(config)#access-list 102 deny icmp 192.200.61.0 0.0.0.31 210.40.10.0 0.0.0.255 ITFRANCE(config)#access-list 102 deny icmp 192.200.61.32 0.0.0.31 210.40.10.0 0.0.0.255 ITFRANCE(config)#access-list 102 permit ip any any ITFRANCE(config)#ex

%SYS-5-CONFIG_I: Configured from console by console ITFRANCE#conf t Enter configuration commands, one per line. End with CNTL/Z. ITFRANCE(config)#int s6/0 ITFRANCE(config-if)#ip access-group 102 out