×

Loading...
Ad by
  • 予人玫瑰,手有余香:加拿大新天地工作移民诚聘求职顾问&行业导师!
Ad by
  • 予人玫瑰,手有余香:加拿大新天地工作移民诚聘求职顾问&行业导师!

我在公司里也这么问客户,顺便netstat -rn 的输出也有了。

Z:\docs\dede\dedecms31_lit11\include>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : gg
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Hybrid
        IP Routing Enabled. . . . . . . . : Yes
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection 3:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connection
        Physical Address. . . . . . . . . : 00-02-3F-7D-97-AB
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.2.250
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.2.1
                                            1.2.3.4
        DNS Servers . . . . . . . . . . . : 192.168.2.1

Z:\docs\dede\dedecms31_lit11\include>
Z:\docs\dede\dedecms31_lit11\include>netstat -rn

Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 02 3f 7d 97 ab ...... Intel(R) PRO/100 VE Network Connection - Packet Scheduler Miniport
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0          1.2.3.4   192.168.2.250       33
          0.0.0.0          0.0.0.0      192.168.2.1   192.168.2.250       1
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
      192.168.2.0    255.255.255.0    192.168.2.250   192.168.2.250       66
    192.168.2.250  255.255.255.255        127.0.0.1       127.0.0.1       66
    192.168.2.255  255.255.255.255    192.168.2.250   192.168.2.250       66
        224.0.0.0        240.0.0.0    192.168.2.250   192.168.2.250       66
  255.255.255.255  255.255.255.255    192.168.2.250   192.168.2.250       1
Default Gateway:       192.168.2.1
===========================================================================
Persistent Routes:
  None
Report

Replies, comments and Discussions:

  • 工作学习 / 专业技术讨论 / 问大仙们一个问题,我笔记本上的arp纪录总是丢,弄得我经常上不了网,一旦发生,就的拼命的ping 192。168。2。1,ping通了,得到了mac地址才能上网。有大仙明白是怎么回事吗?(注:我的防火墙是对所有icmp开放的)。有的时候听着在线广播也会出现这样的问题。
    Z:\docs\dede\dedecms31_lit11\include>arp -a

    Interface: 192.168.2.250 --- 0x2
    Internet Address Physical Address Type
    192.168.2.1 00-00-00-00-00-00 invalid
    192.168.2.183 00-0c-29-82-15-1c dynamic
    192.168.2.201 00-0c-29-34-49-2d dynamic
    192.168.2.210 00-80-c6-ee-cf-68 dynamic

    Z:\docs\dede\dedecms31_lit11\include>

    在我的机器(winxp pro sp2)和modem 之间有两个宽带路由器,均设置作为switch用(拨号功能已禁止),其中一个作为dhcp server,nat在modem 上实现。
    • See inside
      1. ARP table is cache entries in system and will drop if it is not used for period of time.
      2. You are allowed to manipulate ARP using "ARP -s" to add static, or "-d" to remove.
      3. Modem cannot NAT unless it is a router as well.
      4. router as DHCP server will give its own WAN address as "default gateway". It may not be what you want.
      5. PC or router with no "default gateway" setup may discover gateway by APR. The result may be un-predicable if more than 1 router presents.
      • oh, that's some concept. Agree 1,2; 3: bell modem can be used as nat router. 4: the Wifi AP(connected to modem set modem IP a defautl gw), 5:all my pc are statis IP man manual def gw(modem IP)
        the problem I have is not IP corruption, but arp record loss when there is continue TCP traffic.
        • ARP shall not disappear during the active communication. Possible problem: 1. You may have altered MAC of your router/modem. 2. Your NIC's reset counts is high - i.e. Your NIC, Motherboard, NIC driver problem. 3. Your line is unstable.
    • ^^
    • 不清楚到底是什么原因。但是arp纪录丢根本不会造成问题而且也不需要通过ping来获得arp纪录。任何连接请求都可以重建arp纪录。这对你来说应该是透明的。但如果网关的arp纪录在却对应的是错误的mac地址,那才会有问题。再重申一边:arp纪录没有绝对不应该是问题。
      • I am in LAN connected with 2 cascade switches (broadband router with dial, DHCP and NAT diabled). all traffic should be local, no gateway involved.
    • can you run "ipconfig /all" to see what the default gateway is? how many NICs do you have?
      • 我在公司里也这么问客户,顺便netstat -rn 的输出也有了。
        Z:\docs\dede\dedecms31_lit11\include>ipconfig /all
        
        Windows IP Configuration
        
                Host Name . . . . . . . . . . . . : gg
                Primary Dns Suffix  . . . . . . . :
                Node Type . . . . . . . . . . . . : Hybrid
                IP Routing Enabled. . . . . . . . : Yes
                WINS Proxy Enabled. . . . . . . . : No
        
        Ethernet adapter Local Area Connection 3:
        
                Connection-specific DNS Suffix  . :
                Description . . . . . . . . . . . : Intel(R) PRO/100 VE Network Connection
                Physical Address. . . . . . . . . : 00-02-3F-7D-97-AB
                Dhcp Enabled. . . . . . . . . . . : No
                IP Address. . . . . . . . . . . . : 192.168.2.250
                Subnet Mask . . . . . . . . . . . : 255.255.255.0
                Default Gateway . . . . . . . . . : 192.168.2.1
                                                    1.2.3.4
                DNS Servers . . . . . . . . . . . : 192.168.2.1
        
        Z:\docs\dede\dedecms31_lit11\include>
        Z:\docs\dede\dedecms31_lit11\include>netstat -rn
        
        Route Table
        ===========================================================================
        Interface List
        0x1 ........................... MS TCP Loopback interface
        0x2 ...00 02 3f 7d 97 ab ...... Intel(R) PRO/100 VE Network Connection - Packet Scheduler Miniport
        ===========================================================================
        ===========================================================================
        Active Routes:
        Network Destination        Netmask          Gateway       Interface  Metric
                  0.0.0.0          0.0.0.0          1.2.3.4   192.168.2.250       33
                  0.0.0.0          0.0.0.0      192.168.2.1   192.168.2.250       1
                127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
              192.168.2.0    255.255.255.0    192.168.2.250   192.168.2.250       66
            192.168.2.250  255.255.255.255        127.0.0.1       127.0.0.1       66
            192.168.2.255  255.255.255.255    192.168.2.250   192.168.2.250       66
                224.0.0.0        240.0.0.0    192.168.2.250   192.168.2.250       66
          255.255.255.255  255.255.255.255    192.168.2.250   192.168.2.250       1
        Default Gateway:       192.168.2.1
        ===========================================================================
        Persistent Routes:
          None
    • 经过有位andi的大仙提示,我想是pplive捣的鬼。另,前几天pplive自动升级(完全自动,没有任何提示),后来在我不运行pplive时也有pplive的进程运行,杀掉了还自动产生。我把它毒死了#3375048. 然后卸载。以后网络就很正常了,只可惜不可以看郭德刚的相声了。
    • hard-coded