<br><br>I have successfully created a DHCP server, which assigns an IP to its<br>client. My ping results from client to server (ping server) work<br>perfect, whereas when i ping frm server (ping node1) it says "unknown<br>host", but when i ping with the IP assigned to the client i get the<br>result.<br><br>Now i wish to share my net connections, att r the listings of my files.<br>Pls let me know where i m doing wrong.<br><br>My netcfg shows:<br>Names<br>-----<br>Hostnames=server.myindia.com<br>Domain = myindia.com<br>Nameservers = 202.54.1.30<br> 202.54.1.116<br><br>Hosts<br>-----<br>IP Name NickNames<br>127.0.0.1 localhost.localdomain localhost<br>192.168.0.1 server.myindia.com server<br><br>Interfaces<br>----------<br>lo 127.0.0.1 none yes active<br>eth0 192.168.0.1 none yes active<br>ppp0 none no inactive<br><br><br><br><br><br>NETWORKING=yes<br>HOSTNAME=server1.myindia.com<br>GATEWAY=<br>GATEWAYDEV=<br>FORWARD_IPV4=yes<br><br><br><br><br>#!/bin/sh<br>echo "1" > /proc/sys/net/ipv4/ip_forward<br>echo "1" > /proc/sys/net/ipv4/ip_dynaddr<br>/sbin/ipchains -F<br>/sbin/ipchains -P forward DENY<br>/sbin/ipchains -A forward -s 255.255.255.255<br>255.255.255.0<br>192.168.0.0/255.255.255.0 -j MASQ<br>/sbin/ipchains -L<br><br><br><br><br>#!/bin/sh<br>#<br># This script will be executed *after* all the other init scripts.<br># You can put your own initialization stuff in here if you don't<br># want to do the full Sys V style init stuff.<br><br>if [ -f /etc/redhat-release ]; then<br> R=$(cat /etc/redhat-release)<br><br> arch=$(uname -m)<br> a="a"<br> case "_$arch" in<br> _a*) a="an";;<br> _i*) a="an";;<br> esac<br><br> NUMPROC=`egrep -c "^cpu[0-9]+" /proc/stat`<br> if [ "$NUMPROC" -gt "1" ]; then<br> SMP="$NUMPROC-processor "<br> if [ "$NUMPROC" = "8" -o "$NUMPROC" = "11" ]; then<br> a="an"<br> else<br> a="a"<br> fi<br> fi<br><br> # This will overwrite /etc/issue at every boot. So, make any<br>changes you<br> # want to make to /etc/issue here or you will lose them when you<br>reboot.<br> echo "" > /etc/issue<br> echo "$R" >> /etc/issue<br> echo "Kernel $(uname -r) on $a $SMP$(uname -m)" >> /etc/issue<br><br> cp -f /etc/issue /etc/issue.net<br> echo >> /etc/issue<br>fi<br><br>/sbin/route add -host 255.255.255.0 dev eth0<br><br>/sbin/modprobe ip_masq_autofw<br>/sbin/modprobe ip_masq_cuseeme<br>/sbin/modprobe ip_masq_ftp<br>/sbin/modprobe ip_masq_irc<br>/sbin/modprobe ip_masq_mfw<br>/sbin/modprobe ip_masq_portfw<br>/sbin/modprobe ip_masq_quake<br>/sbin/modprobe ip_masq_raudio<br>/sbin/modprobe ip_masq_user<br>/sbin/modprobe ip_masq_vdolive<br>/etc/rc.d/rc.fw<br><br><br><br><br><br>search myindia.com<br>nameserver 202.54.1.30<br>nameserver 202.54.4.116<br><br><br>