|
系统:RedHat AS3
Kernel:2.4.21-20.ELsmp
网卡 ETH0 配置:
DEVICE=eth0
BOOTPROTO=none
BROADCAST=192.168.100.255
HWADDR=00:14:5E:2A:39:46
IPADDR=192.168.100.9
NETMASK=255.255.255.0
NETWORK=192.168.100.0
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
GATEWAY=192.168.100.1
网卡 ETH1 配置:
DEVICE=eth1
BOOTPROTO=none
HWADDR=00:14:5e:2a:39:47
IPADDR=192.168.50.12
NETMASK=255.255.255.0
NETWORK=192.168.50.0
BROADCAST=192.168.50.255
ONBOOT=yes
TYPE=Ethernet
USERCTL=no
PEERDNS=yes
TYPE=Ethernet
GATEWAY=192.168.50.1
route 如下:
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.0 * 255.255.255.0 U 0 0 0 eth0
192.168.50.0 * 255.255.255.0 U 0 0 0 eth1
169.254.0.0 * 255.255.0.0 U 0 0 0 eth1
default 192.168.100.1 0.0.0.0 UG 0 0 0 eth0
现在发现ping不到192.168.50.0网段上的主机,网卡ETH1上的流量是0,
命令tracepath输出如下:
[root@MCC root]# tracepath 192.168.50.1
1: 192.168.50.12 (192.168.50.12) 0.200ms pmtu 1500
1: 192.168.50.12 (192.168.50.12) 2991.477ms !H
Resume: pmtu 1500
命令ifconfig -a 输出如下:
[root@MCC root]# ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:14:5E:2A:39:46
inet addr:192.168.100.9 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:214702 errors:0 dropped:0 overruns:0 frame:0
TX packets:273452 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:23938328 (22.8 Mb) TX bytes:34908241 (33.2 Mb)
Interrupt:16
eth1 Link encap:Ethernet HWaddr 00:14:5E:2A:39:47
inet addr:192.168.50.12 Bcast:192.168.50.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:16
lo Link encapocal Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:4144859 errors:0 dropped:0 overruns:0 frame:0
TX packets:4144859 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:541716507 (516.6 Mb) TX bytes:541716507 (516.6 Mb)
问题:双网卡感觉是只有一个启用了,另一个没有使用,哪位大侠遇到过这种问题,请指教。
谢谢~~~
在线等。。。 |
|