Home > other >  A machine of two pieces of card
A machine of two pieces of card

Time:12-03

There is a server, equipped with two pieces of card,
Hypothesis for A period of 192.168.1.0 address for 192.168.1.2 instead
Section B 10.0.1.0 address for 10.0.1.2


Having WEB80 service on this server, if A is A machine, visit http://192.168.1.2, is normal, but at http://10.0.1.2, is A blank page,
Ping 10.0.1.2 is normal, telent 10.0.1.2 port 80 is also good,

Similarly, section B machine, access 192.168.1.2 instead of port is also blank,

I think it's because there is a routing caused so
Target gateway card
192.168.1.0 192.168.1.1 A nic
10.0.1.0 10.0.1.1 B card

So, from A section to access this machine 10.0.1.2, although can arrive, but when I come back, because it is A section of the machine, so the walk is A network card, cause path,

If so, how to solve?

CodePudding user response:

Enable routing services on the server? Open the web service 10.0.1.2 address? Had better have A diagram, or you are in A period of execution on the other computer trcert - d - w 5 10.0.1.2, stick the results come out to see?

CodePudding user response:

reference 1st floor Iforgetmyid response:
enable routing services on the server? Open the web service 10.0.1.2 address? Had better have A diagram, or you are in A period of execution on the other computer trcert - d - w 5 10.0.1.2, stick the results come out and see,


Test again once, I describe the wrong,

Simple, this server has AB two segment of two pieces of card, opened A WEB server application, A network segment another machine, access to A: 80 A and B: 80 are normal,
This server virtual bridge and a piece of card (DOCKER), the 9000 port mapping to a container below,

A network segment of another machine to access A: 9000 normal, can't access B: 9000, 9000 from A network segment to Telnet B, also is normal,
  • Related