LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-02-2013, 04:56 PM   #1
msessom
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Rep: Reputation: Disabled
Unable to ping gateway & other Linux boxes on same network


I have a few Linux boxes set up on a 10.45.89.x subnet with the gateway being 10.45.89.1. On all of these, I'm unable to ping anything except 127.0.0.1. I'm wondering if I need to modify any of the routing tables or hosts file.

netstat -r output:
Code:
10.45.89.0   *   255.255.255.0    U
10.112.0.0    *    255.255.0.0    U
169.254.0.0    *    255.255.0.0    U
default    10.45.89.1    0.0.0.0    UG
/etc/hosts
Code:
127.0.0.1 localhost.localdomain  localhost
127.0.0.1 localhost.localdomain  localhost
9.37.253.154 rpt.rhn.linux.ul.com
/etc/resolv.conf
Code:
domain demolotus.com
namserver 127.0.0.1
/etc/sysconfig/network
Code:
NETWORKING=yes
NETWORKING_IPV6=no
HOSTNAME=st852.demolotus.com

ip route show dev eth0
Code:
10.45.89.0/24  proto  kernel  scope  link  src  10.45.89.138
default via 10.45.89.1
ifconfig
Code:
eth0    Link encap:Ethernet  HWaddr 00:0C:29:01:28:CD
inet addr:10.45.89.138  Bcast:10.45.89.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1



eth0:0 Link encap:Ethernet HWaddr 00:0C:29:01:28:CD
inet addr:10.45.89.139  Bcast:10.45.89.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
ip addr show dev eth0
Code:
2: etho0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
link/ether 00:0c:29:01:28:cd brd ff:ff:ff:ff:ff:ff
inet 10.45.89.138/24 brd 10.45.89.255 scope global eth0
inet 10.45.89.139/24 brd 10.45.89.255 scope global secondary eth0:0

Any suggestions are appreciated. Thanks!

Last edited by msessom; 01-02-2013 at 06:03 PM. Reason: typo
 
Old 01-02-2013, 05:17 PM   #2
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
Judging by your ifconfig; you have two interfaces with the same IP address.
 
Old 01-02-2013, 06:05 PM   #3
msessom
LQ Newbie
 
Registered: Jan 2013
Posts: 2

Original Poster
Rep: Reputation: Disabled
Sorry, that was a typo. eth0 is .138 and eth0:0 is .139. I've updated my question.

Quote:
Originally Posted by custangro View Post
Judging by your ifconfig; you have two interfaces with the same IP address.
 
  


Reply



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
Unable to ping Default Gateway in Suse Linux 11.2 rajaniyer123 Linux - Networking 1 01-08-2009 02:18 AM
Unable to ping the gateway Setya Linux - Networking 5 08-06-2007 01:16 AM
2 linux boxes unable to ping each other in a network lqsukumar Linux - Networking 4 07-21-2005 05:36 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
RH Linux 7.2 unable to ping to gateway AtulGore Linux - Networking 6 03-15-2002 04:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:27 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
Open Source Consulting | Domain Registration