OSPF Network Type Loopback
Reading across, I found something I didnt know and which I think is very cool.
Ref to RFC 2328
" looped back.
The interface may be looped back in hardware or software. The interface will be unavailable for regular data traffic. However, it may still be desirable to gain information on the quality of this interface, either through sending ICMP pings to the interface or through something like a bit error test. For this reason, IP packets may still be addressed to an interface in Loopback state. To facilitate this, such interfaces are advertised in router-LSAs as single host routes, whose destination is the IP interface address.[4]"
Which simply means that no matter what is the subent mask of my loopback address, it'll be advertised as host route in the OSPF domain, or say a loopback of 1.1.1.1/8 will appear as
"1.0.0.0/32 is subnetted, 1 subnets"
SO, what if I want my actual subnet mask to be advertised ?
All i have to do is to put "ip ospf network point-to-point" in loopback interface config.
Ref to RFC 2328
" looped back.
The interface may be looped back in hardware or software. The interface will be unavailable for regular data traffic. However, it may still be desirable to gain information on the quality of this interface, either through sending ICMP pings to the interface or through something like a bit error test. For this reason, IP packets may still be addressed to an interface in Loopback state. To facilitate this, such interfaces are advertised in router-LSAs as single host routes, whose destination is the IP interface address.[4]"
Which simply means that no matter what is the subent mask of my loopback address, it'll be advertised as host route in the OSPF domain, or say a loopback of 1.1.1.1/8 will appear as
"1.0.0.0/32 is subnetted, 1 subnets"
SO, what if I want my actual subnet mask to be advertised ?
All i have to do is to put "ip ospf network point-to-point" in loopback interface config.
Thanks,
Mark DeLong