*** From dhcp-server -- To unsubscribe, see the end of this message. ***
Hi,
I'm new on dhcp.
I installed it (v2-beta1-patchlevel6) on a pc running linux redhat 5.2.
The linux pc (name: linux1; ip address: 192.168.1.1) acts as a firewall/ip
masq for a small lan (whose name is rete.locale) with 3 win95/98 clients.
I uninstalled bind, due to problems with diald (I've a dial-up connection
to the web).
The linux pc runs samba.
----------
etc/dhcp.conf is:
subnet 192.168.1.0 netmask 255.255.255.0 {
range 192.168.1.2 192.168.1.5;
default-lease-time 604800;
max-lease-time 2592000;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.1.255;
option routers 192.168.1.1; # the linux pc as a gateway
option domain-name-servers x.x.x.x. #my isp dns address
option domain-name "myispdomainname"
}
----------
/etc/host is:
127.0.0.1 localhost
192.168.1.1 linux1.rete.locale linux1
----------
/dhcp.leases exists on /etc and it's empty
----------
I added: route add -host 255.255.255.255 dev eth0
----------
In the clients I addedd an "hosts" file:
192.168.1.1 linux1.rete.locale # server
127.0.0.1 localhost
----------
If I launch "dhcpd -d -f" I get only:
Listening on Socket/eth0/192.168.1.0
Sending on Socket/eth0/192.168.1.0
----------
Problem is:
1) nothing works; nothing happens :(
pinging the linux pc (192.168.1.1) from the clients I get:
"destination host unreachable".
Questions are:
1) where are the mistakes ?
2) can/should I remove samba ?
3) what should I type in /etc/hosts in the dhcp server ?
4) in the clients, should I type the ip addresses of the DNS server (my
isp) and the gateway (my dhcp server) in Control Panel/Network/TCP/IP or
should I let them blank ?
Thanks
Ste
------------------------------------------------------------------------------
To unsubscribe from this list, please visit http://www.fugue.com/dhcp/lists
If you are without web access, or if you are having trouble with the web page,
please send mail to [EMAIL PROTECTED] Please try to use the web
page first - it will take a long time for your request to be processed by hand.
------------------------------------------------------------------------------