Implementation of router router routing configuration on a single arm in Packet Tracer
Experimental objectives:
Master the configuration method of router on a stick
Realize the communication between different VLAN through the router with one arm
Technical principle:
Single-arm routing is a layer 3 network device router to realize the communication between VLAN. It only needs an Ethernet, can undertake all VLAN gateways by creating subinterfaces, and forward data between different VLAN.
The steps of the experiment:
Create the topology diagram shown in the figure
Set up Switch
En
Conf t
Vlan 2
Exit
Vlan 3
Exit
Interface fastEthernet 0/2
Switchport access vlan 2
Exit
Int fa 0/3
Switchport access vlan 3
Exit
Int fa 0/1
Switchport mode trunk
Configure Router
En
Conf t
Int fa 0/0
No shutdown
Exit
Interface fast 0/0.1
Encapsulation dot1Q 2
Ip address 192.168.1.1 255.255.255.0
Exit
Int fa 0/0.2
Encapsulation dot1q 3
Ip address 192.168.2.1 255.255.255.0
End
Show ip route