Contents
- 1 What happens if you enter the wrong subnet mask?
- 2 Does the switch need an IP address for PC1 to communicate with PC2?
- 3 How is the message sent from a PC2 when is first?
- 4 What will be an IP address of PC1?
- 5 Why are two hosts in different subnets not pinging?
- 6 What is the ping range for PC1 and PC2?
What happens if you enter the wrong subnet mask?
Incorrect Subnet Mask: If a network uses a subnet mask other than the default mask for its address class, and a client is still configured with the default subnet mask for the address class, communication will fail to some nearby networks but not to distant ones.
Does the switch need an IP address for PC1 to communicate with PC2?
An IP address is not required. The PC’s are both on the same network and can communicate directly. 4. PC1 needs to know the mac-address of PC2 to construct the frame and send the data.
What is the default gateway for PC1?
For PC0 and PC1 the default gateway is the router port G0/0, which for this network is the address 192.168. 1.1.
Does the subnet mask have to match?
Subnet masks always work from left to right. Devices are said to be within the same subnet if their IP Address starts with the same digits, but ends with a different set of digits. If the subnet mask is 255.255. 255.0, then the first three octets of all devices must be the same.
How is the message sent from a PC2 when is first?
How is the message sent from a PC2 when is first powers on and attempts to contact the DHCP Server? When a client boots up for the first time, it transmits a DHCPDISCOVER message on its local physical subnet. The client does not have a configured IP address, so the source IP address of 0.0. 0.0 is used.
What will be an IP address of PC1?
Click IP Configuration. In the Addressing Table above, you can see that the IP address for PC1 is 192.168. 1.1 and the subnet mask is 255.255.
How to Ping a PC from one subnet to another?
To make the two PCs be able to ping each other without adding a router or changing the IPs, you’d need to change the network masks to 0. So PC1 will be 10.10.10.1/0 and PC2 will be 192.168.1.1/0, making the subnet range for both of them the same 0.0.0.0-255.255.255.255
Why does a PC use the subnet mask?
A pc uses the subnet mask to determine which network it belongs to.If it determines that an ip address is on the same network, it will arp for the host. If it determines the ip address is remote, it will arp for the default gateway.
Why are two hosts in different subnets not pinging?
In your case, the two hosts are in different subnets, that’s why the ping doesn’t work. Try adding default gateway and a router into your topology and the ping might work. The bottom line is there are two different process you should separate here:
What is the ping range for PC1 and PC2?
So PC1 will be 10.10.10.1/0 and PC2 will be 192.168.1.1/0, making the subnet range for both of them the same 0.0.0.0-255.255.255.255 If there is no configured default route/gateway, then a ping will fail with a “no route to host” error.