Issue with ethernet interface


 
Thread Tools Search this Thread
Operating Systems Linux Issue with ethernet interface
# 8  
Old 02-18-2014
i'm pinging with the address 10.6.0.33

---------- Post updated at 11:38 AM ---------- Previous update was at 11:26 AM ----------

hi vbe,
sorry but i'm not understanding well what are you saying.
do you think that there is some configurations to do in the file /etc/hosts ? here is the current content of this file:
Code:
#cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1               localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
10.10.136.10    sigserv01
10.6.0.50          sigsrv01
#

also, as the server is in the same network that the machine from which i'm pinging it, is it necessary to check the GW ?

Last edited by cerco; 02-19-2014 at 09:21 AM.. Reason: change quote by code
# 9  
Old 02-18-2014
Can you show us the output from:-
Code:
netstat -rn



Thanks,
Robin

Last edited by rbatte1; 02-18-2014 at 01:10 PM.. Reason: Remove selection, just give us all the output.
# 10  
Old 02-18-2014
Since you are using the IP only there is no need to modify /etc/hosts... Each interface should normally have a default gateway set...
# 11  
Old 02-18-2014
please find the netstat ouput:
Code:
[root@sigsrv01 ~]# netstat -rn
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
10.10.128.49    10.10.136.1     255.255.255.255 UGH       0 0          0 eth0
10.10.135.10    10.10.136.1     255.255.255.255 UGH       0 0          0 eth0
10.6.0.0        0.0.0.0         255.255.255.192 U         0 0          0 eth2
10.10.136.0     0.0.0.0         255.255.255.192 U         0 0          0 eth0
0.0.0.0         10.10.136.2     0.0.0.0         UG        0 0          0 eth0
[root@sigsrv01 ~]#

Moderator's Comments:
Mod Comment Don't mix up quote and code tags!

Last edited by DukeNuke2; 02-18-2014 at 04:54 PM..
# 12  
Old 02-18-2014
You have a mask of 255.255.255.255 on the top two rows, which seems a little odd to me.

So are your subnets:-
  • 10.10.126.0-63 routing via 10.10.136.2 on eth0
  • 10.6.0.0-63.......no routing from eth2
It would suggest that if you should be able to ping addresses 10.6.0.0-63 from your server but not beyond. Is there a route via 10.10.136.2 back across to 10.6..x.x? If not then your eth2 does not know how to respond.

I'm on RHEL 6.3 (you don't say, or I've missed it) but have a look in /etc/sysconfig/network-scripts/ifcfg-eth0 and eth1 if you have them.

Be careful if you make backup copies in the same directory as the process to set them up at boot time will read all files called ifcfg-* We found this out by 'experience', i.e. a big mess that took us a while to work out. Smilie




Robin
# 13  
Old 02-19-2014
hi rbatte1,
if there is an error in my routing table, could you please tell me how can I configure it, so that my server be able to communicate with the other equipments in the same network 10.6.x.x via eth2 ?

PFB
Code:
[root@sigsrv01 ~]# cat /etc/sysconfig/network-scripts/ifcfg-eth2
# Broadcom Corporation NetXtreme II BCM5709 Gigabit Ethernet
DEVICE=eth2
BOOTPROTO=none
HWADDR=BC:30:5B : DD:74:89
ONBOOT=yes
HOTPLUG=no
TYPE=Ethernet
NETMASK=255.255.255.192
IPADDR=10.6.0.50
USERCTL=no
IPV6INIT=no
PEERDNS=yes
[root@sigsrv01 ~]#


Last edited by cerco; 02-19-2014 at 09:22 AM.. Reason: changing quote by code tags
# 14  
Old 02-20-2014
Do you know the gateway address for the 10.6.0.x range? It will have to be between zero and 63 with that netmask.

Have a look at the file ifcfg-eth0 or ifcfg-eth1 and you will see the difference. When you do, add a line in ifcfg-eth2 like this:-
Code:
GATEWAY=10.6.0.gw

.... and restart the ethernet card:-
Code:
ifdown eth2
ifup eth2

As you will notice, this will cut access whilst you do it. Make sure you are connected to either the console, or the other network card.



Robin
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