Page MenuHomePhabricator

LLDP potentially broken
Needs testing, NormalPublicBUG

Description

I'm not sure if LLDP is broken or if it's my network design

set service lldp interface all, management address not set, or set to one of the IPs on the router.

Simple network layout:

From that diagram, when doing a show lldp neighbors

  • Edge device sees none of them. This is currently a Mikrotik device due to OSPF on VyOS dropping the default route after 30 minutes. I can quickly switch back to VyOS for the edge and see what happens later today. It does see all other devices on network, including other Mikrotik switches and Ciscos.
  • Router1 only sees Router3
  • Router2 only sees Router4, despite them not being on the same subnet.

The logs have this in them as the only indication something might be wrong, but that could potentially just be a warning:

route2 lldpcli[4037]: unknown command from argument 1: `#`

All routers are connected via a trunk interface. They communicate over VLAN interfaces.

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-epa2
Why the issue appeared?
Will be filled on close
kroy created this task.Jan 7 2019, 5:24 PM
kroy updated the task description. (Show Details)Jan 7 2019, 6:00 PM
kroy added a comment.EditedJan 7 2019, 10:35 PM

With VyOS as the edge:

  • Edge sees itself, Router1, Router3

This can't be right at all. If it saw Router2, I could believe it was a bug in the network design, but Router1/2/3 are literal clones of one another. Only change is IP addresses and MAC.

syncer triaged this task as Normal priority.
pasik added a subscriber: pasik.Jan 21 2019, 9:41 PM

I've built lldpd 1.0.3, much newer than that from jessie. Luckily, the maintainer keep Debian packaging in the official repository, so it wasn't much effort to do.

It will be in today's nightly build, could you re-test with it?

kroy added a comment.Jan 26 2019, 2:25 AM

Sure. I'll set a reminder to check it out tomorrow when I have a free minute. Thanks

kroy added a comment.Jan 26 2019, 7:07 PM

Unfortunately that seems to have made the problem worse. Before, at least each host was seeing one other host. Now most of them see no hosts.

kroy added a comment.Jan 26 2019, 7:08 PM

THis shows up in the logs:

Jan 26 13:03:20 edge lldpd[11792]: protocol LLDP enabled
Jan 26 13:03:20 edge lldpd[11792]: protocol CDPv1 disabled
Jan 26 13:03:20 edge lldpd[11792]: protocol CDPv2 disabled
Jan 26 13:03:20 edge lldpcli[11790]: cannot find configuration file/directory /etc/lldpd.conf
Jan 26 13:03:20 edge lldpd[11792]: protocol SONMP disabled
Jan 26 13:03:20 edge lldpd[11792]: protocol EDP disabled
Jan 26 13:03:20 edge lldpd[11792]: protocol FDP disabled
Jan 26 13:03:20 edge lldpd[11792]: libevent 2.0.21-stable initialized with epoll method
syncer added a project: VyOS-1.2.0-GA.
syncer moved this task from Finished to In Progress on the VyOS 1.2 Crux (VyOS 1.2.0-GA) board.
syncer changed the task status from Open to Needs testing.
syncer assigned this task to zsdc.