Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1818492
  • 博文数量: 116
  • 博客积分: 9934
  • 博客等级: 上将
  • 技术积分: 1881
  • 用 户 组: 普通用户
  • 注册时间: 2006-04-22 09:16
文章分类

全部博文(116)

文章存档

2007年(43)

2006年(73)

我的朋友

分类: 系统运维

2007-03-01 16:21:49

单臂路由器配置

姜道友

前言:

       很多小的公司或子公司,网络不大,没有三层交换机,只有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 如果没有,可以留下邮箱,我发到你的邮箱里。

阅读(4504) | 评论(0) | 转发(0) |
0

上一篇:BGP精华资料汇总

下一篇:BGP精华资料汇总

给主人留下些什么吧!~~