WD1X.COM - 问答一下,轻松解决,电脑应用解决专家
主板显卡CPU内存显示器
硬盘维修显卡维修显示器维修
注册表系统命令DOS命令Win8
存储光存储鼠标键盘
内存维修打印机维修
WinXPWin7Win11Linux
硬件综合机箱电源散热器手机数码
主板维修CPU维修键盘鼠标维修
Word教程Excel教程PowerPointWPS
网络工具系统工具图像工具
数据库javascript服务器
PHP教程CSS教程XML教程

三层交换VLAN路由配置技巧解析

更新时间:2010-03-18 09:10 作者:佚名点击:

    PC1配置:

    No ip routing

    interface FastEthernet0/0

    ip address 172.16.20.254 255.255.255.0

    No shutdown

    PC2配置:

    No ip routing

    interface FastEthernet0/0

    ip address 172.16.30.254 255.255.255.0

    No shutdown

 

    Switch配置:

    Ip routing

    interface FastEthernet0/1

    switchport access VLAN 20

    no ip address

    !

    interface FastEthernet0/2

    switchport access VLAN 30

    no ip address

    !

    VLAN database

    VLAN 20

    VLAN 30

    Exit

    !

    interface VLAN20

    ip address 172.16.20.1 255.255.255.0

    No shutdown

    !

    interface VLAN30

    ip address 172.16.30.1 255.255.255.0

    No shutdown

    ===========================

    验证:

    PC1#ping 172.16.30.254 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.30.254, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 44/100/196 ms

    PC2#ping 172.16.20.254 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.20.254, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 56/80/120 ms

顶一下
(0)
0%
踩一下
(0)
0%
------分隔线----------------------------
你可能感兴趣的内容