Home > other >  Primary routing cannot access secondary routing
Primary routing cannot access secondary routing

Time:09-18

A router IP networks outside: 119.28.130.53 LanIP: 192.168.1.1
The router B wanIP: 192.168.1.101 lanIP: 192.168.2.1

In. Paragraph 2 of the host can access. 1 segment host A but. 1 of the host can not access. Paragraph 2 of the host B

Based on the above phenomenon have a doubt:



1. If all the network host sends A message to the host B (whether the VPN agent or Intranet through) the gateway should pass B (i.e., host A)?

2. If 2 is right, based on the default routing zi lu can be accessed by the father, he is how to put forward to B (in Internet host X (IP networks outside: 119.28.130.54) send QQ messages, in the local area network (LAN). Host can accept to paragraph 2,)?

CodePudding user response:

Because routers B equipment data are issued do NAT router B into 192.168.1.101, and routers A device without A routing table to 192.168.2.0 segment, then sent to the default routing 192.168.1.1, routers A also have no, forwarded to router A default route,
If you want to achieve the router equipment under A device access router under B, need to do port mapping in router B, or through the NPV to router B, the ability to access,
In the final analysis is the routing table, the corresponding entries can access, no can not access,

CodePudding user response:

reference 1st floor fitnig response:
because routers B equipment data are issued do NAT router B into 192.168.1.101, and router equipment not to 192.168.2.0 segment under A routing table, then sent to the default routing 192.168.1.1, routers A also have no, forwarded to router A default route,
If you want to achieve the router equipment under A device access router under B, need to do port mapping in router B, or through the NPV to router B, the ability to access,
In the final analysis is the routing table, the corresponding entries can access, no can not access,


The problem is I don't have set the routing tables of QQ can accept others send message?

CodePudding user response:

refer to the second floor abc5141 response:
Quote: refer to 1st floor fitnig response:

Because routers B equipment data are issued do NAT router B into 192.168.1.101, and routers A device without A routing table to 192.168.2.0 segment, then sent to the default routing 192.168.1.1, routers A also have no, forwarded to router A default route,
If you want to achieve the router equipment under A device access router under B, need to do port mapping in router B, or through the NPV to router B, the ability to access,
In the final analysis is the routing table, the corresponding entries can access, no can not access,


The problem is I don't have set the routing tables of QQ can accept others send message?

QQ has A public server, router B under the host through A NAT B, then A in A NAT, the default route to public, eventually to tencent server,
Because the TCP only three connection handshake, so network equipment can save the current NAT connection information, tencent server returns the data to A WAN port, the data NAT routers A query mapping table into network IP forwarding router B, router B also look-up table after conversion to Intranet,
Data after the completion of the transfer, dismantle the connection handshake, after the completion of the connection interruption, tencent server to the port to send data is discarded,

CodePudding user response:

reference fitnig reply: 3/f
Quote: refer to the second floor abc5141 response:

Quote: refer to 1st floor fitnig response:

Because routers B equipment data are issued do NAT router B into 192.168.1.101, and routers A device without A routing table to 192.168.2.0 segment, then sent to the default routing 192.168.1.1, routers A also have no, forwarded to router A default route,
If you want to achieve the router equipment under A device access router under B, need to do port mapping in router B, or through the NPV to router B, the ability to access,
In the final analysis is the routing table, the corresponding entries can access, no can not access,


The problem is I don't have set the routing tables of QQ can accept others send message?

QQ has A public server, router B under the host through A NAT B, then A in A NAT, the default route to public, eventually to tencent server,
Because the TCP only three connection handshake, so network equipment can save the current NAT connection information, tencent server returns the data to A WAN port, the data NAT routers A query mapping table into network IP forwarding router B, router B also look-up table after conversion to Intranet,
Data after the completion of the transfer, dismantle the connection handshake, after the completion of the connection interruption, tencent server to the port to send data is discarded,


Brother, I think is to accept the message QQ, not send the message, QQ send a message is just like my access to the Internet, I can understand this, but receive a message (you at home to send message to me, I in the company's 2), because the company not to 2 paragraphs 1, between this I can't understand... Am I too stupid,,,,

CodePudding user response:

reference 4 floor abc5141 response:
Quote: reference fitnig reply: 3/f

Quote: refer to the second floor abc5141 response:

Quote: refer to 1st floor fitnig response:

Because routers B equipment data are issued do NAT router B into 192.168.1.101, and routers A device without A routing table to 192.168.2.0 segment, then sent to the default routing 192.168.1.1, routers A also have no, forwarded to router A default route,
If you want to achieve the router equipment under A device access router under B, need to do port mapping in router B, or through the NPV to router B, the ability to access,
In the final analysis is the routing table, the corresponding entries can access, no can not access,


The problem is I don't have set the routing tables of QQ can accept others send message?

QQ has A public server, router B under the host through A NAT B, then A in A NAT, the default route to public, eventually to tencent server,
Because the TCP only three connection handshake, so network equipment can save the current NAT connection information, tencent server returns the data to A WAN port, the data NAT routers A query mapping table into network IP forwarding router B, router B also look-up table after conversion to Intranet,
Data after the completion of the transfer, dismantle the connection handshake, after the completion of the connection interruption, tencent server to the port to send data is discarded,


Brother, I think is to accept the message QQ, not send the message, QQ send a message is just like my access to the Internet, I can understand this, but receive a message (you at home to send message to me, I in the company's 2), because the company not to 2 paragraphs 1, between this I can't understand... Am I too stupid,,,,




QQ communication is A two-way street, as long as both sides can from B to a. to tencent server can both send and receive messages, because all the data after tencent servers, so can't access the secondary router also doesn't matter,
  • Related