[ENSP] Inter-VLAN communication (three-layer exchange)

One. Introduction


Create the corresponding VLAN Interface (SVI) on the switch, and the VLAN Interface address will be used as the gateway of the
PC in the corresponding VLAN to realize the communication between different VLAN PCs

Write the picture description here

二、配置< /strong>


// Create VLANs in batchvlan batch 10 20// Create VLAN Interface 10 as the gateway of PC1interface vlanif 10ip address 192.168.1.254 255.255.255.0// Create VLAN Interface 20 as a gateway to PC2interface vlanif 20 ip address 192.168.2.254< /span> 24// Divide the interface into the corresponding VLAN interface gigabitEthernet 0/0/1< /span>port link-type access port default vlan 10interface gigabitEthernet 0/0/2port link-type accessport default vlan 20

Write the picture description here
Write the picture description here
Write the picture description here
here写图片描述

Three. Test


Write the picture description here

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 1668 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.