bkvtin
30-01-2009, 03:33 PM
http://www.freeimagehosting.net/uploads/1afd3e8640.jpg
-----------Config R1-------------------
R1#sh running-config
Building configuration...
Current configuration : 731 bytes
!
version 12.2
no service password-encryption
!
hostname R1
!
!
!
!
!
ip ssh version 1
no ip domain-lookup
!
!
interface FastEthernet0/0
ip address 192.168.1.5 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.1.1 255.255.255.252
duplex auto
speed auto
!
interface Serial2/0
no ip address
shutdown
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.1.4 0.0.0.3 area 0
network 192.168.1.0 0.0.0.3 area 1
!
router ospf 2
log-adjacency-changes
!
ip classless
!
!
!
!
!
line con 0
logging synchronous
line vty 0 4
login
!
!
end
---------------------------------------
-----------Config R2-------------------
R2#SH RUN
Building configuration...
Current configuration : 834 bytes
!
version 12.2
no service password-encryption
!
hostname R2
!
!
!
!
!
ip ssh version 1
no ip domain-lookup
!
!
interface Loopback0
ip address 12.12.12.12 255.255.255.0
!
interface Loopback1
ip address 13.13.13.13 255.255.248.0
!
interface FastEthernet0/0
ip address 192.168.1.6 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
no ip address
shutdown
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router ospf 3
log-adjacency-changes
network 12.12.12.0 0.0.0.255 area 0
network 13.13.8.0 0.0.7.255 area 0
network 192.168.1.4 0.0.0.3 area 0
!
ip classless
!
!
!
!
!
line con 0
logging synchronous
line vty 0 4
login
!
!
end
---------------------------------------
-----------Config R3-------------------
R3#SH RUN
R3#SH RUNning-config
Building configuration...
Current configuration : 834 bytes
!
version 12.2
no service password-encryption
!
hostname R3
!
!
!
!
!
ip ssh version 1
no ip domain-lookup
!
!
interface Loopback0
ip address 10.10.10.10 255.255.255.0
!
interface Loopback1
ip address 11.11.11.11 255.255.252.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet1/0
ip address 192.168.1.2 255.255.255.252
duplex auto
speed auto
!
interface Serial2/0
no ip address
shutdown
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router ospf 4
log-adjacency-changes
network 10.10.10.0 0.0.0.255 area 1
network 11.11.8.0 0.0.3.255 area 1
network 192.168.1.0 0.0.0.3 area 1
!
ip classless
!
!
!
!
!
line con 0
logging synchronous
line vty 0 4
login
!
!
end
---------------------------------------
Cho em hỏi em cấu hình các con router như trên thì làm sao để nhận thông tin giữa các con router khác vùng area? Xin cám ơn
-----------Config R1-------------------
R1#sh running-config
Building configuration...
Current configuration : 731 bytes
!
version 12.2
no service password-encryption
!
hostname R1
!
!
!
!
!
ip ssh version 1
no ip domain-lookup
!
!
interface FastEthernet0/0
ip address 192.168.1.5 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet1/0
ip address 192.168.1.1 255.255.255.252
duplex auto
speed auto
!
interface Serial2/0
no ip address
shutdown
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.1.4 0.0.0.3 area 0
network 192.168.1.0 0.0.0.3 area 1
!
router ospf 2
log-adjacency-changes
!
ip classless
!
!
!
!
!
line con 0
logging synchronous
line vty 0 4
login
!
!
end
---------------------------------------
-----------Config R2-------------------
R2#SH RUN
Building configuration...
Current configuration : 834 bytes
!
version 12.2
no service password-encryption
!
hostname R2
!
!
!
!
!
ip ssh version 1
no ip domain-lookup
!
!
interface Loopback0
ip address 12.12.12.12 255.255.255.0
!
interface Loopback1
ip address 13.13.13.13 255.255.248.0
!
interface FastEthernet0/0
ip address 192.168.1.6 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
no ip address
shutdown
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router ospf 3
log-adjacency-changes
network 12.12.12.0 0.0.0.255 area 0
network 13.13.8.0 0.0.7.255 area 0
network 192.168.1.4 0.0.0.3 area 0
!
ip classless
!
!
!
!
!
line con 0
logging synchronous
line vty 0 4
login
!
!
end
---------------------------------------
-----------Config R3-------------------
R3#SH RUN
R3#SH RUNning-config
Building configuration...
Current configuration : 834 bytes
!
version 12.2
no service password-encryption
!
hostname R3
!
!
!
!
!
ip ssh version 1
no ip domain-lookup
!
!
interface Loopback0
ip address 10.10.10.10 255.255.255.0
!
interface Loopback1
ip address 11.11.11.11 255.255.252.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet1/0
ip address 192.168.1.2 255.255.255.252
duplex auto
speed auto
!
interface Serial2/0
no ip address
shutdown
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router ospf 4
log-adjacency-changes
network 10.10.10.0 0.0.0.255 area 1
network 11.11.8.0 0.0.3.255 area 1
network 192.168.1.0 0.0.0.3 area 1
!
ip classless
!
!
!
!
!
line con 0
logging synchronous
line vty 0 4
login
!
!
end
---------------------------------------
Cho em hỏi em cấu hình các con router như trên thì làm sao để nhận thông tin giữa các con router khác vùng area? Xin cám ơn