由 小菜刀 在 10-27-2004 16:01 发表:
双网卡问题?烦我好久了!!!
我有两台机子a和b。a上装有xp和fc2,并装双网卡。b机上系统是rh9,只装一网卡直接与a机相连。若a机上只装其中任一网卡时都可正常与b机互连;但在a机是同时装上两个网卡后问题就出现了:插在里面ide糟上(相对于另外那个网卡)的那个网卡可正常与b机互连,这时把网线换插在外面点的那个网卡上,就不能与b机正常互连了,我把a机上的两个网卡互换后问题还是一样的,还是里面点的那个网卡可正常连接,外面的那个还是不行的。
但在xp系统上一切都是正常的。
那位高人能帮在下解决这个问题,那真是感激不尽!!!
由 小菜刀 在 10-28-2004 02:29 发表:
自己再顶一下。
由 orphen 在 10-28-2004 03:04 发表:
ide糟???
应该是pci槽吧?
我看应该是route的问题,linux通过网卡不同的位置识别为eth0和eth1
在你的路由表里,应该有default路由,使用#route列一下。
2.6.9-nitro3+KDE3.3.1+ReiserFS+Reiser4+xorg-x11-6.8.1
AMD Athlon-TBird 1.2G
SamSung DDR266 512MB
ST 5400 40GB
ATI Radeon LE
ADSL 512K
由 memory 在 10-28-2004 08:34 发表:
首先确认是否已经识别出第二块网卡:
ifconfig -a
由 小菜刀 在 10-29-2004 00:32 发表:
#route后的是这样的:
[root@localhost root]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.0.0.0 * 255.255.255.0 U 0 0 0 eth1
192.168.10.0 * 255.255.255.0 U 0 0 0 eth0
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 192.168.10.200 0.0.0.0 UG 0 0 0 eth0
由 小菜刀 在 10-29-2004 00:34 发表:
[root@localhost root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:0A:EB:07:78:5E
inet addr:192.168.10.111 Bcast:192.168.10.255 Mask:255.255.255.0
inet6 addr: fe80::20a:ebff:fe07:785e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:366 errors:0 dropped:0 overruns:0 frame:0
TX packets:2604 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:203503 (198.7 Kb) TX bytes:176857 (172.7 Kb)
Interrupt:11 Base address:0xc000
eth1 Link encap:Ethernet HWaddr 00:50:BF:62:4B:60
inet addr:10.0.0.1 Bcast:10.0.0.255 Mask:255.255.255.0
inet6 addr: fe80::250:bfff:fe62:4b60/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1776 errors:0 dropped:0 overruns:0 frame:0
TX packets:1709 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:109416 (106.8 Kb) TX bytes:103748 (101.3 Kb)
Interrupt:5 Base address:0xc400
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2627 errors:0 dropped:0 overruns:0 frame:0