我上传了 Packet Tracer 文件 (v. 7.2.1):
https://www.4shared.com/file/aEsd_0Piiq/Topologie_Ausgangspunkt_MH.html
CD_GE:
CD_GE#show running-config
Building configuration...
Current configuration : 1198 bytes
!
version 12.4
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname CD_GE
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
ip address 10.255.255.11 255.255.255.0
!
interface FastEthernet0/0
ip address 10.0.11.2 255.255.255.0
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 209.165.0.9 255.255.255.248
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 209.165.0.17 255.255.255.248
duplex auto
speed auto
!
interface FastEthernet1/1
ip address 209.165.0.25 255.255.255.248
duplex auto
speed auto
!
interface Vlan1
no ip address
shutdown
!
router ospf 10
router-id 1.1.1.1
log-adjacency-changes
passive-interface FastEthernet0/1
passive-interface FastEthernet1/0
passive-interface FastEthernet1/1
network 10.0.11.0 0.0.0.255 area 1
network 209.165.0.8 0.0.0.7 area 1
network 209.165.0.16 0.0.0.7 area 1
network 209.165.0.24 0.0.0.7 area 1
default-information originate
!
router rip
!
ip classless
!
ip flow-export version 9
!
!
!
no cdp run
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
CD_GE#
通用电气:
GE#show running-config
Building configuration...
Current configuration : 1168 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname GE
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO1941/K9 sn FTX1524LPW0-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface Loopback0
ip address 10.255.255.10 255.255.255.255
!
interface GigabitEthernet0/0
description LAN_GE
ip address 10.0.12.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet0/1
description Transfer_GE
ip address 10.0.11.1 255.255.255.0
duplex auto
speed auto
!
interface Serial0/0/0
ip address 10.0.10.2 255.255.255.252
!
interface Serial0/0/1
ip address 10.0.19.1 255.255.255.252
clock rate 1000000
!
interface Serial0/1/0
no ip address
clock rate 2000000
shutdown
!
interface Serial0/1/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 10
router-id 2.2.2.2
log-adjacency-changes
passive-interface GigabitEthernet0/0
network 10.0.11.0 0.0.0.255 area 1
!
ip classless
!
ip flow-export version 9
!
!
!
no cdp run
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
GE#
BE(已弃用,请参阅下面的修订版):
BE#show running-config
Building configuration...
Current configuration : 957 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname BE
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO1941/K9 sn FTX1524NE1A-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.0.10.1 255.255.255.252
clock rate 4000000
!
interface Serial0/0/1
ip address 10.0.20.1 255.255.255.252
clock rate 4000000
!
interface Serial0/1/0
ip address 209.165.0.2 255.255.255.248
ipv6 address 2001:DB8:123:C000::2/64
!
interface Serial0/1/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
ip classless
!
ip flow-export version 9
!
!
!
no cdp run
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
BE#
我可以从DC_GE
toGE
和 from GE
to pingBE
通,但不能一直通过。
将BE
路由器添加到 OSPF:
BE#show running-config
Building configuration...
Current configuration : 1120 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname BE
!
!
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
!
!
license udi pid CISCO1941/K9 sn FTX1524NE1A-
!
!
!
!
!
!
!
!
!
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface Serial0/0/0
ip address 10.0.10.1 255.255.255.252
clock rate 4000000
!
interface Serial0/0/1
ip address 10.0.20.1 255.255.255.252
clock rate 4000000
!
interface Serial0/1/0
ip address 209.165.0.2 255.255.255.248
ipv6 address 2001:DB8:123:C000::2/64
!
interface Serial0/1/1
no ip address
clock rate 2000000
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 10
router-id 1.1.1.1
log-adjacency-changes
network 10.0.10.0 0.0.0.3 area 0
network 10.0.20.0 0.0.0.3 area 0
network 209.165.0.0 0.0.0.7 area 0
!
ip classless
!
ip flow-export version 9
!
!
!
no cdp run
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
BE#
GE
将其添加到区域 A1 和主干区域 0 后。
GE#show ip ospf
Routing Process "ospf 10" with ID 2.2.2.2
Supports only single TOS(TOS0) routes
Supports opaque LSA
It is an area border router
SPF schedule delay 5 secs, Hold time between two SPFs 10 secs
Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs
Number of external LSA 0. Checksum Sum 0x000000
Number of opaque AS LSA 0. Checksum Sum 0x000000
Number of DCbitless external and opaque AS LSA 0
Number of DoNotAge external and opaque AS LSA 0
Number of areas in this router is 2. 2 normal 0 stub 0 nssa
External flood list length 0
Area 1
Number of interfaces in this area is 1
Area has no authentication
SPF algorithm executed 8 times
Area ranges are
Number of LSA 7. Checksum Sum 0x03dd6d
Number of opaque link LSA 0. Checksum Sum 0x000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
Area BACKBONE(0)
Number of interfaces in this area is 2
Area has no authentication
SPF algorithm executed 3 times
Area ranges are
Number of LSA 7. Checksum Sum 0x02ed96
Number of opaque link LSA 0. Checksum Sum 0x000000
Number of DCbitless LSA 0
Number of indication LSA 0
Number of DoNotAge LSA 0
Flood list length 0
GE#