免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
12
最近访问板块 发新帖
楼主: cgweb
打印 上一主题 下一主题

[网络管理] (原创)由安装两块网卡的linux系统中引起网络不通想到的。 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2004-04-26 16:27 |只看该作者

(原创)由安装两块网卡的linux系统中引起网络不通想到的。

cgweb你好,我试过好多方法都不能上网,且我对路由表了解不深,不知你能否
帮我解决这个问题无.在局域网内无DHCP server ,主机不在这,所以不知他是否
用代理上网的,我的是win2003系统,上装了vnware-redhat9.0.未改动之前,
能ping通所有网内的机,和网关,但是始终,ping不了www.sina.com等等.听了坛中的方法,先在2003的系统上,打开共享了一块Vmnet8,此时vmnet8的IP,从原
来的192.168.32.1变成了192.168.0.1,接着我在vmware-redhat里把IP改为
192.168.0.2,网关就用了192.168.0.1,现在就ping不通其它了.怎么样才使它
能上网呢??????

论坛徽章:
0
12 [报告]
发表于 2004-04-26 16:42 |只看该作者

(原创)由安装两块网卡的linux系统中引起网络不通想到的。

Microsoft Windows [版本 5.2.3790]
(C) 版权所有 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>;cd\

C:\>;ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : ok
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Unknown
   IP Routing Enabled. . . . . . . . : Yes
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
8
   Physical Address. . . . . . . . . : 00-50-56-C0-00-08
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 192.168.0.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
1
   Physical Address. . . . . . . . . : 00-50-56-C0-00-01
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 192.168.219.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter 本地连接:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet
NIC
   Physical Address. . . . . . . . . : 00-0A-EB-13-41-D2
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 192.168.1.14
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.2
   DNS Servers . . . . . . . . . . . : 202.96.128.68
                                       61.144.56.101

C:\>;

论坛徽章:
0
13 [报告]
发表于 2004-04-26 16:43 |只看该作者

(原创)由安装两块网卡的linux系统中引起网络不通想到的。

Microsoft Windows [版本 5.2.3790]
(C) 版权所有 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator>;cd\

C:\>;ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : ok
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Unknown
   IP Routing Enabled. . . . . . . . : Yes
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter VMware Network Adapter VMnet8:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
8
   Physical Address. . . . . . . . . : 00-50-56-C0-00-08
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 192.168.0.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter VMware Network Adapter VMnet1:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet
1
   Physical Address. . . . . . . . . : 00-50-56-C0-00-01
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 192.168.219.1
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . :

Ethernet adapter 本地连接:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Realtek RTL8139 Family PCI Fast Ethernet
NIC
   Physical Address. . . . . . . . . : 00-0A-EB-13-41-D2
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 192.168.1.14
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.2
   DNS Servers . . . . . . . . . . . : 202.96.128.68
                                       61.144.56.101

C:\>;

论坛徽章:
0
14 [报告]
发表于 2004-04-26 16:59 |只看该作者

(原创)由安装两块网卡的linux系统中引起网络不通想到的。

C:\>;route print

IPv4 Route Table
===========================================================================
Interface List
0x1 ........................... MS TCP Loopback interface
0x2 ...00 50 56 c0 00 08 ...... VMware Virtual Ethernet Adapter for VMnet8
0x3 ...00 50 56 c0 00 01 ...... VMware Virtual Ethernet Adapter for VMnet1
0x10005 ...00 0a eb 13 41 d2 ...... Realtek RTL8139 Family PCI Fast Ethernet NIC

===========================================================================
===========================================================================
Active Routes:
Network Destination        Netmask          Gateway       Interface  Metric
          0.0.0.0          0.0.0.0      192.168.1.2     192.168.1.14     20
        127.0.0.0        255.0.0.0        127.0.0.1        127.0.0.1      1
      192.168.0.0    255.255.255.0      192.168.0.1      192.168.0.1     20
      192.168.0.1  255.255.255.255        127.0.0.1        127.0.0.1     20
    192.168.0.255  255.255.255.255      192.168.0.1      192.168.0.1     20
      192.168.1.0    255.255.255.0     192.168.1.14     192.168.1.14     20
     192.168.1.14  255.255.255.255        127.0.0.1        127.0.0.1     20
    192.168.1.255  255.255.255.255     192.168.1.14     192.168.1.14     20
    192.168.219.0    255.255.255.0    192.168.219.1    192.168.219.1     20
    192.168.219.1  255.255.255.255        127.0.0.1        127.0.0.1     20
  192.168.219.255  255.255.255.255    192.168.219.1    192.168.219.1     20
        224.0.0.0        240.0.0.0      192.168.0.1      192.168.0.1     20
        224.0.0.0        240.0.0.0     192.168.1.14     192.168.1.14     20
        224.0.0.0        240.0.0.0    192.168.219.1    192.168.219.1     20
  255.255.255.255  255.255.255.255      192.168.0.1      192.168.0.1      1
  255.255.255.255  255.255.255.255     192.168.1.14     192.168.1.14      1
  255.255.255.255  255.255.255.255    192.168.219.1    192.168.219.1      1
Default Gateway:       192.168.1.2
===========================================================================
Persistent Routes:

论坛徽章:
0
15 [报告]
发表于 2004-04-26 17:51 |只看该作者

(原创)由安装两块网卡的linux系统中引起网络不通想到的。

收了 收了 洗干净 送我附上 哈哈哈  写的太好了
linux真是博大精神啊

论坛徽章:
0
16 [报告]
发表于 2004-04-26 19:22 |只看该作者

(原创)由安装两块网卡的linux系统中引起网络不通想到的。

太好了,我要仔细学学哟谢谢

论坛徽章:
0
17 [报告]
发表于 2004-04-27 21:58 |只看该作者

(原创)由安装两块网卡的linux系统中引起网络不通想到的。

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

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP