Contexte Booktic:
Paramétrage de la commutation et du routage du concept Booktic
PORTS | VLAN | 802-1Q | CONNEXION |
1-4 | 40 DMZ | NON | NON |
5-15 | 10 DATA | NON | NON |
16-24 | 20 TOIP | NON | NON |
25-27 | 50 WIFI | NON | NON |
28-34 | RESERVE | NON | NON |
35-36 | 30 INTER | NON | |
37-44 | RESERVE | ||
45 | 60 | NON | MUR GRETA |
46-47 | 10,20,30,40,50,60 | OUI | HYPER V |
48 | OUI | ROUTEUR |
Paramétrage Switch Cisco
CONFIGURATION COMMUTATEUR BOOKTIC
SW1(config)#no ip domain lookup
SW1(config)#no logging console
SW1(config)#vlan 10
SW1(config-vlan)#name DATA
SW1(config-vlan)#exit
SW1(config)#vlan 20
SW1(config-vlan)#name TOIP
SW1(config-vlan)#exit
SW1(config)#vlan 30
SW1(config-vlan)#name INTER
SW1(config-vlan)#exit
SW1(config)#vlan 40
SW1(config-vlan)#name DMZ
SW1(config-vlan)#exit
SW1(config)#vlan 50
SW1(config-vlan)#name WIFI
SW1(config-vlan)#exit
SW1(config)#vlan 60
SW1(config-vlan)#name HYPERV
SW1(config-vlan)#exit
SW1(config)#interface range GigabitEthernet 0/1-4
SSW1(config-if-range)#switchport access vlan 40
SW1(config-if-range)#exit
SW1(config)#interface range GigabitEthernet 0/5-15
SW1(config-if-range)#switchport access vlan 10
SW1(config-if-range)#exit
SW1(config)#interface GigabitEthernet 0/16-24
SW1(config-if-range)#switchport access vlan 20
SW1(config-if-range)#exit
SSW1(config)#interface range GigabitEthernet 0/25-27
SW1(config-if-range)#switchport access vlan 50
SW1(config-if-range)#exit
SW1(config)#interface range GigabitEthernet 0/35-36
SW1(config-if-range)#switchport access vlan 30
SW1(config-if-range)#exit
SW1(config)#interface GigabitEthernet 0/45
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport trunk allowed vlan 60
SW1(config-if)#exit
SW1(config)#interface range GigabitEthernet 0/46-47
SW1(config-if-range)#switchport mode trunk
SW1(config-if-range)#switchport trunk allowed vlan 10,20,30,40,50,60
SW1(config-if)#exit
SW1(config)#interface GigabitEthernet 0/48
SW1(config-if)#switchport mode trunk
SW1(config-if)#switchport trunk allowed vlan 10,20,30,50
SW1(config-if)#exit
Paramétrage Routeur Cisco
Router(config)#hostname RT1
RT1#terminal history size 256
RT1#conf t
RT1(config)#no ip domain lookup
RT1(config)#no logging data
RT1(config)#no logging console
RT1(config)#exit
RT1(config)#interface f0/0
RT1(config-if)#no sh
RT1(config-if)#exit
RT1(config)#interface FastEthernet 0/0.10
RT1(config-subif)#encapsulation dot1Q 10
RT1(config-subif)#ip address 172.16.10.254 255.255.255.0
RT1(config-subif)#exit
RT1(config)#interface FastEthernet 0/0.20
RT1(config-subif)#encapsulation dot1Q 20
RT1(config-subif)#ip address 172.16.20.254 255.255.255.0
RT1(config-subif)#ip helper-address 172.16.10.1
RT1(config-subif)#exit
RT1(config)#interface FastEthernet 0/0.30
RT1(config-subif)#encapsulation dot1Q 30
RT1(config-subif)#ip address 172.16.255.2 255.255.255.248
RT1(config-subif)#exit
RT1(config)#interface FastEthernet 0/0.50
RT1(config-subif)#encapsulation dot1Q 50
RT1(config-subif)#ip address 172.17.10.254 255.255.255.0
RT1(config-subif)#ip helper-address 172.16.10.1
RT1(config-subif)#exit
RT1#copy running-config startup-config