Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-28-2009, 07:07 PM   #1
LQ Newbie
Registered: Nov 2008
Posts: 19

Rep: Reputation: 0
Can't ping virtul IP address from outside when I set up heartbeat

I recently installed heartbeat on Redhat, after I started the heartbeat service, it bring on all services I defined in haresware, the content in this file like node1 httpd sendmail dhcpd. After I started heartbeat, I saw the IP address for eth0:0 is The IP address for eth0 is, I can ping from outsite, but I cann't ping from outsite. Default gw for this machine is, maybe I need specify the netmask and broadcast on resource file more detail like, because I assign the to the eth0. Is this correct?
Old 02-03-2009, 07:08 PM   #2
LQ Newbie
Registered: Feb 2008
Posts: 10

Rep: Reputation: 0

I am not familiar with the heartbeat service. I do not know why you would want to ping both the physical and virtual adapters externally if on the same subnet. Is that what you want here?

I would suggest you try the following.

1. Confirm if you can ping from the outside with heartbeat stopped.

service heatbeat stop
(remote) ping again

2. Check that IPTables is not getting in the way. The rules may need to be changed for the VLAN. The "Masquerade" rule particularly is common and comes straight to mind here.

service iptables stop

3. I have played with two DSL connections, before and found scenarios where a ping packet comes in one interface, and goes out the other one. (A routing issue)

A good thing to do here is use tcpdump. Use it on your PC that does not reply, and see if you are getting the requests. You may find that eth0 has the request, and eth0:0 has the reply. (or vice versa)

tcpdump -i eth0

If this is the problem, you may need to play with your routing rules.

If you are still confused, use a 3rd PC to monitor the LAN. Use a dumb hub if you can get one.

If things are still not working, post some replies from tcpdump.

Last edited by prolfe; 02-03-2009 at 07:18 PM. Reason: pressed wong button. not ready to submit


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
LXer: Set Up A High-Availability Load Balancer With Perlbal/Heartbeat On Debian Etch LXer Syndicated Linux News 0 01-13-2009 05:10 PM
can't ping local IP address but can ping remote hosts rob_xx17 Linux - Networking 4 12-02-2006 09:39 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 05:57 AM
Can ping network but can't ping any internet ip when I hard set the ip Streme Linux - Wireless Networking 4 04-13-2004 10:18 AM
Can someone help me set up drbd and heartbeat? Gem Linux - Networking 5 03-18-2004 02:09 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:59 AM.

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