|
楼主 |
发表于 2008-3-26 15:53:30
|
显示全部楼层
Post by killmylove;1830992
“-s 192.168.0.1/24”应该是“-s 192.168.0.0/24”
还有dns是否是你的isp的呢?
我的linux 机器
子网掩码 255.255.255.0
默认网关 202.127.21.1
DNS 192.168.0.111 192.168.0.112
在windows中,我将IP设定为:192.168.0.2
资望掩码和DNS与linux相同
然后默认网关设定成:192.168.0.1
刚才又改运行了“-s 192.168.0.0/24”
在windos下还是不能上网。。。。。
ping结果如下:
Pinging 192.168.0.1 with 32 bytes of data:
Request timed out.
Request timed out.
Request timed out.
Request timed out.
Ping statistics for 192.168.0.1:
Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Pinging 192.168.0.2 with 32 bytes of data:
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Reply from 192.168.0.2: bytes=32 time<1ms TTL=128
Ping statistics for 192.168.0.2:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
ping www.sohu.com
Ping request could not find host www.sohu.com. Please check the name and try aga
in. |
|