Nothing Special   »   [go: up one dir, main page]

Lab 6

Télécharger au format docx, pdf ou txt
Télécharger au format docx, pdf ou txt
Vous êtes sur la page 1sur 3

LAB6

PC0: IP: 192.168.0.2


Netmask: 255.255.255.0
Default Gateway: 192.168.0.1
DNS: 0.0.0.0

PC1: IP: 192.168.0.3


Netmask: 255.255.255.0
Default Gateway: 192.168.0.1
DNS: 0.0.0.0

PC2: IP: 192.168.1.2


Netmask: 255.255.255.0
Default Gateway: 192.168.1.1
DNS: 0.0.0.0

PC3: IP: 192.168.1.3


Netmask: 255.255.255.0
Default Gateway: 192.168.1.1
DNS: 0.0.0.0

PC4: IP: 192.168.2.2


Netmask: 255.255.255.0
Default Gateway: 192.168.2.1
DNS: 0.0.0.0

PC5: IP: 192.168.2.3


Netmask: 255.255.255.0
Default Gateway: 192.168.2.1
DNS: 0.0.0.0
On Switch:

CLI:

Switch>enable
Switch #configure terminal
Switch (config)#vlan 30
Switch(config-vlan)#name lab-1
Switch(config-vlan)#exit

Switch(config)#vlan 40
Switch(config-vlan)#name lab-2
Switch(config-vlan)#exit
Switch(config)#vlan 50
Switch(config-vlan)#name lab-3
Switch(config-vlan)#exit
Switch(config)#int F0/2
Switch (config-if)#switchport mode access
Switch (config-if)#switchport access vlan 30
Switch (config-if)#exit

Switch(config)#int F0/3
Switch (config-if)#switchport mode access
Switch (config-if)#switchport access vlan 30
Switch (config-if)#exit

Switch(config)#int F0/4
Switch (config-if)#switchport mode access
Switch (config-if)#switchport access vlan 40
Switch (config-if)#exit

Switch(config)#int F0/5
Switch (config-if)#switchport mode access
Switch (config-if)#switchport access vlan 40
Switch (config-if)#exit

Switch(config)#int F0/6
Switch (config-if)#switchport mode access
Switch (config-if)#switchport access vlan 50
Switch (config-if)#exit

Switch(config)#int F0/7
Switch (config-if)#switchport mode access
Switch (config-if)#switchport access vlan 50
Switch (config-if)#exit

Switch(config)#int F0/1
Switch (config-if)#switchport mode trunk
Switch (config-if)#spanning-tree portfast trunk
Switch (config-if)#exit

On Router:

CLI:
Router>enable
Router#configure terminal
Router(config)#int F0/0
Router(config-if)#no ip address
Router(config-if)#no shutdown
Router(config-if)#exit

Router(config)#int F0/0.30
Router(config-if)#encapsulation dot1Q 30
Router(config-if)#ip address 192.168.0.1 255.255.255.0
Router(config)#exit
Router(config)#int F0/0.40
Router(config-if)#encapsulation dot1Q 40
Router(config-if)#ip address 192.168.1.1 255.255.255.0
Router(config)#exit
Router(config)#int F0/0.50
Router(config-if)#encapsulation dot1Q 50
Router(config-if)#ip address 192.168.2.1 255.255.255.0
Router(config)#exit

Good Luck to everyone who got this word file


Thank you

Vous aimerez peut-être aussi