|
楼主 |
发表于 2006-2-27 08:44:01
|
显示全部楼层
linux服务器
[code:1]
forrest ~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.192.2 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
218.194.57.0 0.0.0.0 255.255.255.128 U 0 0 0 eth0
192.168.192.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 218.194.57.1 0.0.0.0 UG 0 0 0 eth0
forrest ~ # ifconfig
eth0 Link encap:Ethernet HWaddr 00:50:8D:5B:F8:74
inet addr:218.194.57.2 Bcast:218.194.57.127 Mask:255.255.255.128
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1806 errors:0 dropped:0 overruns:0 frame:0
TX packets:2774 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:153537 (149.9 Kb) TX bytes:293687 (286.8 Kb)
Interrupt:16 Base address:0x9000
eth0:1 Link encap:Ethernet HWaddr 00:50:8D:5B:F8:74
inet addr:192.168.192.1 Bcast:192.168.192.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2325 (2.2 Kb) TX bytes:617 (617.0 b)
Interrupt:16 Base address:0x9000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.192.1 P-t-P:192.168.192.2 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1400 Metric:1
RX packets:31 errors:0 dropped:0 overruns:0 frame:0
TX packets:16 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:2325 (2.2 Kb) TX bytes:617 (617.0 b)
[/code:1]
Windows客户端
[code:1]
C:\Documents and Settings\Forrest>ipconfig /all
Ethernet adapter 本地连接:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Broadcom NetXtreme Gigabit Ethernet
Physical Address. . . . . . . . . : 00-11-25-16-0D-C7
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 218.194.57.71
Subnet Mask . . . . . . . . . . . : 255.255.255.128
Default Gateway . . . . . . . . . : 218.194.57.1
DHCP Server . . . . . . . . . . . : 202.115.22.200
DNS Servers . . . . . . . . . . . : 202.112.14.151
202.112.14.161
Lease Obtained. . . . . . . . . . : 2006年2月27日 8:09:03
Lease Expires . . . . . . . . . . : 2006年2月27日 20:09:03
PPP adapter vpntest:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
Physical Address. . . . . . . . . : 00-53-45-00-00-00
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.192.2
Subnet Mask . . . . . . . . . . . : 255.255.255.255
Default Gateway . . . . . . . . . : 192.168.192.2
DNS Servers . . . . . . . . . . . : 202.112.14.151
202.112.14.161
C:\Documents and Settings\Forrest>ping www.sina.com.cn
Pinging jupiter.sina.com.cn [202.205.3.142] with 32 bytes of data:
Reply from 202.205.3.142: bytes=32 time=40ms TTL=52
Reply from 202.205.3.142: bytes=32 time=40ms TTL=52
Reply from 202.205.3.142: bytes=32 time=40ms TTL=52
Reply from 202.205.3.142: bytes=32 time=39ms TTL=52
Ping statistics for 202.205.3.142:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 39ms, Maximum = 40ms, Average = 39ms
[/code:1] |
|