Nick wrote:
> 
> Hi list,
> 
> I have an internal network setup behind linux on a single static IP
> I am having problem reolving names but can ping IP's numericaly.
> 
> I set up dhcp to allocate 192.168.1.0/24 throught the internal network
> Then I setup ipchains very basic, just to get it all going
> 
> ipchains -P forward DENY
> ipchains -A forward -s 192.168.1.0/24 -j MASQ
> 
> kernel is set to forward, echo "1" > /proc/sys/net/ipv4/ip_forward
> 
> So I can ping from an internal machine to any global IP address, but when it
> comes to ping www.yahoo.com, get a bad host message.
> 
> Using 192.168.1.1 as gateway for internal machines
> looked at /etc/resolv.conf,  looks ok
> /etc/hosts
> /etc/network/interfaces all good too
> 
> route tables look ok
> have 255.255.255.255 line for dhcp windozs
> default gateway ok
> 
> I can ping domain names and ip address from the linux firewall.
> Just doesn't seem to want to forward those requests for the internal network
> 
> HELP!!!
> 

Did you setup your dhcp server to give the dns addresses to clients ?
When you use dhcp the /etc/resolv.conf is replaced by the one used by
the dhcp
cient hence the dhcp server have to send them.

Reply via email to