Cisco单臂路由

Cisco单臂路由





路由器:
Cisco 2621

交换机: Cisco 1912

PC 机:两台

路由器 FastEthernet0/0 口—— > 交换机 Fast Ethernet0/26

交换机 e0/2 口—— >PC1

交换机 e0/3 口—— >PC2

 

配置信息:

设备

IP 地址

Cisco 2621 Route

F0/0.1(10.227.80.1/24)  F0/0.2(10.227.81.1/24)

Cisco 1912 Switch

VLAN 10 (10.227.80.0/24) —— E0/2

VLAN 20 (10.227.81.0/24) —— E0/3

Trunk 口—— F0/26

PC1

10.227.80.11 255.255.255.0

PC2

10.227.81.11 255.255.255.0

 

路由器配置信息:

Router#show run

 

Building configuration...

 

!

Version 12.1

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

!

hostname Router

!

!

!

ip subnet-zero

!

!

!

!

!

!

!

!

interface Serial0/0

 no ip address

 

          no ip directed-broadcast

 shutdown

!

interface FastEthernet0/0

 no ip address

 no ip directed-broadcast

 bandwidth 100000

!

interface FastEthernet0/0.1

 encapsulation isl 10

 ip address 10.227.80.1 255.255.255.0

!

interface FastEthernet0/0.2

 encapsulation isl 20

 ip address 10.227.81.1 255.255.255.0

!

interface FastEthernet0/1

 no ip address

 no ip directed-broadcast

 bandwidth 100000

 shutdown

!

!

ip classless

         no ip http server

!

!

!

!

line con 0

 transport input none

line aux 0

line vty 0 4

!

no scheduler allocate

end

 

交换机配置:

 

Building configuration...

Current configuration:

!

!

!

vlan 10 name VLAN0010

vlan 20 name VLAN0020

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

!

 

         !

interface Ethernet0/1

 

!

interface Ethernet0/2

 

  vlan-membership static 10

!

interface Ethernet0/3

 

  vlan-membership static 20

!

interface Ethernet0/4

 

!

interface Ethernet0/5

 

!

interface Ethernet0/6

 

!

interface Ethernet0/7

 

!

         interface Ethernet0/8

 

!

interface Ethernet0/9

 

!

interface Ethernet0/10

 

!

interface Ethernet0/11

 

!

interface Ethernet0/12

 

!

interface FastEthernet0/26

 

!

!

  trunk On

!

interface FastEthernet0/27

 

!

         !

line console

!

End

 

PC 机配置:

 

PC1

  Boson BOSS 5.0 IP Configuration

     Ethernet adapter Local Area Connection:

        IP Address. . . . . . . . . . . . : 10.227.80.11

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . : 10.227.80.1

 

PC2

  Boson BOSS 5.0 IP Configuration

     Ethernet adapter Local Area Connection:

        IP Address. . . . . . . . . . . . : 10.227.81.11

        Subnet Mask . . . . . . . . . . . : 255.255.255.0

        Default Gateway . . . . . . . . . : 10.227.81.1

posted on 2006-12-01 19:43 prince 阅读(1258) 评论(0)  编辑  收藏 所属分类: 硬件网络


只有注册用户登录后才能发表评论。


网站导航:
 
<2006年12月>
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456

导航

统计

常用链接

留言簿(4)

随笔分类(72)

相册

blog友人

搜索

最新评论

阅读排行榜