Question Locked

gateway

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

hi all

hi somebody answer my question,

from one pc to one pc if we set both pc is same subnet without gateway , both able to ping each other.

but

my qyestion is when a network device like router, if it ip address is 192.168.18.1/24
and i put my pc be 192.168.18.25 without default gateway. Y the switch cant ping to the PC?

hope you can answer my question

thanks.

with regard
jack

4 replies

by older mycroft

There are items FROM 1 to 24. Your range is between 1 and 24.

Set the PC to 192.168.18.2 (or 3, or 4, or 5 and so on)

:)

by kjell_andorsen

Hmmm, usually when someone adds the /24 they use it to refer to the subnet mask length. In this case 24 bits or 255.255.255.0, if this is the case it would leave a full octet so any address from 192.168.18.1 to 192.168.18.254 would be valid.

The PCs in this case should be able to ping the router with no issue.

by techienate

From the generalized information you have provided, the ping should work. If this is a specific situation you are talking about, could you please provide more information? Occassionaly, some software firewalls on PC's (McAfee's firewall comes to mind) block pings from other computers and network devices. A basic switch does not have an ip address or the ability to ping other devices. Router's do have ip addresses, and most consumer router's have the ability to do pings built into the router. If this is the case, make sure the internal ip address (of a router that does NAT, which is the default setting on nearly every router) is set to 192.168.18.1, not the external ip address. Also make sure that there is not another network device with that ip address on the network.

This discussion is closed to new replies.