LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 886|回复: 6

看过精华引索,搜索过GOOGLE。没搞定。

[复制链接]
发表于 2006-3-24 21:22:16 | 显示全部楼层 |阅读模式
由于我不知道如何定义我的问题,关键字提不出来,所以GOOGLE也没帮到什么忙。

症状如下:


            
  1. C:\Documents and Settings\Administrator>ipconfig -all

  2. Windows IP Configuration

  3.         Host Name . . . . . . . . . . . . : amd-3fda9cb27e1
  4.         Primary Dns Suffix  . . . . . . . :
  5.         Node Type . . . . . . . . . . . . : Unknown
  6.         IP Routing Enabled. . . . . . . . : No
  7.         WINS Proxy Enabled. . . . . . . . : No

  8. Ethernet adapter 本地连接 4:

  9.         Connection-specific DNS Suffix  . :
  10.         Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
  11. rnet NIC
  12.         Physical Address. . . . . . . . . : 00-0A-EB-14-C0-FB
  13.         Dhcp Enabled. . . . . . . . . . . : Yes
  14.         Autoconfiguration Enabled . . . . : Yes
  15.         IP Address. . . . . . . . . . . . : 192.168.123.100
  16.         Subnet Mask . . . . . . . . . . . : 255.255.255.0
  17.         Default Gateway . . . . . . . . . : 192.168.123.254
  18.         DHCP Server . . . . . . . . . . . : 192.168.123.254
  19.         DNS Servers . . . . . . . . . . . : 202.202.0.34
  20.                                             202.202.0.33
  21.         Lease Obtained. . . . . . . . . . : 2006年3月24日 16:32:57
  22.         Lease Expires . . . . . . . . . . : 2006年3月31日 16:32:57

  23. Ethernet adapter 本地连接 5:

  24.         Media State . . . . . . . . . . . : Media disconnected
  25.         Description . . . . . . . . . . . : ADMtek AN983 based ethernet adapter
  26.         Physical Address. . . . . . . . . : FF-FF-FF-FF-FF-FF

  27. PPP adapter BluetoothConnection:

  28.         Connection-specific DNS Suffix  . :
  29.         Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
  30.         Physical Address. . . . . . . . . : 00-53-45-00-00-00
  31.         Dhcp Enabled. . . . . . . . . . . : No
  32.         IP Address. . . . . . . . . . . . : 10.198.112.192
  33.         Subnet Mask . . . . . . . . . . . : 255.255.255.255
  34.         Default Gateway . . . . . . . . . : 10.198.112.192
复制代码
发表于 2006-3-24 21:27:23 | 显示全部楼层
看不懂.看不明白
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-24 21:32:43 | 显示全部楼层
我PPP那个是蓝牙手机内置猫上外网拨号用的IP地址。
8139的卡是能上校园论坛(如果不通过ROUTER可以获取IP地址 172.X.X.X,可以直接上www.cqumzh.cn or  www.cqu.edu.cn  or  lib.cuq.edu.cn)除了学校的网站,其他站点想都别想!

一旦我拨号蓝牙,能上外网后,访问(www.cqumzh.cn or  www.cqu.edu.cn  or  lib.cuq.edu.cn)就用蓝牙了,而不用我的8139的 100M卡。

如何能达到目的:  访问www.cqumzh.cn or  www.cqu.edu.cn  or  lib.cuq.edu.cn时候用8139 100M卡,而同时蓝牙拨号访问www.linuxsir.cn等)   

然而现在我一但蓝牙拨号后,就无法通过100M卡来访问WWW.CUQMZH.CN等学校网站。
虽然都是连接正常。断了蓝牙外网拨号就可以通过100M卡访问学校地址。
回复 支持 反对

使用道具 举报

