vlan间路由

配置PC

     PC_2:192.168.10.1                掩码地址:255.255.255.0                    网关地址:192.168.10.254

     PC_3:192.168.20.1                掩码地址:255.255.255.0                    网关地址:192.168.20.254

启动命令行终端配置

                    vlan 10

                    vl 20

                    qu

                    int gi 1/0/1

                    port link-type access

                    port access vlan 10

                    int gi 1/0/2

                    port link-type access

                    port access vlan 20

                    int vlan-int 10

                    ip add 192.168.10.254 24

                    qu

                    int vlan-int 20

                    ip add 192.168.20.254 24

猜你喜欢

转载自www.cnblogs.com/-zhh-/p/10834381.html
今日推荐