Linux host name visible to Windows boxes

Discussion in 'Linux Networking' started by Gary N., Jul 2, 2003.

  1. Gary N.

    Gary N. Guest

    Hi -

    I setup a Linux box on an NT network. I am able to obtain an IP address
    using dhcp and I can ping/dig systems on our network and outside our
    firewall. Systems on our network can ping the Linux box using its IP
    address. However, the same systems can not use the Linux box's host name
    (defined in /etc/host).

    What else do I need to set in order for other systems to find the Linux
    system using its host name instead of just the IP address? It 'feels' like
    I need to let the dhcp server know my host name when I ask for an IP
    address.

    Thanks for the help!

    Gary
     
    Gary N., Jul 2, 2003
    #1
    1. Advertisements

  2. Gary N.

    Gary N. Guest

    Got it.

    I put the line

    send host-name "my-host-name";

    in the file /etc/declined.conf





    Gary N. wrote in message news:bdt6qv$or4$...
     
    Gary N., Jul 2, 2003
    #2
    1. Advertisements

  3. Gary,

    More info.

    What is your dhcp client software on Linux? Is it dhcpcd, pump,
    dhclient or other?

    For instance, in dhcpcd you might have to add the "-h hostname"
    switch. If it is dhclient, look at man dhclient.conf. I think "send
    host-name hostname" is what you might be looking for.

    Rich Piotrowski

    To reply via E-Mail use rpiotro(at)wi(dot)rr(dot)com
     
    Rich Piotrowski, Jul 2, 2003
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.