Fusobacterium necrophorum and Dichelobacter nodosus are the bacteria that cause hoof rot.