VLAN base (a) by a simple division VLAN GNS3 1.3.10

VLAN base (a) by a simple division VLAN GNS3 1.3.10

  • Summary:

    VLAN (Virtual Local Area Network) in Chinese named "virtual LAN." In a computer network, a Layer 2 network may be divided into a plurality of different broadcast domains, a broadcast domain corresponding to a specific user group, these different default broadcast domains are isolated. You want to communicate, via one or more routers require different broadcast domains. This is called a broadcast domain VLAN.
    Virtual LAN (VLAN) is a set of logical devices and users, and users of these devices is not limited to physical location, the function may be based on factors, sectors and applications organize them together, communication between each other if they are the same segment as the eponymous virtual local area network. VLAN is a relatively new technology, working at Layer 2 and Layer 3 of the OSI reference model, a VLAN is a broadcast domain, the communication between the router VLAN through the third layer to complete.
    Compared with traditional LAN technology, VLAN technology is more flexible, it has the following advantages: mobile network equipment, additions and modifications to reduce administrative overhead; can control broadcasting activities; to improve network security.

  • Practice:
    1. Open the panel of the router, the router by adding a drag
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    2. Right-click into the router configuration panel
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    3. Select R1, enter the disk management, add disk space 128M and a confirmation
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    4. R1 into the slot panel, add a switch board, and confirm
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    5. Right router, the router changes the name click
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    6. router name to SW
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    7. the right-click on the router, to change the icon selection
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    8. switch icon to change the icon router
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    9. open the PC panels, by drag to add three VPC
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    10. connect the PC and switch Note: PC machine should be connected with a switch interface of the switch, namely the F1 / connected, can not be F0 / connected??
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    11. click Interface button to display the names of all interfaces
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    12. Notes with marked functional configuration of each device in the next set later
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    13. with notes and drawing functions, a good division vlan three PC's and mark the next
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    14. click the open button to open all the devices
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    15. by double-clicking each device, open the simulation panel of each device
    VLAN base (a) by a simple division VLAN GNS3 1.3.10
    is first set 16. the switch
    进入全局模式:conf t
    关闭路由功能:no ip routing

VLAN base (a) by a simple division VLAN GNS3 1.3.10
17. PC1 set to the IP address
设置IP:ip 192.168.10.10
VLAN base (a) by a simple division VLAN GNS3 1.3.10
18. The IP address provided to PC2
设置IP:ip 192.168.10.20
VLAN base (a) by a simple division VLAN GNS3 1.3.10
19. The IP address provided to the PC3
设置IP:ip 192.168.10.30
VLAN base (a) by a simple division VLAN GNS3 1.3.10
20. Check ping command PC1 and PC2, PC3 whether interworking showed communication can

检查与PC2互通:ping 192.168.10.20
检查与PC3互通:ping 192.168.10.30

VLAN base (a) by a simple division VLAN GNS3 1.3.10

21. Check whether PC2 and PC3 communicate with the ping command, can communicate the results show, the VLAN before setting, the PC can three interconnection
检查与PC3互通:ping 192.168.10.30
VLAN base (a) by a simple division VLAN GNS3 1.3.10
22. In the global mode, two new VLAN, and vlan10 VLAN20, then into vlan10 name it caiwu, and then view all vlan

新建vlan10、vlan20:vlan 10,20
退出:exit
进入vlan10:vlan 10
命名为caiwu:name caiwu
查看所有vlan:do show vlan-switch brief

VLAN base (a) by a simple division VLAN GNS3 1.3.10
23. The display name successfully
VLAN base (a) by a simple division VLAN GNS3 1.3.10
24. entered F1 / 0 interfaces, the first interface mode as an access mode, then F1 / 0 was added to vlan10 and checks whether to join a successful result shows success

进入F1/0接口:int f1/0
设置接口模式为access:switchport mode access
将接口加入到vlan10:switchport access vlan 10
查看所有vlan:do show vlan-switch brief

VLAN base (a) by a simple division VLAN GNS3 1.3.10
25. At the same time into the F1 / 1, F1 / 2 interface, a first mode is set to the interface access mode, and then added to vlan20 two interfaces, and test results showed that have joined vlan20

退出:exit
同时进入F1/1、F1/2接口:int range f1/1 -2
设置接口模式为access:switchport mode access
将接口加入到vlan20:switchport access vlan 20
查看所有vlan:do show vlan-switch brief

VLAN base (a) by a simple division VLAN GNS3 1.3.10
26. Check the PC1 and PC2, PC3 whether the exchange showed that can not communicate, so after setting vlan, due to the PC1 and PC2, PC3 is no longer with a vlan, PC1 can not and PC2, PC3 interoperability

检查与PC2互通:ping192.168.10.20
检查与PC3互通:ping192.168.10.30

VLAN base (a) by a simple division VLAN GNS3 1.3.10
27. Check whether PC2 and PC3 interoperability, any results may then communicate. Because PC2 and PC3 belong vlan20, it is still interconnection
检查与PC3互通:ping192.168.10.30
VLAN base (a) by a simple division VLAN GNS3 1.3.10

Guess you like

Origin blog.51cto.com/14449541/2427901