- 1,314

- 104

## Main Question or Discussion Point

Dear PF Forum,

I want to understand computer networking.

There's a problem that I'd like to know the answer. This problem might not come out in day to day practice, but by having the answer of this problem, I hope I can, at least, understand how router works.

Consider there are 3 computer. A, B and C.

There IP address and subnet mask are.

A: 192.168.1.1, mask: 255.255.0.0, so its network address is: 192.168.0.0

B: 192.168.1.2, mask: 255.255.255.0, so its network address is: 192.168.1.0

C: 192.168.2.3, mask: 255.255.255.0, so its network address is: 192.168.2.0

My question is.

1. Can A ping B?

My reasoning is this.

A will see that B(IP) AND A(Mask) = A(IP) AND A(Mask) = 192.168.0.0

So basically A will consider B in the same network.

And so does B will see that A is at the same network. A(IP) AND B(Mask) = 192.168.1.0

2. Can B ping A?

3. Can A ping C?

My reasoning is this.

A will see that C(IP) AND A(Mask) = A(IP) AND A(Mask) = 192.168.0.0

So basically A will consider C in the same network.

Although C will see that A is at different network. A(IP) and C(Mask) = 192.168.1.0

Thank you very much.

I want to understand computer networking.

There's a problem that I'd like to know the answer. This problem might not come out in day to day practice, but by having the answer of this problem, I hope I can, at least, understand how router works.

Consider there are 3 computer. A, B and C.

There IP address and subnet mask are.

A: 192.168.1.1, mask: 255.255.0.0, so its network address is: 192.168.0.0

B: 192.168.1.2, mask: 255.255.255.0, so its network address is: 192.168.1.0

C: 192.168.2.3, mask: 255.255.255.0, so its network address is: 192.168.2.0

My question is.

1. Can A ping B?

My reasoning is this.

A will see that B(IP) AND A(Mask) = A(IP) AND A(Mask) = 192.168.0.0

So basically A will consider B in the same network.

And so does B will see that A is at the same network. A(IP) AND B(Mask) = 192.168.1.0

2. Can B ping A?

3. Can A ping C?

My reasoning is this.

A will see that C(IP) AND A(Mask) = A(IP) AND A(Mask) = 192.168.0.0

So basically A will consider C in the same network.

Although C will see that A is at different network. A(IP) and C(Mask) = 192.168.1.0

Thank you very much.