The IP address is a global information of the system (so, the same IP
address is advertised for all interfaces).
The hostname is the result of "getent host $(uname -n)".
On 2024-03-09 00:12, Witold Baryluk wrote:
Package: lldpd
Version: 1.0.18-1
Severity: normal
X-Debbugs-Cc: [email protected]
It sends correct IPv6, but IPv4 and hostname are wrong.
user@debian:~$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group
default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp7s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
group default qlen 1000
link/ether 10:00:00:0d:b0:00 brd ff:ff:ff:ff:ff:ff
3: enp8s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN
group default qlen 1000
link/ether 10:00:00:00:b0:00 brd ff:ff:ff:ff:ff:ff
8: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state
DOWN group default
link/ether 02:00:00:00:00:90 brd ff:ff:ff:ff:ff:ff
inet 172.17.0.1/16 brd 172.17.255.255 scope global docker0
valid_lft forever preferred_lft forever
23: enp10s0f0np0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
state DOWN group default qlen 1000
link/ether 64:00:00:00:00:01 brd ff:ff:ff:ff:ff:ff
24: enp10s0f1np1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc fq_pie state
UP group default qlen 1000
link/ether 64:00:00:00:00:02 brd ff:ff:ff:ff:ff:ff
inet 10.0.0.18/24 brd 10.0.0.255 scope global dynamic noprefixroute
enp10s0f1np1
valid_lft 85650sec preferred_lft 85650sec
inet6 fe80::0002/64 scope link noprefixroute
valid_lft forever preferred_lft forever
What I see on the switch (MikroTik RouterOS 7.15beta6, on hw model
CRS504-4XQ-IN) connected to directly to enp10s0f1np1:
Interface qsfp28-4-1 # correct
IP Address 172.17.0.1 # incorrect
IPv6 Address fe80::0002 # correct
MAC Address 64:00:00:00:00:02 # correct
Identity localhost # incorrect
Platform
Version
Board Name
Interface Name enp10s0f1np1 # incorrect
Regards,
Witold