免费注册 查看新帖 |

Chinaunix

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

请教:为什么我一激活第二块网卡,就都ping不通了 [复制链接]

论坛徽章:
0
11 [报告]
发表于 2004-07-15 12:47 |只看该作者

请教:为什么我一激活第二块网卡,就都ping不通了

[quote]原帖由 "bigbigbig"]man route[/quote 发表:


能不能举个具体的例子,理解一下

论坛徽章:
0
12 [报告]
发表于 2004-07-15 13:42 |只看该作者

请教:为什么我一激活第二块网卡,就都ping不通了

这个论坛里面有一篇修改路由,网关的贴子,你找一下吧,写的挺好的,你参考一下吧.就在linux档里面.

论坛徽章:
0
13 [报告]
发表于 2004-07-15 13:58 |只看该作者

请教:为什么我一激活第二块网卡,就都ping不通了

看楼主的描述网卡装的有问题啊,应该把两快网卡都重装一下,工作正常了,在考虑其他的

论坛徽章:
0
14 [报告]
发表于 2004-07-15 14:41 |只看该作者

请教:为什么我一激活第二块网卡,就都ping不通了

[quote]原帖由 "llzqq"]看楼主的描述网卡装的有问题啊,应该把两快网卡都重装一下,工作正常了,在考虑其他的[/quote 发表:


内部的网络都可以访问到,工作都正常,九十外部的电脑,找不到我的电脑。估计可能是路有没有设置正确,举个例子呗,帮帮忙

论坛徽章:
0
15 [报告]
发表于 2004-07-15 14:41 |只看该作者

请教:为什么我一激活第二块网卡,就都ping不通了

[quote]原帖由 "llzqq"]看楼主的描述网卡装的有问题啊,应该把两快网卡都重装一下,工作正常了,在考虑其他的[/quote 发表:


内部的网络都可以访问到,工作都正常,就是外部的电脑,找不到我的电脑。估计可能是路有没有设置正确,举个例子呗,帮帮忙

论坛徽章:
0
16 [报告]
发表于 2004-07-15 15:46 |只看该作者

请教:为什么我一激活第二块网卡,就都ping不通了

原帖由 "caoyang23"]yang root 发表:
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:E1:31:BE
          inet addr:218.27.88.218  Bcast:218.27.88.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU..........


你公网ip的子网掩码 255.255.255.0 是正确的么?

论坛徽章:
0
17 [报告]
发表于 2004-07-15 16:49 |只看该作者

请教:为什么我一激活第二块网卡,就都ping不通了

问题解决了,我把iptables停了,具体情况还在看呢,呵呵

论坛徽章:
0
18 [报告]
发表于 2004-07-15 17:38 |只看该作者

请教:为什么我一激活第二块网卡,就都ping不通了

Try:

1. if cards are in different types, very simple. suppose the original one has a type intel pro 100 ( this is the case for most of intel mother board with NIC integrated), and the second one is 3com somthing.

edit /etc/modules.conf ( for kernel 2.4.x) or /etc/modprobe.conf (for kernel 2.6.x)

add (or change) two lines:

alias 3c59x eth1
alias e100 eth0

where 3c59x and e100 are drivers for two cards.

2. case two: cards have the same type.

try to find which is which first, then set up network parameter accordingly. for example, if eth0 becomes eth1, you have to configure eth1 with eth0 parameters.

Remember don't change network cable, it would only confuse you, and eth0 and eth1 is just the name which can be changed to whatever you want.

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

请教:为什么我一激活第二块网卡,就都ping不通了

iptables?
自己找了下···
http://www-900.ibm.com/developerWorks/cn/linux/network/s-netip/index.shtml
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

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

清除 Cookies - ChinaUnix - Archiver - WAP - TOP