This lab demonstrates how to use the RIP protocol to route traffic between routers and multilayer switches with VLAN settings. This lab demonstrates how to use the RIP protocol to route traffic between routers and multilayer switches with VLAN settings.
L3 switch is connected to router R-2 (on the right) and Layer 2 switch on the left. The layer 2 switch is setup with 2 off VLANs in relation to two access ports, Fa0/1 for VLAN 10 and Fa0/2 for VLAN 20.
Router 2 (R-2) , on its port G0/1 is connected to the L2 switch with sub network 192.168.10.0/24. Finally, router 1 (R-1) which is directly connected to router 2 (R-2) on G0/0 port and to subnetwork 192.168.20.0/24 on port G0/1.
Multilayer switch L3 is setup to route packets to the router using RIP protocol and using virtual interfaces to route VLANS which come from the left part of topology.
L3 switch victual interfaces of IP addresses are:
Link between L2 and L3 switches is set up to the trunk mode. Port Fa0/3 is in auto mode and directed connected to PC with IP address 172.16.99.101.
Port Fa0/1 (L3 Switch) is set up to “no switchport” mode, to enable routing with routers. The option of route table of L3 switch is enabled as well “ip routing”. In that configuration the port Fa0/1 is configure with IP address 192.10.20.254/24.
Port Fa0/3 is set with the IP address 172.16.99.254/24, with disabled switchport option. So this port is fully routable as well.
On L3 switch is enabled RIP routing in the following configuration:
router rip
version 2
no auto-summary
network 172.16.0.0
network 192.10.20.0
network 192.10.10.0
network 192.168.10.0
network 192.168.20.0
network 192.168.99.0
On router 2 (R-2), three off ports are operational overall, configured as follows:
interface g0/2 : 192.10.20.1/24
interface g0/1: 192.168.10.254/24