Home > other >  How is in different subnet server network
How is in different subnet server network

Time:12-02

The two server IP as shown

My understanding is that two servers belong to 192.168.26.0 segment, but belong to different subnets, A 192.168.26.0/24, server B belongs to 192.168.26.0/27
Goal is B ping server A, how to build the network achieve this
I formed network below

Router IP as shown, don't know what is the problem, I do not know to have understanding wrong

CodePudding user response:

Yes, they are in different subnet,
This structure is a typical single-arm routing, you can achieve network, topology is no problem, the configuration is wrong, the router should f0/0 screwdriver interface; Another approach is to directly use routers (or layer 3 switches) to put them together, that is to take away your router, switch with three layers or router to more often in the production environment, you figure in exchange for three core exchange, group network, router (or firewall) used for the network router (though this has nothing to do with your topic request),

CodePudding user response:

A server, two belong to two different network segment, the server belongs to A 192.168.26.0/24, server B belongs to 192.168.26.0/27,
Two, this author is not enough, also it is not necessary, because the network segment address range, B is contained in A network segment, then A network segment is actually only 192.168.26.32 ~ 192.168.26.254 can use, and it also increases the complexity of the network,
Three, two 192.168.26.2 segment gateway is set?

CodePudding user response:

How two servers directly to the router, the router configuration, two server gateway Settings are the same, can you write the router configuration interface code son, I learn, I configure the interface or can't, don't know where is wrong, don't know how to configure the gateway IP address,
Directly connected routers the second method, the two server connects the two Ethernet ports respectively, but the two server gateway is the same, are 192.168.26.2, this how to configure

CodePudding user response:

reference FeiXi reply: 3/f
two servers directly to the router, the router how to configure, two server gateway Settings are the same, can you write the router configuration interface code son, I learn, I configure the interface or can't, don't know where is wrong, don't know how to configure the gateway IP address,
Directly connected routers the second method, the two server connects the two Ethernet ports respectively, but two gateway servers are the same, are 192.168.26.2, this how to configure


These depends on the specific manufacturer and model of the router,

CodePudding user response:

Server in A 192.168.26.0 contains the address of B/24, want ping. A, B

To switch the two ports with address

Then write A static routing the address on the switch point to connect to the server A switch port 1, can ping A, B
  • Related