What you must learn to configure a VLAN on a switch

Updated on technology 2024-03-05
6 answers
  1. Anonymous users2024-02-06

    There are many ways to solve the problem of communicating with the Internet according to the conditions you propose.

    1. Layer 3 switch, set up three VLANs, and set up Layer 3 protocols, such as VLAN if 10 IP, VLAN if 20 VLAN if 30 (communicate with the Internet router) IP VLAN10 and 20 are the computer network segments, then the computer IP address is set to the network segment of VLAN 10 or 20, and the gateway is the IP address of the corresponding VLAN. And set the default path next-hop on the Layer 3 switch by the peer address pointing to VLAN30.

    Second, the use of single-arm routing, with the router sub-interface function, here is not much to introduce, computer settings and router network connection methods:

    Home Network Environment Cabling]:

    1. There is a cat (modem): cat (modem) - router WAN port; The LAN port of the router --- a computer.

    2. No modem: network cable --- router WAN port; The LAN port of the router --- a computer.

    Set the method of automatic acquisition of computer IP and DNS]:

    Win7 system setting method:

    Right-click [Network] Properties [Change Adapter Settings] [Local Connection] [Right-click Local Connection Properties] [Double-click TPC IP Protocol] [Then click "Automatically Get IP Address"], and then click "Automatically Get DNS" Server Address] [Click OK].

    The Chinese name of VLAN (Virtual Local Area Network) is"Virtual LAN"。[1]

    A virtual local area network (VLAN) is a logical set of devices and users that are not limited by physical location, but can be organized according to factors such as function, department, and application, and communicate with each other as if they were in the same network segment. VLAN is a relatively new technology that works at Layer 2 and Layer 3 of the OSI reference model, where a VLAN is a broadcast domain, and communication between VLANs is done through Layer 3 routers. Compared with traditional LAN technology, VLAN technology is more flexible and has the following advantages:

    reduced management overhead for the movement, addition, and modification of network devices; It is possible to control broadcasting activities; It can improve the security of the network. [1]

  2. Anonymous users2024-02-05

    There are six ways to divide VLANs, and the benefits of each type of partition are:

    1. The benefits of dividing VLANs by port: The configuration process of dividing network members by switch ports is simpler and clearer. Doing so allows communication between ports and allows for the upgrade of shared networks.

    3. Divide VLANs by network layer: If the user's physical location changes, there is no need to reconfigure the VLAN to which the user belongs, and VLANs can be divided according to the protocol type. This method does not require additional frame labels to identify VLANs, which reduces the amount of traffic on the network.

    4. Divide VLANs by IP multicast: The VLANs are extended to the WAN, so this method has more flexibility and is also easy to expand through routers.

    With this approach, the entire network can be easily scaled by routers, and some products also support hosts on one port belonging to different VLANs.

    6. Divided by user definition and non-user authorization: To adapt to special VLAN networks, VLANs can be defined and designed according to the special requirements of specific network users, and VLANs can be accessed by non-VLAN group users.

  3. Anonymous users2024-02-04

    Huawei switches for example

    1. Create VLAN2. The command is vlan 2

    2. Enter the port, set the port type to access, and then join the port to VLAN2. The command is as follows:

    huawei]int gigabitethernet 0 0 1 entry port.

    huawei-gigabitethernet0 0 1]port link-type access Set the port type to access

    huawei-gigabitethernet0 0 1]port default vlan 2 port joins vlan2

    3. Run the dis vlan 2 command to check the VLAN status and find that port 1 belongs to VLAN 2.

  4. Anonymous users2024-02-03

    What brand of switch? The commands of different manufacturers are different, but those that support VLAN division come with a web interface, and you can directly enter the web interface intuitively.

  5. Anonymous users2024-02-02

    1.Broadcast storm prevention and reduce the broadcast domain.

    2.Secure, which enhances the security of the local area network, and groups of users containing sensitive data can be isolated from the rest of the network, reducing the likelihood of leaking confidential information.

  6. Anonymous users2024-02-01

    Day, the teacher is a eunuch and writes fucking p

Related questions
4 answers2024-03-05

The description is not very clear, but it can probably be checked in two aspects. >>>More

11 answers2024-03-05

It depends on how you network.

First of all, the IP segments of VLAN10 of the two switches are different, so Layer 3 routing is required for the communication between the connected PCs (because they are cross-network segments). >>>More

10 answers2024-03-05

One is the mark before login.

The slogan banner login is the banner login after the connection, and one is the name displayed after login, that is, it is displayed to the user, which is used to explain what the route or exchange is used for, what are the consequences of illegal login, etc., all of which are displayed when telnet is in the past. >>>More

8 answers2024-03-05

It's almost on, and it's installed tomorrow.

22 answers2024-03-05

My e-home currently needs to buy a wireless router, and then equip each machine with a wireless network card, so that two can access the Internet at the same time. >>>More