Re: setting host name for dhcp

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Brad might have said:
>> try (as root) system-config-network
>> I believe under the DNS tab you should be able to set the hostname


On Wed, 2006-08-23 at 20:33 +0000, Kahn Seidl wrote:
> I've already done this, yet my machine remains unpingable from 
> $HOSTNAME.whatever.whatever.com

This would probably be because the DHCP server assigning you an IP
address doesn't take your preferred hostname and add it to a DNS server
that your machine is querying, or you're not querying the right DNS
server.

> and hostname -f returns the right hostname.

That's because you've asked the machine what it thinks its own name is,
and it responded by itself.

For what you want to work, several things have to happen:

      * Your PC asks the DHCP server to give it an IP address, and it
        also requests to use a specific hostname.
      * The DHCP server has to accept that hostname and add it to a DNS
        server, it should also tell your PC to use *that* DNS server.
      * Your PC should accept the IP address, as well as use the DNS
        server addresses supplied by the DHCP server, and no other ones
        (they won't resolve your local addresses).

Since you've mentioned you're on your work's network, you mayn't be able
to change the way their DHCP and DNS servers work.  Though it could be
that they're already set up to work that way, and you're just not
talking to their DHCP server in the way it expects.

You might want to show us your dhclient.conf file, as well as give us
examples of what addresses the DHCP server sets your PC up as.

-- 
(Currently running FC4, occasionally trying FC5.)

Don't send private replies to my address, the mailbox is ignored.
I read messages from the public lists.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux