Network Simulation

Task 1

First connect the topology of the network

task1-topo

Then, set the ip address of PCs

PC1 IPtask1-pc1PC2 IPtask1-pc2
PC3 IPtask1-pc3PC4 IPtask1-pc4

Set gatway of PC1 and PC2 as the ip address of the router1192.168.1.1

task1-pc12gateway

Set gatway of PC3 and PC 4 as the ip address of router2 192.168.3.1

task1-pc34gateway

Set the router 1 and router 2 interface ip address as

Router 1 Interface 0 task1-router1-0Router 2 Interface 0 task1-router1-0
Router 1 Interface 1 Router 2 Interface 1 task1-router1-0

enable the router, and set the static routing as:

Router 1Router 2

ping the other PCs and check the connection.

task1-pc1-pingtask1-pc2-ping
task1-pc3-pingtask1-pc4-ping

 

Task 2

First connect the network like this:

task2-topo

Then, set the interface ip for PCs:

PC1task2-pc1-pastethern0PC2task2-pc1-pastethern0
PC3task2-p3-pastethern0PC3task2-pc4-pastethern0
PC5task2-pc5-pastethern0 
DeviceIPVLAN
PC1192.12.10.1110
PC2192.12.10.1210
PC3192.12.20.1320
PC4192.12.10.1410
PC5192.12.20.1520

Then, add the VLANs 10:VLAN-10 and 20:VLAN-20 in all three switches

vlan

Switch 1 to PC1Switch 1 to PC2Switch 1 to PC3Switch 1 to Switch 2
switch1-1switch1-2switch1-3switch1-4
Switch 3 to Switch 1Switch 3 to Switch 2
switch2-1.jpgswitch2-2.jpg
Switch 2 to PC4Switch 2 to PC5Switch 2 to Switch 2
switch3-1switch3-2switch3-3

Finally, check the connectivity:

task2-simulate-pc1task2-simulate-pc2
task2-simulate-pc3task2-simulate-pc4
task2-simulate-pc5 

In conclusion, the VLAN has a isolation effect.

 PC1PC2PC3PC4PC5
PC1
PC2
PC3
PC4 
PC5

References

Learn how to use the Cisco Packet Tracer: https://www.netacad.com/courses/packet-tracer

Cisco Packet Tracer 8.2.1 Download: https://skillsforall.com/resources/lab-downloads