Can we Give IP address of Loopback interface as 1.1.1.1/32? and in ospf-2 router id 1.1.1.1 in same Router?
Loopback address represent a standalone virtual interface. It is possible to configure an IP address on a loopback interface with subnet mask /32.
Yes, you can configure ip address 1.1.1.1/32 on a loopback interface. OSPF choose its router-id using the following steps:-
- Manual router-id
- Highest loopback interface ip address
- Highest physical interface ip address
Again yes, you can use 1.1.1.1/32 as the router-id also on the same router.
Hope it helps ! keep learning !