On 18 Nov 2003 15:44:51 -0800, Lee Farrant <(E-Mail Removed)> wrote:
> I have been trying to configure RedHat 7.2 as a DHCP client to collect
> an IP address from a Windows DHCP server at work. I must be nearly
> done because my linux box can see other services on the network and
> the primary and secondary ip addresses got populated automatically. I
> can also get on the Internet.
What do you mean collect? Are you using dhcpcd or pump? If you get
nameservers automatically and can communicate on the network, what does
'ifconfig' show for your IP (and 'route -n' for routing)?
> The only thing I cannot do is make my Linux client collect an IP
> address. My firewall is now switched off to rule that out.
>
> In my hosts file I have
Wrong file (see: man hosts).
> order bind, hosts
>
> so it tries to collect the IP address then use the hosts file.
Not sure why you would want to do that. The usual "order hosts, bind"
(which I always use for static or dynamic IP) in /etc/host.conf allows me
to override DNS with /etc/hosts entries.
If bind was first it would screw me up because my box has a public
hostname which points to a public IP, and that IP is sometimes not
connected, or not on my box (if behind NAT). So I use hosts first for
/etc/hosts to point my hostname to an IP on my box so my box can find
itself (the public can still find me through DNS).
--
David Efflandt - All spam ignored
http://www.de-srv.com/