查看: 6934|回复: 9

求单臂路由配置方法

[复制链接]
发表于 2010-8-1 10:11:25 | 显示全部楼层 |阅读模式
本帖最后由 fafacsdn 于 2010-8-1 10:12 编辑

以前学过,可是忘了怎么配置。
请大虾帮帮忙额!
顺便讲下DOT1Q封装过程!
还有做trunk口的命令!
回复

使用道具 举报

发表于 2010-8-2 09:23:23 | 显示全部楼层
首先,在路由器以太口的子接口模式下配置网关IP以及trunk。
例如:
Router: int fa0/0
         no shut
         int fa0/0.1
         no sh
         ip add 192.168.1.1 255.255.255.0
         encapulation dot1q 10
         int fa0/0.2
         no sh
         ip add 192.168.2.1 255.255.255.0
        encapulation dot1q 20
        int fa0/0.3
        no sh
        ip add 192.168.3.1 255.255.255.0
        encapulation dot1q 30
        exi

SWITCH:database vlan
              vlan 10 name aaa
              vlan 20 name bbb
              vlan 30 name ccc
              exi
              int fa0/0
              switchport access vlan 10
              switchport mode access
              no sh
              int fa0/1
              switchport access vlan 20
              switchport mode access
              no sh
              int fa0/2
              switchport access vlan 30
              switchport mode access
              no sh
              int f0/3
              switchport trunk encapulation dot1q
              switchport mode trunk
              no sh
              exi
回复

使用道具 举报

发表于 2010-12-1 17:01:55 | 显示全部楼层
对头 不错
回复

使用道具 举报

发表于 2010-12-3 12:55:34 | 显示全部楼层
在交换机上
switchport trunk encapulation dot1q
必须要配吗?
回复

使用道具 举报

发表于 2011-1-27 15:47:40 | 显示全部楼层
这个貌似很难界面开发工具哦。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | CSNA会员注册

本版积分规则

快速回复 返回顶部 返回列表