kern.ipc.shmmax=67108864
kern.ipc.shmall=67108864
net.inet.tcp.rfc3465=0
net.graph.maxdgram=8388608
net.graph.recvspace=8388608
net.route.netisr_maxqlen=4096
kern.ipc.maxsockbuf=83886080
net.inet.tcp.recvbuf_inc=524288
net.inet.tcp.recvbuf_max=16777216
net.inet.tcp.sendbuf_inc=524288
net.inet.tcp.sendbuf_max=16777216
net.inet.tcp.sendspace=65536
# netstat -rn | grep \\.55
xx.xx.xx.55 0.0.0.0 255.255.255.255 UH 0 0 0 venet0
hostname myhost
password mysecretpassword
log syslog
!
router ospf
ospf router-id 1.1.1.53
redistribute kernel route-map FROM-OSPF
redistribute connected route-map FROM-OSPF
redistribute static route-map FROM-OSPF
passive-interface default
no passive-interface venet0
no passive-interface venet1
no passive-interface venet2
no passive-interface venet3
no passive-interface venet4
no passive-interface vmbr98
! главное, поубирать все явно написанные neighbor
network 10.10.10.0/24 area 0.0.10.10
network xx.xx.xx.0/22 area 0.0.0.0
!
ip prefix-list ospf-global seq 10 permit xx.xx.xx.0/22 le 32
ip prefix-list ospf-global seq 400 deny any
ip prefix-list ospf-gray-10.10 seq 10 permit 10.10.10.0/24 le 32
ip prefix-list ospf-gray-10.10 seq 400 deny any
!
route-map FROM-OSPF permit 10
match ip address prefix-list ospf-global
!
route-map FROM-OSPF permit 50
match ip address prefix-list ospf-gray-10.10
!