Can PC0 PING192.168.10 if PING192.168.11, I add the routing in the switch 192.168.11.0 255.255.255.0 192.168.1.254 IP routing and open but not, routing between vlans only distributed in three layers of machine, please?
CodePudding user response:
I see you all switches in figure are 192.168.1.0 network segment, this kind of environment switches useless to three layer function, only have the effect of a common layer, don't add any routing,Pc1: configure the gateway as the 192.168.10.1, or configure the next-hop as 192.168.10.1 default routing
On the left side of the router: configure a default route, the next-hop is 192.168.1.254
Pc0: don't deserve the gateway, two static routing configuration (192.168.11.0 via 192.168.1.254, 192.168.10.0 via 192.168.1.1)
The right of the router: configure a default route, the next-hop 192.168.1.1 is
Pc0 need two routes, you can use the default + gateway, the combination of static, however, and the default gateway can't match at the same time, and match a gateway can only, by default, also can match a
Finally can be 1 static + [1 static gateway | | 1 1 default]
CodePudding user response:
Thank you very much. I was meant to want to add the switches as you say PC0 two static routing (192.168.11.0 via 192.168.1.254, 192.168.10.0 via 192.168.1.1), so that you can distribute routing automatically by the switch, you won't have to pick up the switches of all computers such as PC0 separately set up insideCodePudding user response:
Layer 3 switches in your topology as second, add the routingLayer 3 switches in your topology as second, add the routing
Layer 3 switches as in your topology on the second floor, and routing
CodePudding user response:
Thank you, if the above two routing and two PC configuration, could you can change the following switches or computer configuration, in order to realize you said the three layers of functions and put the two routes addedCodePudding user response:
Layer 3 switches to enable ospf protocolCodePudding user response:
Layer 3 switches as in your topology on the second floor, and routingCodePudding user response:
Layer 3 switches is usually an easy routing functions, because it faces is mainly simple LAN connection, because of this, layer 3 switches is usually an easy routing, routing path is far from the router so complex, it is used in the main USES of the local area network (LAN) or to provide fast data exchange function, meet the application characteristics of local area network data exchange is frequent,The router is different, it is at the beginning of the design of the cry of in order to meet the different types of network connection, while also applies to the connection between the local area network (LAN), but its routing functions more reflect on the interconnection between different types of networks, such as the connection between the LAN and wan, between different protocols of network connection, etc., so the router is mainly used for different types of network, it is the most main function of routing forwarding, solve all kinds of complex routing path network connection is the ultimate goal of it, so the routing function of the router usually is very powerful, not only apply to the same agreement between the local area network (LAN), more suitable for the different protocols between LAN and wan, its advantage is to choose the best route, load sharing, link backup and other network exchange routing information and function, and so on the router is in keeping with the various types of network connection, router interface type is very rich, and layer 3 switches is generally only LAN interface of the same type, is very simple.
CodePudding user response: