CISCO CCNA Networking Labs

By | January 27, 2020
CISCO CCNA Networking Labs

In this tutorial, We will talk about different lab configurations like RIP, OSPF, Access-list, static routing, and VLAN.

Configuration of RIP:

Steps:

  1. Click on the router and go to CLI.
  2. Type the following commands.
  3. enable To go to privilege mode
  4. config t Command to go to the configuration mode
  5. router rip
  6. the network network address (Enter all the network addresses)

Repeat step number 5 and 6 on all the routers in your network.

OSPF Configuration

Following are the steps to configure OSPF:

  1. Click on the Router and go to CLI.
  2. enable
  3. Config t
  4. router OSPF 1
  5. network network address wildcard mask area 0

Do these steps on each router

Access List Configuration:

An access list is used to block a single host or block a hole network.

Steps to Block Single User:

  1. Click on router
  2. enable
  3. config t
  4. access-list 1 deny host hostip
  5. access-list 1 permit any
  6. Go to interface toward blocking pc or network like
  7. interface fa0/0
  8. IP access-group 1 out

Steps to block the whole network:

Following are the steps to block the whole network

Steps:

  1. enable
  2. config t
  3. access -list 2 deny network wildcard mask
  4. access – list 2 permit any
  5. go to interface like fa0/0
  6. ip access-group 2 out

Static routing Configuration

Following are the steps to configure static routing.

Steps:

  1. enable
  2. config t
  3. IP route network Address SubnetMask NextHopeIp

VLAN Configuration:

Following are the steps to configure Vlan;

configuration on Switch:

  • enable
  • config t
  1. vlan 2
  2. name Lab1
  3. exit
  1. vlan 3
  2. name Lab2
  3. exit
  1. Vlan 4
  2. name Lab3
  3. exit

  1. interface fa0/0
  2. switchport mode trunk
  3. exit
  1. interface fa0/1
  2. switchport mode access
  3. switchport access vlan 2
  4. exit
  1. interface fa0/2
  2. switchport mode access
  3. switchport access vlan 2
  4. exit
  1. interface fa0/3
  2. switchport mode access
  3. switchport mode access vlan 3
  4. exit
  1. interface fa0/4
  2. switchport mode access
  3. switchport access vlan 3
  4. exit
  1. interface fa0/5
  2. switchport mode access
  3. switchport access vlan 4
  4. exit
  1. interface fa0/6
  2. switchport mode access
  3. switchport access vlan 4
  4. exit

Configuration on the router

Now click on attached router and go to cli.

  1. enable
  2. config t
  3. interface fa0/8
  4. no ip address
  5. no shutdown

Now Go to vertual interfaces:

  1. interface fa0/8.2
  2. ip address 192.168.1.1 255.255.255.0
  3. encapsulation dot1q 2
  4. exit
  1. interface fa0/8.3
  2. ip address 192.168.2.1 255.255.255.0
  3. encapsulation dot1q 3
  4. exit
  1. interface fa0/8.4
  2. ip address 192.168.3.1 255.255.255.0
  3. encapsulation dot1q3
  4. exit

Leave a Reply

Your email address will not be published. Required fields are marked *