这是我的路由器管理 WebUI 中的一张表
Device name MAC address IP address Speed(Mbps) Connected to
konsoletta 00:16:CB:B0:8F:CC 192.168.0.101/24 1000 Ethernet 3
Nieznane 00:16:CB:B0:8F:CC 192.168.0.26/24 1000 Ethernet 3
... more ...
我手动将 192.168.0.101 分配给我的家庭服务器(在旧 Mac Mini 上运行的 Ubuntu 18.04),但总是有第二个 IP 分配给我的机器,我不知道它来自哪里。它的主要目的是运行 Plex、Samba 和一些 cron 作业。
这是ip addr
输出:
➜ ~ ip addr
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
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 00:16:cb:b0:8f:cc brd ff:ff:ff:ff:ff:ff
inet 192.168.0.101/24 brd 192.168.0.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::216:cbff:feb0:8fcc/64 scope link
valid_lft forever preferred_lft forever
3: wlan0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 00:1f:f3:d9:2d:b4 brd ff:ff:ff:ff:ff:ff
4: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
link/ether 52:54:00:58:97:d5 brd ff:ff:ff:ff:ff:ff
inet 192.168.123.1/24 brd 192.168.123.255 scope global virbr0
valid_lft forever preferred_lft forever
5: virbr0-nic: <BROADCAST,MULTICAST> mtu 1500 qdisc fq_codel master virbr0 state DOWN group default qlen 1000
link/ether 52:54:00:58:97:d5 brd ff:ff:ff:ff:ff:ff
没有关于此内容其他地址 (192.168.0.26
)。
那么这里发生了什么事?