When bring two interface cards, one of interface card's internet connection is lost, they are not working together
Hello everyone, I have two interface cards. First (eth0) is MosChip Semiconductor MCS7830(external USB ) , other one is Qualcomm Atheros AR8151 (internal). I have configured my interface cards correctly I think. For instance, eth0 is working. When I bring up eth1 ,one of NIC's internet connection is losing. Network Manager is disabled and I have deleted gateway from eth0. I have two router modems which are TP-LINK TD-W8951ND ,another one is DLINK 2640U. I took my configuration file is related to this is below:
cat /etc/sysconfig/network-scripts/ifcfg-eth0 DEVICE=eth0 TYPE=Ethernet UUID=9ed309dd-4f2b-4d92-aad6-835be6fd736f ONBOOT=no NM_CONTROLLED=no BOOTPROTO=none HWADDR=00:60:6e:00:01:dd PREFIX=24 DNS1=8.8.8.8 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME="System eth0" USERCTL=no IPADDR=192.168.1.101 NETMASK=255.255.255.0 GATEWAY=192.168.1.1 cat /etc/sysconfig/network-scripts/ifcfg-eth1 DEVICE=eth1 TYPE=Ethernet UUID=5aebfb10-8c4e-4a77-8352-61e19869d39e ONBOOT=no NM_CONTROLLED=no BOOTPROTO=none IPADDR=192.168.1.102 PREFIX=24 GATEWAY=192.168.1.1 DNS1=8.8.8.8 DEFROUTE=yes IPV4_FAILURE_FATAL=yes IPV6INIT=no NAME="System eth1" HWADDR=c8:0a:a9:3a:9f:4b NETMASK=255.255.255.0 USERCTL=no And this is my routing table: [root@saytusta network-scripts]# ip route show 192.168.1.0/24 dev eth1 proto kernel scope link src 192.168.1.102 192.168.1.0/24 dev eth0 proto kernel scope link src 192.168.1.101 169.254.0.0/16 dev eth1 scope link metric 1002 169.254.0.0/16 dev eth0 scope link metric 1004 default via 192.168.1.1 dev eth1 I notice that each network card working properly , when another network card is bringed down. Please help me as soon as you , It is urgent ! |
How do you determine eth0 is not working when you bring up eth1? Also what is the status of eth0?
Quote:
ping -I eth0 <gateway> Do you see any errors related to ethernet cards in /var/log/messages? |
Quote:
2. This is status of both NICs: Code:
# ethtool eth0 Code:
# ethtool eth1 PING 192.168.1.1 (192.168.1.1) from 192.168.1.4 eth0: 56(84) bytes of data. 64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.40 ms 64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=0.906 ms 64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=0.892 ms 64 bytes from 192.168.1.1: icmp_seq=4 ttl=64 time=0.897 ms 4. Attached file is my /var/log/messages So it means , i configured each NIC, when another turned off, another is working properly but when i bring together they are not working |
When the first card is up, do you manually try to bring up the second card?
Both of your cards are set to not turn on on boot. Try setting onboot to yes for both. Also, bootproto has to be static if you are setting IP address by yourself. |
All times are GMT -5. The time now is 01:56 PM. |