Connecting two PCs through a Switch.
Steps.
1. Drag and drop two PC s and a switch from the below bar. .
2. Connect both PC s with the switch.
- Use Straight Through cable and select the Fast Ethernet port in both the PCs & the switch.
3. Give IPv4 addresses for both the PCs.
Assigning IPv4 addresses.
Make sure that both IPv4 addresses are in same subnet.
Eg:
For PC0 - IPv4 address : 192.168.10.10
Subnet Mask: 255.255.255.0
For PC1- IPv4 address: 192.168.10.11
Subnet Mask: 255.255.255.0
4. Configure both PCs.
Click on PC0 -> Desktop -> IP Configuration -> select Static
Give the IPv4 address & the Subnet mask.
5. Configure PC1
Click on PC1 -> Desktop -> IP Configuration -> select Static
Give the IPv4 address & the Subnet mask.
6. Now ping both PCs.
Pinging PC1 from PC0.
Click on PC0 -> Desktop -> Command Prompt
Give the IPv4 address of PC1 with ping command.
Type :
PC> Ping 192.168.10.11
Now your PCs are connected...........
To Assign IPv6 addresses.
1. Create the structure as shown above.
2. Configure PCs with IPv6 addresses.
Make sure that both IP addresses are in same subnet.
Eg:
For PC0 - IPv6 address : 2001:db8:cafe:1::10/64
For PC1- IPv6 address: 2001:db8:cafe:1::11/64
3. Configure PC0
Click on PC0 -> Desktop -> IPv6 Configuration -> select Static
Give the IPv6 address and the Mask.
Provide the mask inside the separated cage.4. Configure PC1
Click on PC1 -> Desktop -> IPv6 Configuration -> select Static
Give the IPv6 address and the Mask.
Provide the mask inside the separated cage.5. Now ping both PCs.
Pinging PC1 from PC0.
Click on PC0 -> Desktop -> Command Prompt
Give the IPv6 address of PC1 with ping command.
Type :
PC> Ping 2001:db8:cafe:1::11
Now your PCs are connected..........
No comments:
Post a Comment