Professional Documents
Culture Documents
4O 3O
29.8.2014.
ae 1. .
, R4 R6
( RIP OSPF 1).
.
RIP OSPF 120 110 .
:
) 192.168.5.0/24 192.168.1.0/24
) 192.168.3.0/24 192.168.101.0/24
:
GNS3 (
redistribucija topologija.net). GNS3.
. .
.
:
RX#conf t
e e a e a oae ea:
RX(config)#
paste :
R1:
hostname R1
no ip domain lookup
!
interface Loopback0
ip address 192.168.101.1 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.8.1 255.255.255.0
no shut
!
interface FastEthernet0/1
ip address 192.168.9.1 255.255.255.0
no shut
!
router ospf 1
log-adjacency-changes
network 192.168.8.0 0.0.0.255 area 0
network 192.168.9.0 0.0.0.255 area 0
network 192.168.101.0 0.0.0.255
!
end
R2:
hostname R2
no ip domain lookup
!
interface Loopback0
ip address 192.168.102.2 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.8.2 255.255.255.0
no shut
!
interface FastEthernet0/1
ip address 192.168.7.2 255.255.255.0
no shut
!
router ospf 1
network 192.168.7.0 0.0.0.255 area 0
network 192.168.8.0 0.0.0.255 area 0
network 192.168.102.0 0.0.0.255 area 0
!
end
R3:
hostname R3
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.103.3 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.7.3 255.255.255.0
no shut
!
interface FastEthernet0/1
ip address 192.168.6.3 255.255.255.0
no shut
!
router ospf 1
log-adjacency-changes
network 192.168.6.0 0.0.0.255 area 0
network 192.168.7.0 0.0.0.255 area 0
network 192.168.103.0 0.0.0.255 area 0
!
end
R4:
hostname R4
no ip domain lookup
!
interface Loopback0
ip address 192.168.5.4 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.6.4 255.255.255.0
no shut
!
interface FastEthernet0/1
ip address 192.168.4.4 255.255.255.0
no shut
!
router ospf 1
log-adjacency-changes
redistribute rip
network 192.168.4.0 0.0.0.255 area 0
network 192.168.5.0 0.0.0.255 area 0
network 192.168.6.0 0.0.0.255 area 0
!
router rip
redistribute ospf 1 metric 3
!3 oznacava metriku redistribuiranih ruta
network 192.168.4.0
network 192.168.5.0
network 192.168.6.0
!
end
R5:
hostname R5
no ip domain lookup
!
interface Loopback0
ip address 192.168.3.5 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.4.5 255.255.255.0
no shut
!
interface FastEthernet0/1
ip address 192.168.2.5 255.255.255.0
no shut
!
router rip
network 192.168.2.0
network 192.168.3.0
network 192.168.4.0
!
!
end
R6:
hostname R6
no ip domain lookup
!
interface Loopback0
ip address 192.168.1.6 255.255.255.0
!
interface FastEthernet0/0
ip address 192.168.2.6 255.255.255.0
no shut
!
interface FastEthernet0/1
ip address 192.168.9.6 255.255.255.0
no shut
!
router ospf 1
log-adjacency-changes
redistribute rip
network 192.168.1.0 0.0.0.255 area 0
network 192.168.2.0 0.0.0.255 area 0
network 192.168.9.0 0.0.0.255 area 0
!
router rip
redistribute ospf 1 metric 3
network 192.168.1.0
network 192.168.2.0
network 192.168.9.0
!
nd
:
, ()
. ( show ip route).
) ) R4 R5.
traceroute
. traceroute .bbb.ccc.ddd
(
) ( ).
traceroute
. :
R4#traceroute
Protocol [ip]:
Target IP address: 192.168.1.6
( )
Source address: 192.168.5.4
( )
Numeric display [n]:
Timeout in seconds [3]:
Probe count [3]:
Minimum Time to Live [1]:
Maximum Time to Live [30]:
Port Number [33434]:
Loose, Strict, Record, Timestamp, Verbose[none]:
Type escape sequence to abort.
Tracing the route to 192.168.1.6
...
( traceroute , Ctrl-Alt-6)
1. ?
2. ?
3. R4
OSPF 4? ?
4. .