Tested in CHR 7.14.3 and 7.15rc4. Compared with CHR 6.49.6
TLDR
RouterOS v7 doesn't advertise network for point-to-point addresses (peer address). It advertises self-address instead.
Example
R1 is an ABR for A area. RA es an A intra-area router.
R1 configuration:
/routing ospf instance
add disabled=no name=ospf
/routing ospf area
add disabled=no instance=ospf name=backbone
add area-id=0.0.0.1 default-cost=1 disabled=no instance=ospf name=A no-summaries type=stub
/ip address
add address=10.0.0.1/24 interface=ether2 network=10.0.0.0
add address=10.255.255.1 interface=lo network=10.255.255.1
/ip dhcp-client
add interface=ether1
/routing ospf interface-template
add area=backbone disabled=no interfaces=ether1 passive
add area=A disabled=no interfaces=ether2 type=ptp
/system identity
set name=R1
RA configuration:
/routing ospf instance
add disabled=no name=ospf
/routing ospf area
add area-id=0.0.0.1 disabled=no instance=ospf name=A type=stub
/ip address
add address=10.0.0.2/24 interface=ether1 network=10.0.0.0
add address=10.255.255.2 interface=lo network=10.255.255.2
add address=10.100.100.100 interface=ether2 network=10.200.200.200
/routing ospf interface-template
add area=A disabled=no interfaces=ether1 type=ptp
add area=A disabled=no networks=10.200.200.0/24 passive
/system identity
set name=RA
When checking advertised routes on R1, we can see that RA has advertised the address instead of the network:
[admin@R1] > ip/route/print
Flags: D - DYNAMIC; A - ACTIVE; c - CONNECT, o - OSPF, d - DHCP
Columns: DST-ADDRESS, GATEWAY, DISTANCE
DST-ADDRESS GATEWAY DISTANCE
DAd 0.0.0.0/0 192.168.122.1 1
DAc 10.0.0.0/24 ether2 0
DAo 10.100.100.100/32 10.0.0.2%ether2 110 <-------
DAc 10.255.255.1/32 lo 0
DAc 192.168.122.0/24 ether1 0
If we use CHR v6.49.6 for RA:
/interface bridge
add name=lo
/routing ospf area
add area-id=0.0.0.1 default-cost=1 inject-summary-lsas=yes name=A type=stub
/ip address
add address=10.0.0.2/24 interface=ether1 network=10.0.0.0
add address=10.100.100.100 interface=ether2 network=10.200.200.200
add address=10.255.255.2 interface=lo network=10.255.255.2
/routing ospf interface
add interface=all passive=yes
add interface=ether1 network-type=point-to-point
/routing ospf network
add area=A network=10.0.0.0/24
add area=A network=10.200.200.0/24
/system identity
set name=RA
The advertisement are correct, as we can see on R1:
[admin@R1] > ip/route/print
Flags: D - DYNAMIC; A - ACTIVE; c - CONNECT, o - OSPF, d - DHCP
Columns: DST-ADDRESS, GATEWAY, DISTANCE
DST-ADDRESS GATEWAY DISTANCE
DAd 0.0.0.0/0 192.168.122.1 1
DAc 10.0.0.0/24 ether2 0
DAo 10.200.200.200/32 10.0.0.2%ether2 110 <------
DAc 10.255.255.1/32 lo 0
DAc 192.168.122.0/24 ether1 0
LSA
# CHR 6.49.6
[admin@RA] > routing ospf lsa print detail
instance=default area=A type=router id=10.0.0.2 originator=10.0.0.2 sequence-number=0x80000003 age=142 checksum=0x7EA2
options="" body=
flags=
links (type, id, data, metric)
Stub 10.200.200.200 255.255.255.255 10
Point-To-Point 192.168.122.127 10.0.0.2 10
Stub 10.0.0.0 255.255.255.0 10
instance=default area=A type=router id=192.168.122.127 originator=192.168.122.127 sequence-number=0x80000008 age=147
checksum=0xA2B2 options="" body=
flags=BORDER
links (type, id, data, metric)
Point-To-Point 10.0.0.2 10.0.0.1 1
Stub 10.0.0.0 255.255.255.0 1
instance=default area=A type=summary-network id=0.0.0.0 originator=192.168.122.127 sequence-number=0x80000001 age=767
checksum=0x31C9 options="" body=
netmask=0.0.0.0
metric=1
For RC version:
# CHR 7.15rc4
[admin@RA] > routing/ospf/lsa/print detail
Flags: S - self-originated, F - flushing, W - wraparound; D - dynamic
0 SD instance=ospf area=A type="router" originator=10.255.255.2 id=10.255.255.2 sequence=0x8000000A age=14 checksum=0x4022
body=
options=
type=p2p id=192.168.122.127 data=10.0.0.2 metric=1
type=stub id=10.0.0.0 data=255.255.255.0 metric=1
type=stub id=10.100.100.100 data=255.255.255.255 metric=1
1 D instance=ospf area=A type="router" originator=192.168.122.127 id=192.168.122.127 sequence=0x8000000B age=22 checksum=0x9CB5
body=
options= bits=B
type=p2p id=10.255.255.2 data=10.0.0.1 metric=1
type=stub id=10.0.0.0 data=255.255.255.0 metric=1
2 D instance=ospf area=A type="inter-area-prefix" originator=192.168.122.127 id=0.0.0.0 sequence=0x80000001 age=891
checksum=0x31C9 body=
netmask=0.0.0.0
metric=1