! Configuration routeur 1841 enable configure terminal interface GigabitEthernet0/0 ip address 172.17.25.2 255.255.255.252 no shutdown exit interface GigabitEthernet0/1 no shutdown exit interface GigabitEthernet0/1.10 encapsulation dot1Q 10 ip address 172.17.10.1 255.255.255.0 no shutdown exit interface GigabitEthernet0/1.20 encapsulation dot1Q 20 ip address 172.17.20.1 255.255.255.0 no shutdown exit interface GigabitEthernet0/1.30 encapsulation dot1Q 30 ip address 172.17.30.1 255.255.255.0 no shutdown exit ! Configuration commutateur 2960 enable configure terminal vlan 10 name Staff exit interface range FastEthernet0/11 - 17 switchport mode access switchport access vlan 10 no shutdown exit vlan 20 name Students exit interface range FastEthernet0/18 - 24 switchport mode access switchport access vlan 20 no shutdown exit vlan 30 name Guest exit interface range FastEthernet0/6 - 10 switchport mode access switchport access vlan 30 no shutdown exit interface GigabitEthernet0/1 switchport mode trunk no shutdown exit