Issue with ethernet interface


 
Thread Tools Search this Thread
Operating Systems Linux Issue with ethernet interface
# 1  
Old 02-18-2014
Issue with ethernet interface

hello,
I have a Linux server with two interfaces eth0 and eth1. I configured two IP addresses from two different networks on 2 interfaces, and I connected both interfaces on two different switches.
the IP address of eth0 is responding without problem to ping from equipment of its home network, unfortunately this is not the case for the IP address of eth1. a moment I thought the problem was on the switch, but when I try to connect another device on the same switch port, this device can communicate with others on the same network. LEDs are lit, but impoosible to ping the IP address of eth1.
suddenly I thought to myself that maybe the problem come from the IP configuration on the interface eth1, or within the system that I do not control too.
well, I have to ask you for help to solve this problem.

thank you in advance for any contribution
# 2  
Old 02-18-2014
Can you post the output of iproute2 for both NICs? (or ifconfig)
# 3  
Old 02-18-2014
please find below:
Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr BC:30:5B:DD:74:85  
          inet addr:10.10.136.10  Bcast:10.10.136.63  Mask:255.255.255.192
          inet6 addr: fe80::be30:5bff:fedd:7485/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:958930034 errors:0 dropped:0 overruns:0 frame:0
          TX packets:908460231 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3502945506 (3.2 GiB)  TX bytes:1823145506 (1.6 GiB)
          Interrupt:122 Memory:d6000000-d6012800 

eth2      Link encap:Ethernet  HWaddr BC:30:5B:DD:74:89  
          inet addr:10.6.0.50  Bcast:10.6.0.63  Mask:255.255.255.192
          inet6 addr: fe80::be30:5bff:fedd:7489/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:41045618 errors:0 dropped:0 overruns:0 frame:0
          TX packets:43175495 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1277189174 (1.1 GiB)  TX bytes:3964630437 (3.6 GiB)
          Interrupt:138 Memory:da000000-da012800 

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:305799777 errors:0 dropped:0 overruns:0 frame:0
          TX packets:305799777 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1118219267 (1.0 GiB)  TX bytes:1118219267 (1.0 GiB)

w1g1      Link encap:Point-to-Point Protocol  
          UP POINTOPOINT RUNNING NOARP  MTU:1500  Metric:1
          RX packets:2403556724 errors:0 dropped:0 overruns:360 frame:360
          TX packets:361120954 errors:0 dropped:0 overruns:941 carrier:0
          collisions:0 txqueuelen:100 
          RX bytes:3423030701 (3.1 GiB)  TX bytes:1559940032 (1.4 GiB)
          Interrupt:177 Memory:f90c0000-f90c1fff 
#


Last edited by cerco; 02-18-2014 at 09:55 AM..
# 4  
Old 02-18-2014
Well, there is no eth1. All the other NICs have traffic shown for RX and TX. If you are talking about eth2, have you checked the routing settings or do you ping from the same network?
# 5  
Old 02-18-2014
yes it's eth2, and I ping from the same network (10.6.0.0)
# 6  
Old 02-18-2014
What is the IP of the system you are pinging the server with?
# 7  
Old 02-18-2014
Very basic but missing information: have you correctly set their hostnames in /etc/hosts , that must be different if you dont want serious issues and each interface should have their correct GW set also... or were you just testing using IP which would not change the fact that each Network should have its correct default gateway...
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

C program to detect duplicate ip address if any after assigning ip address to ethernet interface

Hi , Could someone let me know how to detect duplicate ip address after assigning ip address to ethernet interface using c program (3 Replies)
Discussion started by: Gopi Krishna P
3 Replies

2. IP Networking

Channel bonding Issue - Bond0 interface not getting up in on RHEL6

Hello, I am trying to set up Channel Bonding on a RHEL6 Virtual Box VM. I have 2 ethernet cards on the machine which are set up in Internal Network mode. I followed all the steps exactly as mentioned in the RHEL6 deployment Guide, but for some reason i think results are not correct. Here are my... (13 Replies)
Discussion started by: Rohit Bhanot
13 Replies

3. AIX

interface collisions on ethernet nic

Hi, is there any method to check the interface collisions on ethernet NIC in AIX. I know that in Solaris it's netstat -i but I've written that in AIX it doesn't show this. Thanks&regards, p (1 Reply)
Discussion started by: pitmod
1 Replies

4. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

5. Solaris

Sun Solaris ethernet interface

Hi, During the installation of solaris suppose I am configuring one ethernet interface that is primary but on my server there are 4 ethernet interfaces,because all other interface not configured, what is way to find out how many ethernet interfaces are there on Server, (6 Replies)
Discussion started by: manoj.solaris
6 Replies

6. Solaris

Network interface issue

Hi All, I want to configure network into my system. i tried following in to configure the interface to find the name of interface #prtdiag |grep net i got following 0 PCI-1 33 1 network-SUNW, hme then i tried following #prtconf -v |grep net network, instance #0 (6 Replies)
Discussion started by: kumarmani
6 Replies

7. Solaris

Ethernet card drivers issue...

I need to install ethernet card drivers on intel machine. How can i know which Ethernet card interface (sfe,rh,rtls...) is it? How can i know the speed of that card? How can i know network traffic ? If network traffic is more with that interface what should i do? Thanks in advance (2 Replies)
Discussion started by: younus_syed
2 Replies

8. Solaris

Network Interface Issue

Hi all, Here im facing problem with NIC Interface with my X86 Version of Solaris Express, even after loading module for that Interface. So please check this below mentioned log for your use and get back to me ASAP. - - - -- --... (0 Replies)
Discussion started by: baraghun
0 Replies

9. SCO

Issue with a ethernet card

Installed a replacement 3com pci card on an ibm PC 300 GL, running OpenServer 6.0 , brought up system, and recieved this message: Fsstat:/dev/boot mounted Mounted /stand filesystem System auditing is not enabled. Dlpid:Unable to open network adapter driver (/dev/mdi/r8e0) Dlpid:No such... (0 Replies)
Discussion started by: tazmss1
0 Replies

10. Programming

determine if a ethernet interface is up

Howto check if a ethernet interface is up? It's impossible to determine via the ipaddress i have learned, or? Can someone please give me a hint on howto do? Environment == Linux x86 GNU GCC. :D regards Esaia (2 Replies)
Discussion started by: Esaia
2 Replies
Login or Register to Ask a Question