LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 03-26-2013, 11:45 AM   #1
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Rep: Reputation: 0
networking issue


I have two computers Comp A and Comp B
Comp A has CentOS 5.5 (64 bit)
and Comp B has openfiler 2.999.1 (64 bit)

I am comparing the values of /etc/sysconfig/network-scripts/ifcfg-eth0 in both machines
values are listed below



comp A
======

# nVidia Corporation MCP61 Ethernet
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:141:26:0F:6E
ONBOOT=yes
DHCP_HOSTNAME=racnode2
TYPE=Ethernet
USERCTL=no
IPV6INIT=no
PEERDNS=yes
IPADDR=192.168.1.152
NETMASK=255.255.255.0
GATEWAY=192.168.1.1

Comp B
======
# Realtek Semiconductor Co., Ltd. RTL8101E/RTL8102E PCI Express Fast Ethernet controller
DEVICE=eth0
BOOTPROTO=none
HWADDR=00:24:E8:13:6F:EB
IPADDR=192.168.1.195
NETMASK=255.255.255.0
GATEWAY=192.168.1.1
ONBOOT=yes
IPV6INIT=no
PEERDNS=yes
DHCP_HOSTNAME=openfiler1
TYPE=Ethernet
USERCTL=no


For some reason unknown to me
Comp A is able to ping www.yahoo.com
and Comp B is unable to ping www.yahoo.com


I am able to ping Comp A from Comp B and vice versa


Please help
 
Old 03-26-2013, 11:47 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Well the config looks OK, but that's not really veryuseufl compared to the actual running state. post the output of "ifconfig -a" and "route -n"

Are both interfaces actually up? Can you ping each other? Do you have DNS servers configured?
 
Old 03-26-2013, 11:49 AM   #3
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 2,166

Rep: Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751Reputation: 751
Check that Comp B can resolve www.yahoo.com, if not then check your resolver settings.
 
Old 03-26-2013, 11:54 AM   #4
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Also mention what error message you're getting while pinging yahoo from Comp B?
Code:
openfiler1~# ping www.yahoo.com
 
Old 03-26-2013, 01:06 PM   #5
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
working now

Some other website helped me

The file resolv.conf on COMP A had the entry
nameserver <Gateway ip address >

create a same file on COMP B with the same entry

and Comp B also started pinging (resolving the names to ip addresses)
for www.google.com and www.yahoo.com etc etc

So - Issue is now resolved
 
Old 03-26-2013, 01:26 PM   #6
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
Good, then please Mark the thread as solved (option is under Thread Tools on top menu), if you think it has so.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Networking issue rupeshm62 Linux - Networking 1 01-07-2013 08:34 AM
[SOLVED] networking issue tahaz Linux - Newbie 1 08-27-2012 01:47 AM
SuSE10.2 networking issue Inter. connect. issue LVSuSE Linux - Networking 3 08-31-2007 03:42 AM
Networking issue legacyboy Mandriva 0 06-08-2006 02:11 PM
networking issue illkunundrum Linux - Newbie 1 09-28-2003 12:14 AM


All times are GMT -5. The time now is 04:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration