尽管设备已打开且已插入以太网电缆,但网络上未显示该设备 - 如何查找

尽管设备已打开且已插入以太网电缆,但网络上未显示该设备 - 如何查找

正如标题所述,我有一块定制电路板(基于 MicroChip 技术),它确实可以工作(我可以在另一台计算机上 ping 它),但是我无法使用标准工具(如 Debian Linux 上的 nmap 或 arp -a)在网络上找到它(这些工具仅在另一台计算机上 ping 设备后才显示连接)。此外,当连接到设备时,我的 Debian 主板的以太网端口会亮起橙色灯。

有没有办法检查物理链路连接并以其他方式找到此设备,而无需运行程序 A?如果有帮助的话,我确实记下了它的 MAC 地址,并且当运行程序 A 时,设备的 IP 地址为 10.0.0.100 。

-ethtool 输出:

Supported ports: [ TP MII ]
    Supported link modes:   10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Half 1000baseT/Full 
    Supported pause frame use: No
    Supports auto-negotiation: Yes
    Advertised link modes:  10baseT/Half 10baseT/Full 
                            100baseT/Half 100baseT/Full 
                            1000baseT/Full 
    Advertised pause frame use: Symmetric Receive-only
    Advertised auto-negotiation: Yes
    Link partner advertised link modes:  10baseT/Half 10baseT/Full 
                                         100baseT/Half 100baseT/Full 
    Link partner advertised pause frame use: Symmetric Receive-only
    Link partner advertised auto-negotiation: Yes
    Speed: 100Mb/s
    Duplex: Full
    Port: MII
    PHYAD: 0
    Transceiver: internal
    Auto-negotiation: on
    Supports Wake-on: pumbg
    Wake-on: g
    Current message level: 0x00000033 (51)
                   drv probe ifdown ifup
    Link detected: yes

mii-tool -v(eth5是连接的端口)

eth4: negotiated 1000baseT-FD flow-control, link ok
  product info: vendor 00:07:32, model 0 rev 0
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  1000baseT-HD 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
eth5: negotiated 100baseTx-FD flow-control, link ok
  product info: vendor 00:07:32, model 0 rev 0
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control
  link partner: 1000baseT-FD 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD flow-control

答案1

我安装了 isc-dhcp-server 包 ( apt-get install isc-dhcp-server),以便在 debian 计算机上托管 LAN 网络。常规配置后,将设备的 IP 地址和 MAC 地址放入 dhcpd.conf 文件中

相关内容