Configure VLANS in Cisco packet tracer
VLAN is a group of devices on one or more LANs that are configured to communicate as if they were attached to the same wire, when in fact they are located on a number of different LAN segments. Because VLANs are based on logical instead of physical connections, they are extremely flexible.
Basic commands used:
Ping : you can send ICMP request to destination and wait for response.
enable: To enter privileged Exec mode or any other security level.
exit: to close an active terminal.
Procedure:
- Create a network diagram with 4 pcs.
- select end device option and drag two generic pcs in to the work space.
- click on the pcs and configure the IP Address of them.
- for ex : pc1 : IP =192.100.162.10
- Connect all the pcs using copper straight wire to the switch. as shown in the figure in fast ethernet port.
- Configure the switch using the following caomnds in cci.
- router> en
- # config t
- (config)# int fa 0/1
- (config -if) vlan 2
- (config -vlan)#exit
- (config)# int fa 0/3
- (config -if) vlan 3
- (config -vlan)#exit
- similarly configure other connections.
- Now go to command prompt and use ping IP address to trace the packets.
Nice work.
ReplyDelete