On Sat, 8 Jul 2000, Phr0zen Ice wrote:
> In linux: I setup networking using dhcp as well. I didn't set any ip
> add, gateway, mask etc. I did a: ping redhat.com. It worked. But when I did
> a: ping server. It then displayed Unknown Host or something.Why? I solved
> the problem by entering each and every computer name in the /etc/hosts file
> and their corresponding ip addresses. But the question is, isn't that the
> DHCP server's work? Please help the poor and needy here. Hey, thanks a lot.
no. A DHCP server's task is primarily to provide IP addresses. they can
also do the following:
a) provide an IP address to a requesting client, which can either be
1) static, based on the requesting client's NIC MAC address,
2) dynamic - obtained from a lease pool defined in the dhcp server's
configuration files for that subnet
b) provide the IP network mask
c) provide the IP broadcast address
d) provide the IP addresses to the network routers
e) provide the domain name of the network
f) provide the IP addresses of domain name servers
name resolution for TCP/IP services is handled by domain name servers
(DNS, hosts running bind/named) whereas name resolution for Windows
Networking (SMB) is provided by servers running Samba (specifically nmbd)
ping depends on TCP/IP name resolution, hence you need either a hosts file
or a working DNS on your network. using Windows Networking programs such
as browsing Network Neighborhood depends on nmbd.
hope this helps.
eric
--
eric pareja ([EMAIL PROTECTED]) <|> check out http://www.Gra.ph
Ever heard of Aliens' Alcove? telnet pusa.gra.ph and login: bbs
"Knowledge is inherently precious even if you can't sell it."
- Dr. Greta Penninger in Bruce Sterling's "Distraction"
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]