cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
42063
Views
0
Helpful
17
Replies

can't ping a computer on the same network

alexscof1
Level 1
Level 1

I am new to packet tracer and I've completely hit a brick wall while setting up a small network.

I have a simple network setup with two computers. Both computers are on different subnets...

For some reason, when I ping PC1 from PC0 and vice versa, I don't get a reply. The router and the switch have not been configured. Help on this would be appreciated.

17 Replies 17

Your PC IPs are 192.168.0.x IPs and your router interfaces are 172.17.x.x IPs.

The PCs need an IP address from their vlan IP subnet ie. a 172.17.10.x or 172.17.20.x depending on which vlan the PC is in and their default gateways are the router subinterface IPs for their respective vlans.

You can't just assign different IPs to the PCs and router interfaces.

Jon

Ah ok, so I've changed the IPs on the subinterfaces, and can now ping the gateways from the PCs. But... I'm still not getting a reply when I ping the PCs.

 

Should the subnet mask of the subinterfaces be the same as the PCs?

 

UPDATE: ok so it suddenly decided to let me ping the other computer. All working finally.

 

alex.

Alex

Glad you got it working.

For your reference, yes the subnet masks of the PCs or any device in a subnet should be the same as the subnet mask on the L3 interface (or subinterface) for that subnet.

Jon

Review Cisco Networking for a $25 gift card