BENET2.0一期复习实验(DIY)

简介:
下面是设计的简单的网络拓扑图,全部在真机上做的,交换机采用的是 cisco2950系列 路由器采用的是cisco2600系列.不过虽然实验是通了,可是数据包丢的很严重,也不知道是图设计的问题还是设备的问题.如果大家觉得有什么问题也可以交流一下哦,
本实验用了六台交换机,四台路由器,4台PC机.(反正放假了也没有多少人来自由上机,资源不用就生锈了!)呵呵!!!!!!
 
 
下面是具体的配置!
r6#show running-config
Building configuration...
 
Current configuration : 994 bytes
!
version 12.2
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r6
!
!
ip subnet-zero
!
!
!
ip audit notify log
ip audit po max-events 100
!
!
!
voice call carrier capacity active
!
!
!
!
!
!
!
!
!
mta receive maximum-recipients 0
!
!
!
!
interface FastEthernet0/0
 no ip address
 duplex auto
 speed auto
!
interface FastEthernet0/0.1
 encapsulation dot1Q 100
 ip address 192.168.10.33 255.255.255.224
!
interface FastEthernet0/0.2
 encapsulation dot1Q 200
 ip address 192.168.10.65 255.255.255.224
!
interface FastEthernet0/0.3
 encapsulation dot1Q 300
 ip address 192.168.10.129 255.255.255.224
!
interface FastEthernet0/1
 ip address 172.18.128.3 255.255.224.0
 duplex auto
 speed auto
!
router rip
 version 2
 network 172.18.0.0
 network 192.168.10.0
 no auto-summary
!
ip classless
ip http server
!
!
!
call rsvp-sync
!
!
mgcp profile default
!
dial-peer cor custom
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
!
end
 
 
 
r8#show run
Building configuration...
 
Current configuration : 765 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r8
!
!
ip subnet-zero
!
!
!
ip audit notify log
ip audit po max-events 100
!
call rsvp-sync
!
!
!
!
!
!
!
!
interface Ethernet0/0
 no ip address
 shutdown
 half-duplex
!
interface Ethernet0/1
 ip address 172.18.128.1 255.255.224.0
 half-duplex
!
interface Ethernet0/2
 no ip address
 shutdown
 half-duplex
!
interface Ethernet0/3
 ip address 172.19.0.254 255.255.0.0
 half-duplex
!
router rip
 version 2
 network 172.18.0.0
 network 172.19.0.0
 no auto-summary
!
ip classless
ip http server
!
!
!
voice-port 1/0/0
!
voice-port 1/0/1
!
voice-port  1/1/0
!
voice-port  1/1/1
!
dial-peer cor custom
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
 
 
 
s2#show run
Building configuration...
 
Current configuration : 2266 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname s2
!
!
ip subnet-zero
!
spanning-tree extend system-id
!
!
interface FastEthernet0/1
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/2
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/3
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/4
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/5
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/6
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/7
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/8
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/9
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/10
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/11
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/12
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/13
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/14
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/15
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/16
 no ip address
!
interface FastEthernet0/17
 no ip address
!
interface FastEthernet0/18
 no ip address
!
interface FastEthernet0/19
 no ip address
!
interface FastEthernet0/20
 no ip address
!
interface FastEthernet0/21
 no ip address
!
interface FastEthernet0/22
 no ip address
!
interface FastEthernet0/23
 no ip address
!
interface FastEthernet0/24
 switchport mode trunk
 no ip address
!
interface GigabitEthernet0/1
 no ip address
!
interface GigabitEthernet0/2
 no ip address
!
interface Vlan1
 ip address 192.168.10.135 255.255.255.224
 no ip route-cache
!
ip http server
!
!
line con 0
line vty 5 15
!
end
 
r5#show run
Building configuration...
 
Current configuration : 597 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r5
!
enable secret 5 $1$fCd5$s8KLuumy 4m3 dVVkC91Xtw0
!
!
!
!
!
ip subnet-zero
!
!
!
!
interface FastEthernet0/0
 ip address 172.17.0.1 255.255.0.0
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address  10.0.0 .1 255.0.0.0
 duplex auto
 speed auto
!
ip classless
ip route  0.0.0 .0 0.0.0.0 172.17.0.2
ip route 172.18.128.0 255.255.224.0 172.17.0.2
no ip http server
!
!
line con 0
line aux 0
line vty 0 4
 password 123456
 login
!
end
 
r9#show run
Building configuration...
 
Current configuration : 733 bytes
!
version 12.2
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname r9
!
!
ip subnet-zero
!
!
!
ip audit notify log
ip audit po max-events 100
!
call rsvp-sync
!
!
!
!
!
!
!
!
interface Ethernet3/0
 no ip address
 shutdown
 half-duplex
!
interface Ethernet3/1
 ip address 172.18.128.2 255.255.224.0
 half-duplex
!
interface Ethernet3/2
 ip address 172.17.0.2 255.255.0.0
 half-duplex
!
interface Ethernet3/3
 no ip address
 shutdown
 half-duplex
!
router rip
 version 2
 network 172.17.0.0
 network 172.18.0.0
 no auto-summary
