nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Can't ping hostname

This is a discussion on Can't ping hostname within the Networking, Firewalls and Security forums, part of the Mastering Servers category; Hi folks, Machine-1 OpenVZ Ubuntu 8.04 Hardy - Host Ubuntu 8.04 Hardy - Guests Machine-2 Xen Debian Etch - Host ...


Go Back   nixCraft Linux Forum > Mastering Servers > Networking, Firewalls and Security

Linux answers from nixCraft.


Networking, Firewalls and Security No it's not a secret. Talk about firewalls and security issues.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 24-09-2008, 08:51 PM
Senior Member
User
 
Join Date: Sep 2007
OS: Debian
Posts: 112
Thanks: 1
Thanked 0 Times in 0 Posts
Rep Power: 3
satimis is on a distinguished road
Default Can't ping hostname

Hi folks,


Machine-1
OpenVZ
Ubuntu 8.04 Hardy - Host
Ubuntu 8.04 Hardy - Guests


Machine-2
Xen
Debian Etch - Host
Debian Etch - Guests


Both machines together with their guests are working. They can ping and ssh-connect each other on IP. But they can't ping nor ssh connect each and others (both local and remote machines) on hostname. I have been playing around on hosts, hostname, resolv.conf, mailname, etc. for 2 days without a solution. Please help. TIA


B.R.
satimis
Reply With Quote
  #2 (permalink)  
Old 25-09-2008, 12:04 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,710
Thanks: 11
Thanked 245 Times in 184 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

It means your IPS are not portable i.e. you need VLAN routed IPs (if you are using VLAN). Also make sure firewall is configured properly
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Redhat Change Domain Hostname raj CentOS / RHEL / Fedora 1 25-08-2008 08:40 PM
Unable to ping ??? raina_ajeet Linux software 2 24-04-2008 05:39 PM
script to ping + date dendi_rm Shell scripting 3 11-09-2007 10:42 AM
Can't ping to a linux box by its machine name. lacloai Linux software 6 17-05-2007 02:56 AM
set up hostname in ubuntu linux raj Linux software 1 20-12-2006 02:51 PM


All times are GMT +5.5. The time now is 08:25 AM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38