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.1posted on 2006-12-01 19:43 prince 閱讀(1263) 評論(0) 編輯 收藏 所屬分類: 硬件網絡