The problem is solved, i made a few changes in my dhcp.conf file and it worked
, my dhcp conf file now looks like this
1 option domain-name "cse.iitk.ac.in cc.iitk.ac.in iitk.ac.in junta.iitk.ac.in";
2 #option domain-name "cse.iitk.ac.in";
3 option domain-name-servers dns.cse.iitk.ac.in, dnsbak.cse.iitk.ac.in, 172.31.1 .1;
4 option routers 172.27.16.254;
5 option subnet-mask 255.255.240.0;
6 option netbios-name-servers 172.27.16.7;
7 option nis-domain "cse";
8 option smtp-server 172.27.16.2;
9 default-lease-time 600;
10 max-lease-time 7200;
11 next-server 172.27.17.48; # this was the address of my PXE server
12 use-host-decl-names on;
13 filename "linux-install/pxelinux.0"; # this line made the diff my earlier file name was /tftpboot/linux-install/pxelinux.0
14
15 subnet 172.27.16.0 netmask 255.255.240.0 {
16 }
Thus a minor correction in line 13 made all the difference