EIGRP and OSPF both use hello packets for neighbor discovery. These protocols periodically send hello packets on all interfaces where they are enabled. If a router receives a hello packet from another router on the same subnet and their configurations match, they become neighbors and can exchange routing information.