November 24, 2024, 11:44:39 PM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: DHCP DNS problem  (Read 4552 times)

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
DHCP DNS problem
« on: August 17, 2005, 05:34:49 AM »
Hello friends have a nice day
 I have implemented DHCP & and DNS server on two different machines
 both working fine
 but when i run Network setup on client machine it gives ip address using DHCP
 But the porblem is
 when i do
 ping <my_company_m/c_ip> Its working
 when i do
 ping google.co.in its not working can any budy tell me why it happens
 my dhcpd.conf file having following contains  
 option domain-name "<My company dns host name>";
option domain-name-servers <My company dns host name>;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
default-lease-time 19200;
max-lease-time 28800;
ddns-update-style interim;

option root-path "192.168.0.250:/opt/ltsp/i386";#My DHCP server addr.

subnet 192.168.0.0 netmask 255.255.255.0 {
  range 192.168.0.100 192.168.0.200;

}
 
Ok tell me what change shall i done
 Regards
 Linux User

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
DHCP DNS problem
« Reply #1 on: August 17, 2005, 10:20:30 AM »
Instead of giving domain name server as "domainnameserver.com" give its ip . !

And also check that if that IP is pingable from client machine.

Offline deven_01

  • Linux Learner
  • ***
  • Posts: 143
DHCP DNS problem
« Reply #2 on: August 17, 2005, 12:53:39 PM »
hi Ricky
i am able to solve it i taken hint from your reply so thnaks for that
there is one chane required
option routers                <ip of my dns server >
before your mail it is
option routers                <ip of my dhcp server>
 
Thanks & Regards
 Devendra