博客首页 注册 建议与交流 排行榜 加入友情链接
推荐 投诉 搜索: 帮助

阿友博客

网络技术与信息安全精华资料站点
jiangdaoyou.cublog.cn


单臂路由器配置

单臂路由器配置

姜道友

前言:

       很多小的公司或子公司,网络不大,没有三层交换机,只有2层交换机,如:C2950,但网络管理人员希望划分VLAN以更好地进行网络管理与维护。这时我们可以配置单臂路由器网络:通过cisco2950划分VLAN,然后通过2610路由器进行路由,拓图如下:

 

 

Cisco2950交换机配置:

Building configuration...

 

Current configuration : 2959 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

service password-encryption

!

hostname cisco2950

!

enable secret 5 $1$VfC2$0nF1eTRl7VjT58.

enable password 7 050dfdfdfdf264d42

!

ip subnet-zero

no ip domain-lookup

vtp domain Iriver_China

vtp mode transparent

!

spanning-tree mode pvst

no spanning-tree optimize bpdu transmission

spanning-tree extend system-id

!

interface FastEthernet0/1

 switchport mode access

 no ip address

…………

interface FastEthernet0/20

 switchport access vlan 2

 switchport mode access

 no ip address

…………

 

interface Vlan1

 ip address 192.168.1.253 255.255.255.0

 no ip route-cache

!

interface Vlan2

 no ip address

 no ip route-cache

 

 

Cisco2610路由器配置:

Fa0/0接口上配置子接口即可。

interface FastEthernet0/0

 ip address 192.168.1.254 255.255.255.0

 no ip route-cache cef

 duplex auto

 speed auto

!

interface FastEthernet0/0.2

 encapsulation dot1Q 20

 ip address 192.168.2.254 255.255.255.0

注意:cisco2610xm路由器的IOS为:c2600-is-mz.121-18.bin 如果没有,可以留下邮箱,我发到你的邮箱里。

发表于: 2007-03-01 ,修改于: 2007-03-01 16:21,已浏览1897次,有评论4条 推荐 投诉


网友评论
内容:
Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q, or ISL vLAN.
本站网友评论于:2007-03-05 08:50:19 (211.68.224.★)
内容:
我想问一下,我在配置子接口的过程中,系统有这样的提示:
Configuring IP routing on a LAN subinterface is only allowed if that
subinterface is already configured as part of an IEEE 802.10, IEEE 802.1Q, or ISL vLAN.
是什么原因造成的?
本站网友评论于:2007-03-05 08:52:01 (211.68.224.★)
内容:
IOS要升级
本站网友评论于:2007-03-05 10:26:12 (210.75.1.★)
内容:
那是提示在配置IP之前先配置VLAN的封装协议
本站网友评论于:2007-09-19 21:21:49 (210.30.108.★)

发表评论