24 lines
478 B
Text
24 lines
478 B
Text
|
!
|
||
|
hostname r1
|
||
|
!
|
||
|
interface r1-eth0
|
||
|
ip address 10.1.0.1/24
|
||
|
ip ospf network point-to-multipoint non-broadcast
|
||
|
ip ospf hello-interval 1
|
||
|
ip ospf dead-interval 30
|
||
|
!
|
||
|
interface r1-eth1
|
||
|
ip address 10.1.1.1/24
|
||
|
ip ospf hello-interval 1
|
||
|
ip ospf dead-interval 30
|
||
|
!
|
||
|
router ospf
|
||
|
ospf router-id 1.1.1.1
|
||
|
distance 20
|
||
|
network 10.1.0.0/24 area 0
|
||
|
network 10.1.1.0/24 area 0
|
||
|
neighbor 10.1.0.2 poll-interval 5
|
||
|
neighbor 10.1.0.3 poll-interval 5
|
||
|
neighbor 10.1.0.4 poll-interval 5
|
||
|
!
|