Skema :
Konfigurasi :
PC
PC 1 :
IP address : 172.17.0.21
Gateway : 172.17.0.1
PC 3 :
IP address : 172.17.30.23
Subnet Mask : 255.255.255.0
Gateway : 172.17.30.1
Router :
Router>enable
Router#configure terminal
Router(config)#interface fastEthernet 0/0
Router(config-if)#ip address 172.17.0.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#interface FastEthernet 1/0
Router(config-if)#ip address 172.17.30.1 255.255.255.0
Router(config-if)#no shut
Router(config-if)#exit
Router(config)#exit
Router#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Switch :
Switch>enable
Switch#configure terminal
Switch(config)#vlan 10
Switch(config-vlan)#name PC1
Switch(config-vlan)#vlan 30
Switch(config-vlan)#name PC3
Switch(config-vlan)#exit
Switch(config)#interface range fastEthernet 0/1, fastEthernet 0/11
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 10
Switch(config-if-range)#exit
Switch(config)#interface range fastEthernet 0/2, fastEthernet 0/6
Switch(config-if-range)#switchport mode access
Switch(config-if-range)#switchport access vlan 30
Switch(config-if-range)#exit
Switch(config)#exit
Switch#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Tidak ada komentar:
Posting Komentar