发表于 2006-3-24 22:44:15 | 显示全部楼层
route print
看看会有一些路由,其中应该有两个0.0.0.0的
route del可以删除路由,route add可以增加路由,这个问题应该好解决。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-24 23:10:42 | 显示全部楼层
Post by springwind426
route print
看看会有一些路由,其中应该有两个0.0.0.0的
route del可以删除路由,route add可以增加路由,这个问题应该好解决。

C:\Documents and Settings\Administrator>route print
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 0a eb 14 c0 fb ...... Realtek RTL8139 Family PCI Fast Ethernet NIC -
数据包计划程序微型端口
0xb0004 ...00 53 45 00 00 00 ...... WAN (PPP/SLIP) Interface
===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0    10.198.113.85   10.198.113.85       1
          0.0.0.0          0.0.0.0  192.168.123.254  192.168.123.100      21
       10.198.0.1  255.255.255.255    10.198.113.85   10.198.113.85       1
    10.198.113.85  255.255.255.255        127.0.0.1       127.0.0.1       50
   10.255.255.255  255.255.255.255    10.198.113.85   10.198.113.85       50
        127.0.0.0        255.0.0.0        127.0.0.1       127.0.0.1       1
    192.168.123.0    255.255.255.0  192.168.123.100  192.168.123.100      20
  192.168.123.100  255.255.255.255        127.0.0.1       127.0.0.1       20
  192.168.123.255  255.255.255.255  192.168.123.100  192.168.123.100      20
        224.0.0.0        240.0.0.0  192.168.123.100  192.168.123.100      20
        224.0.0.0        240.0.0.0    10.198.113.85   10.198.113.85       1
  255.255.255.255  255.255.255.255    10.198.113.85   10.198.113.85       1
  255.255.255.255  255.255.255.255  192.168.123.100  192.168.123.100      1
Default Gateway:     10.198.113.85
===========================================================================
Persistent Routes:
  None


我在CMD下的。
看看帮我怎么弄呢?

这个是IPCONFIG -ALL
Windows IP Configuration

        Host Name . . . . . . . . . . . . : amd-3fda9cb27e1
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter 本地连接 4:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethe
rnet NIC
        Physical Address. . . . . . . . . : 00-0A-EB-14-C0-FB
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 192.168.123.100
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 192.168.123.254
        DHCP Server . . . . . . . . . . . : 192.168.123.254
        DNS Servers . . . . . . . . . . . : 202.202.0.33
                                            202.202.0.34
        Lease Obtained. . . . . . . . . . : 2006年3月24日 21:55:06
        Lease Expires . . . . . . . . . . : 2006年3月31日 21:55:06

PPP adapter BluetoothConnection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : WAN (PPP/SLIP) Interface
        Physical Address. . . . . . . . . : 00-53-45-00-00-00
        Dhcp Enabled. . . . . . . . . . . : No
        IP Address. . . . . . . . . . . . : 10.198.113.85
        Subnet Mask . . . . . . . . . . . : 255.255.255.255
        Default Gateway . . . . . . . . . : 10.198.113.85


我的OS是WINDOWS的。
我的SUSE10.0目前还没调试好(蓝牙部分,拨号联网OK,但是数据传输很少!)
回复 支持 反对

使用道具 举报

发表于 2006-3-25 12:51:13 | 显示全部楼层
route del 0.0.0.0删除缺省路由

route add 你的校园网IP mask 子网掩码 8139的网关
route add 202.202.0.0 mask 255.255.240.0 192.168.123.254 (你校园网的地址用8139访问)
route add 0.0.0.0 mask 0.0.0.0 10.198.113.85

如果你的8139是设置的静态地址的话,那么就只要不设置网关(不用删除缺省路由0.0.0.0)就可以了,但下面这步还是要做的。
route add 202.202.0.0 mask 255.255.240.0 192.168.123.254
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-3-26 18:42:56 | 显示全部楼层
非常感谢!!!!!成功了!!!

非常感谢大家帮忙!

认真学习。

是利用了 ROUTE的跳。指定路由地址是吗?

学习去了。谢谢!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表