LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-30-2006, 03:56 PM   #1
blackfish
Member
 
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78

Rep: Reputation: 15
Ping Problem


Hi

I have setup FC4 on a Pentium 3 667MHz with 128MB RAM and a 6.4GB HDD

The setup is working fine,

I have connected my ADSL to the machine and it connects to the internet. I have also installed DHCPD which is assigning IP Addresses without fault.
I have a basic squid configuration which is also working.

I can access the Internet from any PC on the LAN and the Squid Server but i cannot Ping outside dns names such as www.google.com also i cannot send and recieve e-mail from OE

Any help gladly appreciated

BlackFish
 
Old 05-30-2006, 03:59 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
sounds like you don't have dns on the clients then... do they have them listed in ipconfig /all on xp? are you firewalling their dns requests to the outside world? what IS your dns setup in general?
 
Old 05-30-2006, 04:07 PM   #3
blackfish
Member
 
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78

Original Poster
Rep: Reputation: 15
i have my ISP DNS servers in my dhcpd.conf file and the clients are picking that up in the IPCONFIG /all
 
Old 05-31-2006, 01:01 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
ok so what if you do a traceroute to the dns server ip address? it's pretty common to use a central server on your lan as the dns server for your clients locally.
 
Old 05-31-2006, 06:56 AM   #5
withjigs
LQ Newbie
 
Registered: Mar 2005
Location: india
Distribution: fc1/fc3
Posts: 6

Rep: Reputation: 0
I think it will never workout... if you want that you should be able to ping outside servers from your lan...then instead of using SQUID proxy you will have to enable routing on your machine.
SQUID will forward web requests so your internet will work, but it won;t forwarde ICMP packets so ping won;t work...
 
Old 05-31-2006, 07:50 AM   #6
linuxmanju
Member
 
Registered: Sep 2003
Location: India
Distribution: Debian
Posts: 50

Rep: Reputation: 15
Try this in the server. Assuming eth1 is connected to local LAN and eth0 is connected to the internet.
Bash:> echo 1 /proc/sys/net/ipv4/ip_forward
Bash:> iptales -t nat -A POSTROUTING -i eth1 -o eth0 -j MASQUERADE


Chaooooooooooooooo...
Manjunath
 
Old 05-31-2006, 12:25 PM   #7
blackfish
Member
 
Registered: May 2006
Location: England
Distribution: CentOS, Ubuntu Server, Untangle, pfSense
Posts: 78

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by linuxmanju
Try this in the server. Assuming eth1 is connected to local LAN and eth0 is connected to the internet.
Bash:> echo 1 /proc/sys/net/ipv4/ip_forward
Bash:> iptales -t nat -A POSTROUTING -i eth1 -o eth0 -j MASQUERADE


Chaooooooooooooooo...
Manjunath
Hi I tried your advice the command generated this error


iptables v1.3.0: Can't use -i with POSTROUTING
 
Old 05-31-2006, 02:45 PM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i would just remove the -i option, it's not relevant there really.

why didn't i assume it wasn't set up to route data?? ugh...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange Ping Issue - Can't ping localhost but can ping others on LAN code_slinger Linux - Networking 15 03-30-2015 02:39 PM
LAN/ADSL Router ping working but DNS ping fails R N Ghosh Linux - Networking 1 01-13-2006 07:44 AM
Any idea why this time I can not ping my LAN pc but can PING for ex. www.yahoo.com vakia Debian 5 09-28-2005 06:42 PM
PPP establish can ping the gateway router but unable to ping the host deepalalla Linux - Networking 0 11-18-2004 09:10 AM
windows 98 m/c ping to ip address of red hat server but fails to ping hostname ravilohot Linux - Networking 2 09-07-2004 04:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration