由 vion800 在 06-23-2003 13:47 发表:
网卡问题!
大家好,事情是这样的.............
我的系统是redhat9.0.这几天由于需要,我买了一张tp-link的网卡安装下去,系统已经认识到了,可是......怪事来了..我设置好ip地址后..ping自己系统的2个网卡,正常.ping网内的其他电脑,一张网卡显示正常,一张ping不通了.我以为是硬件地址冲突,就ifconfig看了一下,没有冲突.
我想了很久,还是想不通!!!!!!!!
请大家帮帮我.
由 oyzjin 在 06-24-2003 10:16 发表:
内网信息和ifconfig都贴出来
k7_550 asus_kx133 win98 winnt
c433 810 redhat9.01 23G_scsi128m
由 perry 在 06-24-2003 10:44 发表:
如何设置那些网卡的信息啊
如:ip gateway dns等
————————————我爱青华
由 欧可侠 在 06-24-2003 12:06 发表:
> quote:
>
> * * *
>
> 最初由 perry 发表
>
> **如何设置那些网卡的信息啊
>
> 如:ip gateway dns等 **
>
> * * *
编辑这个文件: /etc/sysconfig/network-scripts/ifcfg-eth0
device=eth0
onboot=yes
bootproto=static
ipaddr=192.168.0.2
netmask=255.255.255.0
gateway=192.168.0.1
以上信息需要根据自己的情况而定。
由 vion800 在 06-24-2003 13:55 发表:
/etc/sysconfig/network-scripts/ifcfg-eth0
/etc/sysconfig/network-scripts/ifcfg-eth1
我都编辑了,/etc/init.d/network restart
我都试过了,显示ok
device=eth0
onboot=yes
bootproto=static
ipaddr=192.168.0.2
netmask=255.255.255.0
gateway=192.168.0.1
这个是eth0的
device=eth1
onboot=yes
bootproto=static
ipaddr=192.168.0.3
netmask=255.255.255.0
gateway=192.168.0.1
由 欧可侠 在 06-24-2003 14:02 发表:
> quote:
>
> * * *
>
> 最初由 vion800 发表
>
> **/etc/sysconfig/network-scripts/ifcfg-eth0
>
> /etc/sysconfig/network-scripts/ifcfg-eth1
>
> 我都编辑了,/etc/init.d/network restart
>
> 我都试过了,显示ok
>
> device=eth0
>
> onboot=yes
>
> bootproto=static
>
> ipaddr=192.168.0.2
>
> netmask=255.255.255.0
>
> gateway=192.168.0.1
>
> 这个是eth0的
>
> device=eth1
>
> onboot=yes
>
> bootproto=static
>
> ipaddr=192.168.0.3
>
> netmask=255.255.255.0
>
> gateway=192.168.0.1 **
>
> * * *
那就没问题了吧。
由 vion800 在 06-24-2003 14:05 发表:
可是就是ping不通!
我的意思是说,2个网卡就可以ping一个!
由 stanlogin 在 06-24-2003 18:54 发表:
没大看懂……
是不是网内的其它电脑PING你的IP,只能PING通一个?
大概是线路连接问题~
_____>小刀
由 vion800 在 06-25-2003 00:35 发表:
对的,网内的电脑只能ping通我的一个网卡
另外一个就是ping不通
我的2个网卡都是同一型号,同一牌子的
我用ifconfig看了,io地址