两台CISCO2691测试静态路由汇总,浮动静态路由和负载分担静态路由配置

Dynagen的配置文件内容:

#Lab 2-5

autostart = False



[localhost]
    
    
    
    [[2691]]
        
        
        ram = 128
        image = C:\Program Files (x86)\Dynamips\images\c2691-jk9s-mz.123-17.image
    
    
    
    
    
    
    [[Router r1]]
        
        model = 2691
        console = 3001
        
        s1/0 = r2 s1/0
        f0/1 = r2 f0/1
        F0/0 = NIO_gen_eth:\Device\NPF_{F5FD1986-FC1E-41CE-AF58-F8B4D1333DFC}
        idlepc = 0x604bba50
    
    
    
    [[Router r2]]
        
        model = 2691
        console = 3002
        idlepc = 0x603da79c
        
     

 

R1的配置:

r1#show start
Using 948 out of 57336 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r1
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
no ip cef
!
!
!
!
!         
!
!
!
!
!
!
!
!
! 
!
!
!
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 12.0.0.1 255.255.255.248
 duplex auto
 speed auto
!
interface Serial1/0
 ip address 21.0.0.1 255.255.255.248
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
ip http server
no ip http secure-server
ip classless
ip route 172.31.4.0 255.255.252.0 FastEthernet0/1
ip route 172.31.4.0 255.255.252.0 Serial1/0 50
!
!
!
!
!
!
!
!
!
!
!
!
line con 0
line aux 0
line vty 0 4
 login
!
end

 

R2的配置:

r2#show start
Using 1084 out of 57336 bytes
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname r2
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
ip subnet-zero
!
!
!
ip cef
!
!
!
!
!         
!         
!
!
!
!
!
!
!
! 
!
!
!
!
interface Loopback0
 ip address 172.31.4.1 255.255.255.0
!
interface Loopback1
 ip address 172.31.5.1 255.255.255.0
!
interface Loopback2
 ip address 172.31.6.1 255.255.255.0
!
interface Loopback3
 ip address 172.31.7.1 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1
 ip address 12.0.0.2 255.255.255.248
 duplex auto
 speed auto
!
interface Serial1/0
 ip address 21.0.0.2 255.255.255.248
 serial restart-delay 0
!
interface Serial1/1
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/2
 no ip address
 shutdown
 serial restart-delay 0
!
interface Serial1/3
 no ip address
 shutdown
 serial restart-delay 0
!
ip http server
no ip http secure-server
ip classless
!
!
!
!
!
!
!
!
!
!
!
!         
line con 0
line aux 0
line vty 0 4
 login
!
end

 

截图:

两台CISCO2691测试静态路由汇总,浮动静态路由和负载分担静态路由配置

上一篇:ubuntu关闭cups服务


下一篇:动态路由协议之RIP配置详解