R8#show running-config
Building configuration...
Building configuration...
Current configuration : 536 bytes
!
version 12.2
no service password-encryption
!
hostname R8
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
ip address 192.168.0.1 255.255.255.192
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.10.1 255.255.255.252
clock rate 64000
!
interface Serial1/1
no ip address
shutdown
!
interface Serial1/2
no ip address
shutdown
!
interface Serial1/3
no ip address
shutdown
!
router rip
version 2
network 192.168.0.0
network 192.168.10.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end
!
version 12.2
no service password-encryption
!
hostname R8
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
ip address 192.168.0.1 255.255.255.192
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.10.1 255.255.255.252
clock rate 64000
!
interface Serial1/1
no ip address
shutdown
!
interface Serial1/2
no ip address
shutdown
!
interface Serial1/3
no ip address
shutdown
!
router rip
version 2
network 192.168.0.0
network 192.168.10.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end
===================================================
R9#show running-config
Building configuration...
Building configuration...
Current configuration : 519 bytes
!
version 12.2
no service password-encryption
!
hostname R9
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
ip address 192.168.0.65 255.255.255.192
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.10.2 255.255.255.252
!
interface Serial1/1
no ip address
shutdown
!
interface Serial1/2
no ip address
shutdown
!
interface Serial1/3
no ip address
shutdown
!
router rip
version 2
network 192.168.0.0
network 192.168.10.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end
!
version 12.2
no service password-encryption
!
hostname R9
!
!
!
!
!
ip ssh version 1
!
!
interface FastEthernet0/0
ip address 192.168.0.65 255.255.255.192
duplex auto
speed auto
!
interface Serial1/0
ip address 192.168.10.2 255.255.255.252
!
interface Serial1/1
no ip address
shutdown
!
interface Serial1/2
no ip address
shutdown
!
interface Serial1/3
no ip address
shutdown
!
router rip
version 2
network 192.168.0.0
network 192.168.10.0
!
ip classless
!
!
!
!
!
line con 0
line vty 0 4
login
!
!
end
此实验是非常简单,主要的目的是让我们认识到一个网络的规划上,在使用vlsm时要明白rip的第一个版本是不支持的。在路由器和路由器之间的连接上应用/30的子网。
转载于:https://blog.51cto.com/zhaochj/101323