Debian wheezy 可以到达本地网络但丢包,无法访问更广泛的互联网

Debian wheezy 可以到达本地网络但丢包,无法访问更广泛的互联网

正如标题所示。我可以ping通本地网络,但是会连续有10个数据包丢失,并且连接速度很慢。无论是 ping IP 还是通过域名,都无法访问网络外部的任何内容,包括默认网关。

使用逐步分析这里,在步骤 2 之后我无法执行任何操作。网络上的所有其他设备使用相同的以太网电缆都可以正常工作。

我想问题有两个:为什么本地网络丢包,为什么无法到达外部网络?这是一台我最近才使用的旧电脑,似乎被篡改过很多次。

IP 路由(eth0 是我用于网络的路由):

ip route
default via 192.168.1.1 dev eth0
10.0.0.0/16 dev eth1  proto kernel  scope link  src 10.0.0.2
192.168.1.0/24 dev eth0  proto kernel  scope link  src 192.168.1.97

Ip addr - .97 是静态的,.117 由 dhcp 设置

ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether 00:07:32:8f:ec:be brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.97/24 brd 192.168.1.255 scope global eth0:0
    inet 192.168.1.117/24 brd 192.168.1.255 scope global secondary eth0
3: eth1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:07:32:8f:ec:bf brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.2/16 brd 10.0.255.255 scope global eth1

编辑:ethtool

Settings for eth0:
        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
                                             1000baseT/Half 1000baseT/Full
        Link partner advertised pause frame use: Symmetric
        Link partner advertised auto-negotiation: Yes
        Speed: 1000Mb/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

ethtool -S eth0

NIC statistics:
     tx_packets: 1847873
     rx_packets: 8265
     tx_errors: 0
     rx_errors: 0
     rx_missed: 0
     align_errors: 0
     tx_single_collisions: 0
     tx_multi_collisions: 0
     unicast: 343
     broadcast: 5915
     multicast: 2007
     tx_aborted: 0
     tx_underrun: 0

答案1

存在重复的 IP 问题 - 在路由器的 IP 绑定设置中,我为系统设置的静态 IP 已注册到不同的 MAC 地址。

相关内容