[OT]有个问题请教,Windows 下同时连接多个网卡总是会自动添加路由表,有没有办法可以写死路由表,不要在网络环境改变时自动 添加/删除 路由表?

程振 Cheng Zhen
Mobile: *+86 1709 2552 428*
E-mail: [email protected]

2015-09-29 12:01 GMT+08:00 惠轶群 <[email protected]>:

> 不要同时连有线和无线,这样会有两个default
>
> 在 2015年9月29日 上午6:34,Tony Yang <[email protected]>写道:
>
>> 随意试一个咯。也可能没有什么帮助的。
>>
>> 另外就是路由表咯,我不是很懂。
>>
>> Best regards,
>>
>> Sincerely,
>> Tony Yang
>>
>> On Tue, Sep 29, 2015 at 12:28 AM, 吕铭 <[email protected]> wrote:
>>
>>> mac spoofing 只是相当于换了 mac 地址吧?换成什么呢?
>>>
>>> 在 2015年9月28日星期一 UTC+8下午8:07:18,Tony Yang写道:
>>> > 可能和学校的网关抽风有关。我也有过类似的现象,但是是完全无法联网,后来用了MAC Spoofing就好了。建议你尝试一下。
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > Best regards,
>>> >
>>> >
>>> >
>>> > Sincerely,Tony Yang
>>> >
>>> >
>>> > On Mon, Sep 28, 2015 at 6:58 PM, 吕铭 <[email protected]> wrote:
>>> > 在寝室里试图用有线上网时,会出现一开始能连接上,但不久(大约半分钟左右吧)就会断线,断线后ping 166.111.x.x
>>> 都不通(Destination Host Unreachable)。 拔掉网线再连接又会正常。
>>> >
>>> > 发行版是 Debian。安装的时候又类似的问题。
>>> >
>>> > WiFi正常。
>>> >
>>> >
>>> >
>>> >
>>> >
>>> > ifconfig的结果如下:
>>> >
>>> > enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>>> >
>>> >         inet 59.66.124.30  netmask 255.255.254.0  broadcast
>>> 59.66.125.255
>>> >
>>> >         inet6 fe80::ba88:e3ff:fe71:aa62  prefixlen 64  scopeid
>>> 0x20<link>
>>> >
>>> >         inet6 2402:f000:9:7c01:ba88:e3ff:fe71:aa62  prefixlen 64
>>> scopeid 0x0<global>
>>> >
>>> >         ether b8:[打码,正常mac地址]  txqueuelen 1000  (Ethernet)
>>> >
>>> >         RX packets 21613  bytes 1004000 (980.4 KiB)
>>> >
>>> >         RX errors 17103  dropped 8  overruns 17103  frame 0
>>> >
>>> >         TX packets 4210  bytes 524717 (512.4 KiB)
>>> >
>>> >         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>> >
>>> >         device interrupt 16
>>> >
>>> >
>>> >
>>> > lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
>>> >
>>> >         inet 127.0.0.1  netmask 255.0.0.0
>>> >
>>> >         inet6 ::1  prefixlen 128  scopeid 0x10<host>
>>> >
>>> >         loop  txqueuelen 0  (Local Loopback)
>>> >
>>> >         RX packets 8249  bytes 1241067 (1.1 MiB)
>>> >
>>> >         RX errors 0  dropped 0  overruns 0  frame 0
>>> >
>>> >         TX packets 8249  bytes 1241067 (1.1 MiB)
>>> >
>>> >         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>> >
>>> >
>>> >
>>> > wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>>> >
>>> >         inet 192.168.199.150  netmask 255.255.255.0  broadcast
>>> 192.168.199.255
>>> >
>>> >         inet6 4006:e024:680:b64a:9e4e:36ff:fe1d:5594  prefixlen 64
>>> scopeid 0x
>>> >
>>> >         inet6 fe80::9e4e:36ff:fe1d:5594  prefixlen 64  scopeid
>>> 0x20<link>
>>> >
>>> >         inet6 4006:e024:680:b64a:9c2d:ea9:24b8:5a2d  prefixlen 64
>>> scopeid 0x0
>>> >
>>> >         ether 9c:[打码,正常mac地址]  txqueuelen 1000  (Ethernet)
>>> >
>>> >         RX packets 1362788  bytes 2023731619 (1.8 GiB)
>>> >
>>> >         RX errors 0  dropped 0  overruns 0  frame 0
>>> >
>>> >         TX packets 364525  bytes 41658981 (39.7 MiB)
>>> >
>>> >         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>>> >
>>> >
>>> >
>>> > netstat -nr 的结果如下:
>>> >
>>> > Destination     Gateway         Genmask         Flags   MSS Window
>>> irtt Iface
>>> >
>>> > 0.0.0.0         59.66.124.1     0.0.0.0         UG        0 0
>>> 0 enp2s0
>>> >
>>> > 0.0.0.0         192.168.199.1   0.0.0.0         UG        0 0
>>> 0 wlp3s0
>>> >
>>> > 59.66.124.0     0.0.0.0         255.255.254.0   U         0 0
>>> 0 enp2s0
>>> >
>>> > 166.111.8.18    59.66.124.1     255.255.255.255 UGH       0 0
>>> 0 enp2s0
>>> >
>>> > 169.254.0.0     0.0.0.0         255.255.0.0     U         0 0
>>> 0 wlp3s0
>>> >
>>> > 192.168.199.0   0.0.0.0         255.255.255.0   U         0 0
>>> 0 wlp3s
>>> >
>>> >
>>> >
>>> > 不知有没有见过类似的问题?先谢谢大家!
>>> >
>>> >
>>> >
>>> > P.S. 双系统的Win网络正常。。。
>>> >
>>> >
>>> >
>>> > --
>>> >
>>> >
>>> >
>>> > ---
>>> >
>>> > You received this message because you are subscribed to the Google
>>> Groups "TUNA 主邮件列表" group.
>>> >
>>> > To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> >
>>> > To post to this group, send email to [email protected].
>>> >
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "TUNA 主邮件列表" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to [email protected].
>>> To post to this group, send email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "TUNA 主邮件列表" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to [email protected].
>> To post to this group, send email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "TUNA 主邮件列表" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups "TUNA 
主邮件列表" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

回复