Thursday, November 12, 2009

Beginner's Lab #3 - CISCO Switch and Router







 Objective of this Lab, is to make PC A be able to ping PC B and vice versa

1. Set IP and Subnet in each PC, according to the image above
2. On Switch:
> enable
# configure terminal
(config)# interface FastEthernet 1/1
(config-if)# switchport mode access
(config-if)# switchport access vlan 2
(config-if)# no shutdown

(config-if)# interface FastEthernet 1/24
(config-if)# switchport mode access
(config-if)# switchport access vlan 3
(config-if)# no shutdown

(config-if)# interface FastEthernet 1/2
(config-if)# switchport mode trunk
(config-if)# switchport trunk allowed vlan 2
(config-if)# switchport trunk allowed vlan add 3
(config-if)# no shutdown
(config-if)# (*press ctrl-z)
# write
3. On Router:
> enable
# configure terminal
(config)# interface Ethernet 0
(config-if)# no shutdown

(config-if)# interface Ethernet 0.1
(config-if)# encapsulation dot 1Q 2
(config-if)# ip address 192.168.1.1 255.255.255.252

(config-if)# interface Ethernet 0.2
(config-if)# encapsulation dot 1Q 3
(config-if)# ip address 192.168.1.5 255.255.255.252
(config-if)# (*press ctrl-z)
# write
Shouldn't be any problem, I hope :)

No comments:

Post a Comment

Hi, for all of those who already put comments on my blog post, thanks.. really appreciate it. And for those who have not, just put your comments here :)