Bug in CDP implementation

Posted by Suraj on Server Fault See other posts from Server Fault or by Suraj
Published on 2012-10-16T04:17:52Z Indexed on 2012/10/16 5:07 UTC
Read the original article Hit count: 454

Filed under:

We are developing a Linux based ethernet switch which has 6 ports. We are done with CDP protocol. I have connected a Cisco device to port 2. When I quiery for the Cisco device, I get the reply and instead of getting lan1 (port 1 - lan0 .. port 6 = lan5), I always get the interface name as eth0. The same is the case for all the ports. What changes are required to get the correct interface name? I will be very thankful for the information. The snap packet is received in the routine snap_rcv() in the file "linux._2.6.XX/net/802/psnap.c";

Regards, Suraj..

© Server Fault or respective owner

Related posts about network-protocols