R6 for the switch, R4 belong to the VLAN2,R5 belong to VLAN3,R4,R5 analog into PC.
The configuration of the R1 is as follows:
Interface Loopback0
IP Address 1.1.1.1 255.255.255.0
Interface fastethernet0/0
IP address 12.1.1.1 255.255.255.0
Interface FASTETHERNET0/1
IP address 13.1.1.1 255.255.255.0
Router EIGRP 1
Network 1.0.0.0
Network 12.0.0.0
Network 13.0.0.0
The R2 configuration is as follows:
Interface fastethernet0/0
IP address 12.1.1.2 255.255.255.0
Interface FASTETHERNET0/1
No IP address
Interface fastethernet0/1.2//Configuration sub-interface is VLAN 2
Encapsulation dot1q 2
IP address 192.168.1.1 255.255.255.0
Standby 1 IP 192.168.1.10//configuration virtual address
Standby 1 priority 200
Standby 1 preempt//Configuration first title
Standby 1 Track 1 decrement 120//If the interface is F0/0down, the priority of this sub-interface will go to 120
Interface fastethernet0/1.3
Encapsulation dot1q 3
IP address 192.168.2.1 255.255.255.0
Standby 2 IP 192.168.2.10
Standby 2 preempt
Router EIGRP 1
Network 12.0.0.0
Network 192.168.1.0
Network 192.168.2.0