路由表 – 默认网关和traceroute差异

我使用的是16.04并且存在差异,这似乎会减慢我的机器的互联网访问速度。

我在PC上并使用USB WIFI设备而不是主板上的以太网端口连接到互联网。

我的互联网网关的IP地址是192.168.1.1 (我用来访问路由器配置屏幕)

wifi接口的IP地址为192.168.1.21

我正在使用DHCP获取两个(有线和wifi)接口的IP地址(如果需要,我可以包含ifconfig输出。省略以保持问题相对较短)

netstat -nr命令的结果如下

 Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 192.168.1.2 0.0.0.0 UG 0 0 0 wlxec086b08251b 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlxec086b08251b 192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlxec086b08251b 

traceroute -n askubuntu.com命令的输出如下

 ejaz@ejaz-i5:~$ traceroute -n askubuntu.com traceroute to askubuntu.com (151.101.129.69), 30 hops max, 60 byte packets 1 192.168.1.2 3.297 ms 4.386 ms 5.111 ms 2 * * * 3 10.6.0.205 34.579 ms 40.183 ms 42.802 ms 4 * * * 5 xxx.xxx.xx.xxx 40.704 ms 41.341 ms 43.437 ms 6 xxx.xxx.xx.xxx 44.187 ms 42.549 ms 42.612 ms 7 10.0.3.182 42.607 ms 18.529 ms 27.290 ms 8 xxx.xxx.xxx.xxx 43.253 ms 33.357 ms 40.347 ms 9 xxx.xxx.xxx.xxx 60.037 ms 69.855 ms 57.101 ms 10 xxx.xxx.xxx.xxx 68.677 ms xxx.xxx.xxx.xxx 67.130 ms xxx.xxx.xxx.xxx 48.943 ms 11 xxx.xxx.xxx.xxx 55.302 ms 53.171 ms 56.792 ms 12 195.22.198.206 158.724 ms 166.306 ms 184.680 ms 13 195.22.205.153 189.038 ms 178.890 ms 195.22.196.215 182.389 ms 14 93.186.128.157 180.999 ms 175.675 ms 167.954 ms 15 129.250.2.50 186.880 ms 189.032 ms 183.655 ms 16 129.250.2.113 195.188 ms 129.250.2.211 205.249 ms 205.641 ms 17 * * * 18 * * * 19 * * * 20 * * * 21 * * * 22 * * * 23 * * * 24 * * * 25 * * * 26 * * * 27 * * * 28 * * * 29 * * * 30 * * * 

xxx.xxx.xx.xxx在实际输出中包含正确的IP地址

问题

我认为在路由表和traceroute输出中存在192.168.1.2代表一个问题,因为我在网络上没有任何具有此地址的东西( ping 100%丢失)。 在这个家庭网络上我只有几台PC和一些手机。

此外,我认为每个 traceroute(和互联网流量)请求开始尝试与192.168.1.2通信和超时正在减慢这台计算机上的互联网速度。

试图解决方案
我尝试使用以下命令替换错误的默认网关

 $ sudo route add default gw 192.168.1.1 $ sudo route del default gw 192.168.1.2 

netstat -nr的输出更改为显示正确的网关,但traceroute仍然向192.168.1.2发出请求。 这是否意味着从其他地方选择路由配置? 我没有使用静态IP地址。

此外,重新启动系统后,默认网关将重置为192.168.1.2

有人可以解决一下吗? 或者说明情况。

其他问题
1. traceroute输出中的ms值是否显示为正常运行的4G互联网连接?
2.第17行到第30行的* * *traceroute输出中表示什么?

非常感谢您阅读这个问题。

更新1

以下是@stevieb要求的nmap输出

 ejaz@ejaz-i5:/var/lib/dhcp$ sudo nmap -sS -P0 -O 192.168.1.2 Starting Nmap 7.01 ( https://nmap.org ) at xxxx-xx-xx xx:xx xxx Nmap scan report for 192.168.1.2 Host is up (0.020s latency). Not shown: 995 closed ports PORT STATE SERVICE 23/tcp open telnet 53/tcp open domain 80/tcp filtered http 139/tcp open netbios-ssn 445/tcp open microsoft-ds MAC Address: 8C:44:35:0A:34:62 (Shanghai BroadMobi Communication Technology) Device type: general purpose Running: Linux 2.6.X|3.X OS CPE: cpe:/o:linux:linux_kernel:2.6 cpe:/o:linux:linux_kernel:3 OS details: Linux 2.6.32 - 3.5 Network Distance: 1 hop OS detection performed. Please report any incorrect results at https://nmap.org/submit/ . Nmap done: 1 IP address (1 host up) scanned in 9.82 seconds 

以下是ip addr show输出

 ejaz@ejaz-i5:/var/lib/dhcp$ ip addr show 1: lo:  mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1 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: enp5s0:  mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000 link/ether bc:ae:c5:bc:d7:e1 brd ff:ff:ff:ff:ff:ff 3: wlxec086b08251b:  mtu 1500 qdisc mq state UP group default qlen 1000 link/ether ec:08:6b:08:25:1b brd ff:ff:ff:ff:ff:ff inet 192.168.1.21/24 brd 192.168.1.255 scope global dynamic wlxec086b08251b valid_lft 70411sec preferred_lft 70411sec inet6 fe80::c4ed:f502:38f0:6481/64 scope link valid_lft forever preferred_lft forever 

更新2

我在网络管理器菜单中看到两个Ethernet network() Device not managed错误。 我不确定这两个条目何时开始出现。

在此处输入图像描述

更新3

我做了一些研究,发现这两个接口是我最近安装的VMWare Player软件创建的。