I
I
Igor2019-04-01 20:47:29
Computer networks
Igor, 2019-04-01 20:47:29

Java NetSim. How to ping from a router to a PC that is behind another router?

Good evening. Please help me solve the problem. I'm just starting to learn about networking. Depends, I think, on a simple question. Unable to associate router (Router5) with PC1. If you ping, then the packets do not reach. But if you separately perform Ping from router to router, as well as from router (Router3) to PC1, then everything is fine. I do not have any strict conditions for IP, its class, I just need it to work. If possible, briefly explain why this should be done. Thank you.
Scheme:
5ca24ead23d21994124459.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Talyan, 2019-04-01
@stepigor

Well, how are you going to ping it without a route?
Oooh Ronald McDonald good evening colleague)
As I understand it, you haven’t even read the first page yet))
Router5:
route –p add 192.168.1.0 mask 255.255.255.0 128.100.30.2
I can make a mistake with the syntax, because I haven’t written routes for a long time, but I think I got the point across.
Please read: https://linkmeup.ru/blog/14.html

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question