Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
version 2
no auto-summary
network 172.16.0.0
network 192.168.102.0
!
interface loopback 2
ip ospf network point-to-point
interface loopback 102
ip ospf network point-to-point
router ospf 1
network 172.16.0.0 0.0.255.255 area 0
network 192.168.102.0 0.0.0.255 area 0
!
router rip
distance 100
!
router ospf 1
distance 85 192.168.100.0 0.0.3.255
!
access-list 1 permit 172.16.0.0 0.0.255.255
router rip
distance 65 0.0.0.0 255.255.255.255 1
!
R3
en
conf t
interface loopback 3
ip address 172.16.3.1 255.255.255.0
interface loopback 103
ip address 192.168.103.1 255.255.255.0
interface g0/0
ip address 172.16.23.3 255.255.255.0
no shutdown
interface serial 0/0/0
bandwidth 64
ip address 172.16.13.3 255.255.255.0
clock rate 64000
no shutdown
!
router rip
version 2
no auto-summary
network 172.16.0.0
network 192.168.103.0
!
interface loopback 3
ip ospf network point-to-point
interface loopback 103
ip ospf network point-to-point
router ospf 1
network 172.16.0.0 0.0.255.255 area 0
network 192.168.103.0 0.0.0.255 area 0
!
router rip
distance 100
!
router ospf 1
distance 85 192.168.100.0 0.0.3.255
!
tclsh
foreach address {
172.16.1.1
172.16.2.1
172.16.3.1
172.16.12.1
172.16.12.2
172.16.13.1
172.16.13.3
172.16.23.2
172.16.23.3
192.168.101.1
192.168.102.1
192.168.103.1
} { ping $address }