How do subnets in different network segments access the Internet through Layer 3 switches, and how s

Updated on technology 2024-05-17
6 answers
  1. Anonymous users2024-02-10

    There are 2 ways:

    1. Make a trunk on port 16, add the first 15 VLAN trunks to port 16, and then make the corresponding trunk on the router, and set the gateway of each VLAN on the router.

    2. Set the gateway of each VLAN on the Layer 3 switch, and then do Layer 3 routing and communication on the Layer 3, and port 16 is also used as a separate VLAN. The gateway of the first 15 VLANs points to VLAN 16, and VLAN 16 can be connected to the router.

  2. Anonymous users2024-02-09

    A network segment, such as port 1 and port 2... Port 16 connection route,

  3. Anonymous users2024-02-08

    Are you sure it's a switch? If it's a switch, you don't need to care, just connect the network cable directly, no matter how many layers, even if it's a 100-layer switch, you don't need to set anything.

    If the router is a switch, then each router needs to set a fixed IP, for example, the first router IP is, the second can be, the third, in short, it can't be the same IP segment, and it can be set, the second, as long as it is not in the same IP segment, you can set it casually, the switch doesn't need to be set, and there is no place for you to set it.

  4. Anonymous users2024-02-07

    Devices in different network segments can be connected to the same switch.

    A switch (bridge) is a device at the data link layer that connects multiple nodes of the same subnet together, with no entry or exit. It can only handle MAC addresses, not IP addresses.

    Unlike a router, it does not have a network adapter inside, i.e. there is no IP and MAC address, only ports. In other words, it is only responsible for unlocking the MAC address, querying the corresponding port, and then sending the received packet, regardless of whether the incoming and outgoing ports of the packet belong to the same subnet.

    On the one hand, this efficient and concise processing method makes it very suitable for organizing nodes in the same subnet. On the other hand, it can actually be utilized to organize nodes of different subnets.

    In fact, two computers connected by a switch can communicate at the link layer as long as they know each other's MAC addresses, and further, if they know each other's IP addresses, they can communicate at the network layer and beyond.

    Because each port on the switch is directly connected to the computer at the other end of the network cable, the switch can easily know the MAC address of the device (manually configured or automatically queried), and then the switch will generate a table corresponding to the port and MAC address, when a packet comes, the switch will unravel the destination MAC address, query the mapping table, and send it out, before which the packet may be verified. When the target computer receives the packet, it will check whether the destination MAC address is its own, and if so, it will submit to the upper layer, otherwise it will be discarded.

    Further, if the network layer discovers that the IP address is also its own, it will continue to submit the packet to the upper layer and receive it.

    Therefore, two computers connected by a switch can communicate fully as long as they know each other's MAC and IP, regardless of whether they are on the same network segment or not.

  5. Anonymous users2024-02-06

    Summary. First of all, it is possible to do this, but it is not done in general network planning, because there are drawbacks, two network segments share one switch without setting VLAN, then the broadcast packet of each host will be broadcast to each port by the switch, wasting the processing power of the switch and reducing the speed of the switch. As for network storms, they only appear in the case of loops, and your network will not appear as long as there are no loops.

    As for question 3, you need to analyze it specifically, for example, if there is an ARP virus in the LAN, it will also cause network disconnection, and when the performance of the switch is reduced to a certain extent, the network will also be disconnected, and you need to analyze the data packets of the switch.

    The switch is connected to two network segments.

    Hello, I have seen your question and am sorting out the answer, please wait for a while First of all, it is okay to do this, but it is not done in general network planning, because there are drawbacks, two network segments are shared by one switch without setting VLAN, then the broadcast packet of each host will be broadcast to each port by the switch, wasting the processing power of the switch and reducing the speed of the switch. As for network storms, they only appear in the case of loops, and your network will not appear as long as there are no loops. As for question 3, you need to analyze it specifically, for example, if there is an ARP virus in the LAN, it will also cause network disconnection, and when the performance of the switch is reduced to a certain extent, the network will also be disconnected, and you need to analyze the data packets of the switch.

    Dear here has found the most similar results for you, I hope it will be helpful to your question.

  6. Anonymous users2024-02-05

    Categories: Computer Internet >> Internet.

    Problem description: Why should the switches be on the same network segment? In other words, if one machine is set to another, it cannot communicate with each other?

    However, the working principle of the switch is based on the MAC address, for example, the A machine (send a data packet, send the IP address you want to contact and your own MAC address to the switch, and then the switch broadcasts the packet, and then the target host sends its MAC address to the switch, and the switch sends it to the A machine, so that you can exchange data with each other!)

    What if the IP addresses of my target computers are not in the same network segment and they cannot be connected to each other? According to the above principle, this phenomenon should not occur?!

    Also, if the IP of my two machines is one and then the mask is changed, is it okay?

    Hope to give me an answer.........Ladies and gentlemen, this question bothers me!

    Although the score is small, it is all the ......... of the younger brother

    Analysis: The computers connected to the switch can not be in the same network segment.

    As you said. Just set the mask and you're good to go.

Related questions
3 answers2024-05-17

Set a default static route. There are two ways, one temporary route and the other permanent route. The so-called temporary route is a static route that is established after the server is restarted. >>>More

8 answers2024-05-17

First of all, I want to tell you that there is --- a route that exists specifically for the end line offload. If you don't add something in the case of the existing setup, there is a way to achieve it, but it is relatively unreliable, and it has its drawbacks, which I will explain later. 1) Two routers are connected to two cats, and they are configured according to the normal single line. >>>More

15 answers2024-05-17

How to use the toilet artifact.

3 answers2024-05-17

Computer Mobile Phone Professional IP Modification Solution Steps: >>>More

11 answers2024-05-17

Guitar self-taught March pass, I also searched on the Internet, and accidentally found some good tutorial articles about the guitar in the guitar fan**, I recommend it to you, I hope you can learn a lot from it, come on, learning the guitar is a persistent thing, the following is a little tutorial I found in that**. >>>More