Microsoft Windows XP [版本 5.1.2600]
(C) 版权所有 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>ipconfig
Windows IP Configuration
Ethernet adapter 本地连接:
        Connection-specific DNS Suffix  . :
        IP Address. . . . . . . . . . . . : 192.168.10.138
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.10.1
C:\Documents and Settings\Administrator>ping 202.102.152.68
Pinging 202.102.152.68 with 32 bytes of data:
Control-C
^C
C:\Documents and Settings\Administrator>ipconfig  /all
Windows IP Configuration
        Host Name . . . . . . . . . . . . : tf-motherdisk
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter 本地连接:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
        Physical Address. . . . . . . . . : 00-01-6C-03-A0-12
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.10.138
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.10.1
        DNS Servers . . . . . . . . . . . : 202.102.128.68
C:\Documents and Settings\Administrator>ping 202.102.128.68
Pinging 202.102.128.68 with 32 bytes of data:
Reply from 202.102.128.68: bytes=32 time=8ms TTL=249
Reply from 202.102.128.68: bytes=32 time=8ms TTL=249
Reply from 202.102.128.68: bytes=32 time=8ms TTL=249
Reply from 202.102.128.68: bytes=32 time=9ms TTL=249
Ping statistics for 202.102.128.68:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 8ms, Maximum = 9ms, Average = 8ms
C:\Documents and Settings\Administrator>ping [url]www.baidu.com[/url]
Pinging [url]www.a.shifen.com[/url] [123.235.44.31] with 32 bytes of data:
Reply from 123.235.44.31: bytes=32 time=21ms TTL=56
Reply from 123.235.44.31: bytes=32 time=20ms TTL=56
Reply from 123.235.44.31: bytes=32 time=19ms TTL=56
Reply from 123.235.44.31: bytes=32 time=21ms TTL=56
Ping statistics for 123.235.44.31:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 19ms, Maximum = 21ms, Average = 20ms
C:\Documents and Settings\Administrator>arp -a
Interface: 192.168.10.138 --- 0x2
  Internet Address      Physical Address      Type
  192.168.10.1          00-90-0b-0c-02-4b     dynamic
C:\Documents and Settings\Administrator>ipconfig  /all
Windows IP Configuration
        Host Name . . . . . . . . . . . . : tf-motherdisk
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter 本地连接:
        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
        Physical Address. . . . . . . . . : 00-01-6C-03-A0-12
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 192.168.0.138
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.10.1
        DNS Servers . . . . . . . . . . . : 202.102.128.68
C:\Documents and Settings\Administrator>ping 192.168.0.138
Pinging 192.168.0.138 with 32 bytes of data:
Reply from 192.168.0.138: bytes=32 time<1ms TTL=128
Reply from 192.168.0.138: bytes=32 time<1ms TTL=128
Reply from 192.168.0.138: bytes=32 time<1ms TTL=128
Reply from 192.168.0.138: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.138:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
C:\Documents and Settings\Administrator>arp -a
No ARP Entries Found
C:\Documents and Settings\Administrator>ping [url]www.baidu.om[/url]
Pinging [url]www.baidu.om[/url] [123.129.254.13] with 32 bytes of data:
Control-C
^C
C:\Documents and Settings\Administrator>ping [url]www.baidu.com[/url]
Pinging [url]www.a.shifen.com[/url] [123.235.44.30] with 32 bytes of data:
Reply from 123.235.44.30: bytes=32 time=20ms TTL=56
Reply from 123.235.44.30: bytes=32 time=20ms TTL=56
Reply from 123.235.44.30: bytes=32 time=20ms TTL=56
Reply from 123.235.44.30: bytes=32 time=20ms TTL=56
Ping statistics for 123.235.44.30:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 20ms, Maximum = 20ms, Average = 20ms
C:\Documents and Settings\Administrator>arp -a
Interface: 192.168.0.138 --- 0x2
  Internet Address      Physical Address      Type
  192.168.10.1          00-90-0b-0c-02-4b     dynamic
C:\Documents and Settings\Administrator>arp -a
Interface: 192.168.0.138 --- 0x2
  Internet Address      Physical Address      Type
  192.168.10.1          00-90-0b-0c-02-4b     dynamic
C:\Documents and Settings\Administrator>ping [url]www.baidu.com[/url]
Pinging [url]www.a.shifen.com[/url] [123.235.44.31] with 32 bytes of data:
Reply from 123.235.44.31: bytes=32 time=21ms TTL=56
Reply from 123.235.44.31: bytes=32 time=20ms TTL=56
Reply from 123.235.44.31: bytes=32 time=20ms TTL=56
Reply from 123.235.44.31: bytes=32 time=21ms TTL=56
Ping statistics for 123.235.44.31:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 20ms, Maximum = 21ms, Average = 20ms
C:\Documents and Settings\Administrator>arp -a
Interface: 192.168.0.138 --- 0x2
  Internet Address      Physical Address      Type
  192.168.10.1          00-90-0b-0c-02-4b     dynamic
  192.168.100.1         00-90-0b-0c-02-4b     dynamic
上面是我把默认网关改为192.168.100.1看的结果
C:\Documents and Settings\Administrator>
    请大家仔细看一下我上面运行的命令及结果!
设置的IP与默认网关不在一个网络也可以上网!
这也只是我不解的一个方面!
另一个方面:我们本来设置自动获取的IP地址
是以172.31开头的,我自己设的IP地址
(以192.16开头),为什么也照样可以上网?
 
哪位来给我解释一下,多谢了!