Quote:
Originally Posted by linuxtech99
How do you determine eth0 is not working when you bring up eth1? Also what is the status of eth0?
Were you able to ping the gateway when eth0 down?
ping -I eth0 <gateway>
Do you see any errors related to ethernet cards in /var/log/messages?
|
1. Because i got static ip for each interface card, and i port forwared to this local ip from my public ip adress. WHen eth1 down, eth0 local ip and public ip works normally. Also eth1. when eth0 down, eth1 is working properly, i can ping from outside server. But when they are bringed up , one of them can not ping from outside or internet connection is losing.
2. This is status of both NICs:
Code:
# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
1000baseT/Half 1000baseT/Full
Advertised pause frame use: Symmetric
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 1
Transceiver: internal
Auto-negotiation: on
MDI-X: off
Supports Wake-on: g
Wake-on: g
Current message level: 0x000000ff (255)
drv probe link timer ifdown ifup rx_err tx_err
Link detected: yes
Code:
# ethtool eth1
Settings for eth1:
Supported ports: [ TP MII ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supported pause frame use: No
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised pause frame use: No
Advertised auto-negotiation: Yes
Link partner advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Link partner advertised pause frame use: Symmetric
Link partner advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: MII
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Current message level: 0x00000001 (1)
drv
Link detected: yes
3.# ping -I eth0 192.168.1.1
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