!
ip classless
ip route 172.16.0.0 255.255.0.0 172.17.0.1
no ip http server
!
!
!
dial-peer cor custom
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
!
end
 
 
 
sw3#show running-config
Building configuration...
 
Current configuration : 2249 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname sw3
!
!
ip subnet-zero
!
spanning-tree extend system-id
!
!
interface FastEthernet0/1
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/2
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/3
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/4
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/5
 switchport access vlan 100
 switchport mode access
 no ip address
!
interface FastEthernet0/6
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/7
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/8
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/9
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/10
 switchport access vlan 200
 switchport mode access
 no ip address
!
interface FastEthernet0/11
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/12
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/13
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/14
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/15
 switchport access vlan 300
 switchport mode access
 no ip address
!
interface FastEthernet0/16
 no ip address
!
interface FastEthernet0/17
 no ip address
!
interface FastEthernet0/18
 no ip address
!
interface FastEthernet0/19
 no ip address
!
interface FastEthernet0/20
 no ip address
!
interface FastEthernet0/21
 no ip address
!
interface FastEthernet0/22
 no ip address
!
interface FastEthernet0/23
 no ip address
!
interface FastEthernet0/24
 switchport mode trunk
 no ip address
!
interface GigabitEthernet0/1
 no ip address
!
interface GigabitEthernet0/2
 no ip address
!
interface Vlan1
 no ip address
 no ip route-cache
 shutdown
!
ip http server
!
!
line con 0
line vty 5 15
!
end
 
 
 
s4#show running-config
Building configuration...
 
Current configuration : 1145 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname s4
!
!
ip subnet-zero
!
!
spanning-tree mode pvst
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
!
interface GigabitEthernet0/1
 shutdown
!
interface GigabitEthernet0/2
 shutdown
!
interface Vlan1
 no ip address
 no ip route-cache
 shutdown
!
ip http server
!
!
line con 0
line vty 5 15
!
end
 
 
 
 
 
s5#show running-config
Building configuration...
 
Current configuration : 2137 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname s5
!
!
ip subnet-zero
!
spanning-tree extend system-id
!
!
interface FastEthernet0/1
 switchport mode access
 no ip address
!
interface FastEthernet0/2
 switchport mode access
 no ip address
!
interface FastEthernet0/3
 switchport mode access
 no ip address
!
interface FastEthernet0/4
 switchport mode access
 no ip address
!
interface FastEthernet0/5
 switchport mode access
 no ip address
!
interface FastEthernet0/6
 switchport mode access
 no ip address
!
interface FastEthernet0/7
 switchport mode access
 no ip address
!
interface FastEthernet0/8
 switchport mode access
 no ip address
!
interface FastEthernet0/9
 switchport mode access
 no ip address
!
interface FastEthernet0/10
 switchport mode access
 no ip address
!
interface FastEthernet0/11
 switchport mode access
 no ip address
!
interface FastEthernet0/12
 switchport mode access
 no ip address
!
interface FastEthernet0/13
 switchport mode access
 no ip address
!
interface FastEthernet0/14
 switchport mode access
 no ip address
!
interface FastEthernet0/15
 switchport mode access
 no ip address
!
interface FastEthernet0/16
 switchport mode access
 no ip address
!
interface FastEthernet0/17
 switchport mode access
 no ip address
!
interface FastEthernet0/18
 switchport mode access
 no ip address
!
interface FastEthernet0/19
 switchport mode access
 no ip address
!
interface FastEthernet0/20
 switchport mode access
 no ip address
!
interface FastEthernet0/21
 switchport mode access
 no ip address
!
interface FastEthernet0/22
 switchport mode trunk
 no ip address
!
interface FastEthernet0/23
 switchport mode trunk
 no ip address
!
interface FastEthernet0/24
 switchport mode trunk
 no ip address
!
interface GigabitEthernet0/1
 no ip address
!
interface GigabitEthernet0/2
 no ip address
!
interface Vlan1
 ip address 192.168.10.40 255.255.224.0
 no ip route-cache
!
interface Vlan41
 no ip address
 no ip route-cache
 shutdown
!
ip http server
!
!
line con 0
line vty 0 4
 password 123
 login
line vty 5 15
 login
!
end


本文转自凌激冰51CTO博客,原文链接:http://blog.51cto.com/dreamfire/103612,如需转载请自行联系原作者
相关文章
|
存储 算法 C++
学习C++笔记429
C++ STL 教程
77 0
|
移动开发 C++
学习C++笔记426
C++ Web 编程
104 0
|
移动开发 Unix C++
学习C++笔记407
C++ Web 编程
71 0
|
编译器 C++
学习C++笔记403
C++ 多线程
87 0
|
C++
学习C++笔记398
C++ 多线程
91 0
|
C++
学习C++笔记352
C++ 动态内存
98 0
|
C++
学习C++笔记338
C++ 异常处理
81 0
|
C++
学习C++笔记330
C++ 文件和流
94 0
|
C++
学习C++笔记232
C++ 指针
91 0
|
C++
学习C++笔记225
C++ 字符串
99 0