|
问题阐述
1、网线连接正确,并且可以互通。
2、配置ifcfg-eth0 ifcfg-eth1
DEVICE=eth0(eth1)
ONBOOT=yes
BOOTPROTO=static
IPADDR=111.111.111.219(192.168.15.219)
NETMASK=255.255.255.0
GATEWAY=111.111.111.1(192.168.15.254)
3.重启 service network restart
4.ifconfig
eth0
RX bytes:5114045 (4.8 MiB) TX bytes:262788 (256.6 KiB)
Interrupt:185
eth1 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interrupt:193
我不明白为什么配置都对,eth1,就没有流量,我现在解决方案是,硬件上做交换,然后交换eth0和eth1方式
如何能让两块网卡都能用? |
|