Linux Forums - Linux Help,Advice & support community:LinuxSolved.com

Network Troublshooting => Linux Servers Support => Topic started by: deven_01 on August 17, 2005, 05:34:49 AM

Title: DHCP DNS problem
Post by: deven_01 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
Title: DHCP DNS problem
Post by: Ricky 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.
Title: DHCP DNS problem
Post by: deven_01 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