V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Tiande
V2EX  ›  自言自语

如果有人 windows 内外网能同时访问,并且看到这贴。

  •  
  •   Tiande · 2015-03-05 14:31:03 +08:00 · 203 次点击
    这是一个创建于 3345 天前的主题,其中的信息可能已经有所发展或是发生改变。
    .˚‧º·(இωஇ)‧º·˚.
    可以打开 cmd 给我看看你们的 route print 吗。

    情景:
    目前内外网不能同时访问,必须手动切网关。(下面这两条同一时间只能插入一条,切换时要 route -f )
    route add 10.73.0.0 mask 255.255.252.0 10.73.17.1 METRIC 1 IF 11 -p
    route add 0.0.0.0 mask 0.0.0.0 192.168.0.1 METRIC 2 IF 13 -p

    这是我的 route print :

    IPv4 Route Table
    ===========================================================================
    Active Routes:
    Network Destination Netmask Gateway Interface Metric
    0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.10 27
    10.73.0.0 255.255.252.0 10.73.17.1 10.73.17.248 21
    ===========================================================================
    Persistent Routes:
    Network Address Netmask Gateway Address Metric
    10.73.0.0 255.255.252.0 10.73.17.1 1
    0.0.0.0 0.0.0.0 192.168.0.1 2
    ===========================================================================


    而且,ping本地地址的时候:

    C:\Users\Administrator>ping 127.0.0.1

    Pinging 127.0.0.1 with 32 bytes of data:
    PING: transmit failed. General failure.
    PING: transmit failed. General failure.
    PING: transmit failed. General failure.
    PING: transmit failed. General failure.

    Ping statistics for 127.0.0.1:
    Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),

    AND

    C:\Users\Administrator>ping localhost
    Ping request could not find host localhost. Please check the name and try again.

    Hosts里可是有一条 “127.0.0.1 localhost” 啊。

    _(:3 ⌒゙)_麻麻,打开电视让我看会儿新闻联播压压惊。
    1 条回复    2015-03-05 18:00:34 +08:00
    rainy3636
        1
    rainy3636  
       2015-03-05 18:00:34 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1018 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 23:41 · PVG 07:41 · LAX 16:41 · JFK 19:41
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.