Results 1 to 3 of 3

Thread: Can't ping machines on local network

  1. #1

    Can't ping machines on local network

    I have a cable modem and a router/4-port switch. My ISP requires that I set up the network via DHCP; the router/switch acts as a DHCP server. I have a SuSE 9.2 machine and 2 Windows machines (XP and 2000) connected to the switch. From my Windows boxes I can ping all machines by hostname, but from my Linux box I can only ping the Windows boxes by IP address -- not by hostname.

    SuSE is acting as a Samba server/WINS server. Samba knows all of the NETBIOS hostnames (wbinfo, nmblookup), but the ping (and arp) commands just report unknown host when pinging a Windows HOSTNAME. If Linux pings itself by hostname, it works but reports the address as

    Since I'm using DHCP, I can't really use the hosts file to set static addresses. Can anyone tell me how to get Samba or DHCP to share its knowledge with arp? Thanks.

  2. #2
    Senior Member
    Join Date
    May 2004


    Dear ForteSystems,

    Try to add Local Ip address in your linux box

    # ifconfig eth0

    Best Regards.
    Frrkh hmd

  3. #3
    Administrator Moderator
    starfish's Avatar
    Join Date
    Apr 2004
    What is the DHCP range the router is providing to your home network?

    I think you can get around the problem by assigning your Samba server a permanent IP address outside this range like LinuxFreak says. Servers should always have fixed IP, not DHCP, addresses.

    Once you have done that, then you can edit the hosts file without worrying about it getting overwritten.

Similar Threads

  1. Can't ping hosts across wireless network
    By limeyjeff in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 01-04-2010, 02:00 AM
  2. how to setup Home Network using 3 linux machines
    By deepbluegene in forum Windows - General Topics
    Replies: 3
    Last Post: 07-09-2007, 02:04 AM
  3. Simple question about command syntax ping/log ping results
    By ohalnet in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 07-26-2006, 05:12 PM
  4. Pulling My Hair Out... Can Surf The Net,but Not Ping Network Or Router
    By vwgtiturbo in forum Linux - Hardware, Networking & Security
    Replies: 9
    Last Post: 04-16-2006, 07:07 AM
  5. 2 PC network / ping ok-ssh not [SOLVED]
    By Trio3b in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 10-23-2005, 04:14 PM


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts