Home > other >  Switches and routers of different network segment
Switches and routers of different network segment

Time:09-27

We know that when the routers and switches connected two interfaces in the same network segment (192.168.1.2 instead is 192.168.1.1 such as routers, switches), and write a static route can be exchanged, but, if the switch that interface is 192.168.2.1, even write a static routing, cannot exchange, is this why?

CodePudding user response:

1. You are connected to the router is configured on the ports on a switch type, such as the trunk hybird set correct
2. You need at the ends of the apparatus are mutual refers to the next-hop static routing

CodePudding user response:

Basic on the second floor, three layer forward principle to clear
Ping packets in the whole process of how the message interaction, clear understand why can't exchange (Eth different network segments cannot exchange mainly ARP can't learn, if it is POS was no problem)

CodePudding user response:

Examine subnet mask

CodePudding user response:

Mask and the route the print look

CodePudding user response:

Examine subnet mask

CodePudding user response:

This kind of problem is usually the problem on the network configuration, you'd better put the configuration content of switches and routers are posted, the veteran to check your configuration content can more intuitive know where the problem is,

CodePudding user response:

Check the subnet mask

CodePudding user response:

Switch mouth do you think if it is a three layer can be changed to trunk hybird mode, and timely switch vlan mouth, the router is three layers will not accept second data frames

CodePudding user response:

Different network segment can, need to do routing

CodePudding user response:

refer to the second floor wuyuanzhe response:
basic layer, three layer forward principle to clear
Ping packets in the whole process of how the message interaction, clear understand why can't exchange (Eth different network segments cannot exchange mainly ARP can't learn, if it is POS was no problem)

You the most on others like never see clear the somebody else is asking

CodePudding user response:

First switches physical interface can't set the IP address, can only set the vlan interface address, is a logical interface address, static routing point to the IP address of the second switch and vlan addresses on the same network segment is needed to communicate, if not lton-us section, switch is not detected. 1.0 address will give up to send, not even the arp broadcast, router side while setting a static route will send arp broadcast, but found not the same network segment and switches vlan interface without the network segment vlan interface won't respond to an arp
  • Related