Home > other >  Communication between two network host
Communication between two network host

Time:10-26

Such a situation, there are two subnets are interconnected, but their internal host is hidden, such as two next to the dormitory, I want to visit from my host brother's host next door, we are both in their respective segment IP 192.168.1.2 instead, this kind of situation I should how to configure the router to ping to him?

CodePudding user response:

I know NAT mapping address pool, if the IP is not a network segment is absolutely can ping, my confusion is that we usually set the wireless router is not on the 192.168.1.1, will this do?

CodePudding user response:

The original poster connected network want to do?

CodePudding user response:

Doing the experiment, I wanted to know how connected, isn't necessarily from the application layer to connect,

CodePudding user response:

Well, I'm in a data sharing sites, can want to have a way to make the people next door can access to this web site

CodePudding user response:

First you have to understand TCP, don't tell me you don't understand, if you two dormitory respectively using two home routers, listen to your meaning is to use DHCP router, the router has a public address, baidu router do NAT mapping, put your website using TCP port mapping to the public network address of the router, the people next door can be through the public network address and port number to access your site,

CodePudding user response:

Understand, it seems I have to learn how to use the TCP

CodePudding user response:

If do NAT, cannot ping actual address
  • Related