10
Zaougui – Ruiz –Taser - Nguyen Compte rendu MISSION 4 AFFECTATION DHCP Connexion vlan 16 Connexion vlan 66 Connexion vlan 106 Connexion vlan 206 Connexion vlan 156

ruizvalentin.files.wordpress.com€¦ · Web viewCompte rendu MISSION 4. AFFECTATION DHCP . Connexion vlan 16. Connexion vlan 66. Connexion vlan 106. Connexion vlan 206. Connexion

  • Upload
    leanh

  • View
    214

  • Download
    0

Embed Size (px)

Citation preview

Zaougui – Ruiz –Taser - Nguyen

Compte rendu MISSION 4

AFFECTATION DHCP

Connexion vlan 16

Connexion vlan 66

Connexion vlan 106

Connexion vlan 206

Connexion vlan 156

Zaougui – Ruiz –Taser - Nguyen

Configuration switch en bas

############# CONFIGURATION VLAN ###############

en

conf t

vlan 306

name GSB6_SERVEURS

vlan 16

name GSB6_ADMIN_RESEAUX_SYSTEMES

vlan 156

name GSB6_VISITEURS

vlan 206

name GSB6_DEMONSTRATION

vlan 66

name GSB6_COMMERCIALE

vlan 106

name GSB6_ACCUEIL

vlan 406

name GSB6_SORTIE/DMZ

exit

Zaougui – Ruiz –Taser - Nguyen

############### AFFECTATION VLAN ###############

conf t

int range fa0/1-2

switchport mode access

switchport access vlan 16

int range fa0/3-4

switchport mode access

switchport access vlan 66

int range fa0/5-6

switchport mode access

switchport access vlan 106

int range fa0/7-8

switchport mode access

switchport access vlan 206

int range fa0/9-10

switchport mode access

switchport acces vlan 306

int range fa0/11-12

switchport mode access

switchport access vlan 156

int range fa0/13-14

switchport mode access

switchport access vlan 406

Zaougui – Ruiz –Taser - Nguyen

conf t

int fa0/23-24

switchport mode trunk

############### DEFINITION DE L'ADDRESSE IP ############

conf t

int vlan 16

ip addr 192.168.10.206 255.255.255.0

ip default-gateway 192.168.10.1

end

############## CONFIG SSH ###############

conf t

ip domain-name sio.lmd

username admin privilege 15 secret gsb6

line vty 0 15

transport input ssh

login local

exit

crypto key generate rsa

1024

end

ROUTEUR CONFIGURATION GSB6

Zaougui – Ruiz –Taser - Nguyen

en

conf t

int gi0/0

no sh

int gi0/0.306

encapsulation dot1q 306

ip addr 172.16.6.1 255.255.0.0

no sh

int gi0/0.16

encapsulation dot1q 16

ip addr 192.168.10.1 255.255.255.0

no sh

int gi0/0.156

encapsulation dot1q 156

ip addr 192.168.15.1 255.255.255.0

no sh

int gi0/0.206

encapsulation dot1q 206

ip addr 192.168.20.1 255.255.255.0

no sh

int gi0/0.66

encapsulation dot1q 66

ip addr 192.168.60.1 255.255.255.0

no sh

Zaougui – Ruiz –Taser - Nguyen

int gi0/0.106

encapsulation dot1q 106

ip addr 192.168.100.1 255.255.255.0

no sh

int gi0/0.406

encapsulation dot1q 406

ip addr 172.18.1.1 255.255.0.0

no sh

int gi0/0.106-406-156-206-66

ip helper-adress 172.16.6.198

Configuration switch haut

########## VLAN ###########

conf t

vlan 16

name ADMIN&RES

vlan 306

name SERVERS

vlan 156

name VISITEURS

vlan 206

Zaougui – Ruiz –Taser - Nguyen

name DEMONSTRATION

vlan 66

name COMMERCIAL

vlan 106

name ACCEUIL

vlan 406

name DMZ

end

######### DEFINITION DE L'ADDRESSE IP ##########

conf t

int vlan 16

ip addr 192.168.10.210 255.255.255.0

ip default-gateway 192.168.10.1

end

######### Config SSH ############

conf t

ip domain-name sio.lmd

username admin privilege 15 secret gsb6

line vty 0 15

transport input ssh

login local

Zaougui – Ruiz –Taser - Nguyen

exit

crypto key generate rsa

1024

end

######### attribution de port ###########

conf t

int range fa 0/1 - 2

switchport mode access

switchport access vlan 16

end

conf t

int range fa 0/3 - 4

switchport mode access

switchport access vlan 66

end

conf t

int range fa 0/5 - 6

switchport mode access

switchport access vlan 106

end

conf t

int range fa 0/7 - 8

switchport mode access

Zaougui – Ruiz –Taser - Nguyen

switchport access vlan 206

end

conf t

int range fa 0/9 - 10

switchport mode access

switchport access vlan 306

end

conf t

int range fa 0/11 - 12

switchport mode access

switchport access vlan 156