29 lines
538 B
Text
29 lines
538 B
Text
!
|
|
hostname r2
|
|
password zebra
|
|
log file /tmp/r1-frr.log
|
|
ip forwarding
|
|
!
|
|
interface r2-eth0
|
|
ip address 10.1.0.2/24
|
|
ip ospf network point-to-multipoint non-broadcast
|
|
ip ospf hello-interval 1
|
|
ip ospf dead-interval 30
|
|
!
|
|
interface r2-eth1
|
|
ip address 10.1.2.2/24
|
|
ip ospf hello-interval 1
|
|
ip ospf dead-interval 30
|
|
!
|
|
!
|
|
!
|
|
!
|
|
router ospf
|
|
ospf router-id 2.2.2.2
|
|
distance 20
|
|
network 10.1.0.0/24 area 0
|
|
network 10.1.2.0/24 area 0
|
|
neighbor 10.1.0.1 poll-interval 5
|
|
neighbor 10.1.0.3 poll-interval 5
|
|
neighbor 10.1.0.4 poll-interval 5
|
|
!
|