日期:2014-05-17  浏览次数:20781 次

内外网一块上的命令是什么啊?
我的本是XP系统的,内外网不能一块上
route print 显示的内容是:
Active Routes:
Network Destination Netmask Gateway Interface Metric
  0.0.0.0 0.0.0.0 10.136.24.100 10.136.24.8 30
  0.0.0.0 0.0.0.0 192.168.77.1 192.168.77.117 25
  10.136.24.0 255.255.255.0 10.136.24.8 10.136.24.8 30
  10.136.24.8 255.255.255.255 127.0.0.1 127.0.0.1 30
  10.255.255.255 255.255.255.255 10.136.24.8 10.136.24.8 30
  127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
  192.168.77.0 255.255.255.0 192.168.77.117 192.168.77.117 25
  192.168.77.117 255.255.255.255 127.0.0.1 127.0.0.1 25
  192.168.77.255 255.255.255.255 192.168.77.117 192.168.77.117 25
  224.0.0.0 240.0.0.0 10.136.24.8 10.136.24.8 30
  224.0.0.0 240.0.0.0 192.168.77.117 192.168.77.117 25
  255.255.255.255 255.255.255.255 10.136.24.8 10.136.24.8 1
  255.255.255.255 255.255.255.255 192.168.77.117 192.168.77.117 1
Default Gateway: 192.168.77.1
ipconfig /all显示的内容是:
Windows IP Configuration

  Host Name . . . . . . . . . . . . : 20110730-0948
  Primary Dns Suffix . . . . . . . :
  Node Type . . . . . . . . . . . . : Mixed
  IP Routing Enabled. . . . . . . . : No
  WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter 无线网络连接:

  Connection-specific DNS Suffix . :
  Description . . . . . . . . . . . : Atheros AR9285 Wireless Network Adap
ter
  Physical Address. . . . . . . . . : 1C-65-9D-FF-BB-D6
  Dhcp Enabled. . . . . . . . . . . : Yes
  Autoconfiguration Enabled . . . . : Yes
  IP Address. . . . . . . . . . . . : 192.168.77.117
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  Default Gateway . . . . . . . . . : 192.168.77.1
  DHCP Server . . . . . . . . . . . : 192.168.77.1
  DNS Servers . . . . . . . . . . . : 61.177.7.1
  192.168.77.1
  Lease Obtained. . . . . . . . . . : 2011年8月23日 星期二 12:46:53
  Lease Expires . . . . . . . . . . : 2011年8月23日 星期二 14:46:53

Ethernet adapter 本地连接:

  Connection-specific DNS Suffix . :
  Description . . . . . . . . . . . : Realtek PCIe FE Family Controller
  Physical Address. . . . . . . . . : 60-EB-69-D7-C0-E4
  Dhcp Enabled. . . . . . . . . . . : No
  IP Address. . . . . . . . . . . . : 10.136.24.8
  Subnet Mask . . . . . . . . . . . : 255.255.255.0
  Default Gateway . . . . . . . . . : 10.136.24.100

请问各位,我应该如何设置才能够内外网一块上啊?
谢谢

------解决方案--------------------
这是网络问题怎么发到oracle板块去了。
------解决方案--------------------
你可以配置一个虚拟网卡的 真实网卡配置外网地址 虚拟网卡配置内网地址 
虚拟网卡xp下自带 也可网上下载一个
------解决方案--------------------
设了两个网关,肯定是不行的了,把内网的网关去掉,应该就可以了。如果内网和本机不是的一个网段的,还需要添加一条静态路由
------解决方案--------------------
没怎么看你那个网络信息,不过解决起来很简单。
如果你要想内网外网同时上,你需要保证你可以同时ping通内网网关和外网网关,不然很有难度。
然后可以使用如下命令:
route add ?.?.?.0 mask 255.255.255.0 ?.?.?.? 
这里?.?.?.0是指你要到达的网络的地址,一般是指内网,?.?.?.?是指你相应网络的网关地址。
如果你的网络环境不怎么变化,并且你又不想每次开机后要要设置,可用以下命令添加事态路由:
route -p add ?.?.?.0 mask 255.255.255.0 ?.?.?.?